Your message dated Fri, 24 Oct 2025 07:08:18 +0000
with message-id <[email protected]>
and subject line Re: Bug#1112388: uscan: --download-current-version broken
has caused the Debian Bug report #1112388,
regarding uscan: --download-current-version broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1112388: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112388
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.25.19
Severity: important

Hi,

uscan --download-current-version seems broken. (I suspect the version 5 
changes.)

pg-hint-plan 18 $ uscan --download --download-current-version
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="pg-hint-plan-18" version="1.8.0-1" (as seen in 
debian/changelog)
uscan info: package="pg-hint-plan-18" version="1.8.0" (no epoch/revision)
uscan info: ./debian/changelog sets package="pg-hint-plan-18" version="1.8.0"
uscan info: Process watch file at: debian/watch
    package = pg-hint-plan-18
    version = 1.8.0
    pkg_dir = .
uscan info: debian/watch isn't formatted in version 5, trying version 4
uscan info: File debian/watch converted into << ==EOF==
Version: 5

Source: https://github.com/ossc-db/pg_hint_plan/tags
Matching-Pattern: .*/REL18_(.*).tar.gz
Uversionmangle: s/_/./g

==EOF==
uscan info: Reset watch_version to 4 because default value may change in 
version 5
uscan info: Parsing uversionmangle: s/_/./g
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.8.0
uscan info: Download the --download-current-version specified version: 1.8.0
uscan info: Requesting URL:
   https://github.com/ossc-db/pg_hint_plan/tags
uscan info: Matching pattern:
   (?:(?:https://github.com)?\/ossc\-db\/pg_hint_plan\/)?.*/REL18_(.*).tar.gz
uscan info: Found the following matching files on the web page (newest first):
   https://github.com/ossc-db/pg_hint_plan/archive/refs/tags/REL18_1_8_0.tar.gz 
(1.8.0) index=1.8.0-1
   https://github.com/ossc-db/pg_hint_plan/archive/refs/tags/REL18_1_8_0.tar.gz 
(1.8.0) index=1.8.0-1
uscan warn: In debian/watch no matching files for version 1.8.0 in watch line
uscan info: Scan finished


If I put a different package version into debian/changelog, `uscan`
downloads 1.8.0 just fine.


Possibly related: https://qa.debian.org/cgi-bin/watch?pkg=pgreplay now
shows the mangled version for upstream_version. Maybe that's why
--download-current-version doesn't find it?


--- ~/.devscripts ---
USCAN_SYMLINK=rename
USCAN_VERBOSE=yes

Christoph

--- End Message ---
--- Begin Message ---
version: 2.25.20

On Thu, Oct 23, 2025 at 09:20:10PM +0200, Bastian Blank wrote:
> This problem was fixed with
> https://salsa.debian.org/debian/devscripts/-/merge_requests/564

ah. thanks!

FTR thats commit 8b2652c87bc006d70b0c3ee585f8836109ef85d6.


-- 
cheers,
        Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

The greatest danger in times of turbulence is not the turbulence;
it is to act with yesterdays logic. (Peter Drucker)

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to