You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kibble.apache.org by Daniel Gruno <hu...@apache.org> on 2019/08/04 06:59:25 UTC

Kibble powering the new ASF Board Report Wizard

As subject says, Kibble is now used to pull in metrics for the Community 
Health section of the new report wizard (see dev@community for details).

Hopefully, this will increase the interest in our project and provide 
some feedback :) Still working on what exactly to pull from Kibble, but 
it proved easier than I thought, by using simple API queries using the 
Kibble-Token header.

For instance, grabbing all PRs/issues from GitHub for a specific project 
can be done as simple as:

issues = requests.post('https://demo.kibble.apache.org/api/issue/issues',
                   headers = {
                     'Content-Type': 'application/json',
                     'Kibble-Token': TOKEN,
                   },
                   json = {
                     "page":"issues",
                     "quick":True,
                     "interval": "week",
                     "subfilter":"/" + project,
                     "distinguish":True
                     }
                  ).json();

If anyone has good ideas on which metrics we could use (or improve upon) 
for assessing a project's overall health and activity, I'd appreciate 
feedback :)

With regards,
Daniel.