Your message dated Sat, 22 May 2010 11:11:57 -0400
with message-id <[email protected]>
and subject line Re: Bug#582480: uscan: wrong hrefs ordering
has caused the Debian Bug report #582480,
regarding uscan: wrong hrefs ordering
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.)


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

Hey,

I'm using a debian/watch file for anjal, which has the following
content:

version=3
http://ftp.gnome.org/pub/GNOME/sources/anjal/([\d\.]+)[13579]/anjal-([\d\.]+)\.tar\.gz
 debian  uupdate

When I run:

uscan  --debug --force-download --destdir ../tarballs

I get:

[…]
uscan debug: matching pattern 
(?:(?:http://ftp.gnome.org)?\/pub\/GNOME\/sources\/anjal\/)?([\d\.]+)[13579]
-- Found the following matching hrefs (newest first):
     0.1/
     0.1/
     0.3/
     0.3/
uscan debug: newest_dir => '0.1'
uscan debug: requesting URL http://ftp.gnome.org/pub/GNOME/sources/anjal/0.1/
…
-- Found the following matching hrefs:
     anjal-0.1.tar.gz
     anjal-0.1.tar.gz
Newest version on remote site is 0.1, local version is 0.3.1+git20100216.f222280
 => remote site does not even have current version
-- Scan finished

While, when loading the site, you clearly see that there is a 
0.3/anjal-0.3.2.tar.gz which should have been picked. I'm not exactly sure why 
0.3 is ordered *after* 0.1, so I guess there's a bug here.

If you need more info, please ask.

Cheers,
--
Yves-Alexis



-- Package-specific info:

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

--- ~/.devscripts ---
DEBSIGN_KEYID=71EF0BA8

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.15.7.2   Debian package development tools
ii  libc6                         2.10.2-9   Embedded GNU C Library: Shared lib
ii  perl                          5.10.1-12  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
pn  at                <none>                 (no description available)
ii  bsd-mailx [mailx] 8.1.2-0.20100314cvs-1  simple mail user agent
ii  curl              7.20.1-2               Get a file from an HTTP, HTTPS or 
ii  cvs               1:1.12.13-12           Concurrent Versions System
ii  darcs             2.4.3-1                a distributed, interactive, smart 
ii  dctrl-tools       2.14                   Command-line tools to process Debi
ii  debian-keyring [d 2010.03.31             GnuPG (and obsolete PGP) keys of D
ii  dput              0.9.5.1                Debian package upload tool
ii  epiphany-browser  2.30.2-1               Intuitive GNOME web browser
pn  equivs            <none>                 (no description available)
ii  fakeroot          1.14.4-1               Gives a fake root environment
ii  git [git-core]    1:1.7.1-1              fast, scalable, distributed revisi
ii  git-core          1:1.7.1-1              fast, scalable, distributed revisi
ii  gnupg             1.4.10-3               GNU privacy guard - a free PGP rep
ii  iceweasel [www-br 3.5.9-3                Web browser based on Firefox
pn  libauthen-sasl-pe <none>                 (no description available)
pn  libcrypt-ssleay-p <none>                 (no description available)
pn  libjson-perl      <none>                 (no description available)
ii  libparse-debcontr 2.005-2                Easy OO parsing of Debian control-
pn  libsoap-lite-perl <none>                 (no description available)
ii  libterm-size-perl 0.2-4+b1               Perl extension for retrieving term
ii  libtimedate-perl  1.2000-1               collection of modules to manipulat
ii  liburi-perl       1.54-1                 module to manipulate and access UR
ii  libwww-perl       5.836-1                Perl HTTP/WWW client/server librar
ii  libyaml-syck-perl 1.07-1                 fast, lightweight YAML loader and 
ii  links [www-browse 2.2-1+b2               Web browser running in text mode
ii  lintian           2.4.1                  Debian package checker
ii  lsb-release       3.2-23.1               Linux Standard Base version report
ii  lynx-cur [www-bro 2.8.8dev.3-3           Text-mode WWW Browser with NLS sup
ii  lzma              4.43-14                Compression method of 7z format in
ii  man-db            2.5.7-3                on-line manual pager
ii  mercurial         1.5.2-1                scalable distributed version contr
ii  midori [www-brows 0.2.4-3                fast, lightweight graphical web br
ii  openssh-client [s 1:5.5p1-3              secure shell (SSH) client, for sec
ii  patch             2.6-2                  Apply a diff file to an original
ii  patchutils        0.3.1-2                Utilities to work with patches
ii  sensible-utils    0.0.4                  Utilities for sensible alternative
ii  strace            4.5.20-2               A system call tracer
ii  subversion        1.6.11dfsg-1           Advanced version control system
ii  unzip             6.0-4                  De-archiver for .zip files
ii  wdiff             0.6.1-1                Compares two files word by word
ii  wget              1.12-2                 retrieves files from the web
ii  xz-utils          4.999.9beta+20100307-1 XZ-format compression utilities

Versions of packages devscripts suggests:
ii  build-essential               11.5       Informational list of build-essent
pn  cvs-buildpackage              <none>     (no description available)
pn  devscripts-el                 <none>     (no description available)
ii  gnuplot                       4.4.0-1    A command-line driven interactive 
pn  libfile-desktopentry-perl     <none>     (no description available)
pn  libnet-smtp-ssl-perl          <none>     (no description available)
ii  mutt                          1.5.20-7   text-based mailreader supporting M
ii  svn-buildpackage              0.8.0      helper programs to maintain Debian
pn  w3m                           <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
On Fri, May 21, 2010 at 08:11:14AM +0200, Yves-Alexis Perez wrote:
> I'm using a debian/watch file for anjal, which has the following
> content:
> 
> version=3
> http://ftp.gnome.org/pub/GNOME/sources/anjal/([\d\.]+)[13579]/anjal-([\d\.]+)\.tar\.gz
>  debian  uupdate

The “([\d\.]+)[13579]” should be “([\d\.]+[13579])”.  With the current
pattern, the matched portion of the directories used for sorting is just
“0.”.  Since that's the same for all of the URLs, no re-ordering happens
and the first URL (0.1) is followed.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to