Your message dated Sun, 30 Nov 2025 10:04:08 +0000
with message-id <[email protected]>
and subject line Bug#1120533: fixed in devscripts 2.25.28
has caused the Debian Bug report #1120533,
regarding uscan: tracking HEAD gives incorrect result if upstreamvcs remote is
present
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.)
--
1120533: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120533
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.25.25
Severity: important
Dear Maintainer,
-- Package-specific info:
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts ---
Not present
> *** Reporter, please consider answering these questions, where appropriate ***
>
> * What led up to the situation?
Latest uscan gives wrong result when d/watch tracks HEAD of a remote repository.
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
As an example of emacs-dart-mode, both the v4 and v5 d/watch that tracks
HEAD gives the wrong result.
v4:
,----
| version=4
| opts="mode=git, pgpmode=none, pretty=1.0.7+git%cd.%h" \
| https://github.com/emacsorphanage/dart-mode \
| HEAD debian uupdate
`----
v5:
,----
| Version: 5
|
| Source: https://github.com/emacsorphanage/dart-mode
| Matching-Pattern: HEAD
| Mode: git
| Pgp-Mode: none
| Pretty: 1.0.7+git%cd.%h
`----
The following is from the output of `uscan --report-status`:
,----
| $ uscan --report-status
| uscan info: Scan watch files in .
| uscan info: Check debian/watch and debian/changelog in .
| uscan info: package="emacs-dart-mode" version="1.0.7+git20250811.edb45cb-1"
(as
| seen in debian/changelog)
| uscan info: package="emacs-dart-mode" version="1.0.7+git20250811.edb45cb" (no
ep
| och/revision)
| uscan info: ./debian/changelog sets package="emacs-dart-mode"
version="1.0.7+git
| 20250811.edb45cb"
| uscan info: Process watch file at: debian/watch
| package = emacs-dart-mode
| version = 1.0.7+git20250811.edb45cb
| pkg_dir = .
| uscan info: Parsing gitpretty: 1.0.7+git%cd.%h
| uscan info: Parsing mode: git
| uscan info: Parsing pgpmode: none
| uscan info: Last orig.tar.* tarball version (from debian/changelog):
1.0.7+git20
| 250811.edb45cb
| uscan info: Last orig.tar.* tarball version (dversionmangled):
1.0.7+git20250811
| .edb45cb
| uscan warn: Using upstreamvcs remote origin
| uscan info: Looking at $base =
https://github.com/emacsorphanage/dart-mod
| e with
| $filepattern = HEAD found
| $newfile = HEAD
| $mangled_newversion = 1.0.7+git20251110.ca232ba
| $newversion = 1.0.7+git20251110.ca232ba
| $lastversion = 1.0.7+git20250811.edb45cb
| uscan info: Upstream URL(+tag) to download is identified as
https://github.co
| m/emacsorphanage/dart-mode HEAD
| uscan info: Filename (filenamemangled) for downloaded file:
emacs-dart-mode-1.0.
| 7+git20251110.ca232ba.tar.xz
| Newest version of emacs-dart-mode on remote site is
1.0.7+git20251110.ca232ba, l
| ocal version is 1.0.7+git20250811.edb45cb
| => Newer package available from:
| => https://github.com/emacsorphanage/dart-mode HEAD
| uscan info: Scan finished
`----
Note that it reports the newversion as `1.0.7+git20251110.ca232ba', but
the actual latest commit of upstreamvcs happened on `Tue Nov 4 21:43:39
2025 -0800', and the latest commit hash should be 22288d0, so the
correct version string should be `1.0.7+git20251105.22288d0'. And as a
matter of fact, the qa.debian.org page reports the correct version
string[1], suggesting that some previous version of uscan was working
correctly.
> * What was the outcome of this action?
On closer inspect, `ca232ba' is actually the latest commit of my
debian/latest branch on Salsa. So it looks like when tracking HEAD,
uscan is using my `debian/latest' branch instead of the remote branch
for getting the latest commit time and hash.
> * What outcome did you expect instead?
>
Restoring the previous correct behavior would be great.
As this would generate the wrong version string and potentially wrong
packaging, I'm setting the severity as important.
[1] https://qa.debian.org/cgi-bin/watch?pkg=emacs-dart-mode
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.7+deb14+1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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.21
ii file 1:5.46-5
ii gpg 2.4.8-4
ii gpg-agent 2.4.8-4
ii gpgv 2.4.8-4
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.81-1
ii patchutils 0.4.3-1
ii perl 5.40.1-6
ii python3 3.13.7-1
ii sensible-utils 0.0.26
ii wdiff 1.2.2-9
Versions of packages devscripts recommends:
ii apt 3.1.12
ii curl 8.17.0-1
ii dctrl-tools 2.24-3+b1
ii debian-keyring 2025.09.18
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.34-2
ii licensecheck 3.3.9-1
ii lintian 2.127.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.5+dfsg-1
ii python3-unidiff 0.7.5-2
ii python3-xdg 0.28-2
ii strace 6.16+ds-2
ii unzip 6.0-29
ii wget 1.25.0-2
ii xz-utils 5.8.1-2
Versions of packages devscripts suggests:
ii adequate 0.17.6+b1
pn at <none>
ii autopkgtest 5.51
pn bls-standalone <none>
ii build-essential 12.12
pn check-all-the-things <none>
ii debhelper 13.28
pn diffoscope <none>
pn disorderfs <none>
pn docker.io <none>
ii dose-extra 7.0.0-6+b4
pn duck <none>
ii elpa-devscripts 40.7
pn faketime <none>
ii gnuplot-nox [gnuplot] 6.0.3+dfsg1-1
pn how-can-i-help <none>
ii libauthen-sasl-perl 2.1900-1
pn libdbd-pg-perl <none>
pn libterm-size-perl <none>
ii libtimedate-perl 2.3300-2
ii libyaml-libyaml-perl 0.904.0+ds-1
ii mailutils [mailx] 1:3.20-2
ii mmdebstrap 1.5.7-3
ii mutt 2.2.13-1
ii openssh-client [ssh-client] 1:10.2p1-2
ii piuparts 1.6.0
ii postgresql-client-17 [postgresql-client] 17.6-1
ii postgresql-client-18 [postgresql-client] 18.0-1
pn pristine-lfs <none>
ii python3-debianbts 4.1.1
pn python3-pycurl <none>
ii quilt 0.68-1
ii ratt 0.0~git20250829.39528ce-1
ii reprotest 0.7.32
pn svn-buildpackage <none>
ii w3m 0.5.3+git20230121-2.1
-- no debconf information
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.25.28
Done: Holger Levsen <[email protected]>
We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Holger Levsen <[email protected]> (supplier of updated devscripts package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 30 Nov 2025 10:59:09 +0100
Source: devscripts
Architecture: source
Version: 2.25.28
Distribution: unstable
Urgency: medium
Maintainer: Devscripts Maintainers <[email protected]>
Changed-By: Holger Levsen <[email protected]>
Closes: 1016135 1112452 1120533 1121335
Changes:
devscripts (2.25.28) unstable; urgency=medium
.
[ Guillem Jover ]
* debdiff: Add support for new --no-check option. Closes: #1016135.
* Pass also no_check to Dpkg::IPC spawn() and wait_child().
.
[ Hugh McMaster ]
* uscan/Git.pm:
- Set $newfile as a remote reference in upstream mode. Closes: #1120533.
- Remove 'eval' wrapper.
- Update 'git upstream' code path and debug output.
- Call 'show-ref' and 'ls-remote' with '--tags'.
* uscan/WatchSource.pm: Update some output messages.
.
[ Yadd ]
* uscan:
- accept also "Dist" into Github template like other templates.
- improve default Uversion-Mangle to cover trailing dot or dash and
uppercase. Thanks to Jonas Smedegaard. Closes: #1112452.
* Update French translations.
.
[ Daniel Gröber ]
* bts: browse:
- Push down $caching check. Closes: #1121335.
- Fix background download with blocking browsers.
- Fix background child inadvertently executing commands.
Checksums-Sha1:
04dc6980a599e53f8bfda9f2d9e51524444812ad 3389 devscripts_2.25.28.dsc
cc6e50cb709201ca7b97622ef92e653370b3a363 1092464 devscripts_2.25.28.tar.xz
a3ad047613764b30a2945d99906b392c32b7649d 19233
devscripts_2.25.28_source.buildinfo
Checksums-Sha256:
10245e5b01a502e50ce6bc8ba316ad157b0ae424f2af60e77d02eb75f3349193 3389
devscripts_2.25.28.dsc
7279bdbafa0756ae9dddf5f74a7a59818459f7c671cc01aefdd97bdbd3114f3e 1092464
devscripts_2.25.28.tar.xz
53ed8b57a299d87f12b8c16bba44f09c710314bc2b565bd652b0eb02256833f4 19233
devscripts_2.25.28_source.buildinfo
Files:
14144cb9afc9a6e77f45fc1c14b0978e 3389 devel optional devscripts_2.25.28.dsc
a71e9289eeaebb0f98dfd8326c1a68cf 1092464 devel optional
devscripts_2.25.28.tar.xz
715dff4446fdc904dbce62b796a08b68 19233 devel optional
devscripts_2.25.28_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmksFa8ACgkQCRq4Vgaa
qhwa5w//UIAuftw78oYznqAjVEfr6jx/qGX56uFpvRCKnX3db/PZVGov4XAo+G+m
lB/RcJMEi8oTf9wz2kQ2wsbVqJJMq3JgDIq7GYqf23EbGGl/SXsmEfS1dlVYXDyC
nXTm4Zq8IOVprFkdmF+eY2AcpYJLZ+Q79z4kdcADjWGlzBz4DGD7Hx40BvyweF7D
ryX0cKsxozzq8OPIM5Ri9YU8AWvXte+N85EsEV9atHGjSYzxsAxGN0CXszeZq/uo
0mgQuUh4Zx8g8cVwEpVg0b8DAX+2q36WwwKTUzd6SfCtg0Txof7dcBArvisHlxbW
8at9ROYreIX4IS8jM77oIN75Zx5faomnIRlhU6UPY6KlvUXhWPjATSPGRMYqyjk8
WYOxWEwzn5JaQMkID/ND2s8fY+EL8s7m61wOTbPi42ejTeZf8FZCd7ONaCMnc/Zo
B/Q7mLUYkj4gRrGNpsWj5tQ0g+dWon3sRoMDJ38eynhFSxqQ537dYMAX11PD7Ldo
N2TywU+3M39PR3n9+oEHyjVCgv85Ki0nNa+u8F0fs1YTsvDzL8HPxA6XTltqEOHE
HiDBeDUxsWbGlFXKC/ueN/JXBpgPDNxD/7F0GWt/ZPSQlmXeuJdWJwWDF4UuKjGg
IDm8tZnG+UaVXFWhfv1+vr+UuDr1L8H206LrSE8cLhDpyKitEqg=
=Ielz
-----END PGP SIGNATURE-----
pgpZn7tijPTg7.pgp
Description: PGP signature
--- End Message ---