On Tuesday 26 June 2012 09:32 PM, Guido Günther wrote:
> At which place should gbp pick up DEBEMAIL (ond possibly override the
> options from .gitconfig)? I don't think it ever did that (at least not
> on prupose). In git-dch we parse the commit to get the email address of
> the patch author but that's rather the other way around.

I agree that gbp never promised looking at the ~/.devscripts file.

But maybe devscripts is the place you should also consider looking at.
Quoting the manpage.

==================
       Several  scripts  of  the  devscripts  suite  use the following
environment variables. Check the man page of individual
       scripts for more details on how the variables are used.

       DEBEMAIL
           Email of the person acting on a given Debian package via
devscripts.

       DEBFULLNAME
           Full name (first + family) of the person acting on a given
Debian package via devscripts.
==================

The default git config is global. I definitely can customize each git
repo with a custom setting. But consider gbp's use case. It is mostly
going to be used for Debian packaging. Hence, instead of referring to
the global git config for a user, you might want to consider looking a
more debian specific home.

Ritesh

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to