Not really adding a default reviewer. Instead have the interested reviewers fill in a watched project setting using their Settings > Watched Projects panel. This will allow the server to BCC them on any changes matching their settings, and they can then go into Gerrit to review the change.
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
> Thanks for your answer. I've configured successfully. One more question, Is
> it possible to configure default reviewer with hooks ?
I've never used hooks, but if you do find a suitable one you can
invoke the set-reviewers SSH command to add reviewers to the change.
http://gerrit-documentation.googlecode.com/svn/Documentation/2.3/cmd-set-reviewers.html
> I searched on web and got the following url that said "Configure default
> reviewer in .git/config file", but didn't say how to configure. Does anyone
> know this solution ?
> http://code.google.com/p/gerrit/issues/detail?id=681&can=1&q=default%20reviewer&colspec=ID%20Type%20Stars%20Milestone%20Status%20Priority%20Owner%20Summary
I think what Martin is talking about is using the possibility to
change the receive-pack command that Gerrit runs when receiving your
commits. That's how the Repo tool sets the initial reviewers when you
upload changes using the --re option.
http://gerrit-documentation.googlecode.com/svn/Documentation/2.3/cmd-receive-pack.html
--
Magnus Bäck
ba...@google.com