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

Balint Reczey balint at balintreczey.hu
Tue Feb 14 10:39:23 UTC 2017


Hi Axel,

On Thu, 21 Jul 2016 22:07:41 +0200 Axel Beckert <abe at debian.org> wrote:
> Package: pkg-perl-tools
> Version: 0.32
> Severity: minor
> 
> Hi,
> 
> I'm not sure if this is an issue in dpt's gen-itp script or in
> libconfig-model-dpkg-perl. At least I'm not sure how to fix it:
> 
> 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.

Cheers,
Balint



More information about the pkg-perl-maintainers mailing list