[Distutils] Common version-comparison semantics for peace love and harmony

Piotr Ozarowski ozarow at gmail.com
Sat Nov 28 11:44:04 CET 2009


[Laura Creighton, 2009-11-28]
> what we want is a
> timestamp.  The algorithm is for guessing which version is ealier
> in the absence of a timestamp.

do you want to use timestamps only to sort versions?

Consider this example:

 1.0 timestamp=20090323
 2.0 timestamp=20090618
 1.1 timestamp=20091128 (fix in 1.x branch)

how would you sort it?
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20091128/af186d66/attachment.pgp>


More information about the Distutils-SIG mailing list