pv / github-needs-work

Script for tracking status of github PRs based on labels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-needs-work

usage: github_needs_work.py

List pull requests in a Github project, categorized to those
unreviewed, those waiting PR submitter action (needs-work, wip/draft),
and those updated since last review (potentially needing further
review). Additional categories include abandoned and closed PRs
(needs-champion) and backportable PRs (needs-backport).

Creates a cache file ``gh_cache.json`` in the current directory. The
script understands Github PR review and draft statuses in addition to
manually assigned labels, interpreting "changes requested" as
"needs-work".

examples:
  github_needs_work.py --auth --project scipy/scipy < token > out.html

optional arguments:
  -h, --help            show this help message and exit
  --project PROJECT     project to use (e.g. scipy/scipy)
  --auth                authenticate to Github (increases rate limits)
  --label-needs-work LABEL_NEEDS_WORK
                        name of the label for 'needs-work' status (default:
                        needs-work)
  --label-needs-decision LABEL_NEEDS_DECISION
                        name of the label for 'needs-decision' status
                        (default: needs-decision)
  --label-needs-champion LABEL_NEEDS_CHAMPION
                        name of the label for 'needs-champion' status
                        (default: needs-champion)
  --label-needs-backport LABEL_NEEDS_BACKPORT
                        name of the label for 'needs-backport' status
                        (default: backport-candidate)

Results for SciPy and NumPy are provided on an ad-hoc basis at https://pav.iki.fi/scipy-needs-work/ and https://pav.iki.fi/numpy-needs-work/

About

Script for tracking status of github PRs based on labels


Languages

Language:Python 100.0%