summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-01-22 08:14:20 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-01-22 08:14:20 (GMT)
commitd746e0ab64c3543a634b246083c41125019bff63 (patch)
tree5d9b76b04478efa7c2f80ac490d54374e50f2cb1 /libexec
parent8781253ccb286a6fe556780c1cfca2e8021a1fcd (diff)
downloadsite-d746e0ab64c3543a634b246083c41125019bff63.tar.gz
Git hooks: Use new project name
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/git-notify2
-rwxr-xr-xlibexec/post-receive.d/01-mail-notify4
-rwxr-xr-xlibexec/post-receive.d/02-build-snapshots2
-rwxr-xr-xlibexec/post-receive.d/03-build-docs2
-rwxr-xr-xlibexec/post-receive.d/04-build-web-site2
5 files changed, 6 insertions, 6 deletions
diff --git a/libexec/git-notify b/libexec/git-notify
index cce476e..8c6400a 100755
--- a/libexec/git-notify
+++ b/libexec/git-notify
@@ -44,7 +44,7 @@ sub get_repos_name();
44# 44#
45# FIXME: Turn this into a proper git-notify option. 45# FIXME: Turn this into a proper git-notify option.
46# 46#
47my $from = "Git Repository <git\@nagios-plugins.org>"; 47my $from = "Git Repository <git\@monitoring-plugins.org>";
48 48
49# some parameters you may want to change 49# some parameters you may want to change
50 50
diff --git a/libexec/post-receive.d/01-mail-notify b/libexec/post-receive.d/01-mail-notify
index b65bdcd..c1a3e2a 100755
--- a/libexec/post-receive.d/01-mail-notify
+++ b/libexec/post-receive.d/01-mail-notify
@@ -18,10 +18,10 @@ set -u
18export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' 18export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
19 19
20prefix=$PWD # $GIT_DIR 20prefix=$PWD # $GIT_DIR
21recipient='commits@nagios-plugins.org' 21recipient='commits@monitoring-plugins.org'
22maxcommits=25 22maxcommits=25
23maxdiffsize=$((300 * 1024)) 23maxdiffsize=$((300 * 1024))
24gitweburl='https://www.nagios-plugins.org/repositories' 24gitweburl='https://www.monitoring-plugins.org/repositories'
25gitnotify='/home/plugins/libexec/git-notify' 25gitnotify='/home/plugins/libexec/git-notify'
26statedir="$prefix/info" 26statedir="$prefix/info"
27statefile="$statedir/git-notify.dat" 27statefile="$statedir/git-notify.dat"
diff --git a/libexec/post-receive.d/02-build-snapshots b/libexec/post-receive.d/02-build-snapshots
index 22f5bf9..578c071 100755
--- a/libexec/post-receive.d/02-build-snapshots
+++ b/libexec/post-receive.d/02-build-snapshots
@@ -19,7 +19,7 @@ export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
19 19
20prefix='/home/plugins' 20prefix='/home/plugins'
21repository=${PWD##*/} 21repository=${PWD##*/}
22snapshot_repository='nagios-plugins.git' 22snapshot_repository='monitoring-plugins.git'
23snapshot_branches='maint master pu' 23snapshot_branches='maint master pu'
24 24
25if [ "$repository" = "$snapshot_repository" ] 25if [ "$repository" = "$snapshot_repository" ]
diff --git a/libexec/post-receive.d/03-build-docs b/libexec/post-receive.d/03-build-docs
index d717f6f..5fa7549 100755
--- a/libexec/post-receive.d/03-build-docs
+++ b/libexec/post-receive.d/03-build-docs
@@ -19,7 +19,7 @@ export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
19 19
20prefix='/home/plugins' 20prefix='/home/plugins'
21repository=${PWD##*/} 21repository=${PWD##*/}
22doc_repository='nagios-plugins.git' 22doc_repository='monitoring-plugins.git'
23doc_branch='master' 23doc_branch='master'
24 24
25if [ "$repository" = "$doc_repository" ] 25if [ "$repository" = "$doc_repository" ]
diff --git a/libexec/post-receive.d/04-build-web-site b/libexec/post-receive.d/04-build-web-site
index 7c178cf..0dec41a 100755
--- a/libexec/post-receive.d/04-build-web-site
+++ b/libexec/post-receive.d/04-build-web-site
@@ -19,7 +19,7 @@ export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
19 19
20prefix='/home/plugins' 20prefix='/home/plugins'
21repository=${PWD##*/} 21repository=${PWD##*/}
22web_repositories='nagios-plugins.git site.git' 22web_repositories='monitoring-plugins.git site.git'
23web_branch='master' 23web_branch='master'
24 24
25for web_repository in $web_repositories 25for web_repository in $web_repositories