Web-based application to get quick access to administrative functions of Gerrit Code Review system through the REST APIs (python-gerritclient package). Ability to perform View, Modify, Delete or Create actions depends on Gerrit user access rights.
- Clone
gerrit-quick-viewer
project from repository:git clone https://github.com/tivaliy/gerrit-quick-viewer.git
. - Change directory to project one
cd gerrit-quick-viewer
. - Create isolated Python environment
virtualenv gerritquickviewer_venv
and activate itsource gerritquickviewer_venv/bin/activate
. - Install
gerrit-quick-viewer
with all necessary dependencies:pip install -r requirements.txt
. - Update
config.py
file to meet your requirements, e.g.GERRIT_URL = 'http://ci.infra.local/gerrit
- Run Flask
python run.py
- Open Web-browser
http://127.0.0.1:5000/
. Some actions depend on your user access rights and require your Gerrit HTTP credentials.
Online demo: https://gerrit-quick-viewer.herokuapp.com/