Imre Kis | 124f0e3 | 2021-02-12 18:03:24 +0100 | [diff] [blame] | 1 | Versioning policy |
| 2 | ================== |
| 3 | |
| 4 | This document captures information about the version identifier used by the project. It tells the meaning of each part, where |
| 5 | the version information is captured and how it is managed. |
| 6 | |
| 7 | Summary |
| 8 | ------- |
| 9 | |
| 10 | The version identifier identifies the feature set supported by a specific release, and captures compatibility information to |
| 11 | other releases. |
| 12 | |
| 13 | This project uses "Semantic Versioning", for details please refer to |SEMVER|. |
| 14 | |
| 15 | In general the version number is constructed from three numbers. The `MAJOR` number is changed when incompatible API changes are |
| 16 | introduced, the `MINOR` version when you functionality is added in a backward compatible manner, and the `PATCH` version when |
| 17 | backwards compatible bug fixes are added. |
| 18 | |
| 19 | Each release will get a unique release id assigned. When a release is made, the version number will get incremented in |
| 20 | accordance with the compatibility rules mentioned above. |
| 21 | |
| 22 | This project is only using the core version and will not use pre-release or build specific metadata extension. |
| 23 | |
| 24 | Storage and format |
| 25 | ------------------ |
| 26 | |
| 27 | The version number of each release will be stored at two locations: |
| 28 | #. In a tag of the version control system in the form of "vX.Y.Z" where X Y and Z are the major, minor and patch version |
| 29 | numbers. |
| 30 | #. In a file c_picker/__init__.py as a Python variable. |
| 31 | |
| 32 | .. note:: The version id is independent from version identifiers of the |
| 33 | versioning system used to store the |C_PICKER| (i.e. git). |
| 34 | |
| 35 | -------------- |
| 36 | |
| 37 | .. _`Semantic Versioning`: https://semver.org/spec/v2.0.0.html |
| 38 | |
| 39 | *Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.* |
| 40 | |
| 41 | SPDX-License-Identifier: BSD-3-Clause |