Package: devscripts
Version: 2.20.2ubuntu2
Severity: important

Dear Maintainer,

/usr/bin/uscan miscompare commit hash in some cases, see:
tested with uscan  version version 2.23.7 on Ubuntu 24.04.1 LTS
and version 2.20.2ubuntu2 on 20.04.6 LTS (Focal Fossa)

```
inst/watcher > cat ./watchfile
uscan --watchfile /tmp/watchdzvt5jcg --package SparsePainter --upstream-version e18060f --destdir=/tmp  --verbose inst/watcher > uscan --watchfile ./watchfile --package SparsePainter --upstream-version e18060f --destdir=/tmp  --verbose
uscan info: uscan (version 2.20.2ubuntu2) See uscan(1) for help
uscan info: Option --watchfile=./watchfile used
uscan info: Process watch file at: ./watchfile
    package = SparsePainter
    version = e18060f
    pkg_dir = .
uscan info: opts: mode=git, gitmode=full, pgpmode=none, pretty=%h
uscan info: line: https://github.com/YaolingYang/SparsePainter HEAD
uscan info: Parsing mode=git
uscan info: Parsing  gitmode=full
uscan info: Parsing  pgpmode=none
uscan info: Parsing  pretty=%h
uscan info: line: https://github.com/YaolingYang/SparsePainter HEAD
uscan info: Last orig.tar.* tarball version (from debian/changelog): e18060f
uscan info: Last orig.tar.* tarball version (dversionmangled): e18060f
Cloning into bare repository '/tmp/SparsePainter-temporary.127613.git'...
remote: Enumerating objects: 1797, done.
remote: Counting objects: 100% (158/158), done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 1797 (delta 123), reused 79 (delta 79), pack-reused 1639 (from 1)
Receiving objects: 100% (1797/1797), 20.66 MiB | 27.54 MiB/s, done.
Resolving deltas: 100% (1100/1100), done.
uscan info: Looking at $base = https://github.com/YaolingYang/SparsePainter with
    $filepattern = HEAD found
    $newfile     = HEAD
    $newversion  = c08fd50
    $lastversion = e18060f
uscan info: Upstream URL(+tag) to download is identified as https://github.com/YaolingYang/SparsePainter HEAD uscan info: Filename (filenamemangled) for downloaded file: SparsePainter-c08fd50.tar.xz uscan info: Newest version of SparsePainter on remote site is c08fd50, local version is e18060f
uscan info:    => Only older package available from
      https://github.com/YaolingYang/SparsePainter HEAD
uscan info: Removing git repo (/tmp/SparsePainter-temporary.127613.git)
uscan info: Scan finished

```

while when checking the commits date, we can observe.
commit e18060f Mar 18, 2024
commit c08fd50 Sep 16, 2024

I was expecting uscan to report that there a newer version available.


-- Package-specific info:

--- /etc/devscripts.conf ---
Empty.

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), (100, 'focal-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-477.43.1.el8_8.x86_64 (SMP w/64 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE, TAINT_AUX Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /usr/bin/bash
Init: unable to detect

Versions of packages devscripts depends on:
ii  dpkg-dev              1.19.7ubuntu3.2
ii  fakeroot              1.24-1
ii  file                  1:5.38-4
ii  gnupg                 2.2.19-3ubuntu2.2
ii  gpgv                  2.2.19-3ubuntu2.2
ii  libc6                 2.31-0ubuntu9.16
ii  libfile-homedir-perl  1.004-1
ii  libfile-which-perl    1.23-1
ii  libipc-run-perl       20180523.0-2
ii  libmoo-perl           2.003006-1
ii  libwww-perl           6.43-1
ii  patchutils            0.3.4-2
ii  perl                  5.30.0-9ubuntu0.5
ii  python3               3.8.2-0ubuntu2
ii  sensible-utils        0.0.12+nmu1
ii  wdiff                 1.2.2-2build1

Versions of packages devscripts recommends:
ii  apt                        2.0.10
ii  at                         3.1.23-1ubuntu1
ii  curl                       7.68.0-1ubuntu2.24
ii  dctrl-tools                2.24-3
ii  dput                       1.0.3ubuntu1.1
ii  libdistro-info-perl        0.23ubuntu1.1
ii  libdpkg-perl               1.19.7ubuntu3.2
ii  libencode-locale-perl      1.05-1
ii  libgit-wrapper-perl        0.048-1
ii  libgitlab-api-v4-perl      0.25-1
ii  liblist-compare-perl       0.53-1
ii  libstring-shellquote-perl  1.04-1
ii  libtry-tiny-perl           0.30-1
ii  liburi-perl                1.76-2
ii  licensecheck               3.0.45-1
ii  lintian                    2.62.0ubuntu2.4
ii  man-db                     2.9.1-1
ii  patch                      2.7.6-6
ii  python3-apt                2.0.1ubuntu0.20.04.1
ii  python3-debian             0.1.36ubuntu1.1
ii  python3-magic              2:0.4.15-3
ii  python3-requests           2.22.0-2ubuntu1.1
ii  python3-unidiff            0.5.5-2
ii  python3-xdg                0.26-1ubuntu1
ii  strace                     5.5-3ubuntu1
ii  unzip                      6.0-25ubuntu1.2
ii  wget                       1.20.3-1ubuntu2.1
ii  xz-utils                   5.2.4-1ubuntu1.1

Versions of packages devscripts suggests:
pn  adequate                     <none>
pn  autopkgtest                  <none>
pn  bls-standalone               <none>
pn  bsd-mailx | mailx            <none>
ii  build-essential              12.8ubuntu1.1
pn  check-all-the-things         <none>
pn  cvs-buildpackage             <none>
pn  debhelper                    <none>
pn  debian-keyring               <none>
pn  devscripts-el                <none>
pn  diffoscope                   <none>
pn  disorderfs                   <none>
pn  dose-extra                   <none>
pn  duck                         <none>
pn  equivs                       <none>
pn  faketime                     <none>
pn  gnuplot                      <none>
pn  how-can-i-help               <none>
ii  libauthen-sasl-perl          2.1600-1
pn  libdbd-pg-perl               <none>
pn  libfile-desktopentry-perl    <none>
ii  liblwp-protocol-https-perl   6.07-2ubuntu2
pn  libnet-smtps-perl            <none>
pn  libsoap-lite-perl            <none>
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3200-1
pn  libyaml-syck-perl            <none>
pn  mozilla-devscripts           <none>
pn  mutt                         <none>
ii  openssh-client [ssh-client]  1:8.2p1-4ubuntu0.11
pn  piuparts                     <none>
pn  postgresql-client            <none>
pn  quilt                        <none>
pn  ratt                         <none>
pn  reprotest                    <none>
pn  svn-buildpackage             <none>
pn  w3m                          <none>

-- no debconf information

Reply via email to