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
aqlprofile 7.2.4+ds-1~exp3 information debian-watch-mangles-debian-version-improperly 1 Template: GitHub\nOwner: ROCm\nProject: rocm-system\nSource: https://api.github.com/repos/ROCm/rocm-systems/git/matching-refs/tags/rocm-\nMatching-Pattern: https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/rocm-@ANY_VERSION@\nDownload-Url-Mangle: s%(api.github.com/repos/[^/]+/[^/]+)/git/refs/%$1/tarball/refs/%g\nFilename-Mangle: s%.*/@ANY_VERSION@%@PACKAGE@-$1.tar.gz%\nSearch-Mode: plain\nRepack-Suffix: +ds\nUversion-Mangle: auto [debian/watch:12]
cc-cedict 0.0~repack20260906-1 information debian-watch-mangles-debian-version-improperly 1 opts="uversionmangle=s/.*/0.0~repack20260906/" https://www.mdbg.net/chinese/dictionary?page=cedict export/cedict/cedict_(.*)_ts_utf-8.*[.]zip [debian/watch:7]
edk2 2026.08+ds-2 information debian-watch-mangles-debian-version-improperly 1 opts="filenamemangle=s/.+\/edk2-stable(\d{4})(\d{2})\.tar\.gz/edk2-$1.$2.tar.gz/, uversionmangle=s/(\d{4})(\d{2})/$1.$2+ds/" https://github.com/tianocore/edk2/tags .*/edk2-stable(\d{6})\.tar\.gz debian uupdate [debian/watch:7]
gnustep-netclasses 1.06.dfsg+really1.1.0-4 information debian-watch-mangles-debian-version-improperly 1 Source: https://download.savannah.nongnu.org/releases/gap/\nMatching-Pattern: netclasses-@ANY_VERSION@\.tar\.gz\nUversionmangle: s/^/1\.06\.dfsg\+really/ [debian/watch:10]
node-jspath 0.4.0+ds-1 information debian-watch-mangles-debian-version-improperly 1 Template: GitHub\nOwner: dfilatov\nProject: jspath\nDownload-Url-Mangle: s%api\.github\.com/repos/([^/]+/[^/]+)/git/refs/tags/(.*)%github.com/$1/archive/refs/tags/$2.tar.gz%\nVersion-Mangle: s/\+(debian|dfsg|ds|deb)(\.\d+)?$//\nRepack: yes\nRepacksuffix: +ds [debian/watch:9]
node-vscode-html-languageservice 5.2.0+ds-1 information debian-watch-mangles-debian-version-improperly 1 Template: GitHub\nOwner: microsoft\nProject: vscode-html-languageservice\nDownload-Url-Mangle: s%api\.github\.com/repos/([^/]+/[^/]+)/git/refs/tags/(.*)%github.com/$1/archive/refs/tags/$2.tar.gz%\nVersion-Mangle: s/^v//; s/\+(debian|dfsg|ds|deb)(\.\d+)?$//\nRepack: yes\nRepacksuffix: +ds [debian/watch:9]
node-vscode-l10n 0.0.18+ds-1 information debian-watch-mangles-debian-version-improperly 1 Version: 5\nVersion-Schema: ignore\nSource: https://github.com/microsoft/vscode-l10n/tags\nMatching-Pattern: .*/archive/refs/tags/l10n/v([\d\.]+)\.tar\.gz\nVersion-Mangle: s/\+(debian|dfsg|ds|deb)(\.\d+)?$//\nRepack: yes\nRepacksuffix: +ds [debian/watch:8]
rocprofiler-register 7.2.4+ds-1~exp2 information debian-watch-mangles-debian-version-improperly 1 Template: GitHub\nOwner: ROCm\nProject: rocm-systems\nSource: https://api.github.com/repos/ROCm/rocm-systems/git/matching-refs/tags/rocm-\nMatching-Pattern: https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/rocm-@ANY_VERSION@\nDownload-Url-Mangle: s%(api.github.com/repos/[^/]+/[^/]+)/git/refs/%$1/tarball/refs/%g\nFilename-Mangle: s%.*/rocm-@ANY_VERSION@%@PACKAGE@-$1.tar.gz%\nSearch-Mode: plain\nRepack-Suffix: +ds\nUversion-Mangle: auto [debian/watch:12]
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]