https://github.com/kevboh/crashlytics-to-issues
Small, heroku-compatible node app to listen for Crashlytics web hooks and create corresponding Github issues.
https://github.com/kevboh/crashlytics-to-issues
Last synced: over 1 year ago
JSON representation
Small, heroku-compatible node app to listen for Crashlytics web hooks and create corresponding Github issues.
- Host: GitHub
- URL: https://github.com/kevboh/crashlytics-to-issues
- Owner: kevboh
- Created: 2013-03-17T18:29:52.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-10-19T14:44:57.000Z (almost 13 years ago)
- Last Synced: 2024-04-14T08:06:31.027Z (over 2 years ago)
- Language: JavaScript
- Size: 314 KB
- Stars: 14
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
crashlytics-to-issues
=====================
Small, heroku-compatible node app to listen for Crashlytics web hooks and create corresponding Github issues.
## Using it on Heroku
1. Fork the repo.
2. Clone locally.
3. Run `heroku create` in your local repo to create a heroku app and add the heroku remote. See [this](https://devcenter.heroku.com/articles/nodejs) for more info.
4. Add your environment vars. See below.
## Environment vars
The app uses environment variables to authenticate to Github, choose the repo for issues, and assign the issue to a user. These variables are:
* USER: The user to authenticate as and assign issues to. Right now this is always the same user since I'm a one-person shop, but feel free to send pull requests allowing differentiation.
* PASS: Password for USER. Right now the app uses basic auth. Feel free to send pull requests for OAuth2 (sense a pattern here?).
* ORGANIZATION: The repo's organization or your github username
* REPO: The repo to file issues on.
To set environment vars (called "config vars") in Heroku, do:
heroku config:set USER=[your user]
heroku config:set PASS=[user's pass]
heroku config:set ORGANIZATION=[the repo's organization]
heroku config:set REPO=[the repo]
## Configuring the Crashlytics Web Hook
To add a web hook to your app in Crashlytics, select the settings (gears) next to your app name, select Integrations, and add the URL to your running app as a Web Hook.
## Disclaimer
I've never written anything in node before! Be kind in your pull requests :)