Re: Ruby packaging in wheezy: gem2deb, new policy, etc.
Excerpts from Antonio Terceiro's message of Thu Jan 20 04:57:00 +0200 2011:
> I am probably biased towards Git against anything else, but in the very
> specific case of pkg-ruby-extras, using Subversion is not as annoying as
> it is in other projects I collaborate with.
>
> On the other hand, probably 100% of our upstreams use Git, and also
> using it for the packaging work will both make it easier for us to track
> upstream *and* to send stuff back to them.
100% agree with both statements.
> But I would like to see something that gives us the same convenience
> that we have with our svn repository; perhaps some rake tasks in the
> root of such master Git repo would do the trick.
I [cloned][DREGIT] our svn repository to git and added simple
[ruby script][GITBLD] to build any package (download source,
unpack, debuild).
Let name it solution #1 :)
> Does anyone know of any other packaging group (in Debian or not) that
> has something like what we have today (a large repository with lots of
> - relatively - small packages), but in Git?
[Homebrew][HB] Repository that keeps "formulas" for macos. Same
layout as our solution #1.
I think its better to use submodules for our main repo and keep
all source in submodules. Then we can use git-buildpackage in
this submodules. With full source its easier to track upstream
and create fix-branches for upstream directly in debian repos.
Lets name it solution #2.
I vote for solution #2 :)
There is also draft for our new [Git Workflow][GW]. You can patch it
with your ideas :)
[DREGIT]: http://gitorious.org/debian-pkg-ruby-extras/pkg-ruby-extras
[GITBLD]: http://gitorious.org/debian-pkg-ruby-extras/pkg-ruby-extras/blobs/master/dbuild.rb
[GW]: http://wiki.debian.org/Teams/Ruby/RubyExtras/UsingGit
[HB]: https://github.com/mxcl/homebrew
--
xmpp:self@antono.info
http://antono.info/
gopher://antono.info/
Reply to:
- References:
- Ruby packaging in wheezy: gem2deb, new policy, etc.
- From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
- Re: Ruby packaging in wheezy: gem2deb, new policy, etc.
- From: Gunnar Wolf <gwolf@gwolf.org>
- Re: Ruby packaging in wheezy: gem2deb, new policy, etc.
- From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
- Re: Ruby packaging in wheezy: gem2deb, new policy, etc.
- From: Gunnar Wolf <gwolf@gwolf.org>
- Re: Ruby packaging in wheezy: gem2deb, new policy, etc.
- From: Antonio Terceiro <terceiro@softwarelivre.org>