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