-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[kubernetes-sigs/kueue] Change the default merge-method #30417
[kubernetes-sigs/kueue] Change the default merge-method #30417
Conversation
/cc @alculquicondor |
@trasc Although I don't have strong objections, what is the motivation? |
I'm wondering if we should use the squash method as a default. Because there are situations that the merge method is helpful instead of using the squash method. |
To skip the squash step in the context of https://github.com/kubernetes/community/blob/5d54720c251baa4f15ec8a14b36e61afd0d48f58/sig-scheduling/CONTRIBUTING.md?plain=1#L62-L63 |
The method could be changed for each PR by adding one of the labels: |
Yes, it's correct. However, I think it is easy to change the merge method to the squash by adding a label rather than changing the merge method to the merge. Since contributors opened the PR need to do some work like organizing and splitting commits, for changing the merge method to merge by adding a label. |
* Squash the commits when the PR is ready to merge, this does a great favor for the git history.
|
What about doing this? #22663 It would allow us to add I know we haven't been very consistent with this, but we could improve. |
I guess we can have both |
/assign @spiffxp |
Since we still need an approval, can you add kueue to the list for |
SGTM |
Change the default merge method for kueue to `squash` and preserve LGTM when squashing.
ecddf91
to
9e8a654
Compare
done |
/hold cancel |
/unassign spiffxp |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, trasc, wojtek-t The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@trasc: Updated the following 2 configmaps:
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Change the default merge method for kueue to
squash