Your message dated Fri, 1 Oct 2010 09:31:23 -0400
with message-id <[email protected]>
and subject line Re: Bug#598710: incorrect behaviour of watch system
has caused the Debian Bug report #598725,
regarding incorrect behaviour of watch system
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.)
--
598725: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598725
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qa.debian.org
I maintain a package iceweasel-l10n.
http://packages.qa.debian.org/i/iceweasel-l10n.html
testing contains version 3.5.12+debian-2:
http://ftp.debian.org/debian/pool/main/i/iceweasel-l10n/iceweasel-l10n_3.5.12+debian-2.dsc
sid contains version 3.5.13+debian-2:
http://ftp.debian.org/debian/pool/main/i/iceweasel-l10n/iceweasel-l10n_3.5.13+debian-2.dsc
experimental contains version 3.6.10+debian-1:
http://ftp.debian.org/debian/pool/main/i/iceweasel-l10n/iceweasel-l10n_3.6.10+debian-1.dsc
If I do dget/unpack for all these packages I'll see:
=cut
apache:[~/work/deb/tmp]$ ls
iceweasel-l10n-3.5.12+debian
iceweasel-l10n-3.5.13+debian
iceweasel-l10n-3.6.10+debian
iceweasel-l10n_3.5.12+debian-2.diff.gz
iceweasel-l10n_3.5.12+debian-2.dsc
iceweasel-l10n_3.5.12+debian.orig.tar.gz
iceweasel-l10n_3.5.13+debian-2.diff.gz
iceweasel-l10n_3.5.13+debian-2.dsc
iceweasel-l10n_3.5.13+debian.orig.tar.gz
iceweasel-l10n_3.6.10+debian-1.diff.gz
iceweasel-l10n_3.6.10+debian-1.dsc
iceweasel-l10n_3.6.10+debian.orig.tar.gz
=cut
Then I can check watch versions by hand:
=cut
apache:[~/work/deb/tmp]$ for i in iceweasel-l10n-3.5.12+debian
iceweasel-l10n-3.5.13+debian iceweasel-l10n-3.6.10+debian; do echo -e
"\nPackage $i"; cd $i; uscan --no-download --verbose; cd ..; done
Package $i"; cd $i; uscan --no-download --verbose; cd ..; done
[/home/dimka/work/deb/tmp]
Package iceweasel-l10n-3.5.12+debian
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
opts=uversionmangle=s/(\d)([^\.])/$1~$2/,dversionmangle=s/\+debian\d*//
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
^(\d+(?:\.\d+)+)/?$
-- Found the following matching hrefs:
3.5.12/
3.5.13/
3.6.9/
3.6.10/
Newest version on remote site is 3.6.9, local version is 3.5.12+debian
(mangled local version number 3.5.12)
=> Newer version available from
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.9/
-- Scan finished
Package iceweasel-l10n-3.5.13+debian
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
opts=uversionmangle=s/(\d)([^\.])/$1~$2/,dversionmangle=s/\+debian\d*//
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
^(\d+(?:\.\d+)+)/?$
-- Found the following matching hrefs:
3.5.12/
3.5.13/
3.6.9/
3.6.10/
Newest version on remote site is 3.6.9, local version is 3.5.13+debian
(mangled local version number 3.5.13)
=> Newer version available from
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.9/
-- Scan finished
Package iceweasel-l10n-3.6.10+debian
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
opts=uversionmangle=s/(\d)([^\.])/$1~$2/,dversionmangle=s/\+debian\d*//
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
^(\d+(?:\.\d+)+)/?$
-- Found the following matching hrefs:
3.5.12/
3.5.13/
3.6.9/
3.6.10/
Newest version on remote site is 3.6.9, local version is 3.6.10+debian
(mangled local version number 3.6.10)
=> remote site does not even have current version
-- Scan finished
=cut
So as You can see there are two problem:
1. It thinks that newest version on remote site is 3.6.9, but its
list contains 3.6.10!
2. packages.qa.debian.org says that 4.0~b6 is the newest version:
http://dehs.alioth.debian.org/report.php?package=iceweasel-l10n
Last time checked: 2010-10-01 01:18:35 - today
Last time checked: 2010-10-01 01:18:37 - today
If You click link 'Watch: view' You will see watch which isn't
contained in any distros: sid/squeeze/experimental.
http://dehs.alioth.debian.org/wwiz_detail.php?id=33488248&type=watch
http://dehs.alioth.debian.org/wwiz_detail.php?id=40471614&type=watch
--
... mpd is off
. ''`. Dmitry E. Oboukhov
: :’ : email: [email protected] jabber://[email protected]
`. `~’ GPGKey: 1024D / F8E26537 2006-11-21
`- 1B23 D4F8 8EC0 D902 0555 E438 AB8C 00CF F8E2 6537
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
On Fri, Oct 01, 2010 at 04:34:21PM +0400, Dmitry E. Oboukhov wrote:
> JV> That's because your watch file is telling it to. Your uversionmangle
> JV> is turning 3.6.10 into 3.6.1~0.
>
> You are wrong. uversionmangle sets '~' between digit and letter [a-z].
> so it can't do that conversion.
No, it's currently putting a '~' between a digit and any non-period
character. A digit is a non-period character. This is why I suggested
a change to the watch file.
> JV> I'm assuming you really meant for it to
> JV> only mangle versions like 4.0b6, in which case you want to use something
> JV> like «uversionmangle=s/(\d)([a-z])/$1~$2/».
>
> additionally it showes 3.6.10 match correctly:
>
> =cut
> -- Found the following matching hrefs:
> 3.5.12/
> 3.5.13/
> 3.6.9/
> 3.6.10/
> =cut
I never said it didn't. I said that it is being matched and then
incorrectly being mangled by the uversionmangle pattern due to the lax
pattern matching.
$ cat orig-watch
version=3
opts=uversionmangle=s/(\d)([^\.])/$1~$2/,dversionmangle=s/\+debian\d*// \
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
^(\d+(?:\.\d+)+)/?$
$ uscan --verbose --package iceweasel-l10n --watchfile orig-watch
--upstream-version 3.5.13
-- In orig-watch, processing watchfile line:
opts=uversionmangle=s/(\d)([^\.])/$1~$2/,dversionmangle=s/\+debian\d*//
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
^(\d+(?:\.\d+)+)/?$
-- Found the following matching hrefs:
3.5.12/
3.5.13/
3.6.9/
3.6.10/
Newest version on remote site is 3.6.9, local version is 3.5.13
=> Newer version available from
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.9/
$ cat new-watch
version=3
opts=uversionmangle=s/(\d)([a-z])/$1~$2/,dversionmangle=s/\+debian\d*// \
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
^(\d+(?:\.\d+)+)/?$
$ uscan --verbose --package iceweasel-l10n --watchfile new-watch
--upstream-version 3.5.13
-- In new-watch, processing watchfile line:
opts=uversionmangle=s/(\d)([a-z])/$1~$2/,dversionmangle=s/\+debian\d*//
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
^(\d+(?:\.\d+)+)/?$
-- Found the following matching hrefs:
3.5.12/
3.5.13/
3.6.9/
3.6.10/
Newest version on remote site is 3.6.10, local version is 3.5.13
=> Newer version available from
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.10/
--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>
signature.asc
Description: Digital signature
--- End Message ---