summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-10-03 22:36:05 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-10-03 22:36:05 (GMT)
commit02fc9f14f76f8fb767c4ef0e1dc59676d0678c20 (patch)
treef3fa221d46b9281f1843c0eb38fc83a7c00a7f1a /libexec
parenta143ae580de0cf62e2de3d584cf615a7983031f3 (diff)
downloadsite-02fc9f14f76f8fb767c4ef0e1dc59676d0678c20.tar.gz
Add cgit URLs to commit notifications
Add links to our repository web interface to the commit notifications.
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/post-receive.d/01-mail-notify3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/post-receive.d/01-mail-notify b/libexec/post-receive.d/01-mail-notify
index d5e8b84..f3b4e77 100755
--- a/libexec/post-receive.d/01-mail-notify
+++ b/libexec/post-receive.d/01-mail-notify
@@ -21,7 +21,7 @@ prefix=$PWD # $GIT_DIR
21recipient='nagiosplug-checkins@lists.sourceforge.net' 21recipient='nagiosplug-checkins@lists.sourceforge.net'
22maxcommits=25 22maxcommits=25
23maxdiffsize=$((300 * 1024)) 23maxdiffsize=$((300 * 1024))
24gitweburl="FIXME" 24gitweburl='https://www.nagios-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"
@@ -33,6 +33,7 @@ exec "$gitnotify" \
33 -n "$maxcommits" \ 33 -n "$maxcommits" \
34 -s "$maxdiffsize" \ 34 -s "$maxdiffsize" \
35 -t "$statefile" \ 35 -t "$statefile" \
36 -u "$gitweburl" \
36 -A \ 37 -A \
37 -C \ 38 -C \
38 -T \ 39 -T \