Launchpad offers online source code hosting for Git & Bazaar projects, with powerful collaboration tools, code review, and bugs tracking.
This integration will post commits, merge requests to a channel in Slack.
Go to the Incoming WebHooks app, and make sure you generate Webhook URL to the channel where you want the messages to go, it looks something like the following url :
https://hooks.slack.com/services/XXXXXXX/YYYYYYYY/ZZZZZZZZZZZZZZZZZ
$ git clone [email protected]:daker/launchpad-slack.git
$ cd launchpad-slack
$ heroku create
$ git push heroku master
$ heroku open
or
Once the app is deployed, under your app settings you need to add a SLACK_INCOMING_WEBHOOKS
entry to the Config Variables section which will hold the Slack Incoming WebHook url you generated before, finally make sure you restart the app.
Copy the heroku app url, then go to your branch page in Launchpad.net, click on "Manage webhooks" then "Add webhook" and finally make sure the url looks something like the following :
https://HEROKU_APP_NAME.herokuapp.com/webhook
You can also use Slash Commands to check bugs on Launchpad, under your app settings you need to add a SLACK_COMMANDS_TOKEN
entry to the Config Variables section which hold the Slash Command token and finally make sure the url looks something like the following :
https://HEROKU_APP_NAME.herokuapp.com/lp
and use it like this :
/YOUR_SLASH_COMMAND BUG_ID
ex : /lp 100000
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request