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

Bug#519732: red colored correctly watch version



Package: qa.debian.org

Why is the version of krank still red (magenta) colored?

nbw:[~/work/deb/krank/krank-0.7+dfsg1]$ LANG=C uscan --no-download --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts="dversionmangle=s/^0\.(.*?)\+dfsg\d/0$1/"   http://sf.net/krank/krank-(\d+(?:\.\d+)*)\.tar\.(?:gz|bz2)
-- Found the following matching hrefs:
     krank-07.tar.bz2
     krank-07.tar.bz2
Newest version on remote site is 07, local version is 0.7+dfsg1
 (mangled local version number 07)
 => Package is up to date
-- Scan finished


On 21:06 Wed 11 Mar     , Raphael Geissert wrote:

RG> Dmitry E. Oboukhov wrote:

>> Package: qa.debian.org
>>
>> Please, look at my developer page:
>>     http://qa.debian.org/developer.php?login=unera@debian.org
>>
>> Why is watch version of krank red colored?

RG> I believe you meant magenta

>> Debian contains the version 0.7+dfsg1-7, watch showes the version
>> 0.7+dfsg1

RG> If you run lintian with -I on the source package you will see it emits
RG> debian-watch-file-should-dversionmangle-not-uversionmangle

RG> N: debian-watch-file-should-dversionmangle-not-uversionmangle
RG> N:
RG> N:   The version of this package contains dfsg, ds, or debian, but a
RG> N:   misleading upstream version mangling occurs in the debian/watch file.
RG> N:   Since the dfsg string is not part of the upstream version and its
RG> N:   addition is Debian-specific, the the debian/watch file should use the
RG> N:   dversionmangle option to remove, instead of adding in uversionmangle,
RG> N:   the dfsg before comparing version numbers.
RG> N:
RG> N:   Refer to http://wiki.debian.org/DEHS for details.
RG> N:
RG> N:   Severity: wishlist, Certainty: certain
RG> N:

>>
>> quote from http://dehs.alioth.debian.org/report.php?package=krank:
RG> [...]
>>           o Upstream Version: 0.7+dfsg1
RG> [...]
>>           o Debian Version: 0.7+dfsg1-7

RG> Sure, the thing is: since there are still many packages[1] which don't
RG> remove the dfsg bit from the Debian version, both DEHS and the DDPO strip
RG> it for them. DEHS has an extra hack, which I've not copied to the DDPO
RG> code, which attempts to detect whether the upstream version (whether
RG> modified by the watch file or not) has the dfsg bit, and if it does it
RG> doesn't strip it from the Debian version.

RG> The best solution for this would be to:
RG> 1.- fix all watch files that trigger debian-watch-file-should-mangle-version
RG> and debian-watch-file-should-mangle-version
RG> 2.- remove all the hacks
RG> 3.- everyone happy

RG> [1]http://lintian.debian.org/tags/debian-watch-file-should-mangle-version.html

RG> Cheers,
--
... mpd is off

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: unera@debian.org jabber://UNera@uvw.ru
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537

Attachment: signature.asc
Description: Digital signature


Reply to: