Skip to main content

Gerrit Stats

Project description

Gerrit Stats

PyPI Travis Coverage License

Gerrit Stats is a tool used for Gerrit stats via Gerrit API.

Requirement

  • python >= 3.7

Build

pip install -U pywin32
pip install -U pyinstaller
pip install -Ur requirements.txt

pyinstaller --clean --name gerritstats -F stats.py

Installation

pip install gerritstats

Update

pip install gerritstats --upgrade

Run

gerritstats --config-file config.json --gerrit-query "since:2020-06-01 until:2020-06-02" --output-file output.json

Settings

Gerrit Stats parameters can be set in the directory config.

An example of configuration in config.json:

{
  "gerrit": {
    "host": "localhost:80",
    "pass": "pass",
    "query": {
      "option": ["CURRENT_REVISION"]
    },
    "user": "user"
  }
}

License

Project License can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gerritstats-1.1.0.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

gerritstats-1.1.0-py2.py3-none-any.whl (12.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page