Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar versioning (CalVer) alternatively to SemVer #1053

Open
djmaxus opened this issue Nov 12, 2024 · 0 comments
Open

Calendar versioning (CalVer) alternatively to SemVer #1053

djmaxus opened this issue Nov 12, 2024 · 0 comments
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@djmaxus
Copy link

djmaxus commented Nov 12, 2024

Calendar Versioning

I would like to propose for the release-please to support the Calendar Versioning (CalVer) approach as a seemingly popular alternative to SemVer.
https://calver.org/

Motivation

To my understanding, release-please is one of the most universal, functional and well-established release automation tools in the GitHub Actions ecosystem.
Many people actively use it and create their instruments inspired by this one.
I might assume that current and potential users may significantly benefit from CalVer adoption while still having all the functionality already in the tool.

Alternatives

I can see how CalVer formats as YY.MM.DD-modifier can be simulated by enforcing version numbers through the Release-as: line in commits.
But this is, well, manual, i.e., it lacks automation such as auto-filling the dates.
Also, it seems to be impossible to use zero-padded blocks that way.

The generalized alternative would be to implement other popular versioning systems as well.

Discussion

The upsides and downsides of different software versioning systems seem to be being actively discussed nowadays.
The corresponding Google search shows such blog posts among the top results regarding CalVer.
https://www.google.com/search?q=calendar+versionng

But the most extensive discussion these days is around SemVer in the first place as the most widespread one. Seemingly, different versioning systems suit the best for different kinds of software and development cycles.

At the same time, the CalVer approach seems to be a pretty popular alternative, as showcased at calver.org: Ubuntu, PyCharm, Unity, etc.
The lack of mature open-source tooling feels disproportional.

@djmaxus djmaxus added priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant