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

2011-11-19 Thread Jakub Wilk
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

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

2011-11-19 Thread Stefano Rivera
Hi Jakub (2011.11.19_16:17:55_+0200) 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? Thanks for filing this. If you are going to limit it to -1, please catch -0ubuntu1