Debian Bug report logs - #635593 PTS shows incorrect latest upstream version

Package:; Maintainer for is;

Reported by: Ben Finney <>

Date: Wed, 27 Jul 2011 11:31:49 UTC

Severity: normal

Done: Giovanni Mascellani <>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to,,
Bug#635593; Package (Wed, 27 Jul 2011 11:31:51 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Finney <>:
New Bug report received and forwarded. Copy sent to, (Wed, 27 Jul 2011 11:31:56 GMT) Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: Ben Finney <>
To: Debian Bug Tracking System <>
Subject: PTS shows incorrect latest upstream version
Date: Wed, 27 Jul 2011 21:14:59 +1000
Severity: normal

The ‘python-coverage’ package has a ‘debian/watch’ file. This
configuration allows ‘uscan’ to correctly report the latest upstream

$ uscan --verbose --report
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
-- Found the following matching hrefs:
Newest version on remote site is 3.5, local version is 3.4
 => coverage-3.5.tar.gz already in package directory
-- Scan finished

The PTS page <URL:>
disagrees though:

A new upstream version is available: 3.5~b1, you should consider packaging it.

The PTS is evidently using the watch file's version mangling (that's how
the ‘~’ is introduced), but is comparing the resulting version string
incorrectly and coming up with a wrong value for the latest version.

The correct “new upstream version” at this point in time is not “3.5~b1”
but instead is “3.5”, as correctly determined by ‘uscan’. The PTS should
use the same comparison algorithm in order to get the same result.

 \      “Nullius in verba” (“Take no-one's word for it”) —motto of the |
  `\                                   Royal Society, since 1663-06-30 |
_o__)                                                                  |
Ben Finney <>

Reply sent to Giovanni Mascellani <>:
You have taken responsibility. (Wed, 17 Aug 2011 13:00:28 GMT) Full text and rfc822 format available.

Notification sent to Ben Finney <>:
Bug acknowledged by developer. (Wed, 17 Aug 2011 13:00:43 GMT) Full text and rfc822 format available.

Message #10 received at (full text, mbox):

From: Giovanni Mascellani <>
Subject: Closing
Date: Wed, 17 Aug 2011 14:20:14 +0200
[Message part 1 (text/plain, inline)]
This bug appears to be fixed, since now the PTS says last version is
3.5, as determined by uscan (version 3.5b1 is still available on the
repository anyway, so this is not an apparent fix caused by a
disappeared beta version).

If you still experience the problem, please reopen the bug.

Giovanni Mascellani <>
Pisa, Italy

Jabber: /

[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <> to (Thu, 15 Sep 2011 07:37:50 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Mon Apr 21 02:54:31 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.