How to assign access rights to a Gerrit project using API / SSH?
I'm looking for a way to automatically add +2 permissions for certain refs for a lot of projects in Gerrit and unfortunately it seems there are no API calls to modify access rights, only to read them. Do you have any idea how to modify refs permissions for a big amount of projects? I'm using Gerrit 2.9. Thanks.
One possibility would be to create a batch script to modify the project.config for those projects and commit them back to gerrit. This is how you can checkout the project.config for the All-Projects, it works the same for other projects: http://blog.bruin.sg/2013/04/how-to-edit-the-project-config-for-all-projects-in-gerrit/ Simply put: Create list of project you want to change Iterate over the lest Checkout the refs/meta/config ref Use script to modify project.config Commit and push back to the server More information about the project.config: http://gerrit-review.googlesource.com/Documentation/config-project-config.html
What is the effect of deleting a branch in gerrit
Right way to resolve gerrit “pending changes” merge conflict
Buck build failing for “events-logs” Gerrit plugin (jar)
Disable direct push and allow Gerrit push
Set “topic” of multiple patches simultaneously in gerrit
Using Gerrit to restrict read access to a git branch
Is it possible to search for commit by Change-Id in Gerrit?
Why is the gerrit change-id commit-hook not a push-hook?
LDAP changed acccount Full Name is not displaying in gerrit web page
Can I change the order of verification and code review in gerrit
Is it possible to make review optional on any particular branch in gerrit?
customize logo on home page gerrit
Failed to start gerrit service
How to get previous patch in gerrit
Integrate Gitolite with Gerrit ACL.
How to display reset password link on gerrit portal?