# HG changeset patch # User Oleksandr Gavenko # Date 1313702239 -10800 # Node ID 23cb71bb2b5d6cd3c18cd53a37823bf6c3fa95a7 # Parent 1c8a139fc25d6eb418364e35887a23f0f1b745e8 Versioning formula. diff -r 1c8a139fc25d -r 23cb71bb2b5d devel-versioning.rst --- a/devel-versioning.rst Thu Aug 18 23:06:54 2011 +0300 +++ b/devel-versioning.rst Fri Aug 19 00:17:19 2011 +0300 @@ -15,9 +15,24 @@ * QA test results (Pass/Fail). * Location of full logs. +Versioning formula. +=================== + +if (A.major != B.major) return A.major > B.major; +if (A.minor != B.minor) return A.minor > B.minor; +if (A.patch != B.patch) return A.patch > B.patch; +if (A.special == B.special) return 0; +if (A.special == "") return 1; +if (B.special == "") return -1; +return A.special > B.special; + Reference. ========== https://developer.mozilla.org/en/toolkit_version_format Toolkit version format + http://apr.apache.org/versioning.html + APR's Version Numbering + http://semver.org/ + Semantic Versioning