#592128 Please support building from remote git:// url

#592128#5
Date:
2010-08-07 17:38:27 UTC
From:
To:
It would be great if the following command (or similar) would just work:

$ git-buildpackage --git-branch=sid git://git.debian.org/pkg-multimedia/vlc.git -S

Take care!

#592128#10
Date:
2010-08-09 07:13:06 UTC
From:
To:
This makes sense. We don't even need an extra parameter --git-branch
since we can simply use what's there for branch naming. I'd simply add a
--git-clone-from option:

$ git-buildpackage --git-debian-branch=sid --git-upstream-branch=upstream --git-clone=git://git.debian.org/pkg-multimedia/vlc.git -S

We can then simply invoke gbp-pull with these options from within
git-buildpackage:

 gbp-pull --debian-branch=sid --upstream-branch=upstream git://git.debian.org/pkg-multimedia/vlc.git

I'll have to finish some other things first before looking at it so
patches are (as always) welcome.
Cheers,
 -- Guido

#592128#15
Date:
2010-08-12 22:23:43 UTC
From:
To:
Thinking about this again I wonder if we shouldn't turn this around
like:

	gbp-pull --build

and

	git-clone --build git:///

so we'd just add a --build option to gbp-{pull,clone}. The commands
would behave as the do now but after finishing spawn git-buildpackage.
This way it would also work out of the box for existing repositories.
 -- Guido