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

Re: Maintaining team packages in Git



Aloha!

On Sun, 2011-03-06 at 18:07 +0100, Lucas Nussbaum wrote:

> > It seems that using mr[1] is the way to go to maintain our packages in
> > git instead of SVN, according to a thread on debian-devel@[2].
> > 
> > Is something willing to investigate how the Games and OCaml use it, and
> > adapt the necessary stuff?
> > 
> > There's already a git repo on alioth[3] that can be used for that.
> > 
> > [1] 'mr' package ;)
> > [2] http://lists.debian.org/debian-devel/2011/03/msg00327.html
> > [3] alioth:/git/pkg-ruby-extras/pkg-ruby-extras.git
> 
> Done that.

Great news! Should I update git-workflow in the wiki?

> git clone git.debian.org:/git/pkg-ruby-extras/pkg-ruby-extras.git

Password prompt here unless you provide your alioth username. Following
worked for me:

git clone
ant0no-guest@git.debian.org:/git/pkg-ruby-extras/pkg-ruby-extras.git

> cd pkg-ruby-extras
> mr -c mrconfig checkout

Similar problem here. git_checkout function in mrconfig uses git+ssh. I
cchanged url to git+ssh:
//ant0no-guest@git.debian.org/git/pkg-ruby-extras/$1.git and it worked
for me. But we need some config option for username here.

> # enjoy, by doing cd ruby-feedparser && git-buildpackage -us -uc

Works perfect only with gem2deb installed.

Otherwise following fail:

antono@beast:~/Projects/pkg-ruby-extras/ruby-mocha> git-buildpackage -us
-uc
dh --buildsystem=ruby clean
   dh_testdir -O--buildsystem=ruby
   dh_auto_clean -O--buildsystem=ruby
dh_auto_clean: unable to load build system class 'ruby': Can't locate
Debian/Debhelper/Buildsystem/ruby.pm in @INC (@INC
contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at (eval 10) line 2.
BEGIN failed--compilation aborted at (eval 10) line 2.

make: *** [clean] Error 2
debuild: fatal error at line 1317:
couldn't exec fakeroot debian/rules: 
gbp:error: debuild -d clean returned 2
gbp:error: Couldn't run 'debuild -d clean'


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Reply to: