-
Notifications
You must be signed in to change notification settings - Fork 561
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
Is there a way to add a release changelog without doing a dual commit? #5475
Comments
from @miniscruff in discord:
|
While we could switch to referencing issues instead of PRs, we know that there isn't always an issue for a change that we want in the release notes. This would require us to always create an issue before we could reference a change in the release notes. We also know that for every change, there is a PR. While this is not convenient (we don't know the PR number before we open the PR), the following makes me think that PRs are the right ones to reference in release notes:
These steps sound right to me:
Let's take #5343 for example @marcosnils. Would you have preferred to create an issue before you could reference it in the release notes? I am pretty sure that referencing commits in What workflow would others prefer? cc @vito @sipsma @helderco @TomChv @grouville @aluzzardi @jlongtine |
@gerhard That workflow sounds natural to me. I personally prefer release notes to link to PRs, since it makes it easier to snoop around and build up more context. Slight correction: draft PRs will run checks, though I don't think this takes away from your point at all. I do have a feeling we'll forget to run |
no, not really. I'd find that more annoying that the original discussion flow personally.
That's another concern of why I started this discussion. It'll definitely take time to build muscle memory and without finding a way to enforce it, we never know how effort it'll take us to get to a good enough state 🙏. I like @vito's idea to make it mandatory by default. Another idea that comes to my mind to help with SDK releases is to somehow be able generate multiple release notes from the same repo. Not sure if the use-case is supported @miniscruff |
Changie has a workflow to check for missing fragments here https://github.com/miniscruff/changie/blob/main/.github/workflows/changelog-check.yml In terms of multiple releases from one repo there is a new issue about using a projects keyword for that. Right now the options are to configure each project separately. Or to bundle them into one release separated by components. Open to feedback on that feature to build it properly as needed. |
We recently introduced a new changelog tracking process #5408 which, in summary, proposes the following workflow:
changie new
and manually add the PR # from previous stepI'm wondering if this somehow could be simplified since steps 4 and 5 could be forgotten and/or have typos given that it's best effort.
For example, instead of specifying the PR number, we could specify the commit where the changie file was added. This way, the dual commit is not required and we could also quite easily add a linting process which checks that all changie files have the current commit in a PR before merging to main.
cc @gerhard
The text was updated successfully, but these errors were encountered: