On Mon, Aug 09, 2010 at 03:13:06AM -0400, Guido Günther wrote:
> On Sat, Aug 07, 2010 at 01:38:27PM -0400, Reinhard Tartler wrote:
> > Package: git-buildpackage
> > Version: 0.4.65
> > Severity: wishlist
> >
> > 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
>
> 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.
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
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]