[git-buildpackage] setting author on command line for gbp dch

Guido Günther agx at sigxcpu.org
Mon Nov 27 14:30:40 CET 2017


Hi,
On Mon, Nov 27, 2017 at 09:58:19AM +0300, Gijs Molenaar wrote:
> hi!
> 
> I'm building packages on Ubuntu 16.04 for Ubuntu 16.04 using
> git-buildpackage 0.7.2.
> 
> I try to automatically generate a changelog entry using
> 
> $ gbp dch -D xenial
> 
> Problem is that that the key we use to sign these packages doesnt
> correspond to the ID i use to commit to git. It looks like gbp ignores
> my DEBEMAIL and DEBFULLNAME settings, also when i supply
> the --no-git-author. It looks like newer version of gbp support
> the --dch-opt flag, but the 0.7.2 version of ubuntu doesn't seem to support
> this.
> 
> Do you have any suggestions on how to actually set this author in the
> changelog entry?

This works as exected in 0.9.3 and in 0.8.18:

    DEBFULLNAME="bla fasel" gbp dch -S -a --no-git-author -Dxenial

You should be able to build the 0.8.x branch on xenial without much
trouble. If you don't want to build anything you can work around this
like:

    GIT_AUTHOR_EMAIL=$DEBEMAIL GIT_AUTHOR_NAME=$DEBFULLNAME gbp dch -S -a -Dxenial

until you can update to a newer gbp version.
Cheers,
 -- Guido

> 
> Thanks for making this great package!
> 
> greetings,
> 
> -- 
> Gijs Molenaar
> http://pythonic.nl

> _______________________________________________
> git-buildpackage mailing list
> git-buildpackage at lists.sigxcpu.org
> http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage



More information about the git-buildpackage mailing list