Bug#809604: Regressions in latest uscan release (mangle rules?)

David Prévot taffit at debian.org
Fri Jan 1 18:42:25 UTC 2016


Package: devscripts
Version: 2.15.10
Severity: normal

Hi,

The following watch file is not able to retrieve the latest version of
spip, it instead grabs a previous RC. It doesn’t seem to handle all
successive rules at first sight, but I didn’t look closer.

version=3
opts=uversionmangle=s/trois/3/;s/-([^\d]+)/~$1/;s/-/./;s/\.0$// \
http://files.spip.net/spip/archives/SPIP-v(.*)\.zip

I also attached the output of “uscan --nodownload --verbose” if that
helps (it looks like only the first two rules of uversionmangle are
taken into account).

Regards

David

-- Package-specific info:

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

--- ~/.devscripts ---
DEBSIGN_KEYID=0x058C1CF944F6BD3C

-- System Information:
Debian Release: stretch/sid
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 'buildd-unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-rc6-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages devscripts depends on:
ii  dpkg-dev     1.18.4
ii  libc6        2.21-6
ii  perl         5.22.1-3
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  apt                         1.1.10
ii  at                          3.1.18-2
ii  curl                        7.46.0-1
ii  dctrl-tools                 2.24-1
ii  debian-keyring              2015.11.30
ii  dput-ng [dput]              1.10
ii  equivs                      2.0.9+nmu1
ii  fakeroot                    1.20.2-1
ii  file                        1:5.25-2
ii  gnupg                       1.4.20-1
ii  gnupg2                      2.1.10-3
ii  libdistro-info-perl         0.14
ii  libencode-locale-perl       1.05-1
ii  libjson-perl                2.90-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libsoap-lite-perl           1.19-1
ii  liburi-perl                 1.69-1
ii  libwww-perl                 6.15-1
ii  lintian                     2.5.39.1
ii  man-db                      2.7.5-1
ii  patch                       2.7.5-1
ii  patchutils                  0.3.4-1
ii  python3-debian              0.1.27
ii  python3-magic               1:5.25-2
ii  sensible-utils              0.0.9
ii  strace                      4.10-3
ii  unzip                       6.0-20
ii  wdiff                       1.2.2-1+b1
ii  wget                        1.17.1-1
ii  xz-utils                    5.1.1alpha+20120614-2.1

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20150408cvs-1
ii  build-essential              12.1
ii  cvs-buildpackage             5.25
pn  debbindiff                   <none>
pn  devscripts-el                <none>
ii  gnuplot                      4.6.6-3
ii  gpgv                         1.4.20-1
ii  gpgv2                        2.1.10-3
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.22-1
ii  libnet-smtp-ssl-perl         1.03-1
ii  libterm-size-perl            0.207-1+b3
ii  libtimedate-perl             2.3000-2
ii  libyaml-syck-perl            1.29-1+b1
ii  mozilla-devscripts           0.42
ii  mutt                         1.5.24-1
ii  openssh-client [ssh-client]  1:7.1p1-5
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-26

-- no debconf information
-------------- next part --------------
uscan: uscan (version 2.15.10) See uscan(1) for help
uscan: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="spip" version="3.1.0~rc3-1" (as seen in debian/changelog)
uscan info: package="spip" version="3.1.0~rc3" (no epoch/revision)
uscan info: Check debian/watch and debian/changelog in ./.git/refs/tags
uscan: ./debian/changelog sets package="spip" version="3.1.0~rc3"
uscan info: Process ./debian/watch (package=spip version=3.1.0~rc3)
uscan info: opts: uversionmangle=s/trois/3/;s/-([^\d]+)/~$1/;s/-/./;s/\.0$//
uscan info: line: http://files.spip.net/spip/archives/SPIP-v(.*)\.zip
uscan info: Parsing uversionmangle=s/trois/3/;s/-([^\d]+)/~$1/;s/-/./;s/\.0$//
uscan info: line: http://files.spip.net/spip/archives/SPIP-v(.*)\.zip
uscan info: Last orig.tar.* tarball version (from debian/changelog): 3.1.0~rc3
uscan info: Last orig.tar.* tarball version (dversionmangled): 3.1.0~rc3
uscan info: Requesting URL:
   http://files.spip.net/spip/archives/
uscan info: Matching pattern:
   (?:(?:http://files.spip.net)?\/spip\/archives\/)?SPIP-v(.*)\.zip
uscan info: Found the following matching hrefs on the web page (newest first):
   http://files.spip.net/spip/archives/SPIP-vtrois.1.0-rc.zip (3.1.0~rc) index=3.1.0~rc.0 
   http://files.spip.net/spip/archives/SPIP-vtrois.1.0-rc3.zip (3.1.0~rc3) index=3.1.0~rc3.0 
   http://files.spip.net/spip/archives/SPIP-vtrois.1.0-beta.zip (3.1.0~beta) index=3.1.0~beta.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.21.zip (3.0.21) index=3.0.21.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.20.zip (3.0.20) index=3.0.20.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.19.zip (3.0.19) index=3.0.19.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.17.zip (3.0.17) index=3.0.17.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.16.zip (3.0.16) index=3.0.16.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.15.zip (3.0.15) index=3.0.15.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.14.zip (3.0.14) index=3.0.14.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.13.zip (3.0.13) index=3.0.13.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.12.zip (3.0.12) index=3.0.12.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.11.zip (3.0.11) index=3.0.11.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.10.zip (3.0.10) index=3.0.10.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.9.zip (3.0.9) index=3.0.9.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.8.zip (3.0.8) index=3.0.8.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.7.zip (3.0.7) index=3.0.7.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.6.zip (3.0.6) index=3.0.6.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.5.zip (3.0.5) index=3.0.5.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.4.zip (3.0.4) index=3.0.4.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.3.zip (3.0.3) index=3.0.3.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.2.zip (3.0.2) index=3.0.2.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.1.zip (3.0.1) index=3.0.1.0 
   http://files.spip.net/spip/archives/SPIP-v3.0.0.zip (3.0) index=3.0.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.28.zip (2.1.28) index=2.1.28.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.27.zip (2.1.27) index=2.1.27.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.26.zip (2.1.26) index=2.1.26.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.25.zip (2.1.25) index=2.1.25.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.24.zip (2.1.24) index=2.1.24.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.23.zip (2.1.23) index=2.1.23.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.22.zip (2.1.22) index=2.1.22.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.21.zip (2.1.21) index=2.1.21.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.20.zip (2.1.20) index=2.1.20.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.19.zip (2.1.19) index=2.1.19.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.18.zip (2.1.18) index=2.1.18.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.17.zip (2.1.17) index=2.1.17.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.16.zip (2.1.16) index=2.1.16.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.15.zip (2.1.15) index=2.1.15.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.14.zip (2.1.14) index=2.1.14.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.13.zip (2.1.13) index=2.1.13.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.12.zip (2.1.12) index=2.1.12.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.11.zip (2.1.11) index=2.1.11.0 
   http://files.spip.net/spip/archives/SPIP-v2.1.10.zip (2.1.10) index=2.1.10.0 
   http://files.spip.net/spip/archives/SPIP-v2.1.9.zip (2.1.9) index=2.1.9.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.8.zip (2.1.8) index=2.1.8.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.7.zip (2.1.7) index=2.1.7.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.6.zip (2.1.6) index=2.1.6.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.5.zip (2.1.5) index=2.1.5.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.4.zip (2.1.4) index=2.1.4.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.3.zip (2.1.3) index=2.1.3.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.2.zip (2.1.2) index=2.1.2.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.1.zip (2.1.1) index=2.1.1.0 
   http://files.spip.net/spip/archives/SPIP-v2-1.0.zip (2.1) index=2.1.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-26.zip (2.0-26) index=2.0-26.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-25.zip (2.0-25) index=2.0-25.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-24.zip (2.0-24) index=2.0-24.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-23.zip (2.0-23) index=2.0-23.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-22.zip (2.0-22) index=2.0-22.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-21.zip (2.0-21) index=2.0-21.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-20.zip (2.0-20) index=2.0-20.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-19.zip (2.0-19) index=2.0-19.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-18.zip (2.0-18) index=2.0-18.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-17.zip (2.0-17) index=2.0-17.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-16.zip (2.0-16) index=2.0-16.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-15.zip (2.0-15) index=2.0-15.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-14.zip (2.0-14) index=2.0-14.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-13.zip (2.0-13) index=2.0-13.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-12.zip (2.0-12) index=2.0-12.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-11.zip (2.0-11) index=2.0-11.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-10.zip (2.0-10) index=2.0-10.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-9.zip (2.0-9) index=2.0-9.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-8.zip (2.0-8) index=2.0-8.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-7.zip (2.0-7) index=2.0-7.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-6.zip (2.0-6) index=2.0-6.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-5.zip (2.0-5) index=2.0-5.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-3.zip (2.0-3) index=2.0-3.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-2.zip (2.0-2) index=2.0-2.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-1.zip (2.0-1) index=2.0-1.0 
   http://files.spip.net/spip/archives/SPIP-v2-0-0.zip (2.0-0) index=2.0-0.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2p.zip (1.9-2p) index=1.9-2p.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2o.zip (1.9-2o) index=1.9-2o.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2n.zip (1.9-2n) index=1.9-2n.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2m.zip (1.9-2m) index=1.9-2m.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2k.zip (1.9-2k) index=1.9-2k.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2j.zip (1.9-2j) index=1.9-2j.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2i.zip (1.9-2i) index=1.9-2i.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2h.zip (1.9-2h) index=1.9-2h.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2g.zip (1.9-2g) index=1.9-2g.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-2f.zip (1.9-2f) index=1.9-2f.0 
   http://files.spip.net/spip/archives/SPIP-v1-9-1i.zip (1.9-1i) index=1.9-1i.0 
   http://files.spip.net/spip/archives/SPIP-v1-8-3b.zip (1.8-3b) index=1.8-3b.0 
uscan info: Matching target for downloadurlmangle: http://files.spip.net/spip/archives/SPIP-vtrois.1.0-rc.zip
uscan info: Upstream URL (downloadurlmangled):
   http://files.spip.net/spip/archives/SPIP-vtrois.1.0-rc.zip
uscan info: Newest upstream tarball version selected for download (uversionmangled): 3.1.0~rc
uscan info: Download filename (filenamemangled): SPIP-vtrois.1.0-rc.zip
uscan: Newest version on remote site is 3.1.0~rc, local version is 3.1.0~rc3
uscan:    => Only older package available
uscan: Don't downloading upstream package: SPIP-vtrois.1.0-rc.zip
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): 3.1.0~rc
uscan: Successfully downloaded package SPIP-vtrois.1.0-rc.zip
uscan info: Scan finished
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20160101/e188fd80/attachment.sig>


More information about the devscripts-devel mailing list