[wpkg-users] [Bug 120] Enhanced revision check and handling

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Wed Jun 17 10:21:46 CEST 2009


http://bugzilla.wpkg.org/show_bug.cgi?id=120





--- Comment #18 from Rainer Meier <r.meier at wpkg.org>  2009-06-17 10:21:41 ---
> What about using minus "-" and plus "+" ?

The "minus" sign is already reserved as a version-separator (similar to a dot).
There are quite a number of applications that use this separator to mark sub-
and patch releases. For example 1.0, 1.0-r1, 1.0-r2... where 1.0-r1 is newer
than 1.0.

The plus sign is not reserved yet but the current algorithm accepts any
non-alphanumeric character as a sub-version separator. So 1.0+1 is newer than
1.0 and 1.0+2 is newer than 1.0+1 if you like to use it.


> 1.0RC1 is lower than 1.0, why not using 1.0-1 ?
> 1.0MR1 is greater than 1.0, why not using 1.0+1 ?

> Each RC, MR, a, b & co are greater or lower, abstract all with "+" and "-".
> 1.0-1.1: version 1.1 before 1.0 (but after 0.9).
> 1.0+0.2: version 0.2 after 1.0 (but before 1.1).

Unfortunately this would require users to know a WPKG-specific versioning
scheme and somehow translate application schemes into WPKG-like versions. The
current algorithm targets to work with most version schemes used by real-world
applications without having to adapt the version. WPKG should be able to use
most of these versions 1:1.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list