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
2014-06-10 14:38:24 +00:00
2014-05-29 11:20:35 +02:00
2013-12-16 11:27:22 -05:00
2013-11-25 03:26:57 +00:00
2013-12-06 08:13:37 +13:00
2013-07-01 15:03:59 +00:00
2013-11-25 03:26:57 +00:00
2013-11-25 03:26:57 +00:00
2013-11-25 03:26:57 +00:00
2013-11-25 03:26:57 +00:00
2013-11-25 03:26:57 +00:00
2013-11-25 03:26:57 +00:00
2013-12-06 08:13:37 +13:00
2013-12-06 08:13:37 +13:00
2013-12-06 08:13:37 +13:00
2013-11-25 03:26:57 +00:00
2013-12-13 20:13:56 +13:00
2014-02-10 03:03:04 +00:00

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

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
Scripts for generating OpenStack development community statistics
Readme 2.8 MiB
Languages
Python 95%
Shell 5%