mail2github_issues/README.md

29 lines
538 B
Markdown
Raw Normal View History

2018-06-07 15:17:57 +03:00
# Mail to Github Issues
## Description
A script to get mail from issues@example.com and create github issues.
## Installation Instuctions
* Install the github python API:
```
pip install github3.py
```
* Place the script under */usr/local/sbin/mail2github_issues.py*.
2018-06-07 15:20:16 +03:00
* Adjust the following variables accordingly:
* TOKEN = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
* USER = 'exampledev'
* REPO = 'myrepo'
2018-06-07 15:17:57 +03:00
* Edit */etc/aliases*:
```
issues: "|/usr/local/sbin/mail2github_issues.py"
```
* Run the `newaliases` command.