In Gerrit, it is possible to set a group as a default reviewer instead of specifying individual users?
----
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CA%2B4Hw5YxB_w3CW3oRiz_zCpGtVp%2BeojgpJFTvJ7jtVWyz%2BkvBQ%40mail.gmail.com.
Hi Matthias,
I have followed the instructions provided in above guide and i have enabled in etc/reviewers.config file then added below.
[reviewers]
enableREST = true
suggestOnly = false
ignoreWip = false
mergeFilters = true
Next, I created a new 'reviewers.config' file in the 'refs/meta/config' branch of the 'android/test' repository. This file contains a filter rule as below.
[filter "*"]
reviewer = DevGroup
After committing and pushing these changes to the repository, some modifications were made by my team members. However, when I checked the change request in the UI, I couldn't see the 'DevGroup' listed under the Reviewers section.
Gerrit log i can see below
gerrit | [2024-08-29 05:59:02,789] [ReceiveCommits-1-for-SSH git-receive-pack android/test (ramesh.rv)] WARN com.googlesource.gerrit.plugins.reviewers.ReviewersResolver : For the change 381 of project android/test: reviewer DevGroup is neither an account nor a group. [CONTEXT PLUGIN="reviewers" RECEIVE_ID="android/test-1724911142677-840fc005" project="android/test" ]Is there anything else I should configure to make sure the 'DevGroup' appears in the Reviewers section?Any guidance would be greatly appreciated.
Thank you.