Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gerrit web interface: add multiple reviewers

Tags:

gerrit

Using the Gerrit web interface, is it possible to add multiple reviewers at once to a given commit? Currently, it appears that reviewers have to be added one by one: trying to add a list as input fails regardless of how it is separated.

like image 556
csvan Avatar asked Apr 16 '17 08:04

csvan


1 Answers

No, it isn't possible to add multiple reviewers at once using Gerrit UI. You have to add one by one or use REST like in this example:

curl --request POST -d@- --header Content-Type:application/json https://GERRIT-SERVER/a/changes/CHANGE-NUMBER/reviewers << EOF
{
    "reviewer": "USERNAME1",
    "reviewer": "USERNAME2"
}
EOF
like image 128
Marcelo Ávila de Oliveira Avatar answered Sep 19 '22 22:09

Marcelo Ávila de Oliveira