diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-01 22:58:39 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-01 23:24:52 +0200 |
commit | b44411fb5399f75939a57f0ccc8166d06fa8ba6f (patch) | |
tree | eaa23e8c411bbd8f433ac412f6a155d30278b765 /conf/config.proto | |
parent | ecfa27e406ebc5ff0d493f040f33426c565ded49 (diff) | |
download | aur-b44411fb5399f75939a57f0ccc8166d06fa8ba6f.tar.gz aur-b44411fb5399f75939a57f0ccc8166d06fa8ba6f.tar.xz |
Use gitnamespaces for efficient storage
Instead of using one Git repository per package, use a single large
object storage for space efficiency. The refs of the individual package
bases are divided using gitnamespaces(7) which allows for exposing each
namespace as an independent repository easily. Also, git-serve is
modified to create a branch for each package, allowing to browse the
large repository with cgit.
Helped-by: Florian Pritz <bluewind@xinu.at>
Helped-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf/config.proto')
-rw-r--r-- | conf/config.proto | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/config.proto b/conf/config.proto index 88f046dc..90b5bd5b 100644 --- a/conf/config.proto +++ b/conf/config.proto @@ -18,7 +18,7 @@ persistent_cookie_timeout = 2592000 max_filesize_uncompressed = 8388608 disable_http_login = 1 aur_location = https://aur.archlinux.org -cgit_uri = https://aur.archlinux.org/cgit/ +cgit_uri = https://aur.archlinux.org/cgit/aur.git git_clone_uri_anon = https://aur.archlinux.org/cgit/%s.git/ git_clone_uri_priv = ssh+git://aur@aur.archlinux.org/%s.git/ max_rpc_results = 5000 @@ -34,7 +34,7 @@ git-serve-cmd = /srv/http/aurweb/scripts/git-integration/git-serve.py ssh-options = no-port-forwarding,no-X11-forwarding,no-pty [serve] -repo-base = /srv/http/aurweb/repos/ +repo-path = /srv/http/aurweb/aur.git/ repo-regex = [a-z0-9][a-z0-9.+_-]*$ template-path = /srv/http/aurweb/scripts/git-integration/templates/ git-update-hook = /srv/http/aurweb/scripts/git-integration/git-update.py |