gerrit.config 2.09 KB
Newer Older
1
2
3
4
5
6
7
[gerrit]
	basePath = git
	canonicalWebUrl = https://review.typo3.org
	canonicalGitUrl = git://review.typo3.org
	serverId = 7798dc65-df04-4128-aaa3-dc27bf14c709

[container]
8
	javaOptions = -Djava.security.egd=file:/dev/./urandom
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
	user = gerrit

[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
35
36
37
38
39
40
	trial = false
	write = true
	read = true
	sequence = true
	primaryStorage = note db
	disableReviewDb = true
41
42
43
44
45
46

[receive]
	enableSignedPush = true

[gc]
	interval = 3 days
47
	startTime = 03:00
48
49
50
51
52
53
54
55
56
57
58

[index]
	type = LUCENE

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

[httpd]
	listenUrl = proxy-https://*:8080/
Stephan Großberndt's avatar
Stephan Großberndt committed
59
	robotsFile = etc/robots.txt
60
61
62
63
64

[sshd]
	listenAddress = *:29418
	threads = 12

65
66
67
[plugins]
    allowRemoteAdmin = false

68
[sendemail]
69
70
71
	smtpServer = mail.typo3.org
	smtpEncryption = ssl
	smtpUser = gerrit_dontreply@typo3.org
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
	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