W3C home > Mailing lists > Public > public-appformats@w3.org > September 2007

Re: [ ACTION-107] Updating version list identifier algorithm

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 18 Sep 2007 18:22:26 +0000 (UTC)
To: hendry@iki.fi
Cc: Marcos Caceres <marcosscaceres@gmail.com>, Arve Bersvendsen <arveb@opera.com>, Arthur Barstow <art.barstow@nokia.com>, public-appformats@w3.org
Message-ID: <Pine.LNX.4.62.0709181821180.21662@hixie.dreamhostps.com>

On Tue, 18 Sep 2007, Kai Hendry wrote:
> 
> monty:~% dpkg --compare-versions 1.10.0 gt 1.2.0 && echo true
> true

Right, but:

 $ dpkg --compare-versions 1.002 gt 1.1 && echo true
 true

...which is what Marcos was describing as a bug.

> In those accidental cases Debian uses an epoch. So a subsequent update 
> to a mistake like "110" is "1:1.1.1"

And what happens if you typo the epoch and now you have 11:1.1?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 18 September 2007 18:20:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:22 GMT