Package: lintian
Version: 2.128.1
Severity: normal

debian-watch-not-mangling-version is erroneously triggered for comments on
version 5 watch files.

For example, the following watch file triggers this lintian tag:

Version: 5

# Upstream provides a PGP signature named libusb1-@[email protected],
# which matches libusb1-@[email protected].  These files are not displayed on
# the typical URL unless JavaScript is enabled, but they are available using the
# API URL.
Source: https://api.github.com/repos/vpelletier/python-libusb1/releases
Matching-Pattern: 
https://github.com/vpelletier/python-libusb1/releases/download/\d[\-+\.:\~\da-zA-Z]*/libusb1-@[email protected]
Search-Mode: plain
Dversion-Mangle: auto
Repacksuffix: +ds
Pgp-Sig-Url-Mangle: s/$/.asc/


It triggers on each of the commented lines:

W: python-libusb1 source: debian-watch-not-mangling-version [debian/watch:3]
N: 
N:   The version of this package contains dfsg, ds, or debian, which normally 
indicates that the upstream source has been repackaged to comply with the 
Debian Free Software Guidelines (or similar reason), but there is no version 
mangling in the
N:   debian/watch file. Since the dfsg string is not part of the upstream 
version, the debian/watch file should use the dversionmangle option to remove 
the dfsg before version number comparison.
N: 
N:   Please refer to the uscan(1) manual page and https://wiki.debian.org/DEHS 
for details.
N: 
N:   Visibility: warning
N:   Show-Always: no
N:   Check: debian/watch
N:   Renamed from: debian-watch-file-should-mangle-version
N: 
N:
W: python-libusb1 source: debian-watch-not-mangling-version [debian/watch:4]
N:
W: python-libusb1 source: debian-watch-not-mangling-version [debian/watch:5]
N:
W: python-libusb1 source: debian-watch-not-mangling-version [debian/watch:6]

Reply via email to