First steps mining Gerrit

Gerrit is becoming more and more popular in open source communities, being an essential part of the Wikimedia or OpenStack foundations among others.

We, at Bitergia, have started the process to include the information provided by Gerrit API in our toolset to finally obtain dashboards with specific information from the review process. So project managers can deal with big amount of data from this repository in an easier way, having aggregated numbers, but also with the possibility to deepen in the numbers and details if required.

With this in mind, a new backend has been included in Bicho [1] (still work in progress) and a new library to analyze the resultant database can be found in VizGrimoireR [2] (also work in progress).

There are five functions so far:

  • EvolReviews: evolution of reviews per type (merged, new, workinprogress, abandoned,…) and per period of time (month, year, week, …)
  • EvolReviewers: evolution of the reviewers per period of time
  • EvolEvaluations: type of evaluation per patchset (verified, submitted, …)  and period of time
  • Waiting4Review: number of patches waiting for a reviewer response (those that got a positive review)
  • Waiting4Submitter: number of patches waiting for a submitter response (typically those that had a negative review)

As usual, feedback is welcome!




2 thoughts on “First steps mining Gerrit

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s