config.proto 2.16 KB
Newer Older
1
[database]
2
backend = mysql
3
4
5
6
7
8
9
10
11
host = localhost
socket = /var/run/mysqld/mysqld.sock
name = AUR
user = aur
password = aur

[options]
username_min_len = 3
username_max_len = 16
12
passwd_min_len = 8
13
default_lang = en
Mark Weiman's avatar
Mark Weiman committed
14
default_timezone = UTC
15
16
17
18
19
20
sql_debug = 0
max_sessions_per_user = 8
login_timeout = 7200
persistent_cookie_timeout = 2592000
max_filesize_uncompressed = 8388608
disable_http_login = 1
21
aur_location = https://aur.archlinux.org
22
git_clone_uri_anon = https://aur.archlinux.org/%s.git
23
git_clone_uri_priv = ssh://aur@aur.archlinux.org/%s.git
24
max_rpc_results = 5000
25
max_depends = 1000
26
27
aur_request_ml = aur-requests@archlinux.org
request_idle_time = 1209600
28
request_archive_time = 15552000
29
auto_orphan_age = 15552000
30
auto_delete_age = 86400
31
source_file_uri =  https://aur.archlinux.org/cgit/aur.git/tree/%s?h=%s
32
log_uri = https://aur.archlinux.org/cgit/aur.git/log/?h=%s
33
commit_uri = https://aur.archlinux.org/cgit/aur.git/commit/?h=%s&id=%s
34
snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
Lukas Fleischer's avatar
Lukas Fleischer committed
35
enable-maintenance = 1
36
maintenance-exceptions = 127.0.0.1
37
render-comment-cmd = /usr/local/bin/aurweb-rendercomment
38

39
[notifications]
40
notify-cmd = /usr/local/bin/aurweb-notify
41
42
43
44
sendmail = /usr/bin/sendmail
sender = notify@aur.archlinux.org
reply-to = noreply@aur.archlinux.org

45
46
47
48
49
[fingerprints]
Ed25519 = SHA256:HQ03dn6EasJHNDlt51KpQpFkT3yBX83x7BoIkA1iv2k
ECDSA = SHA256:L71Q91yHwmHPYYkJMDgj0xmUuw16qFOhJbBr1mzsiOI
RSA = SHA256:Ju+yWiMb/2O+gKQ9RJCDqvRg7l+Q95KFAeqM5sr6l2s

50
[auth]
Lukas Fleischer's avatar
Lukas Fleischer committed
51
valid-keytypes = ssh-rsa ssh-dss ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-ed25519
52
username-regex = [a-zA-Z0-9]+[.\-_]?[a-zA-Z0-9]+$
53
git-serve-cmd = /usr/local/bin/aurweb-git-serve
54
ssh-options = restrict
55
56

[serve]
57
repo-path = /srv/http/aurweb/aur.git/
58
59
repo-regex = [a-z0-9][a-z0-9.+_-]*$
git-shell-cmd = /usr/bin/git-shell
60
git-update-cmd = /usr/local/bin/aurweb-git-update
61
ssh-cmdline = ssh aur@aur.archlinux.org
Lukas Fleischer's avatar
Lukas Fleischer committed
62

63
64
65
[update]
max-blob-size = 256000

Lukas Fleischer's avatar
Lukas Fleischer committed
66
[aurblup]
Lukas Fleischer's avatar
Lukas Fleischer committed
67
db-path = /srv/http/aurweb/aurblup/
Lukas Fleischer's avatar
Lukas Fleischer committed
68
sync-dbs = core extra community multilib testing community-testing
69
server = ftp://mirrors.kernel.org/archlinux/%s/os/x86_64
70
71
72
73

[mkpkglists]
packagesfile = /srv/http/aurweb/web/html/packages.gz
pkgbasefile = /srv/http/aurweb/web/html/pkgbase.gz