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.
This code is copyright (c) 2008 by Jack Moffitt [email protected] and
is available under the GPLv3.
See LICENSE.txt
for details.
- Twisted 8.1.x or later
- Wokkel 0.4 or later
- simplejson
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.
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:https://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.