[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building a Debian package out of a Rubygems' .gem file



Lucas Nussbaum escreveu isso aí:
> Hi,
> 
> On 17/10/10 at 13:20 -0300, Antonio Terceiro wrote:
> > Hi there,
> > 
> > I've just published a post that provides some information on some stuff
> > I've being working on, such as gem2tgz, and the newest addition, a
> > debhelper buildsystem implementation that reproduces the behaviour of
> > our current setup.rb CDBS rules, with some differencies.
> > 
> > http://softwarelivre.org/terceiro/blog/building-a-debian-package-out-of-a-rubygems-.gem-file
> > 
> > I would appreciate any feedback on that, and ideas on how to cope with
> > the missing bits (there are plenty of them).
> 
> Thanks a lot for your work and for this clarifying blog post.
> 
> One thing that we should also develop a vision for is the way to deal
> with test suites. It would be great to auto-test packages for the
> various Ruby versions at build time. I'm not too familiar with the
> various test frameworks in ruby those days, so I'm not the best person
> to comment on it, but that should be investigated.

Most packages put "run the tests" and the default rake target, but we can't
rely on that.

Perhaps we could assume debian/test.rb as the test suite, and if it
exists run it with each Ruby version during the build. We could also do
it with debian/Rakefile, and pass it throug each Ruby version's rake
program.

-- 
Antonio Terceiro <terceiro@softwarelivre.org>
http://softwarelivre.org/terceiro


Attachment: signature.asc
Description: Digital signature


Reply to: