Bug#1140180: DDPO: watch column should use $mangled_newversion instead of $newversion if available

Christoph Martin <[email protected]> Tue, 16 Jun 2026 23:17:07 +0200
Newsgroups gmane.linux.debian.devel.quality-assurance
Message-ID <ee389bf2-ca10-445f-b12d-c874ce204abc__48517.8461925656$1781645142$gmane$org@uni-mainz.de>
Package: qa.debian.org
Severity: normal

The DDPO page shows new version of packages based on the output of a
uscan run with the debian/watch file of a package.

Some packages have to mangle the new version with the aid of
uversionmangle. This change is reflected in a new variable
$mangled_newversion in contrast to $newversion.

So DDPO should display the value of $mangled_newversion if set instead
of $newversion in these cases.

An example is the package cfengine, where Matching-Pattern includes
additional parentheses for grouping of regexes which result in a wrong
version number. This number has then to be shortened by
uversionmangle.