For Helm charts in the deployment-charts repository, we currently use simple semantic version numbers, like 1.23.7. This ticket proposes to establish a convention that recommends to add a "dash-suffix" to each version number that represents the purpose of the version update (ideally, the same as the topic tag of the gerrit change that contains the version bump). The Helm documentation states that this kind of suffix is supported: https://helm.sh/docs/v2/developing_charts/#charts-and-versioning
Note: The idea is to provide the suffix together with a new version. A situation where versions differ only in the suffix should be avoided, since then the order of these versions would not be clearly defined.
Advantages:
- The version shown by helm list and friends would be more informative, making it obivous what feature was last deployed.
- It would become impossible for a version bump to vanish in a rebase, and confusion could be avoided during the manual rebase as well.
Caveat:
- When resolving a rebase conflict, care must still be taken to preserve the correct order of patch versions.