summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2015-01-08 19:28:34 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2015-01-11 18:44:01 +0100
commit4dbd562b8e5bf8d44a7a19b8e248b2b0e0295eb2 (patch)
tree54904534cca89bb06074799fdb16776534f6201d /conf
parentcb661cd971b7a219c33e24875d23afafc6a48334 (diff)
downloadaur-4dbd562b8e5bf8d44a7a19b8e248b2b0e0295eb2.tar.gz
aur-4dbd562b8e5bf8d44a7a19b8e248b2b0e0295eb2.tar.xz
Use custom templates for Git repositories
Do not waste disk space by copying dozens of unneeded sample hooks. Use a custom template directory that only includes the git-update hook. 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 a3b1640e..ac79bd6b 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -35,6 +35,7 @@ ssh-options = no-port-forwarding,no-X11-forwarding,no-pty
[serve]
repo-base = /srv/http/aur/repos/
repo-regex = [a-z0-9][a-z0-9.+_-]*$
+template-path = /srv/http/aur/scripts/git-integration/templates/
git-update-hook = /srv/http/aur/scripts/git-integration/git-update.py
git-shell-cmd = /usr/bin/git-shell
ssh-cmdline = ssh -p 2222 aur@aur.archlinux.org