A python script to get mail from issues@example.com and create github issues.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Theodotos Andreou 08a47dad08 More descriptive documentation 5 年之前
LICENSE Initial Commit 5 年之前
README.md More descriptive documentation 5 年之前
mail2github_issues.py Initial Commit 5 年之前

README.md

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.

  • Adjust the following variables accordingly:

    • TOKEN = ‘XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’
    • USER = ‘exampledev’
    • REPO = ‘myrepo’
  • Edit /etc/aliases:

issues: "|/usr/local/sbin/mail2github_issues.py"
  • Run the newaliases command.