Differences from version 5 to 17



@@ -1,8 +1,14 @@

-After doing much digging around for the git equivalent of the [http://pythonwise.blogspot.com/2009/05/subversion-irc-bot.html|svn irc bot], a kind strange on irc.freenode.net/#git told me about the [http://tools.suckless.org/ii/|ii irc client].
+If you are looking to have your git repos commit to an IRC server (private or public), you have come to the right place. After doing much digging around for the git equivalent of the [http://pythonwise.blogspot.com/2009/05/subversion-irc-bot.html|svn irc bot], a kind stranger on irc.freenode.net/#git told me about the [http://tools.suckless.org/ii/|ii irc client].
 
+What is so great about this solution is there is NO dependency hell like java groovy IRC framework. Just a very small single binary application. Just install the little app, and config some files. No script needed.
 
+# Download, compile, and install the ii irc application
+# Have ii start up on boot and join your desired channel. When ii starts up, it will create directories and pipe files in the current working directory. For example, if you run ii as the git user in /home/git, you can add this to your __/etc/rc.local__:{code source=bash}su -c "ii -s irc.example.com &" - git
+echo "/j #foobar" > /home/git/irc/irc.example.com/in{/code}
+# Edit your __post-receive__ or __post-commit__ in repo.git/hooks (or repo/.git/hooks) depending on how you want to setup your notifications. Be sure to chmod with proper exec perms (e.g. 770 or ug+x). Example post-receive: {code source=bash}#!/bin/sh
+echo "_____________________________________________" > /home/git/irc/irc.example.com/#foobar/in
+echo "git push received at `hostname`" > /home/git/irc/irc.example.com/#foobar/in
+git log -1 --name-status > /home/git/irc/irc.example.com/#foobar/in{/code}
 
-__post-receive__ or __post-commit__ depending on how you want to setup your notifications:
-{code source=bash}#!/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{/code}
+
+PS, if you are looking to run your own IRC server, ircd-ratbox works great has handy RPM install.
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