-
Notifications
You must be signed in to change notification settings - Fork 37
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
Update version numbers for v1.0.0-rc1 #247
Update version numbers for v1.0.0-rc1 #247
Conversation
…examples throughout.
Sounds good! Slight technical comments below that I've found concerning GitHub.
I haven't found a way to do this via GitHub's UI, so I suggest to make the PR on GitHub and then a single person does
Again, this can be done via
Shouldn't be needed if the prior merge is done via
No concerns - seems sound 👍 |
Also, there were a lot of |
(Edit: in my first read I missed your statements about how the command line would interact with the GitHub PR, so I edited my response accordingly.)
Oh, that is annoying. I really would like to avoid a merge commit if possible so we don't have to merge master back into develop. But if the interaction with merging GitHub PR works automatically as you seem to suggest, I suppose it is still ok? We should just document the steps.
Did you perhaps misread this? The PR in step 5 isn't to merge master back into develop, it is a first commit to re-instate the -develop flag on the version number inside optimade.rst. |
The procedure of handling version numbers sounds good to me. I trust more experienced GitHub users to review the details of the merging procedure. |
I will try and update the wiki accordingly 👍
I did indeed misread this - disregard my previous comment. |
Updated the wiki: link |
So, I see no protests. Let's get the release out. |
What about the version numbers in OpenAPI specification JSON files? They still refer to |
True - I'll create a quick updating PR to be merged prior to this one. Edit: I have found that there are several (we create |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's set a Skype time for quickly releasing this, right? Even if it's just one person pushing the buttons, it's nice to have multiple sets of eyes and ears on the action.
Isn't the point that if we follow the new procedure, it isn't really needed? After this PR, there will be a PR to merge develop into master. That's when the multiple sets of eyes have their last chance to stop the release, so we may want to let that sit for a day. In the comments on that PR (while waiting for two approvals) we agree on who does the git FF merge, and then it is just the matter of executing that one command and the release is out. Going forward I just think it is convenient to agree on, and test, a workflow where we can release safely without having to coordinate a Skype meeting. It would certainly help bugfix patch releases. |
If we send out an email about the final merge PR with a link to the specification that is about to be released and say that it will happen in 24h, we are even likely to get more eyes on it than we would on a Skype meeting. There is a significant risk that will lead to a few additional last-minute fixes though, but I suppose that is a good thing. |
Sounds good. It was also mainly due to the release being a bump of the major version, as well as the first time with this particular workflow. But yeah - if we can do it in the next PR, no problem. |
Yeah. Let's do that. What 24h should we set aside then? The next ones? Maybe until tomorrow at 18:00 CET or something? |
I was thinking 24h from the PR being posted for merge develop into master. Or should we be super concerned that we cannot accept the present version bump PR until people have had a 24h window? Admittedly there is a risk we get a few fixes into develop after bumping the version number. So maybe it is better to send out that mail for accepting this PR, and then the merge PR is meant to be accepted without delay? |
That was kind of what I assumed with this workflow. All of the steps mentioned (maybe except the first one) are done in the same moment sequentially, i.e., creating the merge PR will be done shortly before merging it. |
I agree with you, we should agree on that the version bumping PR is the critical one. But, there isn't any particular need for the PR that merges develop into master to go fast. We just decide to not accept any other PRs between this PR being accepted and that one. If anything critical comes up in that window, we fix it quickly but bump the version number another step. |
I tried to send out an email, but there seems to be some issue with the optimade email lists server at the moment (I reported the issue.) I guess we'll count 24h from when it goes out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, looks good to me, and happy to see this happening!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor change to add a version to a previously unversioned URL, which is not necessarily blocking for rc1.
There are several other cases of (now invalid) unversioned OPTiMaDe URLs in the spec, e.g. in the description of the links endpoint: https://github.com/Materials-Consortia/OPTiMaDe/pull/247/files#diff-78b09d0af08b624d7caa4b86cbe57959L1097
Was it concretely decided to abandon the unversioned URL (which was previously mandated to provide the latest supported version, afaik)? (The relevant discussion was in #240).
Co-Authored-By: Matthew Evans <7916000+ml-evs@users.noreply.github.com>
@ml-evs The links in the links endpoint, i.e., the Do you see any such still remaining? I tried to look, but don't see any. |
Okay, I guess it's up to the client to add its own version discovery mechanism to use the links endpoint.
Nope, I think it's good now! |
Well, there is a recommended implementation strategy here: https://github.com/Materials-Consortia/OPTiMaDe/blame/320ed132a393bacc844bfb4f50ff3cd509206e85/optimade.rst#L236 |
More than 24h since the warning email has passed. I see no release-blocking issues filed (although I am a bit worried about how major edits we'll need for #250). So, I guess we are ready to merge this! I'll press the button shortly... |
This PR is meant to be the final PR before we merge into master to release v1.0.0-rc1.
(Note: #246 needs to be merged before this one.)It updates the main version number to v1.0.0-rc1, and makes related changes to our examples. (It would seem odd to keep all examples using versioned URLs under v0.9 when the present specification is at v1.)
Note how I file this PR against develop rather than master. The reason is that for v1.0.0-rc1 and forward I suggest we slightly alter our handling of version numbers in the release procedure compared to what is documented in our wiki to be as follows:
The reason I propose this workflow is that then the state of master will always be a proper named release, even if the release-related PRs sit a day or two waiting to be reviewed and approved. Hence, there is no need for "release meetings", and people can take the time they want to check the release PRs for errors.
If someone sees a reason not to adopt this procedure, please voice your concerns.