gerrit.config 2.63 KB
Newer Older
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[gerrit]
	basePath = git
	canonicalWebUrl = https://review.typo3.org
	canonicalGitUrl = git://review.typo3.org
	reportBugText = Legal Info
	reportBugUrl = https://typo3.org/legal-notice/
	serverId = 7798dc65-df04-4128-aaa3-dc27bf14c709

[container]
	javaOptions = "-Dflogger.backend_factory=com.google.common.flogger.backend.log4j.Log4jBackendFactory#getInstance"
	javaOptions = "-Dflogger.logging_context=com.google.gerrit.server.logging.LoggingContext#getInstance"
	user = gerrit
	javaHome = /usr/lib/jvm/java-8-openjdk-amd64/jre

[database]
	type = mysql
	database = gerrit
	hostname = srv198.typo3.org
	username = gerrit
	poolMaxIdle = 8
	poolLimit = 36

[auth]
	type = LDAP
	gitBasicAuthPolicy = HTTP_LDAP
	; allowing anonymous access to Gerrit by explicitly setting the loginUrl
	loginUrl = login/
	cookieSecure = true
	gitBasicAuth = true

[ldap]
	server = ldaps://ldap.typo3.org
	username = cn=review.typo3.org,ou=services,dc=typo3,dc=org
	accountBase = ou=people,dc=typo3,dc=org
	accountPattern = (&(objectClass=inetOrgPerson)(uid=${username}))
	accountFullName = cn
	accountEmailAddress = mail
	groupBase = ou=people,dc=typo3,dc=org

[core]
	gitPackedLimit = 1g
	packedGitWindowSize = 16k
	packedGitOpenFiles = 1024

[noteDb "changes"]
	autoMigrate = true
    trial = false
    write = true
    read = true
    sequence = true
    primaryStorage = note db
    disableReviewDb = true

[receive]
	enableSignedPush = true

[gc]
	interval = 3 days
	startTime = 3:00

[index]
	type = LUCENE

[cache]
	directory = cache
[cache "web_sessions"]
	maxAge = 1 week

[httpd]
	listenUrl = proxy-https://*:8080/

[sshd]
	listenAddress = *:29418
	threads = 12

[sendemail]
	smtpServer = localhost
	from = Gerrit Code Review <gerrit_dontreply@typo3.org>
	includeDiff = true

[commitmessage]
	maxSubjectLength = 74
	maxLineLength = 74
	rejectTooLong = false

[commentlink "changeid"]
	match = (I[0-9a-f]{8,40})
	link = "#/q/$1"
[commentlink "forge-tracker"]
	match = " #(\\d+)"
	html = " <a href=\"https://forge.typo3.org/issues/$1\">#$1</a>"

[trackingid "forge-issue"]
	footer = Issue
	match = "#(\\d+)"
	system = Forge
[trackingid "forge-fix"]
	footer = Fixes
	match = "#(\\d+)"
	system = Forge
[trackingid "forge-task"]
	footer = Resolves
	match = "#(\\d+)"
	system = Forge
[trackingid "forge-relation"]
	footer = Related
	match = "#(\\d+)"
	system = Forge
[trackingid "forge-relation-i"]
	footer = Relates
	match = "#(\\d+)"
	system = Forge

[theme]
	topMenuColor = ffffff
	textColor = 000000

	; background for selected list items / table rows
	selectionColor = ffffcc

	; gray areas and borders of different boxes
	trimColor = aaaaaa

	; even table row numbers
	tableOddRowColor = f6f6f6