diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-22 08:14:20 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-22 08:14:20 (GMT) |
commit | d746e0ab64c3543a634b246083c41125019bff63 (patch) | |
tree | 5d9b76b04478efa7c2f80ac490d54374e50f2cb1 /libexec | |
parent | 8781253ccb286a6fe556780c1cfca2e8021a1fcd (diff) | |
download | site-d746e0ab64c3543a634b246083c41125019bff63.tar.gz |
Git hooks: Use new project name
Diffstat (limited to 'libexec')
-rwxr-xr-x | libexec/git-notify | 2 | ||||
-rwxr-xr-x | libexec/post-receive.d/01-mail-notify | 4 | ||||
-rwxr-xr-x | libexec/post-receive.d/02-build-snapshots | 2 | ||||
-rwxr-xr-x | libexec/post-receive.d/03-build-docs | 2 | ||||
-rwxr-xr-x | libexec/post-receive.d/04-build-web-site | 2 |
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 | # |
47 | my $from = "Git Repository <git\@nagios-plugins.org>"; | 47 | my $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 | |||
18 | export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' | 18 | export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' |
19 | 19 | ||
20 | prefix=$PWD # $GIT_DIR | 20 | prefix=$PWD # $GIT_DIR |
21 | recipient='commits@nagios-plugins.org' | 21 | recipient='commits@monitoring-plugins.org' |
22 | maxcommits=25 | 22 | maxcommits=25 |
23 | maxdiffsize=$((300 * 1024)) | 23 | maxdiffsize=$((300 * 1024)) |
24 | gitweburl='https://www.nagios-plugins.org/repositories' | 24 | gitweburl='https://www.monitoring-plugins.org/repositories' |
25 | gitnotify='/home/plugins/libexec/git-notify' | 25 | gitnotify='/home/plugins/libexec/git-notify' |
26 | statedir="$prefix/info" | 26 | statedir="$prefix/info" |
27 | statefile="$statedir/git-notify.dat" | 27 | statefile="$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 | ||
20 | prefix='/home/plugins' | 20 | prefix='/home/plugins' |
21 | repository=${PWD##*/} | 21 | repository=${PWD##*/} |
22 | snapshot_repository='nagios-plugins.git' | 22 | snapshot_repository='monitoring-plugins.git' |
23 | snapshot_branches='maint master pu' | 23 | snapshot_branches='maint master pu' |
24 | 24 | ||
25 | if [ "$repository" = "$snapshot_repository" ] | 25 | if [ "$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 | ||
20 | prefix='/home/plugins' | 20 | prefix='/home/plugins' |
21 | repository=${PWD##*/} | 21 | repository=${PWD##*/} |
22 | doc_repository='nagios-plugins.git' | 22 | doc_repository='monitoring-plugins.git' |
23 | doc_branch='master' | 23 | doc_branch='master' |
24 | 24 | ||
25 | if [ "$repository" = "$doc_repository" ] | 25 | if [ "$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 | ||
20 | prefix='/home/plugins' | 20 | prefix='/home/plugins' |
21 | repository=${PWD##*/} | 21 | repository=${PWD##*/} |
22 | web_repositories='nagios-plugins.git site.git' | 22 | web_repositories='monitoring-plugins.git site.git' |
23 | web_branch='master' | 23 | web_branch='master' |
24 | 24 | ||
25 | for web_repository in $web_repositories | 25 | for web_repository in $web_repositories |