Metadata-Version: 2.1
Name: reviewstats
Version: 0.0.1.dev585
Summary: Review statistics generator.
Home-page: http://www.openstack.org/
Author: OpenStack
Author-email: openstack-discuss@lists.openstack.org
Classifier: Environment :: OpenStack
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
License-File: LICENSE
Requires-Dist: paramiko
Requires-Dist: pbr!=2.1.0,>=2.0
Requires-Dist: prettytable
Requires-Dist: pytz>=2025.2
Requires-Dist: requests!=2.4.0,>=2.2.0
Requires-Dist: PyYAML>=3.1.0
Requires-Dist: launchpadlib

===========
reviewstats
===========

Utility scripts for generating stats about OpenStack development.

* Free software: Apache license
* Documentation: https://docs.openstack.org/reviewstats/latest/

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``

