This script sorts and prioritizes issues of a git repositiory.
You will need a Github access token, which you can create here.
Choose all repositories
and then set permissions for Issues to read only
. This will create a taken
that can only read issues of all repositories.
Add a file called token
to the repository and paste your token in there. The script will parse that file and
use that token to download the issues.
- Install requirements:
pip install requirements.txt
- Add token
- Run
python sorterator.py
from issue_parser import GithubIssueParser
token = <your github access token>
repo = "RIOT-OS/RIOT"
ignored_users = []
parser = GithubIssueParser(token, ignored_users, repo)
issues = parser.get_issues()
get_issues()
takes a very long time, don't worry.
{ "ticket": { "ticket-id": int, "area": str, "issue-type": str, "engagement": int, "date": str<"MM-DD-YYYY"> } }