4e0372fed1
This code was reconnecting via ssh on every iteration of the loop, which is completely unnecessary. It should use the existing connection and only reconnect if there was an SSH error when exeuting a command. The code should also explicitly close the connection when its done. Change-Id: I2545a1ca5e0cd39a8b453445ea25927756b1fd19 |
||
---|---|---|
doc/source | ||
projects | ||
reviewstats | ||
tests | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
genresults-openreviews.sh | ||
genresults-reviewers.sh | ||
genresults-reviews-for-bugs.sh | ||
openstack-common.conf | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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.