blob: 253e65bbca2e6ae53b2502f71903ded714cc39c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
[core]
streamFileThreshold = 512m
packedGitLimit = 1500m
[gerrit]
basePath = /srv/repositories
canonicalWebUrl = https://{{www_host}}/
serverId = {{gerrit_config_server_id}}
[ldap]
server = ldaps://login.linaro.org
username = cn=rhodecode,ou=binders,dc=linaro,dc=org
accountBase = ou=accounts,dc=linaro,dc=org
groupBase = ou=security,ou=groups,dc=linaro,dc=org
referral = follow
accountPattern = (mail=${username})
accountSshUserName = uid
accountEmailAddress = mail
accountFullName = displayName
groupScope = subtree
groupMemberPattern = (|(memberUid=${uid})(gidNumber=${gidNumber}))
[database]
type = postgresql
hostname = localhost
database = reviewdb
username = git
[auth]
type = LDAP
#openIdSsoUrl = https://login.linaro.org:8443/openidserver/op
#logOutUrl = https://login.linaro.org:8443/openidserver/logoff.action
[sendemail]
smtpServer = localhost
expiryDays = 15
includeDiff = true
maximumDiffSize = 512k
replyToAddress = review@review.linaro.org
{% if gerrit_config_dovecot_user is defined and gerrit_config_dovecot_password is defined %}
[receiveemail]
protocol = IMAP
host = localhost
username = {{ gerrit_config_dovecot_user }}
{% endif %}
[container]
user = git
javaHome = /usr/lib/jvm/java-8-openjdk-amd64/jre
heapLimit = 14000m
[sshd]
listenAddress = *:29418
idleTimeout = 5m
loginGraceTime = 1 min
batchThreads = 4
maxAuthTries = 4
backend = NIO2
[httpd]
listenUrl = proxy-https://127.0.0.1:8080/
[cache]
directory = cache
[cache "web_sessions"]
maxAge = 1 month
[cache "ldap_groups"]
maxAge = 2 weeks
[commentlink "bugzilla"]
match = "(bug\\s+#?)(\\d+)"
link = https://bugs.linaro.org/show_bug.cgi?id=$2
[download]
scheme = ssh
scheme = anon_http
[gitweb]
type = cgit
url = https://git.linaro.org
revision = "/${project}.git/commit/?id=${commit}"
# 2.10.6 Doesn't show revision link above if this is activated
#linkDrafts = false
[theme]
selectionColor = FFFEAE
[user]
name = Linaro Code Review
email = review@review.linaro.org
[site]
enableDeprecatedQuery = false
[commitmessage]
maxSubjectLength = 70
maxLineLength = 80
rejectTooLong = false
# https://code.google.com/p/gerrit/issues/detail?id=2296#c2
[receive]
checkReferencedObjectsAreReachable = false
[index]
type = LUCENE
[repository "*"]
defaultSubmitType = REBASE_IF_NECESSARY
[noteDb "changes"]
autoMigrate = true
[change]
allowDrafts = true
|