Re: Hopefully final version of ~ version number policy
Russ Allbery dijo [Thu, Nov 23, 2006 at 12:05:21PM -0800]:
> >> @@ -2713,7 +2713,15 @@
> >> which may be empty) are compared lexically. If a difference
> >> is found it is returned. The lexical comparison is a
> >> comparison of ASCII values modified so that all the letters
> >> - sort earlier than all the non-letters.
> >> + sort earlier than all the non-letters and so that a tilde
> >> + sorts before anything, even the end of a part. For example,
> >> + the following parts are in sorted order: <tt>~~</tt>,
> >> + <tt>~~a</tt>, <tt>~</tt>, the empty part,
>
> > So, is the greatest version number at the beginning or at the end of
> > that sorted list? Yes, this is clear from context, but IMO an example
> > should be more explicit.
>
> How about if I make that "in sorted order from earliest to latest"?
Maybe making it a bit more graphical:
1.0~~ < 1.0~~a < 1.0~ < 1.0
Greetings,
--
Gunnar Wolf - gwolf@gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
Reply to: