[wpkg-users] [Bug 120] Enhanced revision check and handling
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Mon Jun 15 14:58:21 CEST 2009
http://bugzilla.wpkg.org/show_bug.cgi?id=120
Rainer Meier <r.meier at wpkg.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #148 is|0 |1
obsolete| |
--- Comment #8 from Rainer Meier <r.meier at wpkg.org> 2009-06-15 14:58:15 ---
Created an attachment (id=149)
--> (http://bugzilla.wpkg.org/attachment.cgi?id=149)
New version comparison algorithm for testing.
I've updated the algorithm slightly. Now it contains a kind of "blacklist" for
"volatile version markers". This allows the algorithm to detect that a version
like "1.0RC2" is older than "1.0".
The test suite has been updated as well to test some of the "problematic"
versions.
Here are the change notes:
MOD: Updated version comparison algorithm to treat some version appendixes as
"volatile". Volatile means that WPKG would claim that a revision witout
that suffix is newer than the one which carries this suffix. Usually a
version is assumed to be higher if it has an additional suffix but in case
of RC (Release Candidate), M (Milestone) and I (Integration) releases it's
usually the opposite way around. For example:
A B Result
"1.0RC2" "1.0" B us newer (A is an "RC" version)
"1.5" "1.5I3656" A is newer (B is an "I"/intgration version)
"1.5" "1.5M3656" A is newer (B is an "M"/milestone version)
but (still)
"1.5" "1.5u3656" B is newer (B is an update version)
Any feedback welcome.
--
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