XMPP bot that posts commit summaries to MUCs.
Python
Switch branches/tags
Nothing to show
Latest commit f498362 Sep 13, 2013 @metajack Merge pull request #4 from malexmave/feature-config-vars
Seperate configuration variables
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.txt
README.markdown
commitbot.py
commitbot.tac.example

README.markdown

commitbot

Commitbot is an XMPP bot that notifies multi-user chat rooms (MUCs) of git repository commits.

It uses the GitHub post-receive web hook to get push notifications of repository changes.

License

This code is copyright (c) 2008 by Jack Moffitt jack@metajack.im and is available under the GPLv3. See LICENSE.txt for details.

Dependencies

Note that on Ubuntu/Debian systems Twisted is split into various pieces. You will want:

  • python-twisted-words
  • python-twisted-names

in addition to the normal Twisted package.

Usage

Copy commitbot.tac.example to commitbot.tac changing the jabber_id, password, room, and bot_name to something appropriate. Then launch it with twistd.

twistd -y commitbot.tac

Finally, add http://your-server-IP:8888 (or whichever port you set in the commitbot.tac) as a WebHook to your GitHub-Repository. Congratulations, you are all set up now.