-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/build/cmd/gopherbot: when closing backport issues, ignores "Fixes" vs "For"/"Updates" verb before issue mention #29599
Comments
This is something I may pick up myself, but didn't have time to grab last week. |
That makes sense. Gopherbot shouldn't close the issue when the commit message says "Updates #nnn". Currently, gopherbot looks for any kind of issue mention ("#nnn") simply because that's the only information that maintner exposes. In order to resolve this issue, maintner needs to be modified to expose additional information. There is an existing TODO comment in the maintner code that talks about what needs to be done to implement this:
There is a |
See #42277 for another occurrence. CC @golang/release, @ianlancetaylor. |
Gopherbot closes backport issues once it detects that an associated commit has been merged. This works well if the backport only requires one commit, but causes issues when there are multiple. Gopherbot should only close the issue if the "Fixes #" label exists in the commit message.
See #29565 for an example of Gopherbot in action.
One possible solution would be to add a new field to the GerritCL type that indicates whether or not this CL "fixes" the issue, or just updates/relates to it.
@golang/osp-team
The text was updated successfully, but these errors were encountered: