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