Debian Bug report logs - #635593
qa.debian.org: PTS shows incorrect latest upstream version

Package: qa.debian.org; Maintainer for qa.debian.org is debian-qa@lists.debian.org;

Reported by: Ben Finney <ben+debian@benfinney.id.au>

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

Severity: normal

Done: Giovanni Mascellani <gio@debian.org>

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 debian-bugs-dist@lists.debian.org, ben+debian@benfinney.id.au, debian-qa@lists.debian.org:
Bug#635593; Package qa.debian.org. (Wed, 27 Jul 2011 11:31:51 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Finney <ben+debian@benfinney.id.au>:
New Bug report received and forwarded. Copy sent to ben+debian@benfinney.id.au, debian-qa@lists.debian.org. (Wed, 27 Jul 2011 11:31:56 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Ben Finney <ben+debian@benfinney.id.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: qa.debian.org: PTS shows incorrect latest upstream version
Date: Wed, 27 Jul 2011 21:14:59 +1000
Package: qa.debian.org
Severity: normal

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

=====
$ uscan --verbose --report
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts="uversionmangle=s/(\d)([a-z]\d+)$/$1~$2/"     http://pypi.python.org/packages/source/c/coverage/coverage-(.+).tar.gz
-- Found the following matching hrefs:
     coverage-3.0.1.tar.gz
     coverage-3.0.tar.gz
     coverage-3.0b3.tar.gz
     coverage-3.1.tar.gz
     coverage-3.1b1.tar.gz
     coverage-3.2.tar.gz
     coverage-3.2b1.tar.gz
     coverage-3.2b2.tar.gz
     coverage-3.2b3.tar.gz
     coverage-3.2b4.tar.gz
     coverage-3.3.1.tar.gz
     coverage-3.3.tar.gz
     coverage-3.4.tar.gz
     coverage-3.4b1.tar.gz
     coverage-3.4b2.tar.gz
     coverage-3.5.tar.gz
     coverage-3.5b1.tar.gz
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:http://packages.qa.debian.org/p/python-coverage.html>
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 <ben@benfinney.id.au>




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

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

Message #10 received at 635593-done@bugs.debian.org (full text, mbox):

From: Giovanni Mascellani <gio@debian.org>
To: 635593-done@bugs.debian.org
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.
-- 
Giovanni Mascellani <mascellani@poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani@jabber.org / giovanni@elabor.homelinux.org

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

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (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 <owner@bugs.debian.org>. Last modified: Mon Apr 21 02:54:31 2014; Machine Name: beach.debian.org

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