Re: Hopefully final version of ~ version number policy

2006-12-02 Thread Gunnar Wolf
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: ~~,
> >> +  ~~a, ~, 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 - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF


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



Re: Hopefully final version of ~ version number policy

2006-11-23 Thread Marc 'HE' Brockschmidt
Russ Allbery <[EMAIL PROTECTED]> writes:
> Marc 'HE' Brockschmidt <[EMAIL PROTECTED]> writes:
>> Russ Allbery <[EMAIL PROTECTED]> writes:
>>> -   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: ~~,
>>> +   ~~a, ~, 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"?

Yeah, that sounds better.

Marc
-- 
Fachbegriffe der Informatik - Einfach erklärt
91: Emacs
   Eight Megabytes And Continously Swapping


pgpinhUEWZEHI.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: ~~,
>> +~~a, ~, 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])   


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



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: ~~,
> + ~~a, ~, 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