On 02/07/2011 03:36 AM, Xyne wrote:
Justin Davis wrote:
Could you give real-life examples? I have not seen a case where CPAN is confused by that. You seem to be saying that the packagers are at fault here but I always blamed the CPAN module authors. From what I remember, the biggest problem is when changing the number of digits. For example, if you go 0.8, 0.9, to 0.10. Ding. Bad. Switching from decimal to dotted decimal (multiple decimal points) also has problems.
You seem to think that I am saying that the versions on CPAN are wrong. I am not. I am saying that Arch packagers do not understand the CPAN version schemes and thus fail to correctly convert CPAN versions to Pacman package versions ($pkgver).
For example, a CPAN package could be update from 0.199 to 0.2. Pacman will consider 0.199 to be the newer version, e.g.:
$ vercmp 0.199 0.2 1
doesn't epoch from pacman 3.5 solve this crazy versions in the future? -- Ionuț