From d746e0ab64c3543a634b246083c41125019bff63 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 22 Jan 2014 09:14:20 +0100 Subject: Git hooks: Use new project name 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(); # # FIXME: Turn this into a proper git-notify option. # -my $from = "Git Repository "; +my $from = "Git Repository "; # some parameters you may want to change 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 export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' prefix=$PWD # $GIT_DIR -recipient='commits@nagios-plugins.org' +recipient='commits@monitoring-plugins.org' maxcommits=25 maxdiffsize=$((300 * 1024)) -gitweburl='https://www.nagios-plugins.org/repositories' +gitweburl='https://www.monitoring-plugins.org/repositories' gitnotify='/home/plugins/libexec/git-notify' statedir="$prefix/info" 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' prefix='/home/plugins' repository=${PWD##*/} -snapshot_repository='nagios-plugins.git' +snapshot_repository='monitoring-plugins.git' snapshot_branches='maint master pu' 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' prefix='/home/plugins' repository=${PWD##*/} -doc_repository='nagios-plugins.git' +doc_repository='monitoring-plugins.git' doc_branch='master' 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' prefix='/home/plugins' repository=${PWD##*/} -web_repositories='nagios-plugins.git site.git' +web_repositories='monitoring-plugins.git site.git' web_branch='master' for web_repository in $web_repositories -- cgit v0.10-9-g596f