Bug#832059: pkg-perl-tools: "dpt gen-itp" prints Config::Model warning inside ITP text

gregor herrmann gregoa at debian.org
Tue Feb 14 19:25:19 UTC 2017


On Tue, 14 Feb 2017 11:39:23 +0100, Balint Reczey wrote:

> > When running "dpt gen-itp" for a package where the debian/copyright
> > format is on http:// (https:// is still disputed IIRC), "dpt gen-itp"
> > throws a warning in the middle of the to be copy-and-pasted ITP text:
> > 
> > […]
> >   Version         : …
> > Warning in 'Format' value 'http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/': Format uses insecure http protocol instead of https
> >   Upstream Author : …
> > […]
> > 
> > While this warning might be helpful in other cases, it's clearly
> > unwanted when using it just to determine the license.
> 
> One can redirect stderr to avoid the warning:
> $ dpt gen-itp 2>/dev/null
> 
> IMHO this is not a bug BTW. Seeing the warning is useful and in case
> https:// should not be preferred then is should be fixed in cme.

I'm also considering this a non-bug, as the warning is on STDERR, so
redirecting the output to a file or piping it to e.g. "| mutt -H -"
(or sendmail etc.) is not affected by it.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Rigmor Gustafsson: I Will Wait For You
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170214/53288076/attachment.sig>


More information about the pkg-perl-maintainers mailing list