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

Bug#669709: lintian: check deban/watch::version



On Sat, 2012-04-21 at 13:09 +0300, Jari Aalto wrote:
> Please add a a check to verify that debian/watch::version is latest,
> similarly to checking debian/controll::Standards-Version to warn about
> policy being not the latest.

I'm fairly sure the discussion about version 2 watch files has been had
before and the consensus was that while they shouldn't be used for new
files, they're still supported by uscan so valid in packages.  I suppose
a pedantic tag is arguable, but if you're the sort of maintainer who's
likely to be looking at and paying attention to pedantic tags then
you're also the sort of maintainer who's going to have upgraded your
watch file years ago.

> An idea:
> 
>     E:      <anything else>
>     P:      if LATEST - 2
>     W:      if LATEST - 1

As above, I'm not convinced that version 2 use necessarily deserves any
form of tag.  The other two cases in your suggestion above - in fact
anything other than "2" or "3" - are already handled by a combination of
debian-watch-file-unknown-version (for versions consisting of digits)
and debian-watch-file-missing-version (which will also trigger for
"version=foobar"), which have existed since 2008.

Regards,

Adam




Reply to: