Package: git-buildpackage
Version: 0.9.22
Severity: normal
Dear Maintainer,
If one runs gbp dch when the environment variables EMAIL & DEBEMAIL are both upset, then
'gbp dch' appears to hang indefinitely.
The reason for this would seem to be this change introduced in devscripts:
> devscripts (2.21.1) unstable; urgency=medium
>
> ...
> * debchange:
> + Warn when DEBEMAIL and EMAIL are not set. Closes: #977809
> ...
>
> -- Mattia Rizzolo <
mat...@debian.org> Tue, 16 Feb 2021 17:45:53 +0100
if 'dch' is run when those environment variables are unset, it issues a warning:
> dch warning: neither DEBEMAIL nor EMAIL environment variable is set
> dch warning: building email address from username and mailname
> dch: Did you see those 2 warnings? Press RETURN to continue...
and then waits for the user to hit return.
When being run under gbp, the user does not see the prompt, so has no hint that
they should hit return (although if they do, it works).
That being the case, gbp should probably either issue a warning itself, or allow
the 'dch' warning through to the user.
Cheers, Phil.