Hi Jonathan,
On Wed, Jun 30, 2010 at 10:46:59AM -0500, Jonathan Nieder wrote:
> 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 :)
As far as I understand that it'd be sufficient to have the hook just in
front of the actual package build command - that makes sense. Any chance
you'd send a patch?
 -- Guido

Attachment: signature.asc
Description: Digital signature



Reply via email to