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
proposal: gerrit: allow approvers to re-run trybots and fix commit messages #29285
Comments
I think it’s definitely reasonable. It’s just figuring out the mechanism within Gerrit to abide by the principle of least privilege. @FiloSottile since I’m on holiday until Jan 7. |
Fine with me. |
If we can do it, then great. It's unclear to me that the "commit message tweak" can be separated from "code file tweak". That seems important. |
Everyone agrees we should do this. So approving. But @andybons still needs to figure out if we can. |
Seems like Gerrit understands this, since updating a commit message only shows "Commit message updated" on the Gerrit UI, while any other change shows "Uploaded patch set N". If it's not possible today in Gerrit, it would be fine to allow restarting the trybots now, and leave commit message editing blocked until Gerrit adds that feature. Neither is terribly urgent, they'd just save reviewers a bit of time. |
We can give go-approvers the remove reviewer permission which would allow them to remove not only reviewers/ccs but labels as well. This seems fine to me. From talking to the Gerrit team there is no way to allow editing of only the commit message. |
That's great! Looking forward to having that.
That's a pity. Is it planned, or can we open a feature request about it? |
I've enabled |
You can file a bug at https://bugs.chromium.org/p/gerrit/issues/list. I'm not certain whether it's planned or not. |
Closing out for now since the remove reviewers permissions was added for the appropriate people and we can't achieve what we want for commit messages without allowing everyone forge author permissions. If Gerrit's behavior changes, feel free to open a new issue. |
A few weeks ago, I sent this message to golang-dev https://groups.google.com/d/msg/golang-dev/tuvyX9j0cQg/bSzVRyeEBwAJ):
@andybons pointed out that we may be able to accomplish the two example use-cases without giving all these people powers to impersonate other contributors. That would be great, if it's possible.
This proposal is first to decide if we'd want all approvers to be able to restart the trybots and edit commit messages. I think those are reasonable. Once approved, we can use the issue to track exactly how we could accomplish that without giving full "forge author" powers.
/cc @bradfitz @dmitshur @ianlancetaylor
The text was updated successfully, but these errors were encountered: