Giter VIP home page Giter VIP logo

chat-bitbucket's Introduction

chat-bitbucket

The Hangouts Chat adapter for Hubot is not able to send asynchronous HTTP call back to Hangouts Chat. So hard to create a bot around BitBucket with that ;) Replaced by https://github.com/bobman38/bitbucket-chat-bot


This bot is able to give you info about BitBucket PR on a Google Hangouts Chat room.

chat-bitbucket is a chat bot built on the Hubot framework. It was initially generated by generator-hubot, and configured to be deployed on Heroku-like to get you up and running as quick as possible.

This README is intended to help get you started. Definitely update and improve to talk about your own instance, how to use and deploy, what functionality is available, etc!

Running chat-bitbucket Locally

You can test your hubot by running the following, however some plugins will not behave as expected unless the environment variables they rely upon have been set.

You can start myhubot locally by running:

% bin/hubot

You'll see some start up output and a prompt:

[Sat Feb 28 2015 12:38:27 GMT+0000 (GMT)] INFO Using default redis on localhost:6379
myhubot>

Then you can interact with myhubot by typing myhubot help.

myhubot> myhubot help
myhubot animate me <query> - The same thing as `image me`, except adds [snip]
myhubot help - Displays all of the help commands that myhubot knows about.
...

To run with the adapter Hangouts Chat:

% npm start

Deploying to Dokku

Create the app on dokku and push it

git remote add dokku dokku@dokkuhost:appname
git push dokku master

Add letencrypt plugin to server https

On dokku host:

dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git
dokku config:set --no-restart appname DOKKU_LETSENCRYPT_EMAIL=myemail
dokku letsencrypt appname

Follow google-hangouts-chat publish procedure here

You will have to use Bot URL = https://appname.dokkuhost

Activate webhook in BitBucket

  • Go yo project settings in bitbucket
  • Webhooks
  • Add
  • Trigger on all PR actions
  • URL : https://appname.dokkuhost/hubot/bitbucket-pr?room={room_id}

Thanks

chat-bitbucket's People

Contributors

julbrs avatar

Watchers

 avatar

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.