On Freitag, 28. Mai 2010, Yaron Koren wrote:
> I remember talking to Markus about this, and he said the current numbering
> system, confusing as it is, is there so that PHP's version_compare()
> function can work correctly

Yes, this was the reason for using it. Also, the new proposal requires us to 
have an oracle for knowing if 1.5.1 will be followed by 1.5.2 or by 1.6.0 -- 
alternatively, there will be some non-monotonic changes in the SVN version 
number when we change our mind on this.

> - apparently it just does an alphabetical sort
> on the values.

Not quite. AFAIK, it uses a lexicographic order on the list of components, 
separated by ".", " ", ... where each component is ordered naturally (numbers 
as numbers and strings alphabetically). So "1.10" is after "1.1" although this 
is not the alphabetic order.

-- Markus

> 
> -Yaron
> 
> On Fri, May 28, 2010 at 9:22 AM, Jeroen De Dauw 
<jeroended...@gmail.com>wrote:
> > Hey,
> >
> > I'd like to change the format of the SMW version notation, as I think the
> > current one is rather confusing. This change would be made after 1.5.1
> > has been released.
> >
> > Current format: 1.5.1 ... 1.5.1.a-SVN ... 1.5.1.b-SVN ... 1.5.2
> > Proposed format: 1.5.1 ... 1.5.2 alpha 1 ... 1.5.2 alpha 2 ... 1.5.2
> >
> > Does anybody have objections to this?
> >
> > Cheers
> >
> > --
> > Jeroen De Dauw
> > * http://blog.bn2vs.com
> > * http://wiki.bn2vs.com
> > Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C
> > 69 66 65!
> > --
> >
> >
> > -------------------------------------------------------------------------
> >-----
> >
> >
> > _______________________________________________
> > Semediawiki-devel mailing list
> > Semediawiki-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
> 


-- 
Markus Krötzsch  <mar...@semantic-mediawiki.org>
* Personal page: http://korrekt.org
* Semantic MediaWiki: http://semantic-mediawiki.org
* Semantic Web textbook: http://semantic-web-book.org
--

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------

_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to