Your message dated Mon, 19 Oct 2015 20:40:01 -0400
with message-id <[email protected]>
and subject line Re: Bug#802362: devscripts: [uscan] does not select newer dir
has caused the Debian Bug report #802362,
regarding devscripts: [uscan] does not select newer dir
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.)
--
802362: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802362
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.15.9
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi, Uscan does not select a newer dir, but it acknowledges its existence.
In this case, uscan selects the "drumgizmo-0.9.8" directory instead
of "drumgizmo-0.9.8.1", from the URL http://www.drumgizmo.org/releases/
I have attached the output of `uscan --debug`, which shows that it
recognizes the "drumgizmo-0.9.8.1" yet does not use it.
I'm using uscan with a debian/watch containing:
# Compulsory line, this is a version 3 file
version=3
http://www.drumgizmo.org/releases/drumgizmo-(.*)/drumgizmo-(.*)\.tar\.gz
Thanks.
- -- Package-specific info:
- --- /etc/devscripts.conf ---
- --- ~/.devscripts ---
DEBSIGN_KEYID=0xA2591E231E251F36
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc -I -i"
DEBUILD_LINTIAN_OPTS="-i -I"
- -- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf
Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.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.3
ii libc6 2.19-22
ii perl 5.20.2-6
ii python3 3.4.3-7
pn python3:any <none>
Versions of packages devscripts recommends:
ii at 3.1.16-1
ii curl 7.45.0-1
ii dctrl-tools 2.24-1
ii debian-keyring 2015.08.13
ii dput 0.9.6.4
ii dupload 2.7.0
ii equivs 2.0.9
ii fakeroot 1.20.2-1
ii file 1:5.25-2
ii gnupg 1.4.19-5
ii libdistro-info-perl 0.14
ii libencode-locale-perl 1.03-1
ii libjson-perl 2.90-1
ii liblwp-protocol-https-perl 6.06-2
ii libsoap-lite-perl 1.11-1
ii liburi-perl 1.69-1
ii libwww-perl 6.13-1
ii lintian 2.5.38
ii man-db 2.7.4-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-18
ii wdiff 1.2.2-1
ii wget 1.16.3-3
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 11.7
pn cvs-buildpackage <none>
ii debbindiff 36
pn devscripts-el <none>
ii gnuplot 4.6.6-3
ii gpgv 1.4.19-5
ii libauthen-sasl-perl 2.1600-1
ii libfile-desktopentry-perl 0.12-1
ii libnet-smtp-ssl-perl 1.03-1
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-2
pn libyaml-syck-perl <none>
ii mutt 1.5.24-1
ii openssh-client [ssh-client] 1:6.9p1-2
pn svn-buildpackage <none>
ii w3m 0.5.3-25
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJWJThWAAoJECI/Fcparw545B4H/3QJP+aicvKvhRKzEtpi3Yo4
mu8ng4SI7Z2Ypreq1vtHWPpo63/3cMRkQoiDCWOYgwgCuBuWhXNFbvSSs1fnDRi7
djxBswhKZ/IthaI9nblHZ3//MSAZdMBmgRHFQMsDnTGPPVWmcj5zBCCGg2t2HSgu
mUWun7o5dHrXuBsZC8AHvpqHJMaW2zKHVWyL4xwLySU65DMP6LCHrNs50GL6V4rh
3O1D3GVJNhx2qaSf4yllLFzXGz6qSX3M+a5chVI8BfrfsDfYmyc2WZKp6+HC3FmD
AnMgnSLVhCMBrdG5q9sFI1b6EBQ5B49EjjLXl1wzTMxHLBwJTPWcmbT3yXJZUV0=
=y5ba
-----END PGP SIGNATURE-----
Title: Index of /releases
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
http://www.drumgizmo.org/releases/drumgizmo-(.*)/drumgizmo-(.*)\.tar\.gz
uscan debug: dir=>/releases/ dirpattern=>drumgizmo-(.*)
uscan debug: requesting URL http://www.drumgizmo.org/releases/
uscan debug: received content:
Index of /releases/drumgizmo-0.9.8
Name Last modified Size Description
Parent Directory -
drumgizmo-0.9.8.tar.gz 22-Feb-2015 14:32 714K
drumgizmo-vst-32bit-..> 22-Feb-2015 14:33 2.2M
drumgizmo-vst-64bit-..> 22-Feb-2015 14:33 2.3M
Apache Server at www.drumgizmo.org Port 80
[End of received content]
uscan debug: matching pattern(s) (?:(?:http://www.drumgizmo.org)?\/releases\/drumgizmo\-0\.9\.8\/)?drumgizmo-(.*)\.tar\.gz
-- Found the following matching hrefs:
drumgizmo-0.9.8.tar.gz (0.9.8)
uscan debug: new version 0.9.8
uscan debug: new filename drumgizmo-0.9.8.tar.gz
uscan debug: filenamemangled new filename drumgizmo-0.9.8.tar.gz
uscan debug: downloadurlmangled upstream URL http://www.drumgizmo.org/releases/drumgizmo-0.9.8/drumgizmo-0.9.8.tar.gz
Newest version on remote site is 0.9.8, local version is 0.9.8.1
=> remote site does not even have current version
-- Scan finished
--- End Message ---
--- Begin Message ---
On Mon, Oct 19, 2015 at 08:37:18PM +0200, Víctor Cuadrado Juan wrote:
> Package: devscripts
> Version: 2.15.9
> Severity: normal
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi, Uscan does not select a newer dir, but it acknowledges its existence.
>
> In this case, uscan selects the "drumgizmo-0.9.8" directory instead
> of "drumgizmo-0.9.8.1", from the URL http://www.drumgizmo.org/releases/
>
> I have attached the output of `uscan --debug`, which shows that it
> recognizes the "drumgizmo-0.9.8.1" yet does not use it.
>
> I'm using uscan with a debian/watch containing:
>
> # Compulsory line, this is a version 3 file
> version=3
> http://www.drumgizmo.org/releases/drumgizmo-(.*)/drumgizmo-(.*)\.tar\.gz
Here's a fixed watch line for you.
http://www.drumgizmo.org/releases/drumgizmo-(.+?)/drumgizmo-(.+?)\.tar\.gz
Although below is even better.
http://www.drumgizmo.org/releases/drumgizmo-([\d.]+?)/drumgizmo-([\d.]+?)\.tar\.gz
> uscan debug: matching pattern
> (?:(?:http://www.drumgizmo.org)?\/releases\/)?drumgizmo-(.*)
> -- Found the following matching hrefs (newest first):
> drumgizmo-0.9.8/ (0.9.8/)
> drumgizmo-0.9.8.1/ (0.9.8.1/)
> drumgizmo-0.9.7/ (0.9.7/)
> drumgizmo-0.9.6/ (0.9.6/)
> drumgizmo-0.9.5/ (0.9.5/)
> drumgizmo-0.9.4/ (0.9.4/)
> drumgizmo-0.9.3/ (0.9.3/)
> drumgizmo-0.9.2/ (0.9.2/)
> drumgizmo-0.9.1/ (0.9.1/)
The debug output gave the hint -- notice that / is part of the version
number?
$ dpkg --compare-versions 0.9.8/ lt 0.9.8.1/ || echo 'yes'
dpkg: warning: version '0.9.8/' has bad syntax: invalid character in version
number
dpkg: warning: version '0.9.8.1/' has bad syntax: invalid character in version
number
yes
Cheers,
--
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>
--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel