debian-bugs-dist  

Bug#557606: gbp-clone should auto-detect the pristine-tar branch as well

Matthijs Kooijman
Tue, 09 Feb 2010 14:04:42 -0800

Hi,

in addition to making git-buildpackage autodetect the pristine-tar branch, I'd
like to see this in gbp-clone as well. I've put the the pristine-tar option in
debian/gbp.conf inside the repository itself (which is, IMHO, slightly better
than ~/.gbp.conf, since it works for anyone who clones the repository instead
of just for you).

However, I had some problems setting things up with my sponsor since we didn't
realise he needed to pass --pristine-tar to gbp-clone as well.

I guess git-import-orig and git-import-dsc should support this autodetection
as well. If that happens, there is no more need to put the pristine-tar option
in debian/gbp.conf anymore, you then only need to pass it to the initial
import.

Finally, I guess the pristine-tar option on all commands should become
trinary, so that the default is "auto" and it can be switched to "yes" or "no"
(if it stays binary, there is no way to distinguish between the case "no
option passed" or "--no-pristine-tar passed").

Gr.

Matthijs

Attachment: signature.asc
Description: Digital signature

  • Bug#557606: gbp-clone should auto-detect the pristine-tar branch as well Matthijs Kooijman