commit | author | age
|
f98825
|
1 |
#
|
JM |
2 |
# Git Servlet Settings
|
|
3 |
#
|
|
4 |
|
b86562
|
5 |
# Base folder for repositories.
|
JM |
6 |
# This folder may contain bare and non-bare repositories but Gitblit will only
|
|
7 |
# allow you to push to bare repositories.
|
f98825
|
8 |
# Use forward slashes even on Windows!!
|
1f9dae
|
9 |
# e.g. c:/gitrepos
|
373a96
|
10 |
#
|
JM |
11 |
# SINCE 0.5.0
|
|
12 |
# RESTART REQUIRED
|
2a7306
|
13 |
git.repositoriesFolder = git
|
f98825
|
14 |
|
a125cf
|
15 |
# Search the repositories folder subfolders for other repositories.
|
JM |
16 |
# Repositories MAY NOT be nested (i.e. one repository within another)
|
|
17 |
# but they may be grouped together in subfolders.
|
1f9dae
|
18 |
# e.g. c:/gitrepos/libraries/mylibrary.git
|
a125cf
|
19 |
# c:/gitrepos/libraries/myotherlibrary.git
|
373a96
|
20 |
#
|
JM |
21 |
# SINCE 0.5.0
|
a125cf
|
22 |
git.searchRepositoriesSubfolders = true
|
f98825
|
23 |
|
85c2e6
|
24 |
# Allow push/pull over http/https with JGit servlet.
|
ed21d2
|
25 |
# If you do NOT want to allow Git clients to clone/push to Gitblit set this
|
JM |
26 |
# to false. You might want to do this if you are only using ssh:// or git://.
|
a3f474
|
27 |
# If you set this false, consider changing the *web.otherUrls* setting to
|
ed21d2
|
28 |
# indicate your clone/push urls.
|
373a96
|
29 |
#
|
JM |
30 |
# SINCE 0.5.0
|
85c2e6
|
31 |
git.enableGitServlet = true
|
JM |
32 |
|
b86562
|
33 |
# Only serve/display bare repositories.
|
JM |
34 |
# If there are non-bare repositories in git.repositoriesFolder and this setting
|
|
35 |
# is true, they will be excluded from the ui.
|
|
36 |
#
|
|
37 |
# SINCE 0.9.0
|
|
38 |
git.onlyAccessBareRepositories = false
|
|
39 |
|
f98825
|
40 |
#
|
fa54be
|
41 |
# Groovy Integration
|
JM |
42 |
#
|
|
43 |
|
|
44 |
# Location of Groovy scripts to use for Pre and Post receive hooks.
|
|
45 |
# Use forward slashes even on Windows!!
|
|
46 |
# e.g. c:/groovy
|
|
47 |
#
|
6cc1d4
|
48 |
# RESTART REQUIRED
|
fa54be
|
49 |
# SINCE 0.8.0
|
JM |
50 |
groovy.scriptsFolder = groovy
|
|
51 |
|
|
52 |
# Scripts to execute on Pre-Receive.
|
|
53 |
#
|
|
54 |
# These scripts execute after an incoming push has been parsed and validated
|
|
55 |
# but BEFORE the changes are applied to the repository. You might reject a
|
|
56 |
# push in this script based on the repository and branch the push is attempting
|
|
57 |
# to change.
|
|
58 |
#
|
6cc1d4
|
59 |
# Script names are case-sensitive on case-sensitive file systems. You may omit
|
JM |
60 |
# the traditional ".groovy" from this list if your file extension is ".groovy"
|
|
61 |
#
|
fa54be
|
62 |
# NOTE:
|
JM |
63 |
# These scripts are only executed when pushing to *Gitblit*, not to other Git
|
|
64 |
# tooling you may be using. Also note that these scripts are shared between
|
|
65 |
# repositories. These are NOT repository-specific scripts! Within the script
|
|
66 |
# you may customize the control-flow for a specific repository by checking the
|
|
67 |
# *repository* variable.
|
|
68 |
#
|
|
69 |
# SPACE-DELIMITED
|
6cc1d4
|
70 |
# CASE-SENSITIVE
|
fa54be
|
71 |
# SINCE 0.8.0
|
JM |
72 |
groovy.preReceiveScripts =
|
|
73 |
|
|
74 |
# Scripts to execute on Post-Receive.
|
|
75 |
#
|
|
76 |
# These scripts execute AFTER an incoming push has been applied to a repository.
|
|
77 |
# You might trigger a continuous-integration build here or send a notification.
|
6cc1d4
|
78 |
#
|
JM |
79 |
# Script names are case-sensitive on case-sensitive file systems. You may omit
|
|
80 |
# the traditional ".groovy" from this list if your file extension is ".groovy"
|
fa54be
|
81 |
#
|
JM |
82 |
# NOTE:
|
|
83 |
# These scripts are only executed when pushing to *Gitblit*, not to other Git
|
|
84 |
# tooling you may be using. Also note that these scripts are shared between
|
|
85 |
# repositories. These are NOT repository-specific scripts! Within the script
|
|
86 |
# you may customize the control-flow for a specific repository by checking the
|
|
87 |
# *repository* variable.
|
|
88 |
#
|
|
89 |
# SPACE-DELIMITED
|
6cc1d4
|
90 |
# CASE-SENSITIVE
|
fa54be
|
91 |
# SINCE 0.8.0
|
JM |
92 |
groovy.postReceiveScripts =
|
|
93 |
|
|
94 |
#
|
f98825
|
95 |
# Authentication Settings
|
JM |
96 |
#
|
|
97 |
|
|
98 |
# Require authentication to see everything but the admin pages
|
373a96
|
99 |
#
|
JM |
100 |
# SINCE 0.5.0
|
|
101 |
# RESTART REQUIRED
|
f98825
|
102 |
web.authenticateViewPages = false
|
JM |
103 |
|
|
104 |
# Require admin authentication for the admin functions and pages
|
373a96
|
105 |
#
|
JM |
106 |
# SINCE 0.5.0
|
|
107 |
# RESTART REQUIRED
|
f98825
|
108 |
web.authenticateAdminPages = true
|
JM |
109 |
|
85c2e6
|
110 |
# Allow Gitblit to store a cookie in the user's browser for automatic
|
JM |
111 |
# authentication. The cookie is generated by the user service.
|
373a96
|
112 |
#
|
JM |
113 |
# SINCE 0.5.0
|
85c2e6
|
114 |
web.allowCookieAuthentication = true
|
JM |
115 |
|
93f472
|
116 |
# Either the full path to a user config file (users.conf)
|
JM |
117 |
# OR the full path to a simple user properties file (users.properties)
|
85c2e6
|
118 |
# OR a fully qualified class name that implements the IUserService interface.
|
6e15cb
|
119 |
#
|
JM |
120 |
# Alternative user services:
|
|
121 |
# com.gitblit.LdapUserService
|
|
122 |
#
|
|
123 |
# Any custom user service implementation must have a public default constructor.
|
373a96
|
124 |
#
|
JM |
125 |
# SINCE 0.5.0
|
|
126 |
# RESTART REQUIRED
|
93f472
|
127 |
realm.userService = users.conf
|
f98825
|
128 |
|
JM |
129 |
# How to store passwords.
|
d5623a
|
130 |
# Valid values are plain, md5, or combined-md5. md5 is the hash of password.
|
JM |
131 |
# combined-md5 is the hash of username.toLowerCase()+password.
|
|
132 |
# Default is md5.
|
373a96
|
133 |
#
|
JM |
134 |
# SINCE 0.5.0
|
f98825
|
135 |
realm.passwordStorage = md5
|
JM |
136 |
|
a098da
|
137 |
# Minimum valid length for a plain text password.
|
373a96
|
138 |
# Default value is 5. Absolute minimum is 4.
|
JM |
139 |
#
|
|
140 |
# SINCE 0.5.0
|
a098da
|
141 |
realm.minPasswordLength = 5
|
JM |
142 |
|
6cca86
|
143 |
# URL of the LDAP server.
|
JM |
144 |
#
|
|
145 |
# SINCE 1.0.0
|
6f0d84
|
146 |
realm.ldap.server = ldap://localhost
|
6cca86
|
147 |
|
JM |
148 |
# Login username for LDAP searches.
|
6e15cb
|
149 |
# If this value is unspecified, anonymous LDAP login will be used.
|
6cca86
|
150 |
#
|
JM |
151 |
# e.g. mydomain\\username
|
|
152 |
#
|
|
153 |
# SINCE 1.0.0
|
6f0d84
|
154 |
realm.ldap.username = cn=Directory Manager
|
6cca86
|
155 |
|
JM |
156 |
# Login password for LDAP searches.
|
|
157 |
#
|
|
158 |
# SINCE 1.0.0
|
6f0d84
|
159 |
realm.ldap.password = password
|
6cca86
|
160 |
|
JM |
161 |
# The LdapUserService must be backed by another user service for standard user
|
|
162 |
# and team management.
|
|
163 |
# default: users.conf
|
|
164 |
#
|
|
165 |
# SINCE 1.0.0
|
|
166 |
# RESTART REQUIRED
|
|
167 |
realm.ldap.backingUserService = users.conf
|
|
168 |
|
|
169 |
# Delegate team membership control to LDAP.
|
|
170 |
#
|
|
171 |
# If true, team user memberships will be specified by LDAP groups. This will
|
|
172 |
# disable team selection in Edit User and user selection in Edit Team.
|
|
173 |
#
|
|
174 |
# If false, LDAP will only be used for authentication and Gitblit will maintain
|
|
175 |
# team memberships with the *realm.ldap.backingUserService*.
|
|
176 |
#
|
|
177 |
# SINCE 1.0.0
|
|
178 |
realm.ldap.maintainTeams = false
|
|
179 |
|
6e15cb
|
180 |
# Root node for all LDAP users
|
f3b625
|
181 |
#
|
6e15cb
|
182 |
# This is the root node from which subtree user searches will begin.
|
JM |
183 |
# If blank, Gitblit will search ALL nodes.
|
f3b625
|
184 |
#
|
JC |
185 |
# SINCE 1.0.0
|
6f0d84
|
186 |
realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
|
f3b625
|
187 |
|
6e15cb
|
188 |
# Filter criteria for LDAP users
|
f3b625
|
189 |
#
|
JC |
190 |
# Query pattern to use when searching for a user account. This may be any valid
|
6e15cb
|
191 |
# LDAP query expression, including the standard (&) and (|) operators.
|
JM |
192 |
#
|
|
193 |
# Variables may be injected via the ${variableName} syntax.
|
|
194 |
# Recognized variables are:
|
6f0d84
|
195 |
# ${username} - The text entered as the user name
|
f3b625
|
196 |
#
|
JC |
197 |
# SINCE 1.0.0
|
|
198 |
realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
|
|
199 |
|
6e15cb
|
200 |
# Root node for all LDAP groups to be used as Gitblit Teams
|
f3b625
|
201 |
#
|
6e15cb
|
202 |
# This is the root node from which subtree team searches will begin.
|
JM |
203 |
# If blank, Gitblit will search ALL nodes.
|
f3b625
|
204 |
#
|
JC |
205 |
# SINCE 1.0.0
|
6f0d84
|
206 |
realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
|
f3b625
|
207 |
|
6e15cb
|
208 |
# Filter criteria for LDAP groups
|
f3b625
|
209 |
#
|
JC |
210 |
# Query pattern to use when searching for a team. This may be any valid
|
6e15cb
|
211 |
# LDAP query expression, including the standard (&) and (|) operators.
|
JM |
212 |
#
|
|
213 |
# Variables may be injected via the ${variableName} syntax.
|
|
214 |
# Recognized variables are:
|
6f0d84
|
215 |
# ${username} - The text entered as the user name
|
JC |
216 |
# ${dn} - The Distinguished Name of the user logged in
|
6e15cb
|
217 |
#
|
JM |
218 |
# All attributes from the LDAP User record are available. For example, if a user
|
|
219 |
# has an attribute "fullName" set to "John", "(fn=${fullName})" will be
|
|
220 |
# translated to "(fn=John)".
|
f3b625
|
221 |
#
|
JC |
222 |
# SINCE 1.0.0
|
|
223 |
realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
|
|
224 |
|
6e15cb
|
225 |
# LDAP users or groups that should be given administrator privileges.
|
f3b625
|
226 |
#
|
6e15cb
|
227 |
# Teams are specified with a leading '@' character. Groups with spaces in the
|
JM |
228 |
# name can be entered as "@team name".
|
f3b625
|
229 |
#
|
6e15cb
|
230 |
# e.g. realm.ldap.admins = john @git_admins "@git admins"
|
JM |
231 |
#
|
|
232 |
# SPACE-DELIMITED
|
f3b625
|
233 |
# SINCE 1.0.0
|
JC |
234 |
realm.ldap.admins= @Git_Admins
|
|
235 |
|
7e0ce4
|
236 |
# Attribute(s) on the USER record that indicate their display (or full) name. Leave blank
|
JC |
237 |
# for no mapping available in LDAP
|
|
238 |
#
|
|
239 |
# This may be a single attribute, or a string of multiple attributes. Examples:
|
|
240 |
# displayName - Uses the attribute 'displayName' on the user record
|
|
241 |
# ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3
|
|
242 |
# attributes together, with a '.' after personalTitle
|
|
243 |
#
|
|
244 |
# SINCE 1.0.0
|
|
245 |
realm.ldap.displayName= displayName
|
|
246 |
|
|
247 |
# Attribute(s) on the USER record that indicate their email address. Leave blank
|
|
248 |
# for no mapping available in LDAP
|
|
249 |
#
|
|
250 |
# This may be a single attribute, or a string of multiple attributes. Examples:
|
|
251 |
# email - Uses the attribute 'email' on the user record
|
|
252 |
# ${givenName}.${surname}@gitblit.com -Will concatenate the 2 attributes
|
|
253 |
# together with a '.' and '@' creating something like first.last@gitblit.com
|
|
254 |
#
|
|
255 |
# SINCE 1.0.0
|
|
256 |
realm.ldap.email = email
|
|
257 |
|
f98825
|
258 |
#
|
f13c4c
|
259 |
# Gitblit Web Settings
|
f98825
|
260 |
#
|
f13c4c
|
261 |
# If blank Gitblit is displayed.
|
373a96
|
262 |
#
|
JM |
263 |
# SINCE 0.5.0
|
f98825
|
264 |
web.siteName =
|
JM |
265 |
|
a3f474
|
266 |
# If *web.authenticateAdminPages*=true, users with "admin" role can create
|
1f9dae
|
267 |
# repositories, create users, and edit repository metadata.
|
f98825
|
268 |
#
|
a3f474
|
269 |
# If *web.authenticateAdminPages*=false, any user can execute the aforementioned
|
373a96
|
270 |
# functions.
|
JM |
271 |
#
|
|
272 |
# SINCE 0.5.0
|
f98825
|
273 |
web.allowAdministration = true
|
JM |
274 |
|
cd8f9d
|
275 |
# Allows rpc clients to list repositories and possibly manage or administer the
|
JM |
276 |
# Gitblit server, if the authenticated account has administrator permissions.
|
|
277 |
# See *web.enableRpcManagement* and *web.enableRpcAdministration*.
|
93f0b1
|
278 |
#
|
13b838
|
279 |
# SINCE 0.7.0
|
841651
|
280 |
web.enableRpcServlet = true
|
JM |
281 |
|
cd8f9d
|
282 |
# Allows rpc clients to manage repositories and users of the Gitblit instance,
|
d03aff
|
283 |
# if the authenticated account has administrator permissions.
|
JM |
284 |
# Requires *web.enableRpcServlet=true*.
|
|
285 |
#
|
|
286 |
# SINCE 0.7.0
|
|
287 |
web.enableRpcManagement = false
|
|
288 |
|
cd8f9d
|
289 |
# Allows rpc clients to control the server settings and monitor the health of this
|
JM |
290 |
# this Gitblit instance, if the authenticated account has administrator permissions.
|
d03aff
|
291 |
# Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
|
841651
|
292 |
#
|
13b838
|
293 |
# SINCE 0.7.0
|
841651
|
294 |
web.enableRpcAdministration = false
|
93f0b1
|
295 |
|
9dcd53
|
296 |
# Allow Gravatar images to be displayed in Gitblit pages.
|
JM |
297 |
#
|
|
298 |
# SINCE 0.8.0
|
|
299 |
web.allowGravatar = true
|
|
300 |
|
373a96
|
301 |
# Allow dynamic zip downloads.
|
JM |
302 |
#
|
|
303 |
# SINCE 0.5.0
|
9197d3
|
304 |
web.allowZipDownloads = true
|
JM |
305 |
|
7db092
|
306 |
# Allow optional Lucene integration. Lucene indexing is an opt-in feature.
|
JM |
307 |
# A repository may specify branches to index with Lucene instead of using Git
|
|
308 |
# commit traversal. There are scenarios where you may want to completely disable
|
|
309 |
# Lucene indexing despite a repository specifying indexed branches. One such
|
|
310 |
# scenario is on a resource-constrained federated Gitblit mirror.
|
|
311 |
#
|
|
312 |
# SINCE 0.9.0
|
|
313 |
web.allowLuceneIndexing = true
|
|
314 |
|
3b6904
|
315 |
# Use Clippy (Flash solution) to provide a copy-to-clipboard button.
|
JM |
316 |
# If false, a button with a more primitive JavaScript-based prompt box will
|
|
317 |
# offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
|
|
318 |
#
|
|
319 |
# SINCE 0.8.0
|
|
320 |
web.allowFlashCopyToClipboard = true
|
|
321 |
|
85c2e6
|
322 |
# Default number of entries to include in RSS Syndication links
|
373a96
|
323 |
#
|
JM |
324 |
# SINCE 0.5.0
|
c22722
|
325 |
web.syndicationEntries = 25
|
JM |
326 |
|
5c2841
|
327 |
# Show the size of each repository on the repositories page.
|
JM |
328 |
# This requires recursive traversal of each repository folder. This may be
|
|
329 |
# non-performant on some operating systems and/or filesystems.
|
|
330 |
#
|
|
331 |
# SINCE 0.5.2
|
|
332 |
web.showRepositorySizes = true
|
|
333 |
|
31bcbe
|
334 |
# List of custom regex expressions that can be displayed in the Filters menu
|
JM |
335 |
# of the Repositories and Activity pages. Keep them very simple because you
|
|
336 |
# are likely to run into encoding issues if they are too complex.
|
|
337 |
#
|
|
338 |
# Use !!! to separate the filters
|
|
339 |
#
|
|
340 |
# SINCE 0.8.0
|
|
341 |
web.customFilters =
|
|
342 |
|
831469
|
343 |
# Show federation registrations (without token) and the current pull status
|
JM |
344 |
# to non-administrator users.
|
|
345 |
#
|
|
346 |
# SINCE 0.6.0
|
|
347 |
web.showFederationRegistrations = false
|
|
348 |
|
8c5d72
|
349 |
# This is the message displayed when *web.authenticateViewPages=true*.
|
JM |
350 |
# This can point to a file with Markdown content.
|
|
351 |
# Specifying "gitblit" uses the internal login message.
|
|
352 |
#
|
70b492
|
353 |
# SINCE 0.7.0
|
8c5d72
|
354 |
web.loginMessage = gitblit
|
JM |
355 |
|
|
356 |
# This is the message displayed above the repositories table.
|
f98825
|
357 |
# This can point to a file with Markdown content.
|
JM |
358 |
# Specifying "gitblit" uses the internal welcome message.
|
373a96
|
359 |
#
|
JM |
360 |
# SINCE 0.5.0
|
f98825
|
361 |
web.repositoriesMessage = gitblit
|
JM |
362 |
|
6c6e7d
|
363 |
# Manually set the default timezone to be used by Gitblit for display in the
|
JM |
364 |
# web ui. This value is independent of the JVM timezone. Specifying a blank
|
|
365 |
# value will default to the JVM timezone.
|
|
366 |
# e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
|
|
367 |
#
|
|
368 |
# SINCE 0.9.0
|
|
369 |
# RESTART REQUIRED
|
|
370 |
web.timezone =
|
|
371 |
|
f98825
|
372 |
# Use the client timezone when formatting dates.
|
85c2e6
|
373 |
# This uses AJAX to determine the browser's timezone and may require more
|
JM |
374 |
# server overhead because a Wicket session is created. All Gitblit pages
|
|
375 |
# attempt to be stateless, if possible.
|
373a96
|
376 |
#
|
JM |
377 |
# SINCE 0.5.0
|
|
378 |
# RESTART REQUIRED
|
f98825
|
379 |
web.useClientTimezone = false
|
JM |
380 |
|
6e6f9f
|
381 |
# Time format
|
JM |
382 |
# <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
|
|
383 |
#
|
|
384 |
# SINCE 0.8.0
|
|
385 |
web.timeFormat = HH:mm
|
|
386 |
|
a3f474
|
387 |
# Short date format
|
JM |
388 |
# <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
|
373a96
|
389 |
#
|
JM |
390 |
# SINCE 0.5.0
|
f98825
|
391 |
web.datestampShortFormat = yyyy-MM-dd
|
6e6f9f
|
392 |
|
JM |
393 |
# Long date format
|
|
394 |
#
|
|
395 |
# SINCE 0.8.0
|
|
396 |
web.datestampLongFormat = EEEE, MMMM d, yyyy
|
a3f474
|
397 |
|
JM |
398 |
# Long timestamp format
|
|
399 |
# <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
|
|
400 |
#
|
|
401 |
# SINCE 0.5.0
|
a4ed6d
|
402 |
web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
|
f98825
|
403 |
|
a3f474
|
404 |
# Mount URL parameters
|
JM |
405 |
# This setting controls if pretty or parameter URLs are used.
|
|
406 |
# i.e.
|
7e5ee5
|
407 |
# if true:
|
JM |
408 |
# http://localhost/commit/myrepo/abcdef
|
|
409 |
# if false:
|
|
410 |
# http://localhost/commit/?r=myrepo&h=abcdef
|
373a96
|
411 |
#
|
JM |
412 |
# SINCE 0.5.0
|
|
413 |
# RESTART REQUIRED
|
b01ca0
|
414 |
web.mountParameters = true
|
JM |
415 |
|
7e5ee5
|
416 |
# Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
|
JM |
417 |
# in URLs as a security precaution for proxies. This setting tells Gitblit
|
|
418 |
# to preemptively replace '/' with '*' or '!' for url string parameters.
|
|
419 |
#
|
|
420 |
# <https://issues.apache.org/jira/browse/WICKET-1303>
|
486ee1
|
421 |
# <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
|
3cc6e2
|
422 |
# Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
|
JM |
423 |
# *CATALINA_OPTS* or to your JVM launch parameters
|
7e5ee5
|
424 |
#
|
JM |
425 |
# SINCE 0.5.2
|
|
426 |
web.forwardSlashCharacter = /
|
|
427 |
|
17c417
|
428 |
# Show other URLs on the summary page for accessing your git repositories
|
JM |
429 |
# Use spaces to separate urls. {0} is the token for the repository name.
|
1f9dae
|
430 |
# e.g.
|
17c417
|
431 |
# web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0}
|
373a96
|
432 |
#
|
JM |
433 |
# SINCE 0.5.0
|
17c417
|
434 |
web.otherUrls =
|
JM |
435 |
|
00afd7
|
436 |
# Choose how to present the repositories list.
|
1f9dae
|
437 |
# grouped = group nested/subfolder repositories together (no sorting)
|
JM |
438 |
# flat = flat list of repositories (sorting allowed)
|
373a96
|
439 |
#
|
JM |
440 |
# SINCE 0.5.0
|
a4d249
|
441 |
web.repositoryListType = grouped
|
00afd7
|
442 |
|
JM |
443 |
# If using a grouped repository list and there are repositories at the
|
|
444 |
# root level of your repositories folder, you may specify the displayed
|
|
445 |
# group name with this setting. This value is only used for web presentation.
|
373a96
|
446 |
#
|
JM |
447 |
# SINCE 0.5.0
|
00afd7
|
448 |
web.repositoryRootGroupName = main
|
JM |
449 |
|
309c55
|
450 |
# Display the repository swatch color next to the repository name link in the
|
JM |
451 |
# repositories list.
|
|
452 |
#
|
|
453 |
# SINCE 0.8.0
|
|
454 |
web.repositoryListSwatches = true
|
|
455 |
|
f98825
|
456 |
# Choose the diff presentation style: gitblt, gitweb, or plain
|
373a96
|
457 |
#
|
JM |
458 |
# SINCE 0.5.0
|
f98825
|
459 |
web.diffStyle = gitblit
|
JM |
460 |
|
|
461 |
# Control if email addresses are shown in web ui
|
373a96
|
462 |
#
|
JM |
463 |
# SINCE 0.5.0
|
f98825
|
464 |
web.showEmailAddresses = true
|
JM |
465 |
|
|
466 |
# Shows a combobox in the page links header with commit, committer, and author
|
|
467 |
# search selection. Default search is commit.
|
373a96
|
468 |
#
|
JM |
469 |
# SINCE 0.5.0
|
f98825
|
470 |
web.showSearchTypeSelection = false
|
JM |
471 |
|
|
472 |
# Generates a line graph of repository activity over time on the Summary page.
|
373a96
|
473 |
# This uses the Google Charts API.
|
JM |
474 |
#
|
|
475 |
# SINCE 0.5.0
|
f98825
|
476 |
web.generateActivityGraph = true
|
JM |
477 |
|
6e6f9f
|
478 |
# The number of days to show on the activity page.
|
JM |
479 |
# Value must exceed 0 else default of 14 is used
|
|
480 |
#
|
|
481 |
# SINCE 0.8.0
|
|
482 |
web.activityDuration = 14
|
|
483 |
|
f98825
|
484 |
# The number of commits to display on the summary page
|
JM |
485 |
# Value must exceed 0 else default of 20 is used
|
373a96
|
486 |
#
|
JM |
487 |
# SINCE 0.5.0
|
f98825
|
488 |
web.summaryCommitCount = 16
|
JM |
489 |
|
85c2e6
|
490 |
# The number of tags/branches to display on the summary page.
|
JM |
491 |
# -1 = all tags/branches
|
|
492 |
# 0 = hide tags/branches
|
|
493 |
# N = N tags/branches
|
373a96
|
494 |
#
|
JM |
495 |
# SINCE 0.5.0
|
f98825
|
496 |
web.summaryRefsCount = 5
|
JM |
497 |
|
|
498 |
# The number of items to show on a page before showing the first, prev, next
|
|
499 |
# pagination links. A default if 50 is used for any invalid value.
|
373a96
|
500 |
#
|
JM |
501 |
# SINCE 0.5.0
|
f98825
|
502 |
web.itemsPerPage = 50
|
JM |
503 |
|
f1d2ad
|
504 |
# Registered file extensions to ignore during Lucene indexing
|
JM |
505 |
#
|
|
506 |
# SPACE-DELIMITED
|
|
507 |
# SINCE 0.9.0
|
|
508 |
web.luceneIgnoreExtensions = 7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt png so swf xcf xls xlsx zip
|
|
509 |
|
f98825
|
510 |
# Registered extensions for google-code-prettify
|
373a96
|
511 |
#
|
8f73a7
|
512 |
# SPACE-DELIMITED
|
373a96
|
513 |
# SINCE 0.5.0
|
f98825
|
514 |
web.prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb
|
JM |
515 |
|
|
516 |
# Registered extensions for markdown transformation
|
373a96
|
517 |
#
|
8f73a7
|
518 |
# SPACE-DELIMITED
|
373a96
|
519 |
# CASE-SENSITIVE
|
JM |
520 |
# SINCE 0.5.0
|
1f9dae
|
521 |
web.markdownExtensions = md mkd markdown MD MKD
|
f98825
|
522 |
|
JM |
523 |
# Image extensions
|
373a96
|
524 |
#
|
8f73a7
|
525 |
# SPACE-DELIMITED
|
373a96
|
526 |
# SINCE 0.5.0
|
f98825
|
527 |
web.imageExtensions = bmp jpg gif png
|
JM |
528 |
|
|
529 |
# Registered extensions for binary blobs
|
373a96
|
530 |
#
|
8f73a7
|
531 |
# SPACE-DELIMITED
|
373a96
|
532 |
# SINCE 0.5.0
|
f98825
|
533 |
web.binaryExtensions = jar pdf tar.gz zip
|
JM |
534 |
|
|
535 |
# Aggressive heap management will run the garbage collector on every generated
|
1f9dae
|
536 |
# page. This slows down page generation a little but improves heap consumption.
|
373a96
|
537 |
#
|
JM |
538 |
# SINCE 0.5.0
|
85c2e6
|
539 |
web.aggressiveHeapManagement = false
|
f98825
|
540 |
|
JM |
541 |
# Run the webapp in debug mode
|
373a96
|
542 |
#
|
JM |
543 |
# SINCE 0.5.0
|
|
544 |
# RESTART REQUIRED
|
f98825
|
545 |
web.debugMode = false
|
JM |
546 |
|
|
547 |
# Enable/disable global regex substitutions (i.e. shared across repositories)
|
373a96
|
548 |
#
|
JM |
549 |
# SINCE 0.5.0
|
f98825
|
550 |
regex.global = true
|
JM |
551 |
|
|
552 |
# Example global regex substitutions
|
|
553 |
# Use !!! to separate the search pattern and the replace pattern
|
|
554 |
# searchpattern!!!replacepattern
|
fc42a5
|
555 |
# SINCE 0.5.0
|
5450d0
|
556 |
regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
|
fc42a5
|
557 |
# SINCE 0.5.0
|
5450d0
|
558 |
regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
|
f98825
|
559 |
|
JM |
560 |
# Example per-repository regex substitutions overrides global
|
fc42a5
|
561 |
# SINCE 0.5.0
|
5450d0
|
562 |
regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
|
f98825
|
563 |
|
JM |
564 |
#
|
831469
|
565 |
# Mail Settings
|
JM |
566 |
# SINCE 0.6.0
|
|
567 |
#
|
|
568 |
# Mail settings are used to notify administrators of received federation proposals
|
|
569 |
#
|
|
570 |
|
|
571 |
# ip or hostname of smtp server
|
|
572 |
#
|
|
573 |
# SINCE 0.6.0
|
|
574 |
mail.server =
|
|
575 |
|
|
576 |
# port to use for smtp requests
|
|
577 |
#
|
|
578 |
# SINCE 0.6.0
|
|
579 |
mail.port = 25
|
|
580 |
|
|
581 |
# debug the mail executor
|
|
582 |
#
|
|
583 |
# SINCE 0.6.0
|
|
584 |
mail.debug = false
|
|
585 |
|
|
586 |
# if your smtp server requires authentication, supply the credentials here
|
|
587 |
#
|
|
588 |
# SINCE 0.6.0
|
|
589 |
mail.username =
|
fc42a5
|
590 |
# SINCE 0.6.0
|
831469
|
591 |
mail.password =
|
JM |
592 |
|
|
593 |
# from address for generated emails
|
|
594 |
#
|
|
595 |
# SINCE 0.6.0
|
|
596 |
mail.fromAddress =
|
|
597 |
|
8f73a7
|
598 |
# List of email addresses for the Gitblit administrators
|
831469
|
599 |
#
|
8f73a7
|
600 |
# SPACE-DELIMITED
|
831469
|
601 |
# SINCE 0.6.0
|
JM |
602 |
mail.adminAddresses =
|
|
603 |
|
9fd38c
|
604 |
# List of email addresses for sending push email notifications.
|
fa54be
|
605 |
#
|
JM |
606 |
# This key currently requires use of the sendemail.groovy hook script.
|
|
607 |
# If you set sendemail.groovy in *groovy.postReceiveScripts* then email
|
9fd38c
|
608 |
# notifications for all repositories (regardless of access restrictions!)
|
fa54be
|
609 |
# will be sent to these addresses.
|
JM |
610 |
#
|
|
611 |
# SPACE-DELIMITED
|
|
612 |
# SINCE 0.8.0
|
|
613 |
mail.mailingLists =
|
|
614 |
|
831469
|
615 |
#
|
JM |
616 |
# Federation Settings
|
|
617 |
# SINCE 0.6.0
|
|
618 |
#
|
|
619 |
# A Gitblit federation is a way to backup one Gitblit instance to another.
|
|
620 |
#
|
|
621 |
# *git.enableGitServlet* must be true to use this feature.
|
|
622 |
|
2c32fd
|
623 |
# Your federation name is used for federation status acknowledgments. If it is
|
JM |
624 |
# unset, and you elect to send a status acknowledgment, your Gitblit instance
|
|
625 |
# will be identified by its hostname, if available, else your internal ip address.
|
|
626 |
# The source Gitblit instance will also append your external IP address to your
|
|
627 |
# identification to differentiate multiple pulling systems behind a single proxy.
|
831469
|
628 |
#
|
2c32fd
|
629 |
# SINCE 0.6.0
|
JM |
630 |
federation.name =
|
|
631 |
|
|
632 |
# Specify the passphrase of this Gitblit instance.
|
|
633 |
#
|
|
634 |
# An unspecified (empty) passphrase disables processing federation requests.
|
|
635 |
#
|
|
636 |
# This value can be anything you want: an integer, a sentence, an haiku, etc.
|
|
637 |
# Keep the value simple, though, to avoid Java properties file encoding issues.
|
|
638 |
#
|
|
639 |
# Changing your passphrase will break any registrations you have established with other
|
|
640 |
# Gitblit instances.
|
|
641 |
#
|
|
642 |
# CASE-SENSITIVE
|
|
643 |
# SINCE 0.6.0
|
8f73a7
|
644 |
# RESTART REQUIRED *(only to enable or disable federation)*
|
2c32fd
|
645 |
federation.passphrase =
|
JM |
646 |
|
831469
|
647 |
# Control whether or not this Gitblit instance can receive federation proposals
|
JM |
648 |
# from another Gitblit instance. Registering a federated Gitblit is a manual
|
|
649 |
# process. Proposals help to simplify that process by allowing a remote Gitblit
|
|
650 |
# instance to send your Gitblit instance the federation pull data.
|
|
651 |
#
|
|
652 |
# SINCE 0.6.0
|
|
653 |
federation.allowProposals = false
|
|
654 |
|
|
655 |
# The destination folder for cached federation proposals.
|
|
656 |
# Use forward slashes even on Windows!!
|
|
657 |
#
|
|
658 |
# SINCE 0.6.0
|
|
659 |
federation.proposalsFolder = proposals
|
|
660 |
|
|
661 |
# The default pull frequency if frequency is unspecified on a registration
|
|
662 |
#
|
|
663 |
# SINCE 0.6.0
|
|
664 |
federation.defaultFrequency = 60 mins
|
|
665 |
|
8f73a7
|
666 |
# Federation Sets are named groups of repositories. The Federation Sets are
|
JM |
667 |
# available for selection in the repository settings page. You can assign a
|
|
668 |
# repository to one or more sets and then distribute the token for the set.
|
|
669 |
# This allows you to grant federation pull access to a subset of your available
|
|
670 |
# repositories. Tokens for federation sets only grant repository pull access.
|
|
671 |
#
|
|
672 |
# SPACE-DELIMITED
|
|
673 |
# CASE-SENSITIVE
|
|
674 |
# SINCE 0.6.0
|
|
675 |
federation.sets =
|
|
676 |
|
831469
|
677 |
# Federation pull registrations
|
JM |
678 |
# Registrations are read once, at startup.
|
|
679 |
#
|
|
680 |
# RESTART REQUIRED
|
|
681 |
#
|
|
682 |
# frequency:
|
|
683 |
# The shortest frequency allowed is every 5 minutes
|
|
684 |
# Decimal frequency values are cast to integers
|
|
685 |
# Frequency values may be specified in mins, hours, or days
|
8f73a7
|
686 |
# Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
|
831469
|
687 |
#
|
JM |
688 |
# folder:
|
8f73a7
|
689 |
# if unspecified, the folder is *git.repositoriesFolder*
|
831469
|
690 |
# if specified, the folder is relative to *git.repositoriesFolder*
|
JM |
691 |
#
|
b083f5
|
692 |
# bare:
|
JM |
693 |
# if true, each repository will be created as a *bare* repository and will not
|
|
694 |
# have a working directory.
|
|
695 |
#
|
|
696 |
# if false, each repository will be created as a normal repository suitable
|
|
697 |
# for local work.
|
|
698 |
#
|
2548a7
|
699 |
# mirror:
|
JM |
700 |
# if true, each repository HEAD is reset to *origin/master* after each pull.
|
|
701 |
# The repository will be flagged *isFrozen* after the initial clone.
|
|
702 |
#
|
|
703 |
# if false, each repository HEAD will point to the FETCH_HEAD of the initial
|
|
704 |
# clone from the origin until pushed to or otherwise manipulated.
|
|
705 |
#
|
831469
|
706 |
# mergeAccounts:
|
JM |
707 |
# if true, remote accounts and their permissions are merged into your
|
|
708 |
# users.properties file
|
|
709 |
#
|
|
710 |
# notifyOnError:
|
|
711 |
# if true and the mail configuration is properly set, administrators will be
|
|
712 |
# notified by email of pull failures
|
|
713 |
#
|
|
714 |
# include and exclude:
|
8f73a7
|
715 |
# Space-delimited list of repositories to include or exclude from pull
|
831469
|
716 |
# may be * wildcard to include or exclude all
|
JM |
717 |
# may use fuzzy match (e.g. org.eclipse.*)
|
|
718 |
|
|
719 |
#
|
|
720 |
# (Nearly) Perfect Mirror example
|
|
721 |
#
|
|
722 |
|
|
723 |
#federation.example1.url = https://go.gitblit.com
|
|
724 |
#federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
|
|
725 |
#federation.example1.frequency = 120 mins
|
2548a7
|
726 |
#federation.example1.folder =
|
f6740d
|
727 |
#federation.example1.bare = true
|
2548a7
|
728 |
#federation.example1.mirror = true
|
831469
|
729 |
#federation.example1.mergeAccounts = true
|
JM |
730 |
|
|
731 |
#
|
f98825
|
732 |
# Server Settings
|
JM |
733 |
#
|
1f9dae
|
734 |
|
373a96
|
735 |
# The temporary folder to decompress the embedded gitblit webapp.
|
JM |
736 |
#
|
|
737 |
# SINCE 0.5.0
|
|
738 |
# RESTART REQUIRED
|
f98825
|
739 |
server.tempFolder = temp
|
JM |
740 |
|
|
741 |
# Use Jetty NIO connectors. If false, Jetty Socket connectors will be used.
|
373a96
|
742 |
#
|
JM |
743 |
# SINCE 0.5.0
|
|
744 |
# RESTART REQUIRED
|
f98825
|
745 |
server.useNio = true
|
JM |
746 |
|
4c6dab
|
747 |
# Context path for the GO application. You might want to change the context
|
JM |
748 |
# path if running Gitblit behind a proxy layer such as mod_proxy.
|
70b492
|
749 |
#
|
JM |
750 |
# SINCE 0.7.0
|
|
751 |
# RESTART REQUIRED
|
|
752 |
server.contextPath = /
|
|
753 |
|
f98825
|
754 |
# Standard http port to serve. <= 0 disables this connector.
|
18422e
|
755 |
# On Unix/Linux systems, ports < 1024 require root permissions.
|
JM |
756 |
# Recommended value: 80 or 8080
|
373a96
|
757 |
#
|
JM |
758 |
# SINCE 0.5.0
|
|
759 |
# RESTART REQUIRED
|
f98825
|
760 |
server.httpPort = 0
|
JM |
761 |
|
|
762 |
# Secure/SSL https port to serve. <= 0 disables this connector.
|
18422e
|
763 |
# On Unix/Linux systems, ports < 1024 require root permissions.
|
JM |
764 |
# Recommended value: 443 or 8443
|
373a96
|
765 |
#
|
JM |
766 |
# SINCE 0.5.0
|
|
767 |
# RESTART REQUIRED
|
18422e
|
768 |
server.httpsPort = 8443
|
f98825
|
769 |
|
4b9d64
|
770 |
# Port for serving an Apache JServ Protocol (AJP) 1.3 connector for integrating
|
JM |
771 |
# Gitblit GO into an Apache HTTP server setup. <= 0 disables this connector.
|
|
772 |
# Recommended value: 8009
|
|
773 |
#
|
|
774 |
# SINCE 0.9.0
|
|
775 |
# RESTART REQUIRED
|
|
776 |
server.ajpPort = 0
|
|
777 |
|
f98825
|
778 |
# Specify the interface for Jetty to bind the standard connector.
|
dd7961
|
779 |
# You may specify an ip or an empty value to bind to all interfaces.
|
1f9dae
|
780 |
# Specifying localhost will result in Gitblit ONLY listening to requests to
|
dd7961
|
781 |
# localhost.
|
373a96
|
782 |
#
|
JM |
783 |
# SINCE 0.5.0
|
|
784 |
# RESTART REQUIRED
|
f98825
|
785 |
server.httpBindInterface = localhost
|
JM |
786 |
|
|
787 |
# Specify the interface for Jetty to bind the secure connector.
|
|
788 |
# You may specify an ip or an empty value to bind to all interfaces.
|
1f9dae
|
789 |
# Specifying localhost will result in Gitblit ONLY listening to requests to
|
dd7961
|
790 |
# localhost.
|
373a96
|
791 |
#
|
JM |
792 |
# SINCE 0.5.0
|
|
793 |
# RESTART REQUIRED
|
f98825
|
794 |
server.httpsBindInterface = localhost
|
JM |
795 |
|
4b9d64
|
796 |
# Specify the interface for Jetty to bind the AJP connector.
|
JM |
797 |
# You may specify an ip or an empty value to bind to all interfaces.
|
|
798 |
# Specifying localhost will result in Gitblit ONLY listening to requests to
|
|
799 |
# localhost.
|
|
800 |
#
|
|
801 |
# SINCE 0.9.0
|
|
802 |
# RESTART REQUIRED
|
|
803 |
server.ajpBindInterface = localhost
|
|
804 |
|
f98825
|
805 |
# Password for SSL keystore.
|
JM |
806 |
# Keystore password and certificate password must match.
|
|
807 |
# This is provided for convenience, its probably more secure to set this value
|
|
808 |
# using the --storePassword command line parameter.
|
373a96
|
809 |
#
|
JM |
810 |
# SINCE 0.5.0
|
|
811 |
# RESTART REQUIRED
|
1f9dae
|
812 |
server.storePassword = gitblit
|
f98825
|
813 |
|
JM |
814 |
# Port for shutdown monitor to listen on.
|
373a96
|
815 |
#
|
JM |
816 |
# SINCE 0.5.0
|
|
817 |
# RESTART REQUIRED
|
f98825
|
818 |
server.shutdownPort = 8081
|