diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-12-06 00:23:41 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-12-06 00:23:41 (GMT) |
commit | 78fc8f4909750407585990aa10522d9510a69804 (patch) | |
tree | d57a0901bd1e5122bcde353a935c6e80b9530d69 /tools/git-notify | |
parent | 96a23a4c117a9c2665ca09e5964eacf028dbcdcf (diff) | |
download | monitoring-plugins-78fc8f4909750407585990aa10522d9510a69804.tar.gz |
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/
Diffstat (limited to 'tools/git-notify')
-rwxr-xr-x | tools/git-notify | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/git-notify b/tools/git-notify index faa1785..d852823 100755 --- a/tools/git-notify +++ b/tools/git-notify | |||
@@ -48,7 +48,7 @@ sub get_repos_name(); | |||
48 | my $mailer = "/usr/bin/mail"; | 48 | my $mailer = "/usr/bin/mail"; |
49 | 49 | ||
50 | # CIA notification address | 50 | # CIA notification address |
51 | my $cia_address = "cia\@cia.navi.cx"; | 51 | my $cia_address = "cia\@cia.vc"; |
52 | 52 | ||
53 | # debug mode | 53 | # debug mode |
54 | my $debug = 0; | 54 | my $debug = 0; |
@@ -327,7 +327,7 @@ sub mail_notification($$$@) | |||
327 | { | 327 | { |
328 | my ($name, $subject, $content_type, @text) = @_; | 328 | my ($name, $subject, $content_type, @text) = @_; |
329 | 329 | ||
330 | $subject = "[$repos_name] $subject" if $emit_repo; | 330 | $subject = "[$repos_name] $subject" if ($emit_repo and $name ne $cia_address); |
331 | $subject = encode("MIME-Q",$subject); | 331 | $subject = encode("MIME-Q",$subject); |
332 | 332 | ||
333 | if ($debug) | 333 | if ($debug) |