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

#1140180#5
Date:
2026-06-16 21:17:07 UTC
From:
To:
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.