Ben Nemec 8984d97d20 Fix --start with existing cache
It turns out len(changes) is only the correct number of changes to
skip the first time through with an empty cache.  On subsequent
runs it skips way too far ahead in the gerrit changes and thus
never gets any new ones.

This change keeps track of the number of new changes separately
from the length of changes, which seems to make the behavior with
a cache work correctly again.

Change-Id: I1e3509d2d54b514afba64fedecc6a9f5ca408235
2015-12-23 15:51:52 +00:00
2014-05-29 11:20:35 +02:00
2013-12-16 11:27:22 -05: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-12-06 08:13:37 +13:00
2013-11-25 03:26:57 +00:00
2013-12-13 20:13:56 +13: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

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