Your message dated Fri, 12 Sep 2008 20:40:04 +0200 (CEST)
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#498728: [uscan] local version broken - contains
pattern of the watch file (sample attached)
has caused the Debian Bug report #498728,
regarding [uscan] local version broken - contains pattern of the watch file
(sample attached)
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.)
--
498728: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498728
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.35
Severity: normal
Please check the attached watch file. If I run it, it says:
Newest version on remote site is 0.0.21, local version is
.*/xmlto-([\d\.]+)\.tar\.bz2
Well, the so called "local version" is part of the watch file and not
part of debian/changelog. How can it be the _local_ version?
I'm not sure, if my pattern maybe catched a case, which is not yet
supported. In this case, please tell me. However, the local version
should not be poisoned by a part of the debian/watch file.
watch file is attached. Note, that
https://fedorahosted.org/xmlto/browser/xmlto-0.0.21.tar.bz2 is not a
tarball - it's a HTML file, which contains the link to the tarball.
Regards, Daniel
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.14.22 Debian package development tools
ii libc6 2.7-13 GNU C Library: Shared libraries
ii perl 5.10.0-13 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii amaya [www-browser 10.1~pre4+dfsg.0-1 Web Browser, HTML Editor and Testb
ii at 3.1.10.1 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20071201cvs-3 A simple mail user agent
ii bzr 1.5-1.1 easy to use distributed version co
ii curl 7.18.2-7 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii dctrl-tools 2.13.0 Command-line tools to process Debi
ii debian-keyring 2008.07.22 GnuPG (and obsolete PGP) keys of D
ii debian-maintainers 1.44 GPG keys of Debian maintainers
ii dillo [www-browser 0.8.6-3 Small and fast web browser
ii dput 0.9.2.33 Debian package upload tool
ii dupload 2.6.4 utility to upload Debian packages
ii epiphany-gecko [ww 2.22.3-3 Intuitive GNOME web browser - Geck
ii equivs 2.0.7-0.1 Circumvent Debian package dependen
ii fakeroot 1.9.6 Gives a fake root environment
ii galeon [www-browse 2.0.6-2 GNOME web browser for advanced use
ii git-core 1:1.5.6.5-1 fast, scalable, distributed revisi
ii gnupg 1.4.9-3 GNU privacy guard - a free PGP rep
ii iceape-browser [ww 1.1.11-1 Iceape Navigator (Internet browser
ii iceweasel [www-bro 3.0.1-1 lightweight web browser based on M
ii kazehakase [www-br 0.5.4-2.1 GTK+-base web browser that allows
ii konqueror [www-bro 4:3.5.9.dfsg.1-5 KDE's advanced file manager, web b
pn libauthen-sasl-per <none> (no description available)
ii libcrypt-ssleay-pe 0.57-1+b1 Support for https protocol in LWP
ii libparse-debcontro 2.005-2 Easy OO parsing of Debian control-
pn libsoap-lite-perl <none> (no description available)
pn libterm-size-perl <none> (no description available)
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii libwww-perl 5.813-1 WWW client/server library for Perl
pn libyaml-syck-perl <none> (no description available)
ii links [www-browser 2.1pre37-1.1 Web browser running in text mode
ii lintian 1.24.4 Debian package checker
ii lsb-release 3.2-20 Linux Standard Base version report
ii lynx-cur [www-brow 2.8.7dev9-2 Text-mode WWW Browser with NLS sup
ii mailx 1:20071201-3 Transitional package for mailx ren
ii man-db 2.5.2-3 on-line manual pager
ii netrik [www-browse 1.15.7-2 text mode WWW browser with vi like
ii openssh-client [ss 1:5.1p1-2 secure shell client, an rlogin/rsh
ii opera [www-browser 9.52.2091.gcc4.qt3 The Opera Web Browser
ii patch 2.5.9-5 Apply a diff file to an original
ii patchutils 0.2.31-4 Utilities to work with patches
ii strace 4.5.17+cvs080723-2 A system call tracer
ii subversion 1.5.1dfsg1-1 Advanced version control system
ii tla 1.3.5+dfsg-14 GNU Arch revision control system
ii unzip 5.52-12 De-archiver for .zip files
ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent
pn wdiff <none> (no description available)
ii wget 1.11.4-2 retrieves files from the web
ii xemacs21-mule [www 21.4.21-4 highly customizable text editor --
Versions of packages devscripts suggests:
ii build-essential 11.4 Informational list of build-essent
ii cvs-buildpackage 5.22 A set of Debian package scripts fo
pn devscripts-el <none> (no description available)
ii gnuplot 4.2.3-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.18-4 text-based mailreader supporting M
ii svn-buildpackage 0.6.23 helper programs to maintain Debian
-- no debconf information
# see uscan(1) for format
version=3
https://fedorahosted.org/xmlto/browser/xmlto-([\d\.]+)\.tar\.bz2
.*/xmlto-([\d\.]+)\.tar\.bz2
# opts=uversionmangle=s/^.*\/xmlto-([\d\.]+)\.tar\.bz2$/$1/
--- End Message ---
--- Begin Message ---
Adam D. Barratt wrote:
> On Fri, 2008-09-12 at 19:15 +0200, Daniel Leidert wrote:
>> Please check the attached watch file. If I run it, it says:
>>
>> Newest version on remote site is 0.0.21, local version is
>> .*/xmlto-([\d\.]+)\.tar\.bz2
>>
>> Well, the so called "local version" is part of the watch file and not
>> part of debian/changelog. How can it be the _local_ version?
>>
>> I'm not sure, if my pattern maybe catched a case, which is not yet
>> supported. In this case, please tell me. However, the local version
>> should not be poisoned by a part of the debian/watch file.
>
> As far as I can see, uscan is behaving exactly as documented, albeit not
> as would be useful to you. Apologies for the slightly verbose quote:
>
> [uscan(1)]
> In the case of an HTTP site, the URL obtained by stripping everything
> after the trailing slash will be downloaded and searched for hrefs
> (links of the form <a href=...>) to either the full URL pattern
> given, or to the absolute part (everything without the
> http://host.name/ part), or to the basename (just the part after the
> final â/â). Everything up to the final slash is taken as a verbatim
> URL, as long as there are no parentheses (â(â and â)â) in this part of
> the URL: if it does, the directory name will be matched in the same way
> as the final component of the URL as described below.
> [...]
> The pattern (after the final slash) is a Perl regexp
> [...]
> The current (upstream) version can be specified as the second parameter
> in the watchfile line.
> [/uscan(1)]
Ok. I really didn't expect this, so I did not look close enough into the manual
page. Thanks for that pointer.
> i.e. the URL "https://fedorahosted.org/xmlto/browser/" is retrieved and
> searched for hrefs matching "xmlto-([\d\.]+)\.tar\.bz2". The href with
> the highest version number is then retrieved.
>
> The URL form you've used is equivalent to
> "https://fedorahosted.org/xmlto/browser/ xmlto-([\d\.]+)\.tar\.bz2";
> i.e. it contains two parameters, albeit written as a single parameter.
> As per the above quote, the next parameter is therefore the current
> version number - the local version isn't being "polluted" by the pattern
> in the watch file, rather the watch file is specifying that the pattern
> *is* the local version.
>
> In summary, I don't think uscan currently supports the multiple levels
> of indirection used by the trac browser on that site; I'm happy for
> someone to prove me wrong however :-). I also don't think the error
> message is a bug, as explained above, although I appreciate that its
> somewhat confusing in this case until you break down how the watchfile
> is being parsed.
Closing then. I guess, I can use a workaround with downloadurlmangle to make
the watch file work for me. Will see.
Regards, Daniel
--- End Message ---