( ! ) Warning: session_start(): open(/var/lib/php/session/sess_k9v57d5n0s98m4cgj8kfahvjo0, O_RDWR) failed: No such file or directory (2) in /var/www/bitweaver/live/users/includes/bit_setup_inc.php on line 82
Call Stack
#TimeMemoryFunctionLocation
10.0001232880{main}( ).../page_history.php:0
20.0001234936require_once( '/var/www/bitweaver/live/kernel/includes/setup_inc.php' ).../page_history.php:16
30.07211909072BitSystem->scanPackages( ).../setup_inc.php:141
40.08032177352BitSystem->loadPackage( ).../BitSystem.php:1183
50.08032180384include_once( '/var/www/bitweaver/live/users/includes/bit_setup_inc.php' ).../BitSystem.php:1109
60.08162584632session_start ( ).../bit_setup_inc.php:82

( ! ) Warning: session_write_close(): open(/var/lib/php/session/sess_k9v57d5n0s98m4cgj8kfahvjo0, O_RDWR) failed: No such file or directory (2) in /var/www/bitweaver/live/kernel/includes/classes/BitSystem.php on line 580
Call Stack
#TimeMemoryFunctionLocation
10.0001232880{main}( ).../page_history.php:0
20.17963665576BitSystem->display( ).../page_history.php:57
30.18033667016BitSystem->preDisplay( ).../BitSystem.php:505
40.18683681624session_write_close ( ).../BitSystem.php:580

( ! ) Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in /var/www/bitweaver/live/kernel/includes/classes/BitSystem.php on line 580
Call Stack
#TimeMemoryFunctionLocation
10.0001232880{main}( ).../page_history.php:0
20.17963665576BitSystem->display( ).../page_history.php:57
30.18033667016BitSystem->preDisplay( ).../BitSystem.php:505
40.18683681624session_write_close ( ).../BitSystem.php:580
- bitweaver
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}


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