Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion gem yank prerelease
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Trupiano  
View profile  
 More options Mar 2 2010, 6:45 am
From: John Trupiano <jtrupi...@gmail.com>
Date: Tue, 2 Mar 2010 06:45:01 -0500
Local: Tues, Mar 2 2010 6:45 am
Subject: Re: [gemcutter] Re: gem yank prerelease

On Tue, Mar 2, 2010 at 12:35 AM, 7rans <transf...@gmail.com> wrote:

> On Mar 1, 10:58 am, Chad Woolley <thewoolley...@gmail.com> wrote:
> > On Mon, Mar 1, 2010 at 8:45 AM, Nick Quaranto <n...@quaran.to> wrote:
> > > I need to mull this over a bit more, but I think this could be
> acceptable...
> > > 1) Gem yank allows you to quickly 'undo' a release. Since this wasn't
> > > possible before, you usually had to repush or ask us to remove it
> manually.
> > > 2) You're not going to run out of version numbers, and pushing is
> > > ridiculously fast.
> > > 3) We could take a SHA of the incoming .gem, and make sure on a new gem
> push
> > > that SHA hasn't been pushed, thereby enforcing atomic versions.
> > > 4) On a 'repush' we could display a message saying why and telling the
> user
> > > to bump the patch version, and the command to yank that version if need
> be.

> > +1

> > Good compromise.  Yes, versions are unlimited, and if you screwed up
> > the metadata, just bump, re-release, and write down the steps so you
> > don't screw up next time.  Allowing people to overwrite a version, for
> > any reason, is a bad idea...

> Yea, but it's my "bad" idea, not yours. If I catch a bug within a
> short period after a new release and I haven't posted any sort of
> announcement about it I will re-push. It's not that big of a deal,
> especially for small, fairly new, and not widely used gems.

> > I also like the compromise for deletion.  The only way to permanently
> > delete it is to ask you, and even in that case users should still have
> > a .gem file hanging around somewhere that they can republish on their
> > own.  As long as there is no re-push of same version, this will work
> > out fine.

> This is silly. When a developer wants a version deleted it is b/c HE
> HAS A DAMN GOOD REASON. And that reason is almost always that the
> version is BROKEN. As a developer I don't want broken code out there
> if I can help it. Besides that, except for major projects like Rails,
> most people just upgrade to newest versions of a gem no matter what.
> Most old versions soon become a waste of space.

> Sure, but this is very straightforward.  Yank the bad one.  Bump the

version.  Rebuild it.  Then push it.  It will be a matter of days I would
think before Jeweler and the other libraries out there add this as a single
step for you.

This is just proper library management.  There's a reason why git will give
you a new SHA when you fix that typo (assuming you've already pushed it
remotely).

-John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.