gerrit.config 2.25 KB
Newer Older
1
2
3
4
5
6
7
8
9
[gerrit]
	basePath = git
	canonicalWebUrl = https://review.typo3.org
	canonicalGitUrl = git://review.typo3.org
	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"
10
	javaOptions = -Djava.security.egd=file:/dev/./urandom
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
	user = gerrit
	javaHome = /usr/lib/jvm/java-8-openjdk-amd64/jre

[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
50
	startTime = 03:00
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

[index]
	type = LUCENE

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

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

[sshd]
	listenAddress = *:29418
	threads = 12

[sendemail]
68
	smtpServer = mailrelay.typo3.org
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
	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