Mercurial Jabber notification extension
This is in fact a in-process hook for notifying developers of the project about server activity by using jabber (XMPP) messaging protocol.
Contents
1. Status
This extension is not distributed with Mercurial.
Author: Kamyar Inanloo
Repository: https://bitbucket.org/kamyar1979/hgxmpp
Web page: https://bitbucket.org/kamyar1979/hgxmpp
2. Overview
This is a tiny python package working as a mercurial in-process hook. It works using xmpppy package for sending messages to developers (jabber users) when one pushed/commits/... the project. You must install xmpppy as a requirement:
pip install xmpppy
or
easy_install xmpppy
Then extract the extension to Python package folder (e.g. site-packages)
3. Configuration
Configure your .hgrc to enable the extension by adding following lines:
[hooks] changegroup = python:hgxmpp.hook [jabber] userid = mercurial@mydomain.com password = mercurialpassword MyProject = user1@mydomain.com, user2@mydomian.com
The last line tells the extension to send notification to user1 and user2 when the repository MyProject changes.