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

Versioning scheme after 12.1z #350

Open
AMDmi3 opened this issue Oct 30, 2023 · 3 comments
Open

Versioning scheme after 12.1z #350

AMDmi3 opened this issue Oct 30, 2023 · 3 comments

Comments

@AMDmi3
Copy link
Contributor

AMDmi3 commented Oct 30, 2023

Release number is getting close to 12.1z. If you, by the chance, are planning to go on with e.g. 12.1za, please don't - alphabetic sequences are not really expected in version numbers and some package managers won't be able to differentiate z and za suffix, which would require hacks, complicate packaging and break new release checks and automatic package updates. I suggest to switch to numeric-only version such as 12.2 (12.3...) or 12.2.0 (12.2.1...) if you need an extra component.

@ann-dec
Copy link

ann-dec commented Oct 30, 2023 via email

@zenorogue
Copy link
Owner

One time when letters went past z was 11.0, when these versions were displayed in game as 11.0ż and 11.0ź, and tagged as 11.0z1 and 11.0z2 to not confuse systems. Is this fine? Or is something like 11.0z.1 better?

We have enough new content for a major release (13.0), I do not plan any updates before that, except maybe 12.1z to fix some bugs.

@AMDmi3
Copy link
Contributor Author

AMDmi3 commented Nov 5, 2023

I can't call any scheme with letters fine, as there definitely are repositories which do not support even the current scheme properly (from what I can see, that's Fedora, and from what I know, that's also Gentoo, though the latter doesn't package hyperrogue yet).

Extended schemes you've mentioned are more complex and thus even more problematic. Can't say for sure which repos these could break and so which scheme is preferred. From what I know FreeBSD handles both 11.0z1 and 11.0z.1 fine, but universal version comparison algorithm which, for instance, Repology uses, compares 11.0z1 lesser than 11.0z (the logic behind this comes from handling much more common prerelease scheme, e.g. 11.0a1 == 11.0alpha1 (prerelease) < 11.0a2 < 11.0b1 (beta, also prerelease) < 11.0z1 (nonsensical, but same pattern) < 11.0 < 11.0a (letter releases) < 11.0z). So I'd suggest to go on with 12.2 or 13.0 without letters, and in the case a 12.1 release after 12.1z is required, I'd prefer 11.0z.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants