On 20/07/2015 19:03, Achim Gratz wrote:
I've just found that upset and genini will order versions differently. For perl-Carp, genini produces: version: 1.36-1 [prev] version: 1.3301-2 while upset comes up with: version: 1.3301-2 [prev] version: 1.36-1 For the way Perl distributions are versioned, genini is correct here (although it would fail when a distribution switches from x.y.z versioning to canonical x.y versioning as PDL has done in the past). Upset seems to order based on the individual parts in the split version string? In any case, at least for Perl distributions it should rather use version objects. http://search.cpan.org/~jpeacock/version-0.9912/lib/version.pod
If I recall correctly, genini is just broken, doing some kind of lexical sort which e.g. sorts 1.10 before 1.9.
