https://github.com/pv/github-needs-work
Script for tracking status of github PRs based on labels
https://github.com/pv/github-needs-work
Last synced: 2 months ago
JSON representation
Script for tracking status of github PRs based on labels
- Host: GitHub
- URL: https://github.com/pv/github-needs-work
- Owner: pv
- Created: 2016-02-17T17:19:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T16:17:54.000Z (over 4 years ago)
- Last Synced: 2025-01-20T08:49:29.091Z (4 months ago)
- Language: Python
- Size: 33.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=================
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.htmloptional 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/.. _SciPy: https://github.com/scipy/scipy
.. _NumPy: https://github.com/numpy/numpy