#1144990 uscan: fails to scan packages which have digits in the name

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Timo Aaltonen
Date:
2026-08-24 15:15:02 UTC
Severity:
normal
#1144990#5
Date:
2026-08-21 07:51:12 UTC
From:
To:
Hi,

When migrating some packages to use watch-format 5 with minimal settings, I noticed that uscan fails to
find the match if the upstream name part has digits, like with libx11:

https://xorg.freedesktop.org/releases/individual/lib/libX11-1.8.13.tar.xz (11-1.8.13) index=11-1.8.13-4

the only remedy I can see is to set "Matching-Pattern: libX11-...", which is a bit lame as the same file can
then not be used on all the xorg libs.

t

#1144990#10
Date:
2026-08-24 15:14:13 UTC
From:
To:
Hi, Timo,

What v5 watch file are you using? Using simple

Source: https://xorg.freedesktop.org/releases/individual/lib/
Matching-Pattern: libX11-(.*)\.tar\.gz
Pgp-Sig-Url-Mangle: s/$/.sig/
--- <8 ---

works here. Using Matching-Pattern is expected unless there is a
template for a given repo and I think using @PACKAGE@ instead of actual
package name will only work if there is no case mismatch between Debian and
upstream names.