review-rot
reviewrot is a CLI tool, that helps to list down open review requests from github, gitlab and pagure.
Sample I/P:
Create '~/.reviewrot.yaml'. browse the examples for content.
Installation
python setup.py install
Alternatively, for development:
python setup.py develop
Tests
To run the tests in your virtualenv, execute:
python setup.py test
Alternatively, you can use tox
or detox
to run the tests against multiple versions of python:
sudo dnf install python-detox
detox
Script:
review-rot
> review-rot --help
usage: review-rot [-h] [-s {older,newer}] [-v VALUE] [-d {y,m,d,h,min}]
[--debug]
Lists pull/merge requests for github, gitlab,pagure and gerrit
optional arguments:
-h, --help show this help message and exit
-s {older,newer}, --state {older,newer}
Pull requests state 'older' or 'newer'
-v VALUE, --value VALUE
Pull requests duration in terms of value(int)
-d {y,m,d,h,min}, --duration {y,m,d,h,min}
Pull requests duration in terms of y=years,m=months,
d=days, h=hours, min=minutes
--debug Display debug logs on console