Loïc Minier a écrit :
> tags 567484 - patch
> stop
>
> On Fri, Jan 29, 2010, Jean-Christophe Dubacq wrote:
>> In /usr/lib/pbuilder/pbuilder-buildpackage, the call to dpkg-buildpackage
>> reads:
>> COMMANDLINE="dpkg-buildpackage -us -uc ${DEBEMAIL:+\"-e$DEBEMAIL\"}
>> $DEBBUILDOPTS"
>> which generates .changes with a Changed-By: line with only the email address
>> instead
>> of the full stanza.
>
> This is because you didn't set DEBEMAIL with your name; you can set:
> DEBEMAIL="Loïc Minier <[email protected]>"
>
> We should deal with this better, but this is going to be subtle;
> checkout the code of dch for reference handling of these vars:
> if (exists $env{'DEBEMAIL'} and $env{'DEBEMAIL'} =~ /^(.*)\s+<(.*)>$/) {
> $env{'DEBFULLNAME'} = $1 unless exists $env{'DEBFULLNAME'};
> $env{'DEBEMAIL'} = $2;
> }
> if (! exists $env{'DEBEMAIL'} or ! exists $env{'DEBFULLNAME'}) {
> if (exists $env{'EMAIL'} and $env{'EMAIL'} =~ /^(.*)\s+<(.*)>$/) {
> $env{'DEBFULLNAME'} = $1 unless exists $env{'DEBFULLNAME'};
> $env{'EMAIL'} = $2;
> }
> }
>
> the logic continues for some dozens of lines.
>
> In an ideal world, consider making this code a separate utility, e.g.
> get-debian-maintainer which would output:
> EMAIL="foo...@baz"
> NAME="Foo Bar"
>
> Thanks!However, other debian utilities expect DEBEMAIL to be only the email and DEBFULLNAME to be only the name (depatch for example). I would be very happy if this were made into some program. -- Jean-Christophe Dubacq
signature.asc
Description: OpenPGP digital signature

