Package: devscripts Version: 2.25.29 Severity: normal X-Debbugs-Cc: [email protected]
Hello, I found https://orig-check.debian.net/result/6454de20469f6d24446cbfaca07dbaf99f16c5686e44960c48ba9bb6d909b0c9#collapse-uscan-watch_file. on my maintainer dashboard. Reproduces on sid as follows: debcheckout libpwm cd libpwm uscan -vv --download-current-version I don't get "matched with the download version" in lib/Devscripts/Uscan/Modes/Http.pm because $version = "1.0-rc2" and $self->shared->{download_version} = "1.0~rc2", which hints that version mangling is an issue With the following patch it works fine for me: diff --git a/lib/Devscripts/Uscan/Modes/Http.pm b/lib/Devscripts/Uscan/Modes/Http.pm index 517c195a050d..46606dea04b8 100644 --- a/lib/Devscripts/Uscan/Modes/Http.pm +++ b/lib/Devscripts/Uscan/Modes/Http.pm @@ -452,7 +452,6 @@ sub parse_href { map { $_ if defined($_) } ref $match eq 'ARRAY' ? @$match : $href =~ m&^$_pattern$&); } - $version = $mangled_version; if ( mangle( @@ -462,6 +461,7 @@ sub parse_href { ) { return (); } + $version = $mangled_version; } $match = ''; if (defined $self->shared->{download_version}) { but I'm not confident enough in my Perl foo and my understanding of uscan to claim this to be the correct change. Best regards Uwe -- Package-specific info: --- /etc/devscripts.conf --- Empty. --- ~/.devscripts --- BTS_CACHE=no DEBCHANGE_RELEASE_HEURISTIC=changelog DEBSIGN_KEYID=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 DEBCHANGE_MULTIMAINT_MERGE=yes BTS_SENDMAIL_COMMAND="$HOME/bin/sendmail -t" BTS_MAIL_READER='mutt-baylibre -f %s' -- System Information: Debian Release: 13.1 APT prefers stable-updates APT policy: (750, 'stable-updates'), (750, 'stable-security'), (750, 'stable-debug'), (750, 'stable'), (700, 'oldstable-security'), (700, 'oldstable-debug'), (700, 'oldstable'), (600, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'proposed-updates'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: arm64 Kernel: Linux 6.17.6+unreleased-amd64 (SMP w/22 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages devscripts depends on: ii dpkg-dev 1.22.21 ii file 1:5.46-5 ii gpg 2.4.7-21+b3 ii gpg-agent 2.4.7-21+b3 ii gpgv 2.4.7-21+b3 ii libdpkg-perl 1.22.21 ii libfile-dirlist-perl 0.05-3 ii libfile-homedir-perl 1.006-2 ii libfile-touch-perl 0.12-2 ii libio-string-perl 1.08-4 ii libmoo-perl 2.005005-1 ii libwww-perl 6.78-1 ii patchutils 0.4.2-1 ii perl 5.40.1-6 ii python3 3.13.5-1 ii sensible-utils 0.0.25 ii wdiff 1.2.2-9 Versions of packages devscripts recommends: ii apt 3.0.3 ii curl 8.14.1-2 ii dctrl-tools 2.24-3+b1 ii debian-keyring 2025.07.26 ii debian-tag2upload-keyring 1.1 ii dput 1.2.4 ii equivs 2.3.2 ii git-debpush 13.17 ii libdistro-info-perl 1.14 ii libencode-locale-perl 1.05-3 ii libgitlab-api-v4-perl 0.27-1 ii libjson-perl 4.10000-1 ii liblwp-protocol-https-perl 6.14-1 ii libmetacpan-client-perl 2.033000-1 ii libsoap-lite-perl 1.27-3 ii libstring-shellquote-perl 1.04-3 ii liburi-perl 5.30-1 ii licensecheck 3.3.9-1 ii lintian 2.122.0 ii lzip 1.25-3 ii man-db 2.13.1-1 ii patch 2.8-2 ii pristine-tar 1.50+nmu2 ii python3-apt 3.0.0 ii python3-debian 1.0.1 ii python3-magic 2:0.4.27-3 ii python3-requests 2.32.3+dfsg-5 ii python3-unidiff 0.7.5-2 ii python3-xdg 0.28-2 ii strace 6.13+ds-1 ii unzip 6.0-29 ii wget 1.25.0-2 ii xz-utils 5.8.1-2 Versions of packages devscripts suggests: pn adequate <none> pn at <none> ii autopkgtest 5.49 pn bls-standalone <none> pn bsd-mailx | mailx <none> ii build-essential 12.12 pn check-all-the-things <none> ii debhelper 13.24.2 pn diffoscope <none> pn disorderfs <none> pn docker.io <none> pn dose-extra <none> pn duck <none> pn elpa-devscripts <none> ii faketime 0.9.10+2024-06-05+gba9ed5b2-0.6 pn gnuplot <none> pn how-can-i-help <none> ii libauthen-sasl-perl 2.1700-1 pn libdbd-pg-perl <none> pn libterm-size-perl <none> ii libtimedate-perl 2.3300-2 ii libyaml-libyaml-perl 0.903.0+ds-1 ii mmdebstrap 1.5.7-3 pn mutt <none> ii openssh-client [ssh-client] 1:10.0p1-7 pn piuparts <none> pn postgresql-client <none> pn pristine-lfs <none> ii python3-debianbts 4.1.1 pn python3-pycurl <none> ii quilt 0.68-1 pn ratt <none> pn reprotest <none> pn svn-buildpackage <none> pn w3m <none> -- no debconf information

