devel-versioning.rst
changeset 948 23cb71bb2b5d
parent 947 1c8a139fc25d
child 949 57b995de80b5
--- 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