On Sun, Feb 03, 2019 at 02:57:13PM +0100, Timo Weingärtner wrote:
> Package: lintian-brush
> Version: 0.11
> Severity: normal
> 
> When lintian-brush commits changes, the author and committer are set to:
> username <username@hostname>
> 
> instead of (as git and many other tools do):
> Full Name from GECOS field <$EMAIL>
> 
> I even tried, without success, setting $EMAIL (and $brz_EMAIL) to include
> my full name and created ~/.config/breezy/breezy.conf as described in
> https://breezy-vcs.org/doc/en/tutorials/tutorial.html#introducing-yourself-to-breezy
> 
> I understand that I need to set my full name and email address somewhere
> for applications to know, but the GECOS field and $EMAIL should be enough;
> I don't think I should be forced to set it each and every time I start
> using some application.
Thanks for the bug report.

For git repositories, lintian-brush falls back to using the git user
identity (i.e. GIT_EMAIL / ~/.gitconfig. I agree that it's confusing
that it doesn't check breezy.conf.

I'm going to add a --identity flag that can be used to check the user
identity before commit and see if I can rework the logic a bit so that
for git repositories the logic used is:

 * $GIT_NAME <$GIT_EMAIL>
 * .git/config
 * ~/.gitconfig
 * ~/.config/breezy/breezy.conf
 * gecos <$USER@$HOST>

-- 
Jelmer Vernooij <jel...@jelmer.uk>
PGP Key: https://www.jelmer.uk/D729A457.asc

Attachment: signature.asc
Description: PGP signature

Reply via email to