Ruby Forum Ruby-core > release naming consistency

Posted by Ryan Davis (Guest)
on 10.08.2008 04:02
(Received via mailing list)
> % ls ~/.multiruby/{versions,build}
> /Users/ryan/.multiruby/build:
> ruby-1.8.7-p22    ruby-1.9.0-2    ruby-1.9.0-r18217
>
> /Users/ryan/.multiruby/versions:
> ruby-1.8.7-p22.tar.gz  ruby-1.9.0-2.tar.gz  ruby-1.9.0-3.tar.gz

PLEASE pick a consistent naming scheme for both the tarballs and the
packaged directory structures and stick to it.

Thus far I've had to teach multiruby how to look up the latest version
because the location changes over and over, and now I'm going to have
to teach it how to look in the tarball to figure out the actual
directory name and rename it if it doesn't match.

I personally think the tarballs should be named:

   ruby-$M-$m-$b-p$p.tar.gz

and the contained directory should be the same:

   ruby-$M-$m-$b-p$p

That remains consistent with most of the releases done thusfar, and
the ones prior were usually just without the "-p$p" part.
Posted by Nobuyoshi Nakada (nobu)
on 10.08.2008 06:09
(Received via mailing list)
Hi,

At Sun, 10 Aug 2008 10:59:38 +0900,
Ryan Davis wrote in [ruby-core:18223]:
> > % ls ~/.multiruby/{versions,build}
> > /Users/ryan/.multiruby/build:
> > ruby-1.8.7-p22    ruby-1.9.0-2    ruby-1.9.0-r18217
> >
> > /Users/ryan/.multiruby/versions:
> > ruby-1.8.7-p22.tar.gz  ruby-1.9.0-2.tar.gz  ruby-1.9.0-3.tar.gz
> 
> PLEASE pick a consistent naming scheme for both the tarballs and the  
> packaged directory structures and stick to it.

Sorry, I hadn't said yugui how to make tarballs with
make-snapshot, first create new tag and then package tarballs
with the tag.  Seems done in the reverse order.
Posted by Thomas Sawyer (7rans)
on 10.08.2008 12:17
(Received via mailing list)
On Aug 10, 12:07 am, Nobuyoshi Nakada <n...@ruby-lang.org> wrote:
> > > ruby-1.8.7-p22.tar.gz ruby-1.9.0-2.tar.gz     ruby-1.9.0-3.tar.gz
>
> > PLEASE pick a consistent naming scheme for both the tarballs and the  
> > packaged directory structures and stick to it.
>
> Sorry, I hadn't said yugui how to make tarballs with
> make-snapshot, first create new tag and then package tarballs
> with the tag.  Seems done in the reverse order.

Interesting so you do an 'svn tag' for every single, minor release?

... I'm interested in best build practices.

T.
Posted by Nobuyoshi Nakada (nobu)
on 10.08.2008 15:15
(Received via mailing list)
Hi,

At Sun, 10 Aug 2008 19:13:42 +0900,
Trans wrote in [ruby-core:18229]:
> > Sorry, I hadn't said yugui how to make tarballs with
> > make-snapshot, first create new tag and then package tarballs
> > with the tag.  Seems done in the reverse order.
> 
> Interesting so you do an 'svn tag' for every single, minor release?

Shyouhei does.  Try:

  svn ls http://svn.ruby-lang.org/repos/ruby/tags

Otherwise, we can't track the released source.