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

Bug#649277: lintian: warn against versions like 0.7.1.rc1-1 or 0.3.0+beta4-1



Package: lintian
Version: 2.5.3
Severity: wishlist

Versions like "0.7.1.rc1-1" or "0.3.0+beta4-1" won't sort correctly once a final version of software is release. They should be rather "0.7.1~rc1-1" and "0.3.0~beta4-1".

We could use this regex:

[^~a-z](rc|alpha|beta|pre(view|release)?)([^a-z])

On the other hand, if a package with such version is already in the archive, there's not much that can be done, so maybe we should limit ourselves to versions ending in -1?

--
Jakub Wilk



Reply to: