aurweb/conf/cgitrc.proto
Lukas Fleischer b44411fb53 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>
2015-06-01 23:24:52 +02:00

31 lines
702 B
Protocol Buffer

virtual-root=/cgit/
clone-prefix=git+ssh://aur@aur.archlinux.org
noheader=0
logo=
css=/css/cgit.css
snapshots=tar.gz
readme=:README.md
readme=:README
enable-index-owner=0
enable-index-links=1
cache-root=/var/cache/cgit
cache-size=500000
cache-dynamic-ttl=15
cache-repo-ttl=15
cache-root-ttl=60
cache-scanrc-ttl=120
cache-static-ttl=60
root-title=AUR Package Repositories
root-desc=Web interface to the AUR Package Repositories
header=/srv/http/aurweb/web/template/cgit/header.html
footer=/srv/http/aurweb/web/template/cgit/footer.html
max-repodesc-length=50
max-blob-size=2048
max-stats=year
enable-http-clone=1
repo.url=aur.git
repo.path=/srv/http/aurweb/aur.git
repo.desc=AUR Package Repositories