On Mon, Sep 10, 2012 at 10:14 PM, MZMcBride <[email protected]> wrote: > Sumana Harihareswara wrote: >> I would love for someone to integrate that kind of wait-time indicator >> into https://toolserver.org/~bawolff/gerrit-stats.htm or >> http://gerrit-stats.wmflabs.org/ . My suggested stats: the >> min/median/average/maximum time between a patchset's submission and its >> merge or abandonment, and the min/median/average/maximum time between >> patchset submission and any +1 or -1, divided up by Gerrit repository. > > Is there a Gerrit API? > > MZMcBride
Yes. Its kind of weird though. Basically you can make an ssh connection to gerrit, give it a search query, and it will return results in json. See http://gerrit.googlecode.com/svn-history/r3021/documentation/2.1.4/cmd-query.html > I would love for someone to integrate that kind of wait-time indicator >into https://toolserver.org/~bawolff/gerrit-stats.htm ... Me too! :) --bawolff _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
