Hey,
I have a big pile of commits that I have been added as reviewer on Gerrit, most of which I really do not care about. As a result, the entirely list becomes pretty useless and is just being a big waste of screen space. I could go through all those commits one by one and remove myself from them, though that is rather tedious. Is there a way to remove such commits quickly from my review list by just clicking them in the list, or doing a "select, select, select, remove selected" thing?
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 --
Not that I know; you should ask it upstream https://code.google.com/p/gerrit/issues/list However, due to https://code.google.com/p/gerrit/issues/detail?id=1300 , the kindest reviewers in our gerrit also leave a short comment that they're removing themselves because they're not interested: that also helps not being added again to the same changesets.
Nemo
Le 14/10/13 02:01, Jeroen De Dauw a écrit :
Hey,
I have a big pile of commits that I have been added as reviewer on Gerrit, most of which I really do not care about. As a result, the entirely list becomes pretty useless and is just being a big waste of screen space. I could go through all those commits one by one and remove myself from them, though that is rather tedious. Is there a way to remove such commits quickly from my review list by just clicking them in the list, or doing a "select, select, select, remove selected" thing?
Hello,
You can query Gerrit over ssh interactive shell. I have setup a small bash function for that:
$ declare -f gerrit gerrit () { if [ -z "$1" ]; then ARGS="--help"; else ARGS="$@"; fi; set -x; ssh -p 29418 gerrit.wikimedia.org "gerrit $ARGS"; set +x }
Get help with: gerrit --help
I can query Gerrit from the command line:
gerrit query "reviewer:'self' is:open"
And one can remove self from a change with something like:
gerrit set-reviewer <COMMIT THERE> --remove self
Pass '--format json' to get ... json output!
wikitech-l@lists.wikimedia.org