I know there's a lot of people in the community who are very interested in
data about...everything. Since the old CodeReview has an API and this
kind of data was useful to people, I've thought that people would like to
know about `gerrit query`
If you've got an account on Gerrit, all kinds of interesting data can be
grabbed from Gerrit via this command line query tool.
For example, to get a list of open changes that have CodeReview+2 (and
are probably ready for merging):
`ssh -p 29418 gerrit.wikimedia.org
gerrit query --format=JSON is:open
This would be the same as querying "is:open CodeReview+2" in Gerrit,
but in a scriptable format. (There's also --format=TEXT if you're looking
for something a little more human-readable)
For full docs on the feature, see here . Have a great week.