Lintian tag: debian-watch-mangles-debian-version-improperly

Type: information

Description (from lintian-explain-tags)

The version of this package contains dfsg, ds, or debian, but a misleading
upstream version mangling occurs in the debian/watch file. Since the dfsg
string is not part of the upstream version and its addition is
Debian-specific, the debian/watch file should use the dversionmangle
option to remove, instead of adding in uversionmangle, the dfsg before
comparing version numbers.

Please refer to https://wiki.debian.org/DEHS for details.

Visibility: info
Show-Always: no
Check: debian/watch
Renamed from: debian-watch-file-should-dversionmangle-not-uversionmangle

Affected packages

source version binary level tag count information
cc-cedict 0.0~repack20260403-1 information debian-watch-mangles-debian-version-improperly 1 opts="uversionmangle=s/.*/0.0~repack20260403/" https://www.mdbg.net/chinese/dictionary?page=cedict export/cedict/cedict_(.*)_ts_utf-8.*[.]zip [debian/watch:7]
eye 1:11.23.11+ds-1 information debian-watch-mangles-debian-version-improperly 1 Template: Github\nOwner: eyereasoner\nProject: eye\nUversion-Mangle: auto\nDversion-Mangle: s/^/1:/\nRepacksuffix: +ds\nMatching-Pattern: https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/v(1[1-8][.\d]+) [debian/watch:12]
gnustep-netclasses 1.06.dfsg+really1.1.0-3 information debian-watch-mangles-debian-version-improperly 1 opts=uversionmangle=s/^/1\.06\.dfsg\+really/ https://savannah.nongnu.org/download/gap/netclasses-@ANY_VERSION@\.tar\.gz [debian/watch:9]
ruby-enumerable-statistics 2.0.9+dfsg-1 information debian-watch-mangles-debian-version-improperly 1 opts=uversionmangle=s/$/+dfsg/ https://github.com/red-data-tools/enumerable-statistics/tags .*/v?(\d.*)@ARCHIVE_EXT@ [debian/watch:3]
starlink-ast 9.2.14+ds-1 information debian-watch-mangles-debian-version-improperly 1 Version: 5\nSearch-Mode: plain\nRepack-Suffix: +ds\nUversion-Mangle: s/\+ds\d*$//\nSource: https://api.github.com/repos/Starlink/ast/releases?per_page=10\nMatching-Pattern: https://github.com/Starlink/ast/releases/download/v(\d[\d\.]*)/ast-\d[\d\.]*\.tar\.gz [debian/watch:6]
zeekctl 2.2.0+ds1-2 information debian-watch-mangles-debian-version-improperly 1 opts=pgpsigurlmangle=s/$/.asc/,dversionmangle=s/\+dfsg\d*$//,uversionmangle=s/$/+ds1/ https://download.zeek.org/ (?:bro|zeek)ctl-(\d.*)\.tar\.gz [debian/watch:5]