[Rubygems-developers] Gem#status?

Phil Hagelberg technomancy at gmail.com
Tue Nov 11 13:59:00 EST 2008


Ryan Davis <ryand-ruby at zenspider.com> writes:

>> * Version parts with letters are prerelease (e.g. 'a', 'b5', or
>> RC1').
>
> the second you do this you're gonna get bugs filed saying that you
> didn't sort the versions the way the user intended... how do you sort
> a1' vs 'b5' vs 'rc1' vs 'z7'?

Really? String#<=> is pretty well-understood as far as I can tell.

> For ruby2c, I released 1.0.0 beta 1-5 which I versioned as 1.0.0.1 to
> 1.0.0.5. It seemed to work fine for me so far... I intentionally
> didn't do any alphas or rc's etc. but I wanted to be clear that it
> wasn't a clean 1.0.0 release.

1.0.0.1 looks like a very-minor increment on a 1.0.0 release. If I were
to see that version available without reading through all the release
announcements, I would have gone ahead and installed it. Any scheme that
relies on users being thorough about reading the release notes is
suspect in my mind.

Also, issuing a gem update ruby2c would have pulled in this version,
which is definitely not what users would expect. Did you keep it on a
separate server?

-Phil


More information about the Rubygems-developers mailing list