Ben Nemec
8e363b81e0
Encode to utf-8 before printing
When redirecting the output of openreviews to a file, if there are utf-8 characters in, for example, a commit message, openreviews will raise an exception because it tries to encode as ascii by default. This change explicitly encodes basestring output to utf-8 so it doesn't matter what the encoding of the output stream is. Change-Id: I581c1a98bdbbbfb17ccf33c59295d6fbf8729ab9
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
pip install reviewstats
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.
Description
Languages
Python
95%
Shell
5%