git Push-Notification via Jabber
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Make Script executable and call python / "Message about push" from post-receive hook on remote git repository.

Second argument is key that shall be popped when sending messages. Intended for excluding commiter from message queue.


In add recipients to list, like

 rcps_list={'ConcernedCommmiter' : 'recipient@jabber'}

In hooks/post-receive do something like:

 > exclude=`git log -1 --pretty=format:"%cn"`
 > python <...>/ "Commit to <x> pushed!" ${exclude}

If ConcernedCommiter is pushing to the repository he is ommited from the message queue.

requires python-xmpppy

...and python :-)