[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hopefully final version of ~ version number policy



Hi,

Russ Allbery <rra@debian.org> 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....)

Attachment: pgpc2f2htkLb5.pgp
Description: PGP signature


Reply to: