On Mon, 10 Nov 2003, Mike A. Harris wrote:
One problem is that the word "pre", or "rc" or
others are not
used consistently between software projects.
Some use "pre" like:
Prerelease: 2.7.95pre1 (prerelease of version 2.8, or perhaps 2.7.96)
Release: 2.8
Others use "pre" like:
Prerelease: 2.8pre1 (Prerelease of version 2.8)
Release: 2.8
These two are obviously not a problem.
It's possible that one project does it like above, and another
does it like:
Release: 2.8
Prerelease: 2.8pre1 (Prerelease of version 2.9)
Could you give me an example of this? (Imho this scheme is
braindamaged...) I've never seen any projects with this versioning.
Anyway, 2.8 < 2.8pre1 is true, so these are ordered correctly.
Though if a version "2.8q" was released (as a bug-fix release for the
stable 2.8 branch) 2.8q and 2.8pre1 would be ordered incorrently, but this
is really a problem with the author, not the algorithm.
Introducing '~' would solve problems, and the only con I see is backward
compatibility. Hope it can worked out :)
--
pozsy