Automatically get the GitHub release statistics every month

Description

We do want to have the download statistics for each month. GitHub provides a means to access the current download count, but no historical information.

The idea is thus to capture the download statistics at the end of every month by means of the GitHub REST API and format this data is a format that can be used to further work with the data.

A sample request on inspectIT is: https://api.github.com/repos/inspectit/inspectit/releases

The idea is to integrate a small jenkins job that runs every month and gets the data. A possible format could be similar to the old FTP download statistics which could be then easily integrated into the current excel based reporting.

The current format looks as follows:

https://github.com/inspectit-labs/github-release-downloadstats-extractor

Environment

None

Activity

Show:
Stefan Siegl
December 22, 2015, 8:23 AM

this would be perfect already. Just to be certain: this is always the overall number of downloads right?

> If the rate limit is a problem, it is possible to add the clientID and ClientSecretID as arguments.
I do not get this point

Stefan Siegl
December 22, 2015, 8:27 AM

you also provided a jar file in the attachment. Is this the final version of the script? How can one execute this script.

I would propose to add this small snippet as a small project to our inspectIT Labs organisation (https://github.com/inspectit-labs) and describe what it does.

Tobias Angerstein
January 8, 2016, 4:35 PM

Jenkins Job is configured ... Each month, a email containing the statistics as plain text and as attachment will be sent

Ivan Senic
July 28, 2016, 1:01 PM

Can I close this ticket. We anyway have the statistics now in grafana which is implemented by .

Tobias Angerstein
July 28, 2016, 1:07 PM

jap

Assignee

Tobias Angerstein

Reporter

Stefan Siegl

Labels

Integrator

None

Sprint

None

Priority

Medium
Configure