Package: git-buildpackage
Version: 0.4.68
Severity: wishlist
X-Debbugs-Cc: radeont...@packages.debian.org

Hi Guido!

I am a bit picky about avoiding tracking automatically generated
files, which results in tricks like this one to handle upstream
changelogs generated from the commit log:

  
http://git.debian.org/?p=collab-maint/radeontool.git;a=blob;f=debian/autogen.sh

This abuses the ‘debian/rules clean’ target to generate or
update the upstream changelog the first time it is run.

Unfortunately, that breaks a workflow that involves using
git archive HEAD | (cd elsewhere && tar -xf -) to create a
separate build directory, since the old .git directory is
nowhere to be found.

Do you think git-buildpackage could be given a --git-prebuild
hook so that

 1. I don’t have to abuse ‘debian/rules clean’ for this
    any more

 2. In the --git-export-dir case, a GBP_GIT_DIR variable
    could be exported to let the hook get at some precious
    information :)

Thoughts?
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to