Your message dated Wed, 01 Jun 2011 17:59:08 +0200
with message-id <[email protected]>
and subject line Re: Bug#628801: [uscan] newest_dir is not the newest version,
but the topmost matching directory
has caused the Debian Bug report #628801,
regarding [uscan] newest_dir is not the newest version, but the topmost
matching directory
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.)
--
628801: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628801
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.73
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear devscripts maintainers,
while writing a watch file for kernel.org for my own use, I discovered,
that uscan sets newest_dir apparently not to the latest matching
version, but to the first match. This leads to the problem, that uscan
checks the v1.0 directory (for kernel.org) instead of v3.0.
Please see the attached watch file for a test case and the debug output
for the results.
Thank you in advance for fixing this problem.
Kind regards,
Kai Wasserbäch
- -- Package-specific info:
- --- /etc/devscripts.conf ---
- --- ~/.devscripts ---
DEBSIGN_KEYID=0xE1DE59D2
DEBCHANGE_RELEASE_HEURISTIC=changelog
BTS_SMTP_HOST=[PRIVACY PROTECTED]
- -- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-esgaroth (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.16.0.3 Debian package development tools
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii perl 5.12.3-7 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.12-1 Delayed job execution and batch pr
ii curl 7.21.6-1 Get a file from an HTTP, HTTPS or
ii dctrl-tools 2.18 Command-line tools to process Debi
ii debian-keyring [debian-mainta 2011.03.03 GnuPG keys of Debian Developers
ii dput 0.9.6.2 Debian package upload tool
pn equivs <none> (no description available)
ii fakeroot 1.15.1-1 tool for simulating superuser priv
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
pn libcrypt-ssleay-perl <none> (no description available)
pn libjson-perl <none> (no description available)
ii libparse-debcontrol-perl 2.005-3 parser for debian control-like fil
pn libsoap-lite-perl <none> (no description available)
ii liburi-perl 1.58-1 module to manipulate and access UR
ii libwww-perl 6.01-3 simple and consistent interface to
ii lintian 2.5.0 Debian package checker
ii lsb-release 3.2-27 Linux Standard Base version report
ii man-db 2.6.0.2-1 on-line manual pager
ii patch 2.6.1-2 Apply a diff file to an original
ii patchutils 0.3.2-1 Utilities to work with patches
ii sensible-utils 0.0.6 Utilities for sensible alternative
ii strace 4.5.20-2.3 A system call tracer
ii unzip 6.0-4 De-archiver for .zip files
ii wdiff 0.6.5-1 Compares two files word by word
ii wget 1.12-3.1 retrieves files from the web
ii xz-utils 5.0.0-2 XZ-format compression utilities
Versions of packages devscripts suggests:
pn bsd-mailx | mailx <none> (no description available)
ii build-essential 11.5 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
pn devscripts-el <none> (no description available)
pn gnuplot <none> (no description available)
ii libauthen-sasl-perl 2.1500-1 Authen::SASL - SASL Authentication
ii libfile-desktopentry-perl 0.04-2 Perl module to handle freedesktop
ii libnet-smtp-ssl-perl 1.01-3 Perl module providing SSL support
pn libterm-size-perl <none> (no description available)
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
pn libyaml-syck-perl <none> (no description available)
pn mutt <none> (no description available)
ii openssh-client [ssh-client] 1:5.5p1-6 secure shell (SSH) client, for sec
pn svn-buildpackage <none> (no description available)
pn w3m <none> (no description available)
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQGcBAEBAgAGBQJN5j3gAAoJEKMJ12zh3lnSAAgMAIuD7BFDk+ybhBz9L1XTdUi4
sT7tkRsQ3O6GKUWSCfe5csvtlhR+ohandmWyTT33oMsZ2IHBD7KkpGz4SUkmUXKi
uVv4OrVWubslUBfn1xcw53rZnhfnrEKIi4kItNdQ/2M12Fgk3ejHbRhqKmT53IhB
blAJOGWofHdbmu1iIFoVBLbWb3FX9FjZlM60gxojWWTARIaQpGkTA0/EIcnSzanB
Xot+A60Fxgdp/p5zLKL3XVEYSjleE7zRk1bCLyKEaElyQvMsv9WxfIxNi7jqWo5/
yGtuCeTzTG57wZxll/pq9ypZIjvmq2q8oWWLFbie1qYOvBOj5NSFnO+MdmRSE6K8
ggXlfKBC0qiSUNwXO7xm5yKzfaXa+z36di1Pa/ainBEkY30IDnqnfQ5KIHcj6bTy
7olS49y4kilFUcnXLuuZlercRlV4nhx23ZPBCUMWfWREt9BBtfkWcYb6w26GMEH3
ftXRUrg+kf6g5K9Ny+nc6MMEioX5GXaYGs6uYdnb5A==
=fa1v
-----END PGP SIGNATURE-----
uscan debug: dir=>/pub/linux/kernel/ dirpattern=>v(?:[\d\.]+)
uscan debug: requesting URL ftp://www.kernel.org/pub/linux/kernel/
uscan debug: received content:
-r--r--r-- 1 536 536 18458 Mar 13 1994 COPYING
-r--r--r-- 1 536 536 36981 Sep 16 1996 CREDITS
drwxrwsr-x 4 536 536 4096 Mar 20 2003 Historic
-r--r--r-- 1 536 536 12056 Sep 16 1996 README
drwxrwsr-x 2 536 536 40 Apr 14 2000 SillySounds
drwxrwsr-x 5 536 536 54 Nov 24 2001 crypto
drwxrwsr-x 378 536 536 8192 May 25 21:03 people
drwxrwsr-x 6 536 536 51 Mar 13 2003 ports
drwxrwsr-x 6 536 536 48 Oct 26 2007 projects
drwxrwsr-x 3 536 536 16 Feb 14 2002 testing
drwxrwsr-x 2 536 536 150 Mar 20 2003 uemacs
drwxrwsr-x 2 536 536 4096 Mar 20 2003 v1.0
drwxrwsr-x 2 536 536 20480 Mar 20 2003 v1.1
drwxrwsr-x 2 536 536 8192 Mar 20 2003 v1.2
drwxrwsr-x 2 536 536 40960 Mar 20 2003 v1.3
drwxrwsr-x 3 536 536 16384 Feb 08 2004 v2.0
drwxrwsr-x 2 536 536 53248 Mar 20 2003 v2.1
drwxrwsr-x 3 536 536 12288 Mar 24 2004 v2.2
drwxrwsr-x 2 536 536 24576 Mar 20 2003 v2.3
drwxrwsr-x 5 536 536 32768 Dec 18 17:05 v2.4
drwxrwsr-x 4 536 536 32768 Jul 14 2003 v2.5
drwxrwsr-x 10 536 536 180224 May 21 23:06 v2.6
drwxrwsr-x 4 536 536 36 May 31 00:50 v3.0
[End of received content]
uscan debug: matching pattern v(?:[\d\.]+)
-- Found the following matching dirs:
v1.0
v1.1
v1.2
v1.3
v2.0
v2.1
v2.2
v2.3
v2.4
v2.5
v2.6
v3.0
uscan debug: newest_dir => 'v1.0'
uscan debug: requesting URL ftp://www.kernel.org/pub/linux/kernel/v1.0/
uscan debug: received content:
-r--r--r-- 1 536 536 6281 Mar 13 1994 CHANGES
-r--r--r-- 1 536 536 15766 Mar 14 1994
linux-1.0.patch.alpha.bz2
-r--r--r-- 1 536 536 248 Mar 14 1994
linux-1.0.patch.alpha.bz2.sign
-r--r--r-- 1 536 536 16121 Mar 14 1994 linux-1.0.patch.alpha.gz
-r--r--r-- 1 536 536 248 Mar 14 1994
linux-1.0.patch.alpha.gz.sign
-r--r--r-- 1 536 536 248 Mar 14 1994
linux-1.0.patch.alpha.sign
-r--r--r-- 1 536 536 95407 Mar 14 1994 linux-1.0.patch.pl15.bz2
-r--r--r-- 1 536 536 248 Mar 14 1994
linux-1.0.patch.pl15.bz2.sign
-r--r--r-- 1 536 536 108650 Mar 14 1994 linux-1.0.patch.pl15.gz
-r--r--r-- 1 536 536 248 Mar 14 1994
linux-1.0.patch.pl15.gz.sign
-r--r--r-- 1 536 536 248 Mar 14 1994
linux-1.0.patch.pl15.sign
-r--r--r-- 1 536 536 1016601 Mar 13 1994 linux-1.0.tar.bz2
-r--r--r-- 1 536 536 248 Mar 13 1994 linux-1.0.tar.bz2.sign
-r--r--r-- 1 536 536 1259161 Mar 13 1994 linux-1.0.tar.gz
-r--r--r-- 1 536 536 248 Mar 13 1994 linux-1.0.tar.gz.sign
-r--r--r-- 1 536 536 248 Mar 13 1994 linux-1.0.tar.sign
-r--r--r-- 1 536 536 5083 Mar 16 1994 patch1.bz2
-r--r--r-- 1 536 536 248 Mar 16 1994 patch1.bz2.sign
-r--r--r-- 1 536 536 5085 Mar 16 1994 patch1.gz
-r--r--r-- 1 536 536 248 Mar 16 1994 patch1.gz.sign
-r--r--r-- 1 536 536 248 Mar 16 1994 patch1.sign
-r--r--r-- 1 536 536 3723 Mar 18 1994 patch2.bz2
-r--r--r-- 1 536 536 248 Mar 18 1994 patch2.bz2.sign
-r--r--r-- 1 536 536 3672 Mar 18 1994 patch2.gz
-r--r--r-- 1 536 536 248 Mar 18 1994 patch2.gz.sign
-r--r--r-- 1 536 536 248 Mar 18 1994 patch2.sign
-r--r--r-- 1 536 536 7944 Mar 21 1994 patch3.bz2
-r--r--r-- 1 536 536 248 Mar 21 1994 patch3.bz2.sign
-r--r--r-- 1 536 536 8309 Mar 21 1994 patch3.gz
-r--r--r-- 1 536 536 248 Mar 21 1994 patch3.gz.sign
-r--r--r-- 1 536 536 248 Mar 21 1994 patch3.sign
-r--r--r-- 1 536 536 1333 Mar 22 1994 patch4.bz2
-r--r--r-- 1 536 536 248 Mar 22 1994 patch4.bz2.sign
-r--r--r-- 1 536 536 1189 Mar 22 1994 patch4.gz
-r--r--r-- 1 536 536 248 Mar 22 1994 patch4.gz.sign
-r--r--r-- 1 536 536 248 Mar 22 1994 patch4.sign
-r--r--r-- 1 536 536 7095 Mar 28 1994 patch5.bz2
-r--r--r-- 1 536 536 248 Mar 28 1994 patch5.bz2.sign
-r--r--r-- 1 536 536 7175 Mar 28 1994 patch5.gz
-r--r--r-- 1 536 536 248 Mar 28 1994 patch5.gz.sign
-r--r--r-- 1 536 536 248 Mar 28 1994 patch5.sign
-r--r--r-- 1 536 536 3740 Apr 03 1994 patch6.bz2
-r--r--r-- 1 536 536 248 Apr 03 1994 patch6.bz2.sign
-r--r--r-- 1 536 536 3708 Apr 03 1994 patch6.gz
-r--r--r-- 1 536 536 248 Apr 03 1994 patch6.gz.sign
-r--r--r-- 1 536 536 248 Apr 03 1994 patch6.sign
-r--r--r-- 1 536 536 1517 Apr 06 1994 patch7.bz2
-r--r--r-- 1 536 536 248 Apr 06 1994 patch7.bz2.sign
-r--r--r-- 1 536 536 1420 Apr 06 1994 patch7.gz
-r--r--r-- 1 536 536 248 Apr 06 1994 patch7.gz.sign
-r--r--r-- 1 536 536 248 Apr 06 1994 patch7.sign
-r--r--r-- 1 536 536 6425 Apr 07 1994 patch8.bz2
-r--r--r-- 1 536 536 248 Apr 07 1994 patch8.bz2.sign
-r--r--r-- 1 536 536 6408 Apr 07 1994 patch8.gz
-r--r--r-- 1 536 536 248 Apr 07 1994 patch8.gz.sign
-r--r--r-- 1 536 536 248 Apr 07 1994 patch8.sign
-r--r--r-- 1 536 536 1322 Apr 16 1994 patch9.bz2
-r--r--r-- 1 536 536 248 Apr 16 1994 patch9.bz2.sign
-r--r--r-- 1 536 536 1153 Apr 16 1994 patch9.gz
-r--r--r-- 1 536 536 248 Apr 16 1994 patch9.gz.sign
-r--r--r-- 1 536 536 248 Apr 16 1994 patch9.sign
[End of received content]
uscan debug: matching pattern
(?:(?:ftp://www.kernel.org)?\/pub\/linux\/kernel\/v1\.0\/)?patch-([\d\.]+)\.bz2
uscan warning: In test.watch no matching files for watch line
ftp://www.kernel.org/pub/linux/kernel/v(?:[\d\.]+)/patch-([\d\.]+)\.bz2
-- In test.watch, processing watchfile line:
opts=pasv
ftp://www.kernel.org/pub/linux/kernel/v(?:[\d\.]+)/patch-([\d\.]+)\.bz2
version=3
opts=pasv \
ftp://www.kernel.org/pub/linux/kernel/v(?:[\d\.]+)/patch-([\d\.]+)\.bz2
--- End Message ---
--- Begin Message ---
Dear Adam,
Adam D. Barratt schrieb am 01.06.2011 17:10:
> So far as I can see, there are a few reasons that your watch file doesn't
> work as you expect, and none of them is a bug in uscan.
>
> Firstly, your directory pattern is "v(?:[\d\.]+)". The "?:" makes the
> group non-matching and thus the only part of the directory which is
> actually relevant is the "v". uscan is being asked to sort a series of
> "v"s and the list as returned by the server already fulfills that
> criteria.
thanks, that was my mistake. Sorry for the noise (thus I'm closing this bug with
this e-mail).
> Secondly, there are no patch-*.bz2 files under the "3.0" directory, but
> two directories - "snapshots" and "testing". Further, even those
> directories don't contain files that match "patch-([\d\.]+)\.bz2", due to
> the inclusion of strings such as "-rc1-git2".
No, that part is to stay as it was, I don't want to match Git snapshots or RCs.
I expect, that the real patches will follow the same form as the 2.6 patches.
Thanks again and sorry for the noise.
Kind regards,
Kai Wasserbäch
--
E-Mail: [email protected]
IRC: Curan
Jabber: [email protected]
URL: http://wiki.debian.org/C%C3%B9ran
GnuPG: 0xE1DE59D2 0600 96CE F3C8 E733 E5B6 1587 A309 D76C E1DE 59D2
signature.asc
Description: OpenPGP digital signature
--- End Message ---