You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use v<yy>.<MM>.<nr> version labels to have date/age and date order speaking version labels. (We only have one version in production and no (sw/lib) users that would depend on the major minor patch split.)
convco supports the three digit semver format, but semver does not allow leading zeroes for an integer version number (which occurs for MM). convco seems to follow this requirement, and if MM has a leading 0 will not identify the version (and skip the label, even with a matching prefix).
Is this something you would consider supporting or out of scope?
It could be supported by adjusting the semver parsing into being more lenient (accepting leading zeroes despite spec demanding they do not exist - but they do not break the semantic meaning of major minor or patch).
Or possibly through a fallback behavior that accepts it "not called semver", or through additional configuration(?).
The text was updated successfully, but these errors were encountered:
What you describe is known as CalVer, but different schemas exist.
IMO this is out of scope as it has to work with all subcommands, which have some flags that are not compatible. E.g. what should --bump do for version? Ubuntu for example only has yy.mm[.patch] where mm always is 04 or 10.
However parsing it lenient would not make convco version --bump add a leading zero.
I think if we add calver support it should do it based on the calver rules and not an a lenient semver parser.
I would like to use
v<yy>.<MM>.<nr>
version labels to have date/age and date order speaking version labels.(We only have one version in production and no (sw/lib) users that would depend on the major minor patch split.)
convco supports the three digit semver format, but semver does not allow leading zeroes for an integer version number (which occurs for MM). convco seems to follow this requirement, and if MM has a leading 0 will not identify the version (and skip the label, even with a matching prefix).
Is this something you would consider supporting or out of scope?
It could be supported by adjusting the semver parsing into being more lenient (accepting leading zeroes despite spec demanding they do not exist - but they do not break the semantic meaning of major minor or patch).
Or possibly through a fallback behavior that accepts it "not called semver", or through additional configuration(?).
The text was updated successfully, but these errors were encountered: