-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Dev] Merge script should check if issue is milestoned already #36656
Comments
It could also check if the milestone is closed (and we start closing them on rc creation). You can still add stuff to a closed milestone but this could let the merger know that the release manager has to be contacted |
kou
added a commit
that referenced
this issue
Mar 27, 2024
…estone already (#40771) ### Rationale for this change When we do the feature freeze for the releases or we are adding issues to patch releases we milestone the issues outside the merge script. The merge script should check and prompt if the issue already has a milestone assigned and should maintain the already assigned milestone to the issue. ### What changes are included in this PR? The merge script checks whether the issue already contains a milestone and if the milestone is different than the current default one it prompts the user to double check that it is the correct one. ### Are these changes tested? I've tested it locally. If no milestone or default it prompts as usual ``` Would you like to update the associated issue? (y/n): y Enter fix version [16.0.0]: ``` If a different and closed milestone is assigned: ``` === The assigned milestone is not the default === Assigned milestone: 15.0.2 Current milestone: 16.0.0 Please ensure to assign the correct milestone. The assigned milestone state is closed. Contact the Release Manager if it has to be added to a closed Release Please ensure to assign the correct milestone. ``` ### Are there any user-facing changes? No, only for committers and not relevant. * GitHub Issue: #36656 Lead-authored-by: Raúl Cumplido <raulcumplido@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Issue resolved by pull request 40771 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
A possible improvement of the merge script should be to check if the issue has been already milestoned and prompt the user if that milestone is the correct one.
If the milestone for the issue is different than the default one this could be also prompted to the user.
This can help avoid missing some issues that have to be backported once the feature freeze is in place when merging.
Component(s)
Developer Tools
The text was updated successfully, but these errors were encountered: