Package: devscripts Version: 2.24.3 Severity: normal Tags: patch X-Debbugs-Cc: sre4e...@free.fr
Dear Maintainers, Currently uscan compares the version supplied by the user as the value of --download-version command line argument, usually the actual version as it appears on upstream tags and packages, e.g. "0.12-workingonit-34", to the umangled version computed from links on a web page or API request reply, which is usually mangled to something like "0.12~workingonit-34" or possibly something completely different e.g. if the 0.12-workingonit-* releases are actually anterior to the 0.12-almostdone-* releases and the umangle rules were tweaked to sort them correctly as suggested by the documentation. As a result the requested version do not match what is computed and the download fails. It seems to me that it would make sense to also always apply the same umangle rules to the --download-version supplied by the user so they can always use upstream versions as they appear. A patch and MR to implement this will follow. Best regards, -- Julien Plissonneau Duquène -- Package-specific info: --- /etc/devscripts.conf --- Empty. --- ~/.devscripts --- Not present -- System Information: Debian Release: trixie/sid APT prefers trixie APT policy: (500, 'trixie'), (500, 'testing'), (20, 'unstable'), (10, 'experimental'), (5, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.11.2-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set 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.11 ii file 1:5.45-3 ii gnupg 2.2.44-1 ii gpgv 2.2.44-1 ii libfile-dirlist-perl 0.05-3 ii libfile-homedir-perl 1.006-2 ii libfile-touch-perl 0.12-2 ii libfile-which-perl 1.27-2 ii libipc-run-perl 20231003.0-2 ii libmoo-perl 2.005005-1 ii libwww-perl 6.77-1 ii patchutils 0.4.2-1 ii perl 5.40.0-7 ii python3 3.12.6-1 ii sensible-utils 0.0.24 ii wdiff 1.2.2-6 Versions of packages devscripts recommends: ii apt 2.9.8 ii curl 8.10.1-2 ii dctrl-tools 2.24-3+b1 ii debian-keyring 2024.09.22 ii dput 1.2.4 ii equivs 2.3.1 ii libdistro-info-perl 1.12 ii libdpkg-perl 1.22.11 ii libencode-locale-perl 1.05-3 ii libgit-wrapper-perl 0.048-2 ii libgitlab-api-v4-perl 0.27-1 ii libjson-perl 4.10000-1 ii liblist-compare-perl 0.55-2 ii liblwp-protocol-https-perl 6.14-1 ii libsoap-lite-perl 1.27-3 ii libstring-shellquote-perl 1.04-3 ii libtry-tiny-perl 0.32-1 ii liburi-perl 5.30-1 ii licensecheck 3.3.9-1 ii lintian 2.120.0 ii man-db 2.13.0-1 ii patch 2.7.6-7 ii pristine-tar 1.50+nmu2 ii python3-apt 2.9.0+b1 ii python3-debian 0.1.49 ii python3-magic 2:0.4.27-3 ii python3-requests 2.32.3+dfsg-1 ii python3-unidiff 0.7.5-2 ii python3-xdg 0.28-2 ii strace 6.8-2 ii unzip 6.0-28 ii wget 1.24.5-2+b1 ii xz-utils 5.6.2-2 Versions of packages devscripts suggests: pn adequate <none> pn at <none> pn autopkgtest <none> pn bls-standalone <none> pn bsd-mailx | mailx <none> ii build-essential 12.12 pn check-all-the-things <none> pn cvs-buildpackage <none> ii debhelper 13.20 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-2.1+b1 pn gnuplot <none> pn how-can-i-help <none> ii libauthen-sasl-perl 2.1700-1 pn libdbd-pg-perl <none> ii libfile-desktopentry-perl 0.22-3 pn libterm-size-perl <none> ii libtimedate-perl 2.3300-2 pn libyaml-syck-perl <none> pn mmdebstrap <none> pn mutt <none> ii openssh-client [ssh-client] 1:9.9p1-1 pn piuparts <none> pn postgresql-client <none> pn pristine-lfs <none> ii python3-debianbts 4.1.1 ii python3-pycurl 7.45.3-2+b1 ii quilt 0.68-1 pn ratt <none> pn reprotest <none> pn svn-buildpackage <none> pn w3m <none> -- no debconf information