A python script to get mail from issues@example.com and create github issues.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

538B

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.