Event Timeline
Comment Actions
NOTE: gerrit's age is based on the last change to the patch so you may get some older things that creep in because someone commented on them long after they were done.
Comment Actions
@bd808, thank you for sharing! I made a similar script last year but yours is far better. In case you're interested, here's how you can use your script to track team contributions (number of groups of comments, votes, and amendments to Gerrit patches other than your own):
ssh gerrit.wikimedia.org \ -p 29418 \ gerrit query --format=json --comments \ -- reviewer:self -owner:self -age:1y limit:10000| jq -c 'select(.comments[]?.reviewer.username == "<USERNAME>")'| ./prettyGerrit.py| sort
I find this a useful additional metric to consider, especially for junior heavy teams requiring a lot of patch revisions.
And here's kind of a dodgy script for listing Phabricator tickets created by a user since last year.