Statistics per-release/branch, time period


Alon Kochba
 

Hi,

 

I was looking at the Spectrometer and the recent statistics released by Thanh for Boron SR2.

Is there any way to filter the project views between dates and/or for specific branches?

 

Specifically we were looking for project activity statistics, for example:

a.      Number of unique committers per project in the master branch for Boron (since Be was cut out), and similarly for Carbon.

b.      Number of commits per project for the same.

 

Thanks,

--alon

 


Thanh Ha <thanh.ha@...>
 

On Tue, Jan 17, 2017 at 4:32 AM, Kochba, Alon <alonko@...> wrote:

Hi,

 

I was looking at the Spectrometer and the recent statistics released by Thanh for Boron SR2.

Is there any way to filter the project views between dates and/or for specific branches?


Dates, no. Branches yes. That's how I am able to generate the release reports however at the moment the reporttool only supports generating statistics for all projects in OpenDaylight, you cannot filter down to a single project although I definitely plan on adding that support to the support tool.

Normally I generate the report using a command as follows:

spectrometer report --server-url http://localhost:5000 release release/boron-sr2 release/boron-sr1
 
The last 2 parameters are branch|tag to report on and final parameter is the branch|tag to compare against.

What Git will do is take the 2 reference points and walk backwards in the git tree until it finds a common parent commit for the 2 reference points and report back all the commits since that common reference point.


 Specifically we were looking for project activity statistics, for example:

a.      Number of unique committers per project in the master branch for Boron (since Be was cut out), and similarly for Carbon.

Yes using the above tool we'd be able to do this but need to add a feature to allow configuring for a single project rather than all of ODL.
 

b.      Number of commits per project for the same.

Yes the release report reports top commits, organizations, timezones as well as a full list of all contributors and organizations. We just need to add support for reporting on a single project rather than all of ODL.

This feature is on the roadmap for me but to be honest I'm spread a bit too thin right now and am having a hard time finding cycles to improve Spectrometer at the moment. Contributions are certainly welcome if anyone wants to take up this task.

Regards,
Thanh