project wide changes to maintainer ACLs
OpenBMC maintainers
This coming Sunday, November 6th, absent any feedback here I am planning on:
1 - Removing admin repository access by <xyz>-maintainers groups from all projects on Github that use the OpenBMC Gerrit instance for peer review (no change for projects that do not use the Gerrit instance like the kernel, u-boot, or qemu). 2 - Copying the submit prolog rules from the openbmc/openbmc Gerrit project to the openbmc-all-repos Gerrit project.
Impacts to maintainers are:
1 - Members of <xyz-maintainers> groups will no longer have any special access to the GitHub repository (such as push, force-push). If anyone requires such access, please respond to this email.
2 - You may now delegate the Gerrit OWNER role via the OWNERS file in your project, as supported by the OWNERS plugin documented here:
https://gerrit.googlesource.com/plugins/owners/+/refs/heads/master/config.md
If there are any questions or concerns with the above, please reply.
thanks,
Brad
Quoted 19 lines · Brad Bishop
OpenBMC maintainers
This coming Sunday, November 6th, absent any feedback here I am planning on:
1 - Removing admin repository access by <xyz>-maintainers groups from all projects on Github that use the OpenBMC Gerrit instance for peer review (no change for projects that do not use the Gerrit instance like the kernel, u-boot, or qemu).
2 - Copying the submit prolog rules from the openbmc/openbmc Gerrit project to the openbmc-all-repos Gerrit project.Impacts to maintainers are:
1 - Members of <xyz-maintainers> groups will no longer have any special access to the GitHub repository (such as push, force-push). If anyone requires such access, please respond to this email.
Quoted 5 lines
2 - You may now delegate the Gerrit OWNER role via the OWNERS file in your project, as supported by the OWNERS plugin documented here:
https://gerrit.googlesource.com/plugins/owners/+/refs/heads/master/config.mdIf there are any questions or concerns with the above, please reply.
Sounds good to me.
Quoted 3 lines
thanks,
Brad
Quoted 14 lines · Brad Bishop
OpenBMC maintainers
This coming Sunday, November 6th, absent any feedback here I am planning on:
1 - Removing admin repository access by <xyz>-maintainers groups from all projects on Github that use the OpenBMC Gerrit instance for peer review (no change for projects that do not use the Gerrit instance like the kernel, u-boot, or qemu).
2 - Copying the submit prolog rules from the openbmc/openbmc Gerrit project to the openbmc-all-repos Gerrit project.Impacts to maintainers are:
Quoted 7 lines
1 - Members of <xyz-maintainers> groups will no longer have any special access to the GitHub repository (such as push, force-push). If anyone requires such access, please respond to this email.
2 - You may now delegate the Gerrit OWNER role via the OWNERS file in your project, as supported by the OWNERS plugin documented here:
https://gerrit.googlesource.com/plugins/owners/+/refs/heads/master/config.md
In order to accomplish #2, I thought previously investigations yielded that everyone needed to be added to have +2 (even thought it was meaningless unless also confirmed by the OWNER plugin). Has this been resolved? Are we going to move everyone to have this? Or are we going to have a global "maintainers group" with +2 abilities?
Signature · 1 line
Patrick Williams
Quoted 23 lines · Patrick Williams
Quoted 14 lines · Brad Bishop
OpenBMC maintainers
This coming Sunday, November 6th, absent any feedback here I am planning on:
1 - Removing admin repository access by <xyz>-maintainers groups from all projects on Github that use the OpenBMC Gerrit instance for peer review (no change for projects that do not use the Gerrit instance like the kernel, u-boot, or qemu).
2 - Copying the submit prolog rules from the openbmc/openbmc Gerrit project to the openbmc-all-repos Gerrit project.Impacts to maintainers are:
Quoted 7 lines
1 - Members of <xyz-maintainers> groups will no longer have any special access to the GitHub repository (such as push, force-push). If anyone requires such access, please respond to this email.
2 - You may now delegate the Gerrit OWNER role via the OWNERS file in your project, as supported by the OWNERS plugin documented here:
https://gerrit.googlesource.com/plugins/owners/+/refs/heads/master/config.md
Quoted 5 lines
In order to accomplish #2, I thought previously investigations yielded that everyone needed to be added to have +2 (even thought it was meaningless unless also confirmed by the OWNER plugin). Has this been resolved? Are we going to move everyone to have this? Or are we going to have a global "maintainers group" with +2 abilities?
Thanks Patrick, yes we've overlooked some things.
(Most of) the existing per-project maintainer groups in GitHub already have the project owner permission on the corresponding Gerrit project. I think the way I thought this would work was that new maintainers being added in the OWNERS files would get added to the <xyz>-maintainers group and thus get +2, but I've come to realize that isn't what we want.
If I ignore GitHub and Gerrit project owners for a minute, I think the ideal setup would be that everyone can leave a +1. In order for a change to be approved, all OWNERS of files touched must give a +1. We completely do away with +2. No special groups or per-project access rules are required for this.
In the proposal I said we'd remove special access to the GitHub projects. So if there are still no objections to that, I think the only remaining thing we need to consider is how to do the Gerrit project owner permission. Today, those are done with the <xyz>-maintainer groups in GitHub, and per-Gerrit-project access rules assigning the owner permission to the GitHub group. We can continue to do that, but it is very appealing to me to just scrap all the groups and Gerrit project specific access rules if that is a possibility. Doing that means maintainers today lose their "project owner" access to their Gerrit project. I don't know if anyone is actually using that access.
Quoted 5 lines · Brad Bishop
If I ignore GitHub and Gerrit project owners for a minute, I think the ideal setup would be that everyone can leave a +1. In order for a change to be approved, all OWNERS of files touched must give a +1. We completely do away with +2. No special groups or per-project access rules are required for this.
I'm not sure.
a. Generally we don't want to wait for all OWNERS to give feedback.
b. We typically want every touched file to have an owner to have given
"thumbs up". ie, there has been a coverage by at least one reviewer.
Maybe by "all OWNERS of files touched must give a +1" you meant (b)?
I do see some value in differentiating between +1 and +2. When I am a maintainer of a project, I'll sometimes review a commit and give it a +1 in order to give indication that "this seems fine to me but I'd like to see some more feedback on it". Often I will suggest the people I'm looking to get deeper feedback from. I have a Gerrit query that I check a few times a week ("status open label:Code-Review=+1,me") that I can use to check back if those deeper-reviewers never get to it so that the commit doesn't stall out.
Signature · 1 line
Patrick Williams
Quoted 8 lines · Patrick Williams
Quoted 5 lines · Brad Bishop
If I ignore GitHub and Gerrit project owners for a minute, I think the ideal setup would be that everyone can leave a +1. In order for a change to be approved, all OWNERS of files touched must give a +1. We completely do away with +2. No special groups or per-project access rules are required for this.
Quoted 8 lines
I'm not sure.
a. Generally we don't want to wait for all OWNERS to give feedback.
b. We typically want every touched file to have an owner to have given
"thumbs up". ie, there has been a coverage by at least one reviewer.Maybe by "all OWNERS of files touched must give a +1" you meant (b)?
Yes I meant b. Thanks for clarifying.
Quoted 3 lines
I do see some value in differentiating between +1 and +2. When I am a maintainer of a project, I'll sometimes review a commit and give it a +1 in order to give indication that "this seems fine to me but I'd like to
I'm fairly sure I recall seeing comments like: what does it mean when a maintainer gives a +1 so I'd guess this is a source of confusion for people. Maybe you could copy/paste a canned response in this situation?
Quoted 5 lines
see some more feedback on it". Often I will suggest the people I'm looking to get deeper feedback from. I have a Gerrit query that I check a few times a week ("status open label:Code-Review=+1,me") that I can use to check back if those deeper-reviewers never get to it so that the commit doesn't stall out.
Ok.. well, yeah if you are using +1/+2 in automation/queries then yeah my canned response idea doesn't hold up.
Quoted 19 lines · Patrick Williams
Quoted 18 lines · Brad Bishop
OpenBMC maintainers
This coming Sunday, November 6th, absent any feedback here I am planning on:
1 - Removing admin repository access by <xyz>-maintainers groups from all projects on Github that use the OpenBMC Gerrit instance for peer review (no change for projects that do not use the Gerrit instance like the kernel, u-boot, or qemu).
2 - Copying the submit prolog rules from the openbmc/openbmc Gerrit project to the openbmc-all-repos Gerrit project.Impacts to maintainers are:
1 - Members of <xyz-maintainers> groups will no longer have any special access to the GitHub repository (such as push, force-push). If anyone requires such access, please respond to this email.
Quoted 8 lines
Quoted 3 lines
2 - You may now delegate the Gerrit OWNER role via the OWNERS file in your project, as supported by the OWNERS plugin documented here:
https://gerrit.googlesource.com/plugins/owners/+/refs/heads/master/config.mdIn order to accomplish #2, I thought previously investigations yielded that everyone needed to be added to have +2 (even thought it was meaningless unless also confirmed by the OWNER plugin). Has this been resolved? Are we going to move everyone to have this?
I think if everyone can give a +2, it will cause mild confusion. People doing reviews will wonder why they can give a +1 or a +2 and wonder which one to pick. Granted that in the end it doesn't matter what they pick, but avoiding the confusion provides a better experience with our project and that seems worthwhile.
Personally I would prefer the same simplicity for maintainers, but I don't maintain much code anymore so my opinion doesn't have to matter too much.
Quoted 1 line
Or are we going to have a global "maintainers group" with +2 abilities?
Let's do this. I'll re-purpose the existing all-maintainers group.
That means any maintainer can give a +2 on any project. I am hopeful noone gives a +2 on a project they aren't an owner on and cause more confusion for the patch submitter (does this mean my patch is approved? Why can't I submit it?) ...
There won't be any need for the per-repository maintainer groups anymore, so I will probably remove those at some point. Any issues there?
I want to re-iterate that existing maintainers will lose some abilities with this transition; namely, any elevated access to the GitHub project and any elevated access to the Gerrit project other than the ability to approve a change (so no pushing, tagging, etc). Anything beyond approving changes will require a Gerrit admin or GitHub organization owner). If anyone thinks they need these permissions, please reply.
thanks,
brad
Quoted 6 lines · Brad Bishop
OpenBMC maintainers
This coming Sunday, November 6th, absent any feedback here I am planning on:
1 - Removing admin repository access by <xyz>-maintainers groups from all projects on Github that use the OpenBMC Gerrit instance for peer review (no change for projects that do not use the Gerrit instance like the kernel, u-boot, or qemu). 2 - Copying the submit prolog rules from the openbmc/openbmc Gerrit project to the openbmc-all-repos Gerrit project.
Hi all - I forgot to do this Sunday - oops. I've done it just now, as far as I can tell the owners plugin is ready for use on all repositories now.
I'm sure something will break - if it does, or you have any trouble approving and/or submitting changes on Gerrit please reply to this mail or come find me in Discord.
Thanks,
Brad
Quoted 17 lines · Brad Bishop
Quoted 11 lines · Brad Bishop
OpenBMC maintainers
This coming Sunday, November 6th, absent any feedback here I am planning on:
1 - Removing admin repository access by <xyz>-maintainers groups from all projects on Github that use the OpenBMC Gerrit instance for peer review (no change for projects that do not use the Gerrit instance like the kernel, u-boot, or qemu).
2 - Copying the submit prolog rules from the openbmc/openbmc Gerrit project to the openbmc-all-repos Gerrit project.Hi all - I forgot to do this Sunday - oops. I've done it just now, as far as I can tell the owners plugin is ready for use on all repositories now.
Quoted 6 lines
I'm sure something will break - if it does, or you have any trouble approving and/or submitting changes on Gerrit please reply to this mail or come find me in Discord.
Thanks,
Brad
Hi Brad,
I don't have +2 permission for ampere-ipmi-oem anymore. How can I approve and submit commits in this repo?
Thanks,
Thang Q. Nguyen
Quoted 23 lines · Thang Nguyen OS
Quoted 16 lines · Brad Bishop
Quoted 11 lines · Brad Bishop
OpenBMC maintainers
This coming Sunday, November 6th, absent any feedback here I am planning on:
1 - Removing admin repository access by <xyz>-maintainers groups from all projects on Github that use the OpenBMC Gerrit instance for peer review (no change for projects that do not use the Gerrit instance like the kernel, u-boot, or qemu).
2 - Copying the submit prolog rules from the openbmc/openbmc Gerrit project to the openbmc-all-repos Gerrit project.Hi all - I forgot to do this Sunday - oops. I've done it just now, as far as I can tell the owners plugin is ready for use on all repositories now.
Quoted 6 lines
I'm sure something will break - if it does, or you have any trouble approving and/or submitting changes on Gerrit please reply to this mail or come find me in Discord.
Thanks,
Brad
Quoted 8 lines
Hi Brad,
I don't have +2 permission for ampere-ipmi-oem anymore. How can I approve and submit commits in this repo?
Thanks,
Thang Q. Nguyen
Hi Brad,
I can see +2 option now. Sorry for your confusion.
Thanks,
Thang Q. Nguyen