I have a project in Gerrit and each time I submit a change I manually have to add a group of reviewers to that change. Is there a mechanism that would allow me to specify reviewers that I want to be emailed for each change?
Show activity on this post. Where <changeid> is the Gerrit change-id or change number. This will show you all the comments, including inline comments from files, associated with the current patch set. You can replace --current-patch-set with --patch-sets to see this for all patch sets.
Gerrit supports three methods of uploading changes: Use repo upload , to create changes for review. Use git push , to create changes for review. Use git push , and bypass code review.
It is also possible to set a topic on push, either by appending %topic=… to the ref name or through the use of the command line flag --push-option , aliased to -o , followed by topic=… . Gerrit may be configured to submit all changes in a topic together with a single click, even when topics span multiple projects.
You can use the %[email protected]
syntax on your branch specifier during a push to automatically add reviewers to a change.
You can add as many emails as you want and all will be emailed, e.g.
git push tr:kernel/common HEAD:refs/for/experimental%[email protected],[email protected],[email protected]
It’s a good idea to just specify this in a remote block in your git config so you don't have to type all that each time.
If you happen to be using Gerrit with Repo, then you can always specify reviewers while uploading changes.
repo upload --re=address_of_reviewer1,address_of_reviewer2...,address_of_reviewerN
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With