devel-versioning.rst
changeset 948 23cb71bb2b5d
parent 947 1c8a139fc25d
child 949 57b995de80b5
equal deleted inserted replaced
947:1c8a139fc25d 948:23cb71bb2b5d
    13  * Overnight build (Y/N).
    13  * Overnight build (Y/N).
    14  * QA tested (Y/N).
    14  * QA tested (Y/N).
    15  * QA test results (Pass/Fail).
    15  * QA test results (Pass/Fail).
    16  * Location of full logs.
    16  * Location of full logs.
    17 
    17 
       
    18 Versioning formula.
       
    19 ===================
       
    20 
       
    21 if (A.major != B.major) return A.major > B.major;
       
    22 if (A.minor != B.minor) return A.minor > B.minor;
       
    23 if (A.patch != B.patch) return A.patch > B.patch;
       
    24 if (A.special == B.special) return 0;
       
    25 if (A.special == "") return 1;
       
    26 if (B.special == "") return -1;
       
    27 return A.special > B.special;
       
    28 
    18 Reference.
    29 Reference.
    19 ==========
    30 ==========
    20 
    31 
    21   https://developer.mozilla.org/en/toolkit_version_format
    32   https://developer.mozilla.org/en/toolkit_version_format
    22                 Toolkit version format
    33                 Toolkit version format
       
    34   http://apr.apache.org/versioning.html
       
    35                 APR's Version Numbering
       
    36   http://semver.org/
       
    37                 Semantic Versioning
    23 
    38