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

Bug#732246: lintian: False positive for rc-version-greater-than-expected-version with "+dev" in version number



Thanks for the bug report.

* Axel Beckert <abe@debian.org>, 2013-12-15, 17:56:
W: xen-tools: rc-version-greater-than-expected-version 4.4+dev > 4.4 (consider using 4.4~dev)

Both, the warning and especially the advice are wrong here.

Relevant changelog extracts causing this:

---snip---
xen-tools (4.4+dev-1) UNRELEASED; urgency=low

 * Apply patch by Adrian C. (anrxc) to allow to override hooks in
   /usr/share/xen-tools/*.d/ with hooks in /etc/xen-tools/hooks.d/.
   Thanks! (Also add /etc/xen-tools/hooks.d/ to debian/dirs.)
 * Ignore cover_db directory in t/perl-syntax.t.

-- Axel Beckert <abe@debian.org>  Sun, 15 Dec 2013 17:20:43 +0100

xen-tools (4.4-1) unstable; urgency=low

 * New upstream release
[…]
---snap---

I'd either exclude the "dev" suffix completely from that test or check the second last changelog entry, if the "+" is justified.

There are even some upstream developers (namely zsh) who version real release candidates as "$PREVIOUS_VERSION-test-$N". See for example http://ftp-master.metadata.debian.org/changelogs/main/z/zsh/unstable_changelog (This gave IIRC no lintian warning, maybe due to the used word "test", but is close enough IMHO to be worth mentioned as second example.)

The only strings that currently trigger rc-version-greater-than-expected-version are "rc", "alpha", "beta", "pre", "preview", "prerelease" and "dev". I agree that we should delete "dev" from that list.

--
Jakub Wilk


Reply to: