summaryrefslogtreecommitdiff
path: root/per-service/git-servers/files/gerrit/dev-private-review.linaro.org
blob: 1f9c794908b1694e9d90f24fafa58d2f0384e9f6 (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
[gerrit]
	basePath = /srv/repositories
	canonicalWebUrl = https://dev-private-review.linaro.org/
[database]
	type = postgresql
	hostname = localhost
	database = reviewdb
	username = private-git
[auth]
	type = HTTP_LDAP
	logoutUrl = https://login.linaro.org
	cookieSecure = true
[ldap]
	server = ldaps://login.linaro.org
	username = cn=git-private,ou=binders,dc=linaro,dc=org
	accountBase = ou=accounts,dc=linaro,dc=org
	groupBase = ou=groups,dc=linaro,dc=org
	referral = follow
	accountPattern = (mail=${username})
	accountSshUserName = uid
	accountEmailAddress = mail
	accountFullName = displayName
	groupScope = subtree
	groupMemberPattern = (memberUid=${uid})
[sendemail]
	smtpServer = localhost
        expiryDays = 15
        includeDiff = true
        maximumDiffSize = 512k
[container]
	user = private-git
	javaHome = /usr/lib/jvm/java-7-openjdk-amd64/jre
	heapLimit = 1500m
[sshd]
	listenAddress = *:29418
	idleTimeout = 5 min
	backend = NIO2
	loginGraceTime = 1 min
	batchThreads = 4
	maxAuthTries = 4
[httpd]
	listenUrl = proxy-https://*:8080/
[cache]
	directory = cache
[cache "web_session"]
	maxAge = 2 weeks
[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
[theme]
	selectionColor = FFFEAE
[user]
	name = Linaro Private Code Review
	email = review@dev-private-review.linaro.org
[core]
        streamFileThreshold = 512m
[gitweb]
        type = cgit
        url = https://dev-private-git.linaro.org
        revision = "/${project}.git/commit/?id=${commit}"
[site]
	enableDeprecatedQuery = false
[index]
	type = LUCENE