mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
cb661cd971
commit
4dbd562b8e
5 changed files with 42 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue