-
Notifications
You must be signed in to change notification settings - Fork 34
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
Subday Versioning #62
Comments
Hey @ixxie! So, CalVer allows mixing of traditional version components (major, minor, micro/patch) in with CalVer components. The Ubuntu and Twisted case studies both use year and month, followed by another number. No reason you can't do I advise against timestamp because you either run into resolution issues (two versions in the same hour, minute) or length issues. The core conceit is that you're trying to communicate to users through a number. If you have a technical case where you need seconds in the version number, so be it, but generally humans don't go through the trouble of converting a seconds timestamp to a wall clock time and make decisions based on that information. TLDR An incrementing integer is fine. |
Thanks for the input @mahmoud! I agree that timestamps have their issues. I somewhat disagree about the separator; clearly distinguishing the part of the version which is a date, from the part which isn't, is helpful both for humans and machines. For example, compare In terms of parsing, I can now split by the |
What is the recommendation for handling multiple releases in one day, when a modifier is technically not needed?
Ideas that come to mind:
2024.06.26-${n}
or2024.06.26-r${n}
wheren
increments with the releases in that day2024.06.26-231259
or2024.06.26-2312
, i.e. anhh:mm:ss
orhh:mm
timestampThe text was updated successfully, but these errors were encountered: