There's a regression in the newest version of ridley, 0.8.4, or one of it's
dependencies that breaks berks upload. It caused me a few hours of
anguish today tracking down the solution, so I decided to go ahead and let
everyone know so no one else has to debug it as well.
Just put this in your Gemfile and you'll be good to go.
Thanks Kevin! I lost a few hours on this one yesterday as well before finally giving up and pinning Berkshelf to an older version. I switched to your solution and upload works. I do still get the following:
It appears to be benign, but I'll need to investigate when I actually have changes to push. Thanks again for sharing the knowledge.
:: toddmichael
On Mar 14, 2013, at 8:03 PM, Kevin Nuckolls wrote:
There's a regression in the newest version of ridley, 0.8.4, or one of it's dependencies that breaks berks upload. It caused me a few hours of anguish today tracking down the solution, so I decided to go ahead and let everyone know so no one else has to debug it as well.
On Fri, Mar 15, 2013 at 12:16 AM, Todd Michael Bushnell todd@toorsecurity.com wrote:
Thanks Kevin! I lost a few hours on this one yesterday as well before
finally giving up and pinning Berkshelf to an older version. I switched to
your solution and upload works. I do still get the following:
It appears to be benign, but I'll need to investigate when I actually have
changes to push. Thanks again for sharing the knowledge.
I've seen upload failures with this on cookbooks that don't explicitly
set "name" in their metadata.rb. Setting it seems to fix it. Which
reminds, I need to submit a couple of PRs.
Yeah, that was the first thing I checked. It's set properly so not sure what's causing this. Cheers!
::toddmichael
On Mar 14, 2013, at 9:25 PM, JD Harrington wrote:
On Fri, Mar 15, 2013 at 12:16 AM, Todd Michael Bushnell todd@toorsecurity.com wrote:
Thanks Kevin! I lost a few hours on this one yesterday as well before
finally giving up and pinning Berkshelf to an older version. I switched to
your solution and upload works. I do still get the following:
It appears to be benign, but I'll need to investigate when I actually have
changes to push. Thanks again for sharing the knowledge.
I've seen upload failures with this on cookbooks that don't explicitly
set "name" in their metadata.rb. Setting it seems to fix it. Which
reminds, I need to submit a couple of PRs.
On Thursday, March 14, 2013, Todd Michael Bushnell wrote:
Thanks Kevin! I lost a few hours on this one yesterday as well before
finally giving up and pinning Berkshelf to an older version. I switched to
your solution and upload works. I do still get the following:
Not benign, I was bit by both issues yesterday while bootstrapping a local
dev server. Wish I would have seen this thread earlier.
Started to prep pull requests before I realized the scope of the problem.
(~tens of community cookbooks affected.) Besides, isn't the name optional
anyways? Ridley appears to try and use a fallback name when uploading if
one isn't present, not sure where its going wrong.
As a new Chef user, I've found the lack of stability with documentation
and some of the community tools very frustrating in the last month. Tough
time to get started, too easy to waste a lot of time on bugs and unspoken
10/11 changes.
On Thursday, March 14, 2013, Todd Michael Bushnell wrote:
Thanks Kevin! I lost a few hours on this one yesterday as well before finally giving up and pinning Berkshelf to an older version. I switched to your solution and upload works. I do still get the following:
Not benign, I was bit by both issues yesterday while bootstrapping a local dev server. Wish I would have seen this thread earlier.
Started to prep pull requests before I realized the scope of the problem. (~tens of community cookbooks affected.) Besides, isn't the name optional anyways? Ridley appears to try and use a fallback name when uploading if one isn't present, not sure where its going wrong.
As a new Chef user, I've found the lack of stability with documentation and some of the community tools very frustrating in the last month. Tough time to get started, too easy to waste a lot of time on bugs and unspoken 10/11 changes.
on a side note: 'name' is only optional if you are purposefully attempting
to troll the world
Any Opscode people listening?
Making it required in Chef itself was already discussed.
However, we've added 'name' to all our cookbooks. Not all have been re-released with the name added yet, but soon. E.g., I released openssl a few days ago with this.