-
Notifications
You must be signed in to change notification settings - Fork 145
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
Automate building release notes #842
Comments
I can work on this! How structure of release notes should look like? And from what source should I aggregate each new feature/significant change? |
Hi @jcob-sikorski! We started requesting a meaningful PR title, such that it could be roped into release notes. What we'd need (or want?) is a way of rolling all of those up into a list that we could push into the release rst file. Superficially it sounds easy enough, but I'm not sure how to automate it such that it happens within our CICD workflow. We don't want it happening with every PR, we do want it happening prior to a full release, we could conceivably add it to the list as we go (e.g. if a PR is merged and closed, have a github action automatically turn that PR title into a line in the RST file and open a new PR for it, but we wouldn't want that PR, when merged and closed, to trigger a new cycle). Rather than be prescriptive about what to do, I'll just tell you what we would like:
I hope you take this on, but I understand if it isn't that exciting a task to take on. Let me know what you think! |
I'm excited to work on that task! But first, you have to tell what you mean by "turn that PR title into a line in the RST file and open a new PR for it, but we wouldn't want that PR, when merged and closed, to trigger a new cycle" |
Sure, let me explain some background details first: The way our release process via CICD works is:
I don't think it's unreasonable to have a maintainer manually launch a "create release notes" github action via a manual trigger - I just want to make sure the tooling for it is all 100% on a github action runner vs. running in a local environment, that way nobody has to do any local setup. If a maintainer forgets to do the release notes documentation update prior to release, that's on them. There's a bit of manual work in this process in general, if only because a human does have to do the merge from dev to main AND also update the setup.cfg version number in Let me know if you need some more clarification! |
Why dates of pre-releases on graspologic site are different from dates of closed and approved PRs? |
I have no idea and now I'm digging into it. All I can imagine is something failed in the artifact upload but the actions didn't treat it as a failure, which ... would be bad. So! I have to dig into this deep today. This is really odd though. |
@jcob-sikorski That list of PRs is a list of all PRs, some of which are to dev and main, some of which aren't. They actually match up pretty well with https://github.com/microsoft/graspologic/actions/workflows/publish.yml and then also with the releases in PyPI! I wonder if there's a way in the github rest api to ask for all the PRs that have been closed and merged to |
Script is ready to deploy but I wonder how this action should be triggered. I saw this post which describes ON MERGE event but it's not that clear to me. |
Are there any events specific to merging |
Tool ready for pull request! It will run only when setup.cfg file changes. |
I just wrote them for 0.3.0 by hand, and I feel like with a bit of discipline we can automate the entire thing. There has to be something out there.
So, for anyone who wants to help out, I'd love to make this task be a not-human-task.
The text was updated successfully, but these errors were encountered: