Bug#1038464: /usr/bin/uscan: allow using multiple captures in downloadurlmangle

2023-06-22 Thread Patrice Duroux
Hi, I finally found the origin of my trouble. Adding more debug traces, it gives the following: uscan debug: safe_replace with regexp="archive/refs/tags/(v?(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)))((?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz)))", replacement="releases/download/$1/

Bug#1038464: /usr/bin/uscan: allow using multiple captures in downloadurlmangle

2023-06-18 Thread Patrice Duroux
Package: devscripts Version: 2.23.5 Severity: wishlist File: /usr/bin/uscan Dear Maintainer, Could it be possible to do the following: version=4 opts="uversionmangle=s/-rc/~rc/;s/-alpha/~alpha/;s/-beta/~beta/, downloadurlmangle=s%archive/refs/tags/(v?@ANY_VERSION@)(@ARCHIVE_EXT@)%releases/downlo