summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-06-05 17:19:19 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-12-27 12:42:12 +0100
commit943b6bc9769a03e967f08d8b46bd975e2e8d2a20 (patch)
tree08c5a373cd26102a5a130754dbc14383c7f42f17 /conf
parentad17b9e2b4bebcf744129ed5a1a2c6e544d42739 (diff)
downloadaur-943b6bc9769a03e967f08d8b46bd975e2e8d2a20.tar.gz
aur-943b6bc9769a03e967f08d8b46bd975e2e8d2a20.tar.xz
Add update hook template
This adds a script that can be used as an update hook to check all commits for validity and to regenerate the package details page before updating a named ref. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/config.proto b/conf/config.proto
index 13cafe09..969164a9 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -36,4 +36,5 @@ ssh-options = no-port-forwarding,no-X11-forwarding,no-pty
[serve]
repo-base = /pub/git/
repo-regex = [a-z0-9][a-z0-9.+_-]*$
+git-update-hook = /srv/http/aur/scripts/git-integration/git-update.py
git-shell-cmd = /usr/bin/git-shell