Gerrit automatic reviewers not working
If your Gerrit server has the reviewers plugin installed, your repo can be configured to automatically
add a Gerrit native group as reviewers when a new change is pushed.
Some projects like ONAP, have this plugin configured, but newly created repos do not get automatically configured.
#TODO - Would be nice to have this portion integrated into self repo creation
Step-by-step guide
Here is what to do to make sure automatic reviewers is well configured
- Go to the Gerrit project in question
- Click on "Commands"
- Search for the Reviewers Config section and click on it
- If there is no filters, click "Add a new filter"
- The filter should be *
- Reviwer should be the matching SAML group for this repo "saml/onap-gerrit-<project>-committers" (This SAML group gets created as part of Self Repo Creation)
- Click save
- Now, search for the matching SAML group in Gerrit (Browse → Groups)
- Make sure owners is "Administrators"
- Make sure Visible is set to True.
Related articles