Web Hooks Notifications For Git
December 6, 2008
A few days ago I posted about my commitbot code which notifies XMPP multi-user chat rooms about Git repository changes. The script used GitHub’s Web hook API. For those of you not using GitHub, I’ve also written a Web hook notifier post-receive hook script.
You can find the Python code in my notify-webhook GitHub repository. It will allow any Git repository to use Web hook enabled services, and it follows the GitHub API as closely as possible.
For example, you could use notify-webhook along with any of the service integration scripts that GitHub provides in its github-services to provide things like XMPP, IRC, Campfire, or Twitter integration for arbitrary Git repositories, not just those hosted on GitHub.