-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Small updates to clarify change destinations #4841
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
With this solution, do you need to know you are going to backport your PR while your PR is open or can you make that decision after the PR is merged? |
@leahwicz ideally you would know before it's merged. But if you change your mind it would require a new PR to move the file from one directory to another. This doesn't create any more overhead than we have now since if you put your Since we need to keep backport and next changes separate, there's no way around this. |
@emmyoop and I just had a quick sync. The key question here is about what we want our changelogs to look like post 1.0. The simplest solution for engineering would be the following:
If this is an acceptable outcome, I'm going to advocate for this solution instead of the two directory solution. CC: @jtcohen6 |
Just to clarify this a touch more. The identical changelog entry will end up under the 1.0.4 heading in the This also sounds like a better/cleaner solution to me if having the entries under different headings is acceptable. |
This approach makes sense to me. I'm happy to have the same changelog entry show up in both versions. Given the nature of backporting, we are actually making the change twice. We should also expect the scope of the fix may actually be different, for minor vs. patch releases, in which case we might also edit the changie entry while backporting. |
resolves #4652
Description
Since
changie new
is run on the main branch (where changes are made) there needs to be a way to separate what we backport and what is slated for the next major/minor release.I came up with the following solutions.
backport
where backported changes go. The problem with this is when we backport the change, the yaml file will end up in a backport folder on the.latest
branch. Not as clean as I would like..changes/next
. If something is to be backported to any.latest
branch, leave the yaml file in the default folder (.changes/unreleased
). If it's to be slated for the next major/minor version that we have not cut a./latest
branch for yet, the yaml file will live in this new folder. When it's time to cut the new branch, delete all yaml files under/unreleased
that have been backported and generate the batch off the.changes/next
folder. This could be automated along with the batch/merge automation in [CT-289] Automate Changelog Generation on Release #4789.I went with 3 but am happy to hear feedback.
Still need to
[ ]
add logic to GHA to check if/unreleased
or/next
contains a new file[ ]
see if this is something that could be native to changieEdit: Solution is to change where changelog entries land based on what version they're applying to. No separate folders needed.
This PR is still needed to clean up what a release will look like for 1.1.0 since it's going to take some manual work to combine the original changelog with the new changie entries.
Checklist