-
Notifications
You must be signed in to change notification settings - Fork 2
README: Versioning policy #39
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
base: main
Are you sure you want to change the base?
Conversation
0132870
to
88d9e12
Compare
Although this is the standard practice of the repository referenced, I have some significant concerns about this methodology. Although fundamentally, a branch base, a branch HEAD, and a tag are all references to a specific commit, the git tool only expects one of those to be moved during normal workflows. It's possible to manage a repository in the way described, but it means knowing to use additional flags and creates synchronization headaches with downstream.
Oh no: my development in the
In order to fix this, the developer in
Oops, more
If this methodology for updating tags is used, the documentation in this PR should be updated to include the above info. HOWEVER: What I would actually recommend is using a methodology more aligned with git's standard functionality: create a branch for each vX and vX.Y and update accordingly. This still requires some extra commands, but only for the main developer, and they are fairly standard commands most git users should be familiar with that don't cause issues for downstream developers.
To make a major version release:
Or to make a minor release:
Or a bugfix release
And as the
Advantages:
|
Thank you for the thoughtful and thorough response! I completely understand and share your concerns. I think it's quite unfortunate that GitHub recommends moving tags. I agree with all of your proposed edits. If we decide to go forward with the tag-moving methodology, I'll incorporate them (and a statement describing the concerns with this methodology) into separate developer documentation. This question has been extensively discussed in the broader GitHub Actions community, see here: actions/toolkit#214
Just to be clear: I believe that this is the standard practice across the GHA ecosystem. It is certainly in use on I personally don't really know what to make of the situation. I'm generally in favor of adopting the standard practice of the target ecosystem as it avoids unforseen consequences (if it works for |
Some more links:
Two other thoughts: We could simply choose not to offer "major-only" refs like We might be able to set up some automation, either a script or another GitHub action, to perform the sequence of tag/branch updates. |
I don't have a strong opinion here. Given that we will likely be the only users of these actions, I think we should pick whichever convention makes the most sense to us. I would be fine with specifying the full version of a particular release if we needed to. |
Fixes #36.