shanesmith / gerrit-cli

Gerrit in your command lines.
MIT License
46 stars 19 forks source link

ability to obtain list of pending reviews from all gerrit servers #24

Open ssbarnea opened 7 years ago

ssbarnea commented 7 years ago

It would extremely useful if gerrit CLI could list all patches from all servers that were raised by you. As we already have all servers and usernames this should be possible without further configuration.

I currently work with 3 different Gerrit servers and when you have multiple open reviews is very easy to forget about some that needs your attention. If we could be able to check this via the command line it would be a huge productivity booster.

shanesmith commented 7 years ago

I assume you mean multiple remote? That shouldn't be too hard to implement, I'll take a crack at it sometime soon.

In the meantime here's what you could do to get the something right now:

for remote in server1 server2 server3; do 
  echo "$remote"
  gerrit patches -r "$remote"
done