Version 5

git irc bot post-commit script

Tutorial on creating a script to post commits to a IRC channel

Created by: spiderr, Last modification: 12 May 2011 (15:13 UTC) by spiderr
After doing much digging around for the git equivalent of the svn irc bot, a kind strange on irc.freenode.net/#git told me about the ii irc client.

post-receive or post-commit depending on how you want to setup your notifications:

#!/bin/sh
echo "---- git `hostname` push received ----" > /path/to/iihome/irc/#foobar/in
git log -1 --name-status > /path/to/iihome/irc/irc.example.com/#foobar/in

Page History
Date/CommentUserIPVersion
12 May 2011 (15:53 UTC)
spiderr24.106.202.12317
Current • Source
spiderr24.106.202.12315
View • Compare • Difference • Source
spiderr24.106.202.12313
View • Compare • Difference • Source
spiderr24.106.202.12312
View • Compare • Difference • Source
spiderr24.106.202.1238
View • Compare • Difference • Source
spiderr24.106.202.1237
View • Compare • Difference • Source
spiderr24.106.202.1235
View • Compare • Difference • Source
spiderr24.106.202.1233
View • Compare • Difference • Source
spiderr24.106.202.1232
View • Compare • Difference • Source