From 78fc8f4909750407585990aa10522d9510a69804 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 6 Dec 2009 01:23:41 +0100 Subject: Enable CIA's commit notifications We now use CIA's service to send commit notifications to IRC. They are currently sent to the #Nagios-Devel channel on Freenode. See: http://cia.vc/stats/project/nagiosplug/ http://cia.vc/account/bots/15699/ --- tools/git-post-receive-hook | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/git-post-receive-hook') diff --git a/tools/git-post-receive-hook b/tools/git-post-receive-hook index 70d259e7..fd1f8697 100755 --- a/tools/git-post-receive-hook +++ b/tools/git-post-receive-hook @@ -4,11 +4,13 @@ prefix="${0%/*}/notifications" # $GIT_DIR/hooks/notifications recipient='Nagios Plugin Commits ' maxcommits=100 maxdiffsize=$((300 * 1024)) +project='nagiosplug' gitweburl='http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug' gitnotify="$prefix/git-notify.pl" statefile="$prefix/git-notify.dat" exec "$gitnotify" \ + -c "$project" \ -m "$recipient" \ -n "$maxcommits" \ -s "$maxdiffsize" \ -- cgit v1.2.3