Re: Hopefully final version of ~ version number policy

2006-11-23 Thread Marc 'HE' Brockschmidt
Hi,

Russ Allbery [EMAIL PROTECTED] writes:
 Here's a new version of the Policy patch for ~ in version numbers that
 hopefully incorporates all of the suggestions.

You will hate me for this one :-)

 @@ -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.

Marc
-- 
BOFH #247:
Due to Federal Budget problems we have been forced to cut back on
the number of users able to access the system at one time. (namely none
allowed)


pgppM21a0ct7F.pgp
Description: PGP signature


Re: Hopefully final version of ~ version number policy

2006-11-23 Thread Russ Allbery
Marc 'HE' Brockschmidt [EMAIL PROTECTED] writes:
 Russ Allbery [EMAIL PROTECTED] writes:

 Here's a new version of the Policy patch for ~ in version numbers that
 hopefully incorporates all of the suggestions.

 You will hate me for this one :-)

Oh, it's fine.  We haven't worked out how best to pull my stuff into the
central arch repository yet anyway (mostly because I haven't asked), so
none of it is pulled up yet.

 @@ -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?

-- 
Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]