Re: Let's discuss big changes in Ruby packaging for squeeze+1
On 22/04/10 at 11:14 -0300, Antonio Terceiro wrote:
> Lucas Nussbaum escreveu isso aí:
> > - write a set of scripts to package from gems, including:
> > + gem2tgz - convert gem to tgz, saving the gem metadata somewhere
> > + dh_make_ruby - prepare a source package, making use of the gem metadata
> > + script to watch gems on rubygems.org (for debian/watch)
> > + various QA scripts, including one to grep for "require 'rubygems'"
>
> These got me a itch to scratch, and I decided to play a little. It seems
> we have something that solves the gem2tgz and the debian/watch items:
>
> http://gemwatch.heroku.com/
>
> It can be used with debian/watch files like this:
>
> version=3
> http://gemwatch.heroku.com/${gem} /download/${gem}-(.*)\.tar.gz
>
> Source is available on github:
>
> http://github.com/terceiro/gemwatch
>
> All dependencies are available on Debian sid.
Do you think it would be possible to make it available from alioth, in
the project's website, possibly after backporting a few packages?
Also note that system() doesn't check the return value. It might be
better to check $? after each call, since we clearly want to check for
failures.
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
Reply to: