[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#598710: incorrect behaviour of watch system



user qa.debian.org@packages.debian.org
usertag 598710 dehs
retitle 598710 iceweasel-l10n watch file not being updated
thanks

On Fri, Oct 01, 2010 at 02:53:22PM +0400, Dmitry E. Oboukhov wrote:
> Package: qa.debian.org

If you think there's an issue with uscan, that should be filed against
devscripts.  Since there isn't in this case, I'll leave the bug here so
someone can figure out why DEHS is out of sync.

> 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)
> =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!

That's because your watch file is telling it to.  Your uversionmangle
is turning 3.6.10 into 3.6.1~0.  I'm assuming you really meant for it to
only mangle versions like 4.0b6, in which case you want to use something
like «uversionmangle=s/(\d)([a-z])/$1~$2/».

Then when you actually want to consider such pre-release versions, you
would also need to change the version pattern to
«^(\d+(?:\.\d+)+(?:[a-z]\d+)?)/?$».

> 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

I wonder whether this is related to the package using v3 format.  Does
DEHS not handle that?  The root cause may also be causing #572243.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: