Bug#739104: debcheckout: should create a local tracking branch for pristine-tar

James McCoy jamessan at debian.org
Tue May 19 21:50:26 UTC 2015


On Mon, May 18, 2015 at 12:42:57AM +0900, Hideki Yamane wrote:
>  I've made tiny workaround patch for this issue (and more for with
>  "upstream" branch). Could you check it, please?

> >From 74e8ec86d53b1f427757c4b1eed917e43cf325d6 Mon Sep 17 00:00:00 2001
> From: Hideki Yamane <henrich at debian.org>
> Date: Mon, 18 May 2015 00:36:37 +0900
> Subject: [PATCH] hack: avoid annoying checkout after clone
> 
> After exec debcheckout, if you want to do "gbp import-orig" it would fail
> since upstream branch is not checkouted (similar issue to pristine-tar branch,
> too).

This makes a lot of assumptions about the layout of the repository
(presence and/or naming of branches) and the workflows being used (use
of gbp).

I think this may be better off reassigned/cloned to git-buildpackage to
have gbp-clone(1) gain a “--debcheckout” which uses gbp's knowledge to
do post-clone configuration.

I'd be willing to add handling for the pristine-tar branch, since that's
standard, but the rest seems too specific to other tools.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20150519/43409db0/attachment.sig>


More information about the devscripts-devel mailing list