config.proto 2.04 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
snapshot_uri = /cgit/aur.git/snapshot/%s.tar.gz
Lukas Fleischer's avatar
Lukas Fleischer committed
34
enable-maintenance = 1
35
maintenance-exceptions = 127.0.0.1
36

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

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

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

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

61
62
63
[update]
max-blob-size = 256000

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

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