This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

upset, genini: different version ordering


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]