-
-
Notifications
You must be signed in to change notification settings - Fork 220
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
Use semver tags #1505
Comments
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
So IIUC the idea is to add a patch bit and make the version v0.24.0? |
Yes correct! |
Yes, it is a good idea to use semver in generaly. But we have to check consequences more carefully, for example arch AUR scripts just download latest binary by building the download url for github and we will brake it if we just change the versioning from x.y to x.y.z |
I'm always in favor of semver. If I remember correctly it's not the first time it was discussed. 🤔😅 But I'm pretty much unaware which consequences this would have. |
The other question is, if we follow semver and still release every X months, we will never change the patch version, so it will be "hardcoded" to 0. Or maybe we need to change the release process and do a release more often? |
Context for those I just brought into the conversation: we want to make sure changing the tag format to use semver won't break anything. I took a quick look at the packages I could find: Tagging @erkexzcx and @nicolarevelant AUR package maintainers. For the FreeBSD port (I've never looked at a port before so could be wrong) but based on the distinfo and Makefile, it looks ok too. @nunotexbsd seems to be the GH account of that maintainer. And for Alpine the APKBUILD is very similar to the AUR though I couldn't quickly figure out the maintainer's GitHub account if they have one. There's an email if we really need to a contact at some point but the nixpkgs/NixOS I don't need to check, I know it works with hardcoded versions and hashes. Also if there's anyone out there using something that guesses the latest version, it's reassuring that v0.25.0 (if we tag that next) would be greater than both than the newest valid semver tag ( Generally I agree it's a good idea to think about it more than just pull the trigger, but wanted to get your opinions even before that :) Re the 0 being hardcoded: |
Regarding our release cycle the patch level would be 0 most of the time. |
Hi, I maintain blocky AUR package. When you publish a new release, i will update the package with the new version. If the new version is lower (0.24 --> 0.9) I will increment epoch number |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Can this be reopened? It'd make blocky much easier to use in other projects and from the comments above it doesn't appear like it'd be terribly hard to do. |
Importing
blocky
in a go module is annoying as the tagging doesn't follow semver.For instance, for importing
v0.24
, I need to use the following pseudo version:v0.9.2-0.20240524080222-3ab04562fe1e
.Maybe
blocky
isn't meant to be used as a library, but the following semver would as well simplify its installation (on gokrazy for instance)The text was updated successfully, but these errors were encountered: