Bug#842371: libconfig-model-dpkg-perl: dpkg check for debian-uri is different between Vcs-* fields

Antonio Ospite ao2 at ao2.it
Fri Oct 28 14:48:11 UTC 2016


Package: libconfig-model-dpkg-perl
Version: 2.085
Severity: minor

Dear Maintainer,

I noticed that the check for the debian-uri in Dpkg/Control/Source.pl is
different between Vcs-Browser and Vcs-Git, the former checks for "cgit"
in the path while the latter checks for "git" in the path.

This can lead to some confusion.

Case 1, if the same value is used on the two fileds, a warning is
emitted for only one of the two, e.g.:
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/davmail.git/
Vcs-Git: https://anonscm.debian.org/cgit/pkg-java/davmail.git

Case 2, if different values are used cme can be tricked into not issuing
warnings at all, e.g.:
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/davmail.git/
Vcs-Git: https://anonscm.debian.org/git/pkg-java/davmail.git

In both cases I'd expect the debian-uri warning on both the fields.

Thanks,
   Antonio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages libconfig-model-dpkg-perl depends on:
ii  libapt-pkg-perl                              0.1.30
ii  libarray-intspan-perl                        2.003-1
ii  libconfig-model-perl                         2.092-1
ii  libexporter-lite-perl                        0.08-1
ii  liblog-log4perl-perl                         1.47-2
ii  libmouse-perl                                2.4.5-2+b1
ii  libparse-recdescent-perl                     1.967013+dfsg-1
ii  libsoftware-license-perl                     0.103012-1
ii  libtext-autoformat-perl                      1.740000-2
ii  libtext-levenshtein-damerau-perl             0.41-1
ii  liburi-perl                                  1.71-1
ii  libwww-perl                                  6.15-1
ii  libyaml-perl                                 1.18-1
ii  licensecheck                                 3.0.24-1
ii  lintian                                      2.5.49
ii  perl                                         5.24.1~rc3-3
ii  perl-modules-5.22 [libmodule-corelist-perl]  5.22.2-5
ii  perl-modules-5.24 [libmodule-corelist-perl]  5.24.1~rc3-3

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl  1.357-1

libconfig-model-dpkg-perl suggests no packages.

-- no debconf information
-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



More information about the pkg-perl-maintainers mailing list