Scripts for generating OpenStack development community statistics
Go to file
OpenDev Sysadmins aea3d099eb OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:14 +00:00
doc/source cleaning up index.rst file 2014-05-29 11:20:35 +02:00
projects Merge "Remove tuskar projects" 2019-03-16 02:30:04 +00:00
reviewstats Add the ability to get reviewer stats across all stable branches 2017-08-30 13:58:37 -04:00
tests Add --csv-rows option 2013-12-16 11:27:22 -05:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:24:02 +00:00
.gitignore Add a bug statistics tool. 2013-12-06 08:13:37 +13:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:14 +00:00
.mailmap Cookiecutterify reviewstats. 2013-11-25 03:26:57 +00:00
.testr.conf Cookiecutterify reviewstats. 2013-11-25 03:26:57 +00:00
CONTRIBUTING.rst Adjust wording for new Workflow URLs 2014-12-05 11:50:04 -08:00
LICENSE Cookiecutterify reviewstats. 2013-11-25 03:26:57 +00:00
MANIFEST.in Cookiecutterify reviewstats. 2013-11-25 03:26:57 +00:00
README.rst Add the ability to get reviewer stats across all stable branches 2017-08-30 13:58:37 -04:00
babel.cfg Cookiecutterify reviewstats. 2013-11-25 03:26:57 +00:00
genresults-openreviews.sh Removes tabs from .sh files 2017-05-08 14:20:19 -05:00
genresults-reviewers.sh Removes tabs from .sh files 2017-05-08 14:20:19 -05:00
genresults-reviews-for-bugs.sh Removes tabs from .sh files 2017-05-08 14:20:19 -05:00
openstack-common.conf Cookiecutterify reviewstats. 2013-11-25 03:26:57 +00:00
requirements.txt Remove argparse from requirements 2016-01-20 19:30:16 +01:00
setup.cfg python version changes 2016-12-17 19:25:50 +01:00
setup.py Cookiecutterify reviewstats. 2013-11-25 03:26:57 +00:00
test-requirements.txt Remove discover from test-requirements 2016-07-22 05:01:22 +00:00
tox.ini python version changes 2016-12-17 19:25:50 +01:00

README.rst

reviewstats

Utility scripts for generating stats about OpenStack development.

Features

  • openreviews.py - Get some stats on the number and age of open reviews.
  • reviewers.py - See how many reviews each person has done over a period of time.

Usage

Clone the git repository, then install the library:

pip install .

Run the scripts.

Project definitions

Each project has a JSON file describing what reviews, bugs and so on will count towards that projects statistics. The JSON file should have a single top level object containing the following keys:

  • name: The project name.
  • subprojects: A list of Gerrit projects to include.
  • core-team: A list of Gerrit usernames to consider as core reviewers across subprojects.
  • lp_projects: A list of Launchpad project ids to include.

Examples

  1. Get reviewer stats for the last 14 days (default) in the stable/pike branch:

$ reviewers --stable pike --output ~/reviewers-stable-pike-14

  1. Get reviewer stats for the last 90 days across all stable branches:

$ reviewers --stable all --days 90 --output ~/reviewers-stable-all-90