You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() When using the reviewers command to get stats on stable branch reviews, I always think I can specify --stable and --project nova to get nova stable reviews, but that's not how the command works and the --project option is ignored resulting in a report which I don't expect, i.e. there are non-nova reviewers in the report. This makes --project and --stable mutually exclusive to avoid that confusion. Change-Id: Ie9938f5e68f27b9a5a58635be2185365f041136f |
4 years ago | |
---|---|---|
doc | 4 years ago | |
projects | 4 years ago | |
reviewstats | 4 years ago | |
tests | 10 years ago | |
.coveragerc | 8 years ago | |
.gitignore | 4 years ago | |
.gitreview | 4 years ago | |
.mailmap | 10 years ago | |
.stestr.conf | 4 years ago | |
.zuul.yaml | 4 years ago | |
CONTRIBUTING.rst | 4 years ago | |
LICENSE | 10 years ago | |
MANIFEST.in | 10 years ago | |
README.rst | 4 years ago | |
babel.cfg | 10 years ago | |
genresults-openreviews.sh | 6 years ago | |
genresults-reviewers.sh | 6 years ago | |
genresults-reviews-for-bugs.sh | 6 years ago | |
openstack-common.conf | 10 years ago | |
requirements.txt | 4 years ago | |
setup.cfg | 4 years ago | |
setup.py | 10 years ago | |
test-requirements.txt | 4 years ago | |
tox.ini | 4 years ago |
README.rst
reviewstats
Utility scripts for generating stats about OpenStack development.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/reviewstats
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
Get reviewer stats for the last 14 days (default) in the stable/pike branch:
$ reviewers --stable pike --output ~/reviewers-stable-pike-14
Get reviewer stats for the last 90 days across all stable branches:
$ reviewers --stable all --days 90 --output ~/reviewers-stable-all-90