CC: | Adrian Howard <adrianh [...] quietstars.com> |
From: | David Wheeler <david [...] kineticode.com> |
Subject: | Prerelease Version Ordering |
Date: | Mon, 3 Jan 2005 08:55:17 -0800 |
To: | bug-cpanplus [...] rt.cpan.org |
I'm not sure if this is an issue with CPANPLUS or with the way people
think of versions, but CPANPLUS will not install a full version
released after prerelease versions with the same minor version number.
For example, I ran into this with Test::Class. I've been installing the
prerelease versions for a while, which were numbered 0.06_01, 0.06_02,
etc. When Adrian finally released the new version, it was 0.06. He was
therefore thinking that the prerelease numbers are lower than 0.06
(although I recognize that, technically, they are not). In any event,
CPANPLUS refused to install 0.06, telling me that I was up-to-date with
one of the earlier pre-releases.
Since, AFAIK, there is no documentation on whether one should put out
prerelease versions between 0.05 and 0.06 that are numbered like
0.05_01 or 0.06_01, I suggest that CPANPLUS look at the dates (if it
can, I realize that older versions aren't in the index) and install
more recently released modules such as 0.06 when the previous releases
have the same minor version number, such as 0.06_02.
Or else someone should document what's a prerelease for what
forthcoming version number and make sure everyone sees it!
Thanks,
David