GithubHelp home page GithubHelp logo

daker / launchpad-slack Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 53 KB

This integration will post commits, merge requests to a channel in Slack.

License: GNU General Public License v3.0

Python 100.00%

launchpad-slack's Introduction

launchpad-slack

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.

Setting up a Incoming WebHook 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

Deploying to Heroku

$ git clone [email protected]:daker/launchpad-slack.git
$ cd launchpad-slack
$ heroku create
$ git push heroku master
$ heroku open

or

Deploy

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.

Setting up a webhook in Launchpad

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

Setting up a Slash Command

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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

launchpad-slack's People

Contributors

daker avatar

Watchers

 avatar  avatar

Forkers

mff-dungeon

launchpad-slack's Issues

Push failed

! Push rejected, failed to compile Python app.

! Push failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.