[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



Jakub Wilk <jwilk@debian.org> writes:

> 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.

Not that I have time to implement this at the moment, but an orthogonal
improvement that we could also make would be to look back in the changelog
and see if the version number, despite having one of those strings in it,
is larger than the last upstream version.  That would let us catch:

    4.4 -> 4.4-alpha1 -> 4.4-alpha2 -> 4.5

which some (annoying) upstream might want to do.  Since 4.4-alpha1 is
larger than 4.4 and 4.4 existed previously in changelog, we would assume
the packager knew what they were doing and wouldn't complain.

If we had this in place, the dev problem wouldn't have happened, and we
might even be able to reintroduce dev into that list if, at some point in
the future, some other upstream wants:

    4.4 -> 4.5dev1 -> 4.5dev2 -> 4.5

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: