Your message dated Mon, 06 Oct 2014 10:17:21 +0100
with message-id <[email protected]>
and subject line Re: Bug#764179: devscripts: [uscan] Incorrect order to download
has caused the Debian Bug report #764179,
regarding devscripts: [uscan] Incorrect order to download
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.)


-- 
764179: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764179
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.14.5~bpo70+2
Severity: normal

Dear Maintainer,

- When I execute 

$ debian/rules get-orig-source
uscan --verbose --force-download --repack --compress xz
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:

opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/
https://github.com/PointCloudLibrary/pcl/releases
.*/pcl-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
-- Found the following matching hrefs:
     /PointCloudLibrary/pcl/archive/pcl-1.7.2.zip (1.7.2)
     /PointCloudLibrary/pcl/archive/pcl-1.7.2.tar.gz (1.7.2)
     /PointCloudLibrary/pcl/archive/pcl-1.7.2rc2.1.zip (1.7.2rc2.1)
     /PointCloudLibrary/pcl/archive/pcl-1.7.2rc2.1.tar.gz (1.7.2rc2.1)
     /PointCloudLibrary/pcl/archive/pcl-1.7.2rc2.zip (1.7.2~rc2)
....
     /PointCloudLibrary/pcl/archive/pcl-1.0.0.zip (1.0.0)
     /PointCloudLibrary/pcl/archive/pcl-1.0.0.tar.gz (1.0.0)
Newest version on remote site is 1.7.2rc2.1, local version is 1.7.1
 => pcl-1.7.2rc2.1.zip already in package directory
-- Scan finished

I think that I have a correct watch file, but maybe it's my fault. The
question is that the newest version of pcl is 1.7.2, not 1.7.2rc2.1

Thanks in advance.

Leopold

-- Package-specific info:

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

--- ~/.devscripts ---
EMAIL="[email protected]"
export DEBMAIL=$EMAIL
export DEBFULLNAME="Leopold Palomo-Avelleneda"
export DEBSIGN_KEYID="49A2D9AA"
export DEBUILD_ROOTCMD="fakeroot"
export DEB_BUILD_OPTIONS="parallel=8"

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (600, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev  1.16.15
ii  libc6     2.13-38+deb7u4
ii  perl      5.14.2-21+deb7u1
ii  python3   3.2.3-6

Versions of packages devscripts recommends:
ii  at                          3.1.13-2
ii  curl                        7.26.0-1+wheezy10
ii  dctrl-tools                 2.22.2
ii  debian-keyring              2013.04.21
ii  dput                        0.9.6.3+nmu2
ii  equivs                      2.0.9
ii  fakeroot                    1.18.4-2
ii  file                        1:5.14-2~bpo70+1
ii  gnupg                       1.4.12-7+deb7u6
ii  libdistro-info-perl         0.10
ii  libencode-locale-perl       1.03-1
ii  libjson-perl                2.53-1
ii  liblwp-protocol-https-perl  6.03-1
ii  libparse-debcontrol-perl    2.005-3
ii  libsoap-lite-perl           0.714-1
ii  liburi-perl                 1.60-1
ii  libwww-perl                 6.04-1
ii  lintian                     2.5.27~bpo70+1
ii  man-db                      2.6.2-1
ii  patch                       2.6.1-3
ii  patchutils                  0.3.2-1.1
ii  python3-debian              0.1.21+nmu2~bpo70+1
ii  python3-magic               1:5.14-2~bpo70+1
ii  sensible-utils              0.0.7
ii  strace                      4.5.20-2.3
ii  unzip                       6.0-8
ii  wdiff                       1.1.2-1
ii  wget                        1.13.4-3+deb7u1
ii  xz-utils                    5.1.1alpha+20120614-2

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20111106cvs-1
ii  build-essential              11.5
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
ii  gnuplot                      4.6.0-8
ii  gpgv                         1.4.12-7+deb7u6
ii  libauthen-sasl-perl          2.1500-1
ii  libfile-desktopentry-perl    0.04-3
pn  libnet-smtp-ssl-perl         <none>
ii  libterm-size-perl            0.207-1
ii  libtimedate-perl             1.2000-1
ii  libyaml-syck-perl            1.20-1
ii  mutt                         1.5.21-6.2+deb7u2
ii  openssh-client [ssh-client]  1:6.0p1-4+deb7u2
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-8

-- no debconf information

--- End Message ---
--- Begin Message ---
On 2014-10-06 8:19, Leopold Palomo-Avellaneda wrote:
opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/
https://github.com/PointCloudLibrary/pcl/releases
.*/pcl-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
[...]
I think that I have a correct watch file, but maybe it's my fault. The
question is that the newest version of pcl is 1.7.2, not 1.7.2rc2.1

It is indeed the watchfile that's at fault. Your uversionmangle rule only applies to versions where the "rc" string is followed by zero or more digits. The string "2.1" is _not_ "zero or more digits", so the mangle is not applied in that case.

adam@mowgli:~$ cat watch
version=3
opts="uversionmangle=s/(\d)[_.+-]?((RC|rc|pre|dev|beta|alpha)[\d.]*)$/$1~$2/" \ https://github.com/PointCloudLibrary/pcl/releases .*/pcl-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

adam@mowgli:~$ uscan --upstream-version 0 --package foo --watchfile watch
foo: Newer version (1.7.2) available on remote site:
  https://github.com/PointCloudLibrary/pcl/archive/pcl-1.7.2.zip
  (local version is 0)
Not downloading as --package was used. Use --download to force downloading.

adam@mowgli:~$

Closing as due to user error.

Regards,

Adam

--- End Message ---

Reply via email to