upset, genini: different version ordering

Achim Gratz Stromeko@nexgo.de
Mon Jul 20 18:03:00 GMT 2015


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


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds



More information about the Cygwin-apps mailing list