James Moger
2015-12-10 7b7b0d54b606e5a7d63ea39ec8918968f612d61d
commit | author | age
17ae31 1 #
JM 2 # DEFAULTS.PROPERTIES
3 #
4 # The default Gitblit settings.
5 #
6
7 # This settings file supports parameterization from the command-line for the
8 # following command-line parameters:
9 #
10 #   --baseFolder    ${baseFolder}    SINCE 1.2.1
11 #
12 # Settings that support ${baseFolder} parameter substitution are indicated with the
13 # BASEFOLDER attribute.  If the --baseFolder argument is unspecified, ${baseFolder}
14 # and it's trailing / will be discarded from the setting value leaving a relative
15 # path that is equivalent to pre-1.2.1 releases.
16 #
17 # e.g. "${baseFolder}/git" becomes "git", if --baseFolder is unspecified 
18 #
19 # Git Servlet Settings
20 #
21
22 # Base folder for repositories.
23 # This folder may contain bare and non-bare repositories but Gitblit will only
24 # allow you to push to bare repositories.
25 # Use forward slashes even on Windows!!
26 # e.g. c:/gitrepos
27 #
28 # SINCE 0.5.0
29 # RESTART REQUIRED
30 # BASEFOLDER
31 git.repositoriesFolder = ${baseFolder}/git
32
33 # Build the available repository list at startup and cache this list for reuse.
34 # This reduces disk io when presenting the repositories page, responding to rpcs,
35 # etc, but it means that  Gitblit will not automatically identify repositories
36 # added or deleted by external tools.
37 #
38 # For this case you can use curl, wget, etc to issue an rpc request to clear the
39 # cache (e.g. https://localhost/rpc?req=CLEAR_REPOSITORY_CACHE)
40 #
41 # SINCE 1.1.0
42 git.cacheRepositoryList = true
43
44 # Search the repositories folder subfolders for other repositories.
45 # Repositories MAY NOT be nested (i.e. one repository within another)
46 # but they may be grouped together in subfolders.
47 # e.g. c:/gitrepos/libraries/mylibrary.git
48 #      c:/gitrepos/libraries/myotherlibrary.git
49 #
50 # SINCE 0.5.0
51 git.searchRepositoriesSubfolders = true
52
53 # Maximum number of folders to recurse into when searching for repositories.
54 # The default value, -1, disables depth limits.
55 #
56 # SINCE 1.1.0
57 git.searchRecursionDepth = -1
58
59 # List of regex exclusion patterns to match against folders found in
60 # *git.repositoriesFolder*.
61 # Use forward slashes even on Windows!!
62 # e.g. test/jgit\.git
63 #
64 # SPACE-DELIMITED
65 # CASE-SENSITIVE
66 # SINCE 1.1.0
67 git.searchExclusions =
68
69 # List of regex url patterns for extracting a repository name when locating
70 # submodules.
71 #   e.g. git.submoduleUrlPatterns = .*?://github.com/(.*) will extract
72 #   *gitblit/gitblit.git* from *git://github.com/gitblit/gitblit.git*
73 # If no matches are found then the submodule repository name is assumed to be
74 # whatever trails the last / character. (e.g. gitblit.git).
75 #
76 # SPACE-DELIMITED
77 # CASE-SENSITIVE
78 # SINCE 1.1.0
79 git.submoduleUrlPatterns = .*?://github.com/(.*)
80
81 # Specify the interface for Git Daemon to bind it's service.
82 # You may specify an ip or an empty value to bind to all interfaces.
83 # Specifying localhost will result in Gitblit ONLY listening to requests to
84 # localhost.
85 #
86 # SINCE 1.3.0
87 # RESTART REQUIRED
88 git.daemonBindInterface = 
89
90 # port for serving the Git Daemon service.  <= 0 disables this service.
91 # On Unix/Linux systems, ports < 1024 require root permissions.
92 # Recommended value: 9418
93 #
94 # SINCE 1.3.0
95 # RESTART REQUIRED
96 git.daemonPort = 9418
97
98 # The port for serving the SSH service.  <= 0 disables this service.
99 # On Unix/Linux systems, ports < 1024 require root permissions.
100 # Recommended value: 29418
101 #
102 # SINCE 1.5.0
103 # RESTART REQUIRED
104 git.sshPort = 29418
105
106 # Specify the interface for the SSH daemon to bind its service.
107 # You may specify an ip or an empty value to bind to all interfaces.
108 # Specifying localhost will result in Gitblit ONLY listening to requests to
109 # localhost.
110 #
111 # SINCE 1.5.0
112 # RESTART REQUIRED
113 git.sshBindInterface = 
114
182312 115 # Manually specify the hostname to use in advertised SSH repository urls.
MB 116 # This may be useful in complex forwarding setups.
117 #
118 # SINCE 1.7.0
b3aabb 119 git.sshAdvertisedHost = 
182312 120
MB 121 # Manually specify the port to use in advertised SSH repository urls.
122 # This may be useful in complex forwarding setups.
123 #
124 # SINCE 1.7.0
b3aabb 125 git.sshAdvertisedPort = 
182312 126
17ae31 127 # Specify the SSH key manager to use for retrieving, storing, and removing
JM 128 # SSH keys.
129 #
130 # Valid key managers are:
131 #    com.gitblit.transport.ssh.FileKeyManager
132 #
133 # SINCE 1.5.0
134 git.sshKeysManager = com.gitblit.transport.ssh.FileKeyManager
135
136 # Directory for storing user SSH keys when using the FileKeyManager.
137 #
138 # SINCE 1.5.0
139 git.sshKeysFolder= ${baseFolder}/ssh
140
92ae83 141 # Use Kerberos5 (GSS) authentication
5485da 142 #
FB 143 # SINCE 1.7.0
92ae83 144 git.sshWithKrb5 = false
5485da 145
92ae83 146 # The path to a Kerberos 5 keytab.
5485da 147 #
FB 148 # SINCE 1.7.0
92ae83 149 git.sshKrb5Keytab = 
5485da 150
92ae83 151 # The service principal name to be used for Kerberos5.
JM 152 # The default is host/hostname.
5485da 153 #
FB 154 # SINCE 1.7.0
92ae83 155 git.sshKrb5ServicePrincipalName = 
5485da 156
be49ef 157 # Strip the domain suffix from a kerberos username.
JM 158 # e.g. james@bigbox would be "james"
7b6c1b 159 #
VF 160 # SINCE 1.7.0
be49ef 161 git.sshKrb5StripDomain = true
17ae31 162
JM 163 # SSH backend NIO2|MINA.
164 #
165 # The Apache Mina project recommends using the NIO2 backend.
166 #
167 # SINCE 1.5.0
168 git.sshBackend = NIO2
169
170 # Number of threads used to parse a command line submitted by a client over SSH
171 # for execution, create the internal data structures used by that command,
172 # and schedule it for execution on another thread.
173 #
174 # SINCE 1.5.0
175 git.sshCommandStartThreads = 2
176
177
178 # Allow push/pull over http/https with JGit servlet.
179 # If you do NOT want to allow Git clients to clone/push to Gitblit set this
180 # to false.  You might want to do this if you are only using ssh:// or git://.
181 # If you set this false, consider changing the *web.otherUrls* setting to
182 # indicate your clone/push urls.
183 #
184 # SINCE 0.5.0
185 git.enableGitServlet = true
186
187 # If you want to restrict all git servlet access to those with valid X509 client
188 # certificates then set this value to true.
189 #
190 # SINCE 1.2.0
191 git.requiresClientCertificate = false
192
193 # Enforce date checks on client certificates to ensure that they are not being
194 # used prematurely and that they have not expired.
195 #
196 # SINCE 1.2.0
197 git.enforceCertificateValidity = true
198
199 # List of OIDs to extract from a client certificate DN to map a certificate to
200 # an account username.
201 #
202 # e.g. git.certificateUsernameOIDs = CN
203 # e.g. git.certificateUsernameOIDs = FirstName LastName
204 #
205 # SPACE-DELIMITED
206 # SINCE 1.2.0
207 git.certificateUsernameOIDs = CN
208
209 # Only serve/display bare repositories.
210 # If there are non-bare repositories in git.repositoriesFolder and this setting
211 # is true, they will be excluded from the ui. 
212 #
213 # SINCE 0.9.0
214 git.onlyAccessBareRepositories = false
215
216
217 # Specify the list of acceptable transports for pushes.
218 # If this setting is empty, all transports are acceptable.
219 #
220 # Valid choices are: GIT HTTP HTTPS SSH
221 #
222 # SINCE 1.5.0
223 # SPACE-DELIMITED
224 git.acceptedPushTransports = HTTP HTTPS SSH
225
226 # Allow an authenticated user to create a destination repository on a push if
227 # the repository does not already exist.
228 #
229 # Administrator accounts can create a repository in any project.
230 # These repositories are created with the default access restriction and authorization
231 # control values.  The pushing account is set as the owner.
232 #
233 # Non-administrator accounts with the CREATE role may create personal repositories.
234 # These repositories are created as VIEW restricted for NAMED users.
235 # The pushing account is set as the owner.
236 #
237 # SINCE 1.2.0
238 git.allowCreateOnPush = true
239
240 # Global setting to control anonymous pushes.
241 #
242 # This setting allows/rejects anonymous pushes at the level of the receive pack.
243 # This trumps all repository config settings.  While anonymous pushes are convenient
244 # on your own box when you are a lone developer,  they are not recommended for
245 # any multi-user installation where accountability is required.  Since Gitblit
246 # tracks pushes and user accounts, allowing anonymous pushes compromises that
247 # information.
248 #
249 # SINCE 1.4.0
250 git.allowAnonymousPushes = false
251
252 # The default access restriction for new repositories.
253 # Valid values are NONE, PUSH, CLONE, VIEW
254 #  NONE = anonymous view, clone, & push
255 #  PUSH = anonymous view & clone and authenticated push
256 #  CLONE = anonymous view, authenticated clone & push
257 #  VIEW = authenticated view, clone, & push
258 #
259 # SINCE 1.0.0
260 git.defaultAccessRestriction = PUSH
261
262 # The default authorization control for new repositories.
263 # Valid values are AUTHENTICATED and NAMED
264 #  AUTHENTICATED = any authenticated user is granted restricted access
265 #  NAMED = only named users/teams are granted restricted access
266 #
267 # SINCE 1.1.0
268 git.defaultAuthorizationControl = NAMED
269
270 # The prefix for a users personal repository directory.
271 #
272 # Personal user repositories are created in this directory, named by the user name
273 # prefixed with the userRepositoryPrefix. For eaxmple, a user 'john' would have his
274 # personal repositories in the directory '~john'.
275 #
276 # Cannot be an empty string. Also, absolute paths are changed to relative paths by 
277 # removing the first directory separator.
278 #
279 # It is not recommended to change this value AFTER your user's have created
280 # personal repositories because it will break all permissions, ownership, and
281 # repository push/pull operations. 
282 #
283 # RESTART REQUIRED
284 # SINCE 1.4.0
285 git.userRepositoryPrefix = ~
286
287 # The default incremental push tag prefix.  Tag prefix applied to a repository
288 # that has automatic push tags enabled and does not specify a custom tag prefix.
289 #
290 # If incremental push tags are enabled, the tips of each branch in the push will
291 # be tagged with an increasing revision integer.
292 #
293 # e.g. refs/tags/r2345 or refs/tags/rev_2345 
294 #
295 # SINCE 1.3.0
296 git.defaultIncrementalPushTagPrefix = r
297
298 # Controls creating a repository as --shared on Unix servers.
299 #
300 # In an Unix environment where mixed access methods exist for shared repositories,
301 # the repository should be created with 'git init --shared' to make sure that
302 # it can be accessed e.g. via ssh (user git) and http (user www-data).
303 #
304 # Valid values are the values available for the '--shared' option. The the manual
305 # page for 'git init' for more information on shared repositories.
306 #
307 # SINCE 1.4.0
308 git.createRepositoriesShared = false
309
310 # Directory for gitignore templates used during repository creation.
311 #
312 # SINCE 1.6.0
313 git.gitignoreFolder = ${baseFolder}/gitignore
314
315 # Enable JGit-based garbage collection. (!!EXPERIMENTAL!!)
316 #
317 # USE AT YOUR OWN RISK!
318 #
319 # If enabled, the garbage collection executor scans all repositories once a day
320 # at the hour of your choosing.  The GC executor will take each repository "offline",
321 # one-at-a-time, to check if the repository satisfies it's GC trigger requirements.
322 #
323 # While the repository is offline it will be inaccessible from the web UI or from
324 # any of the other services (git, rpc, rss, etc).
325 #
326 # Gitblit's GC Executor MAY NOT PLAY NICE with the other Git kids on the block,
327 # especially on Windows systems, so if you are using other tools please coordinate
328 # their usage with your GC Executor schedule or do not use this feature.
329 #
330 # The GC algorithm complex and the JGit team advises caution when using their
331 # young implementation of GC.
332 #
333 # http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.1#Garbage_Collector_and_Repository_Storage_Statistics
334 #
335 # EXPERIMENTAL
336 # SINCE 1.2.0
337 # RESTART REQUIRED
338 git.enableGarbageCollection = false
339
340 # Hour of the day for the GC Executor to scan repositories.
341 # This value is in 24-hour time.
342 #
343 # SINCE 1.2.0
344 git.garbageCollectionHour = 0
345
346 # The default minimum total filesize of loose objects to trigger early garbage
347 # collection.
348 #
349 # You may specify a custom threshold for a repository in the repository's settings.
350 # Common unit suffixes of k, m, or g are supported.
351 #
352 # SINCE 1.2.0
353 git.defaultGarbageCollectionThreshold = 500k
354
355 # The default period, in days, between GCs for a repository.  If the total filesize
356 # of the loose object exceeds *git.garbageCollectionThreshold* or the repository's
357 # custom threshold, this period will be short-circuited. 
358 #
359 # e.g. if a repository collects 100KB of loose objects every day with a 500KB
360 # threshold and a period of 7 days, it will take 5 days for the loose objects to
361 # be collected, packed, and pruned.
362 #
363 # OR
364 #
365 # if a repository collects 10KB of loose objects every day with a 500KB threshold
366 # and a period of 7 days, it will take the full 7 days for the loose objects to be
367 # collected, packed, and pruned.
368 #
369 # You may specify a custom period for a repository in the repository's settings.
370 #
371 # The minimum value is 1 day since the GC Executor only runs once a day.
372 #
373 # SINCE 1.2.0
374 git.defaultGarbageCollectionPeriod = 7
375
376 # Gitblit can automatically fetch ref updates for a properly configured mirror
377 # repository.
378 #
379 # Requirements:
380 # 1. you must manually clone the repository using native git
381 #    git clone --mirror git://somewhere.com/myrepo.git
382 # 2. the "origin" remote must be the mirror source
383 # 3. the "origin" repository must be accessible without authentication OR the
384 #    credentials must be embedded in the origin url (not recommended)
385 #
386 # Notes:
387 # 1. "origin" SSH urls are untested and not likely to work
388 # 2. mirrors cloned while Gitblit is running are likely to require clearing the
389 #    gitblit cache (link on the repositories page of an administrator account)
390 # 3. Gitblit will automatically repair any invalid fetch refspecs with a "//"
391 #    sequence.
392 #
393 # SINCE 1.4.0
394 # RESTART REQUIRED
395 git.enableMirroring = false
396
397 # Specify the period between update checks for mirrored repositories.
398 # The shortest period you may specify between mirror update checks is 5 mins.
399 #
400 # SINCE 1.4.0
401 # RESTART REQUIRED
402 git.mirrorPeriod = 30 mins
403
404 # Number of bytes of a pack file to load into memory in a single read operation.
405 # This is the "page size" of the JGit buffer cache, used for all pack access
406 # operations. All disk IO occurs as single window reads. Setting this too large
407 # may cause the process to load more data than is required; setting this too small
408 # may increase the frequency of read() system calls.
409 #
410 # Default on JGit is 8 KiB on all platforms.
411 #
412 # Common unit suffixes of k, m, or g are supported.
413 # Documentation courtesy of the Gerrit project.
414 #
415 # SINCE 1.0.0
416 # RESTART REQUIRED
417 git.packedGitWindowSize = 8k
418
419 # Maximum number of bytes to load and cache in memory from pack files. If JGit
420 # needs to access more than this many bytes it will unload less frequently used
421 # windows to reclaim memory space within the process. As this buffer must be shared
422 # with the rest of the JVM heap, it should be a fraction of the total memory available.
423 #
424 # The JGit team recommends setting this value larger than the size of your biggest
425 # repository. This ensures you can serve most requests from memory.
426 #
427 # Default on JGit is 10 MiB on all platforms.
428 #
429 # Common unit suffixes of k, m, or g are supported.
430 # Documentation courtesy of the Gerrit project.
431 #
432 # SINCE 1.0.0
433 # RESTART REQUIRED
434 git.packedGitLimit = 10m
435
436 # Maximum number of bytes to reserve for caching base objects that multiple deltafied
437 # objects reference. By storing the entire decompressed base object in a cache Git
438 # is able to avoid unpacking and decompressing frequently used base objects multiple times.
439 #
440 # Default on JGit is 10 MiB on all platforms. You probably do not need to adjust
441 # this value.
442 #
443 # Common unit suffixes of k, m, or g are supported.
444 # Documentation courtesy of the Gerrit project.
445 #
446 # SINCE 1.0.0
447 # RESTART REQUIRED
448 git.deltaBaseCacheLimit = 10m
449
450 # Maximum number of pack files to have open at once. A pack file must be opened
451 # in order for any of its data to be available in a cached window.
452 #
453 # If you increase this to a larger setting you may need to also adjust the ulimit
454 # on file descriptors for the host JVM, as Gitblit needs additional file descriptors
455 # available for network sockets and other repository data manipulation.
456 #
457 # Default on JGit is 128 file descriptors on all platforms.
458 # Documentation courtesy of the Gerrit project.
459 #
460 # SINCE 1.0.0
461 # RESTART REQUIRED
462 git.packedGitOpenFiles = 128
463
464 # When true, JGit will use mmap() rather than malloc()+read() to load data from
465 # pack files.  The use of mmap can be problematic on some JVMs as the garbage
466 # collector must deduce that a memory mapped segment is no longer in use before
467 # a call to munmap() can be made by the JVM native code.
468 #
469 # In server applications (such as Gitblit) that need to access many pack files,
470 # setting this to true risks artificially running out of virtual address space, 
471 # as the garbage collector cannot reclaim unused mapped spaces fast enough.
472 #
473 # Default on JGit is false. Although potentially slower, it yields much more
474 # predictable behavior.
475 # Documentation courtesy of the Gerrit project.
476 #
477 # SINCE 1.0.0
478 # RESTART REQUIRED
479 git.packedGitMmap = false
480
481 # Validate all received (pushed) objects are valid.
482 #
483 # SINCE 1.5.0
484 git.checkReceivedObjects = true
485
486 # Validate all referenced but not supplied objects are reachable.
487 #
488 # If enabled, Gitblit will verify that references to objects not contained
489 # within the received pack are already reachable through at least one other
490 # reference advertised to clients.
491 #
492 # This feature is useful when Gitblit doesn't trust the client to not provide a
493 # forged SHA-1 reference to an object, in an attempt to access parts of the DAG
494 # that they aren't allowed to see and which have been hidden from them via the
495 # configured AdvertiseRefsHook or RefFilter.
496 #
497 # Enabling this feature may imply at least some, if not all, of the same functionality
498 # performed by git.checkReceivedObjects. 
499 #
500 # SINCE 1.5.0
501 git.checkReferencedObjectsAreReachable = true
502
503 # Set the maximum allowed Git object size.
504 #
505 # If an object is larger than the given size the pack-parsing will throw an exception
506 # aborting the receive-pack operation.  The default value, 0, disables maximum
507 # object size checking.
508 #
509 # SINCE 1.5.0
510 git.maxObjectSizeLimit = 0
511
512 # Set the maximum allowed pack size.
513 #
514 # A pack exceeding this size will be rejected. The default value, -1, disables
515 # maximum pack size checking.
516 #
517 # SINCE 1.5.0
518 git.maxPackSizeLimit = -1
519
520 # Use the Gitblit patch receive pack for processing contributions and tickets.
521 # This allows the user to push a patch using the familiar Gerrit syntax:
522 #
523 #    git push <remote> HEAD:refs/for/<targetBranch>
524 #
525 # NOTE:
526 # This requires git.enableGitServlet = true AND it requires an authenticated
527 # git transport connection (http/https) when pushing from a client.
528 #
529 # Valid services include:
530 #    com.gitblit.tickets.FileTicketService
531 #    com.gitblit.tickets.BranchTicketService
532 #    com.gitblit.tickets.RedisTicketService
533 #
534 # SINCE 1.4.0
535 # RESTART REQUIRED
536 tickets.service = 
537
538 # Globally enable or disable creation of new bug, enhancement, task, etc tickets
539 # for all repositories.
540 #
541 # If false, no tickets can be created through the ui for any repositories.
542 # If true, each repository can control if they allow new tickets to be created.
543 #
544 # NOTE:
545 # If a repository is accepting patchsets, new proposal tickets can be created
546 # regardless of this setting.
547 #
548 # SINCE 1.4.0
549 tickets.acceptNewTickets = true
550
551 # Globally enable or disable pushing patchsets to all repositories.
552 #
553 # If false, no patchsets will be accepted for any repositories.
554 # If true, each repository can control if they accept new patchsets.
555 #
556 # NOTE:
557 # If a repository is accepting patchsets, new proposal tickets can be created
558 # regardless of the acceptNewTickets setting.
559 #
560 # SINCE 1.4.0
561 tickets.acceptNewPatchsets = true
562
563 # Default setting to control patchset merge through the web ui.  If true, patchsets
564 # must have an approval score to enable the merge button.  This setting can be
565 # overriden per-repository.
566 #
567 # SINCE 1.4.0
568 tickets.requireApproval = false
569
570 # The case-insensitive regular expression used to identify and close tickets on
571 # push to the integration branch for commits that are NOT already referenced as
572 # a patchset tip.
573 #
574 # SINCE 1.5.0
575 tickets.closeOnPushCommitMessageRegex = (?:fixes|closes)[\\s-]+#?(\\d+)
576
577 # Specify the location of the Lucene Ticket index
578 #
579 # SINCE 1.4.0
580 # RESTART REQUIRED
581 tickets.indexFolder = ${baseFolder}/tickets/lucene
582
583 # Define the url for the Redis server.
584 #
585 # e.g. redis://localhost:6379
586 #      redis://:foobared@localhost:6379/2
d86f4a 587 #
DB 588 # SINCE 1.4.0
589 # RESTART REQUIRED
590 tickets.redis.url =
591
592 # The number of tickets to display on a page.
593 #
594 # SINCE 1.4.0
595 tickets.perPage = 25
596
fbc7a7 597 # The folder where plugins are loaded from.
JM 598 #
599 # SINCE 1.5.0
600 # RESTART REQUIRED
601 # BASEFOLDER
17ae31 602 plugins.folder = ${baseFolder}/plugins
JM 603
604 # The registry of available plugins.
605 #
606 # SINCE 1.5.0
607 plugins.registry = http://plugins.gitblit.com/plugins.json
608
609 # The HTTP proxy host for plugin manager.
610 #
611 # SINCE 1.7.0
612 plugins.httpProxyHost = 
613
614 # The HTTP proxy port for plugin manager.
615 #
616 # SINCE 1.7.0
617 plugins.httpProxyPort = 
618
619 # The HTTP proxy authorization header for plugin manager.
620 #
621 # SINCE 1.7.0
622 plugins.httpProxyAuthorization = 
623
624 # Number of threads used to handle miscellaneous tasks in the background.
625 #
626 # SINCE 1.6.0
627 # RESTART REQUIRED
628 execution.defaultThreadPoolSize = 1
629
630 #
631 # Groovy Integration
632 #
633
634 # Location of Groovy scripts to use for Pre and Post receive hooks.
635 # Use forward slashes even on Windows!!
636 # e.g. c:/groovy
637 #
638 # RESTART REQUIRED
639 # SINCE 0.8.0
640 # BASEFOLDER
641 groovy.scriptsFolder = ${baseFolder}/groovy
642
643 # Specify the directory Grape uses for downloading libraries.
644 # http://groovy.codehaus.org/Grape
645 #
646 # RESTART REQUIRED
647 # SINCE 1.0.0
648 # BASEFOLDER
649 groovy.grapeFolder = ${baseFolder}/groovy/grape
650
651 # Scripts to execute on Pre-Receive.
652 #
653 # These scripts execute after an incoming push has been parsed and validated
654 # but BEFORE the changes are applied to the repository.  You might reject a
655 # push in this script based on the repository and branch the push is attempting
656 # to change.
657 #
658 # Script names are case-sensitive on case-sensitive file systems.  You may omit
659 # the traditional ".groovy" from this list if your file extension is ".groovy" 
660 #
661 # NOTE:
662 # These scripts are only executed when pushing to *Gitblit*, not to other Git
663 # tooling you may be using.  Also note that these scripts are shared between
664 # repositories. These are NOT repository-specific scripts!  Within the script
665 # you may customize the control-flow for a specific repository by checking the
666 # *repository* variable.
667 #
668 # SPACE-DELIMITED
669 # CASE-SENSITIVE
670 # SINCE 0.8.0
671 groovy.preReceiveScripts =
672
673 # Scripts to execute on Post-Receive.
674 #
675 # These scripts execute AFTER an incoming push has been applied to a repository.
676 # You might trigger a continuous-integration build here or send a notification.
677 #
678 # Script names are case-sensitive on case-sensitive file systems.  You may omit
679 # the traditional ".groovy" from this list if your file extension is ".groovy" 
680 #
681 # NOTE:
682 # These scripts are only executed when pushing to *Gitblit*, not to other Git
683 # tooling you may be using.  Also note that these scripts are shared between
684 # repositories. These are NOT repository-specific scripts!  Within the script
685 # you may customize the control-flow for a specific repository by checking the
686 # *repository* variable.
687
688 # SPACE-DELIMITED
689 # CASE-SENSITIVE
690 # SINCE 0.8.0
691 groovy.postReceiveScripts =
692
693 # Repository custom fields for Groovy Hook mechanism
694 #
695 # List of key=label pairs of custom fields to prompt for in the Edit Repository
696 # page.  These keys are stored in the repository's git config file in the 
697 # section [gitblit "customFields"].  Key names are alphanumeric only.  These
698 # fields are intended to be used for the Groovy hook mechanism where a script
699 # can adjust it's execution based on the custom fields stored in the repository
700 # config.
701 #
702 # e.g. "commitMsgRegex=Commit Message Regular Expression" anotherProperty=Another
703 #
704 # SPACE-DELIMITED
705 # SINCE 1.0.0
706 groovy.customFields = 
707
708 #
709 # Fanout Settings
710 #
711
712 # Fanout is a PubSub notification service that can be used by Sparkleshare
713 # to eliminate repository change polling.  The fanout service runs in a separate
714 # thread on a separate port from the Gitblit http/https application.
715 # This service is provided so that Sparkleshare may be used with Gitblit in
716 # firewalled environments or where reliance on Sparkleshare's default notifications
717 # server (notifications.sparkleshare.org) is unwanted.
718 #
719 # This service maintains an open socket connection from the client to the
720 # Fanout PubSub service. This service may not work properly behind a proxy server.  
721
722 # Specify the interface for Fanout to bind it's service.
723 # You may specify an ip or an empty value to bind to all interfaces.
724 # Specifying localhost will result in Gitblit ONLY listening to requests to
725 # localhost.
726 #
727 # SINCE 1.2.1
728 # RESTART REQUIRED
729 fanout.bindInterface = 
730
731 # port for serving the Fanout PubSub service.  <= 0 disables this service.
732 # On Unix/Linux systems, ports < 1024 require root permissions.
733 # Recommended value: 17000
734 #
735 # SINCE 1.2.1
736 # RESTART REQUIRED
737 fanout.port = 0
738
739 # Use Fanout NIO service.  If false, a multi-threaded socket service will be used.
740 # Be advised, the socket implementation spawns a thread per connection plus the
741 # connection acceptor thread.  The NIO implementation is completely single-threaded.
742 #
743 # SINCE 1.2.1
744 # RESTART REQUIRED
745 fanout.useNio = true
746
747 # Concurrent connection limit.  <= 0 disables concurrent connection throttling.
748 # If > 0, only the specified number of concurrent connections will be allowed
749 # and all other connections will be rejected.
750 #
751 # SINCE 1.2.1
752 # RESTART REQUIRED
753 fanout.connectionLimit = 0
754
755 #
756 # Authentication Settings
757 #
758
759 # Require authentication to see everything but the admin pages
760 #
761 # SINCE 0.5.0
762 # RESTART REQUIRED
763 web.authenticateViewPages = false
764
765 # If web.authenticateViewPages=true you may optionally require a client-side
766 # basic authentication prompt instead of the standard form-based login. 
767 #
768 # SINCE 1.3.0
769 web.enforceHttpBasicAuthentication = false
770
771 # Require admin authentication for the admin functions and pages
772 #
773 # SINCE 0.5.0
774 # RESTART REQUIRED
775 web.authenticateAdminPages = true
776
777 # Allow Gitblit to store a cookie in the user's browser for automatic
778 # authentication.  The cookie is generated by the user service.
779 #
780 # SINCE 0.5.0
781 web.allowCookieAuthentication = true
782
783 # Allow deletion of non-empty repositories. This is enforced for all delete vectors.
784 #
785 # SINCE 1.6.0
786 web.allowDeletingNonEmptyRepositories = true
787
788 # Setting to include personal repositories in the main repositories list.
789 #
790 # SINCE 1.6.0
791 web.includePersonalRepositories = false
792
793 # Config file for storing project metadata
794 #
795 # SINCE 1.2.0
796 # BASEFOLDER
797 web.projectsFile = ${baseFolder}/projects.conf
798
310a80 799 # Defines the tab length for all blob views
JM 800 #
801 # SINCE 1.7.0
802 web.tabLength = 4
803
17ae31 804 # Either the full path to a user config file (users.conf)
JM 805 # OR a fully qualified class name that implements the IUserService interface.
806 #
807 # Any custom user service implementation must have a public default constructor.
808 #
809 # SINCE 0.5.0
810 # RESTART REQUIRED
811 # BASEFOLDER
812 realm.userService = ${baseFolder}/users.conf
813
814 # Ordered list of external authentication providers which will be used if
815 # authentication against the local user service fails.
816 #
817 # Valid providers are:
818 #
819 #    htpasswd
46f61d 820 #    httpheader
17ae31 821 #    ldap
JM 822 #    pam
823 #    redmine
824 #    salesforce
825 #    windows
826
827 # e.g. realm.authenticationProviders = htpasswd windows
828 #
829 # SINCE 1.4.0
830 # RESTART REQUIRED
831 # SPACE-DELIMITED
832 realm.authenticationProviders =
833
834 # How to store passwords.
835 # Valid values are plain, md5, or combined-md5.  md5 is the hash of password.
836 # combined-md5 is the hash of username.toLowerCase()+password.
837 # Default is md5.
838 #
839 # SINCE 0.5.0 
840 realm.passwordStorage = md5
841
842 # Minimum valid length for a plain text password.
843 # Default value is 5.  Absolute minimum is 4.
844 #
845 # SINCE 0.5.0 
846 realm.minPasswordLength = 5
847
848 #
849 # Gitblit Web Settings
850 #
851 # If blank Gitblit is displayed.
852 #
853 # SINCE 0.5.0
854 web.siteName =
855
856 # The canonical url of your Gitblit server to be used in repository url generation,
857 # RSS feeds, and all embedded links in email and plugin-based notifications.
858 #
859 # If you are running Gitblit on a non-standard http port (i.e. not 80 and not 443)
860 # then you must specify that port in this url otherwise your generated urls will be
861 # incorrect.
862 #
863 # The hostname of this url will be extracted for SSH and GIT protocol repository
864 # url generation.
865 #
866 # e.g. web.canonicalUrl = https://dev.gitblit.com
867 #      web.canonicalUrl = https://dev.gitblit.com:8443
868 #
869 # SINCE 1.4.0
870 web.canonicalUrl = 
871
872 # You may specify a different logo image for the header but it must be 120x45px.
873 # If the specified file does not exist, the default Gitblit logo will be used.
874 #
875 # SINCE 1.3.0
876 # BASEFOLDER
877 web.headerLogo = ${baseFolder}/logo.png
878
879 # You may specify a different link URL for the logo image anchor.
880 # If blank the Gitblit main page URL is used.
881 #
882 # SINCE 1.3.0
883 # BASEFOLDER
884 web.rootLink =
885
886 # You may specify a custom header background CSS color.  If unspecified, the
887 # default color will be used.
888 #
889 # e.g. web.headerBackgroundColor = #002060
890 #
891 # SINCE 1.3.0
892 web.headerBackgroundColor =
893
894 # You may specify a custom header foreground CSS color.  If unspecified, the
895 # default color will be used.
896 #
897 # e.g. web.headerForegroundColor = white
898 #
899 # SINCE 1.3.0
900 web.headerForegroundColor =
901
902 # You may specify a custom header foreground hover CSS color.  If unspecified, the
903 # default color will be used.
904 #
905 # e.g. web.headerHoverColor = white
906 #
907 # SINCE 1.3.0
908 web.headerHoverColor =
909
910 # You may specify a custom header border CSS color.  If unspecified, the default
911 # color will be used.
912 #
913 # e.g. web.headerBorderColor = #002060
914 #
915 # SINCE 1.3.0
916 web.headerBorderColor =
917
918 # You may specify a custom header border CSS color.  If unspecified, the default
919 # color will be used.
920 #
921 # e.g. web.headerBorderFocusColor = #ff9900
922 #
923 # SINCE 1.3.0
924 web.headerBorderFocusColor =
925
926 # If *web.authenticateAdminPages*=true, users with "admin" role can create
927 # repositories, create users, and edit repository metadata.
928 #
929 # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
930 # functions. 
931 #
932 # SINCE 0.5.0 
933 web.allowAdministration = true
934
935 # Setting to disable rendering the top-level navigation header which includes
936 # the login form, top-level links like dashboard, repositories, search, etc.
937 # This setting is only useful if you plan to embed Gitblit within another page
938 # or system.
939 #
940 # SINCE 1.4.0
941 web.hideHeader = false
942
943 # Allows rpc clients to list repositories and possibly manage or administer the 
944 # Gitblit server, if the authenticated account has administrator permissions.
945 # See *web.enableRpcManagement* and *web.enableRpcAdministration*.
946 #
947 # SINCE 0.7.0 
948 web.enableRpcServlet = true
949
950 # Allows rpc clients to manage repositories and users of the Gitblit instance,
951 # if the authenticated account has administrator permissions.
952 # Requires *web.enableRpcServlet=true*.
953 #
954 # SINCE 0.7.0 
955 web.enableRpcManagement = false
956
957 # Allows rpc clients to control the server settings and monitor the health of this
958 # this Gitblit instance, if the authenticated account has administrator permissions.
959 # Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
960 #
961 # SINCE 0.7.0 
962 web.enableRpcAdministration = false
963
964 # Full path to a configurable robots.txt file.  With this file you can control
965 # what parts of your Gitblit server respectable robots are allowed to traverse.
966 # http://googlewebmastercentral.blogspot.com/2008/06/improving-on-robots-exclusion-protocol.html
967 #
968 # SINCE 1.0.0
969 # BASEFOLDER
970 web.robots.txt = ${baseFolder}/robots.txt
971
972 # The number of minutes to cache a page in the browser since the last request.
973 # The default value is 0 minutes.  A value <= 0 disables all page caching which
974 # is the default behavior for Gitblit <= 1.3.0.
975 #
976 # SINCE 1.3.1
977 web.pageCacheExpires = 0
978
979 # If true, the web ui layout will respond and adapt to the browser's dimensions.
980 # if false, the web ui will use a 940px fixed-width layout.
981 # http://twitter.github.com/bootstrap/scaffolding.html#responsive
982 #
983 # SINCE 1.0.0
984 web.useResponsiveLayout = true
985
986 # Allow Gravatar images to be displayed in Gitblit pages.
987 #
988 # SINCE 0.8.0
989 web.allowGravatar = true
990
b57b9e 991 # Define which class will generate the avatar URL.
FB 992 #
993 # SINCE 1.7.0
994 web.avatarClass = com.gitblit.GravatarGenerator
995
17ae31 996 # Allow dynamic zip downloads.
JM 997 #
998 # SINCE 0.5.0   
999 web.allowZipDownloads = true
1000
1001 # If *web.allowZipDownloads=true* the following formats will be displayed for
1002 # download compressed archive links:
1003 #
1004 # zip   = standard .zip
1005 # tar   = standard tar format (preserves *nix permissions and symlinks)
1006 # gz    = gz-compressed tar
1007 # xz    = xz-compressed tar
1008 # bzip2 = bzip2-compressed tar
1009 #
1010 # SPACE-DELIMITED
1011 # SINCE 1.2.0
1012 web.compressedDownloads = zip gz
1013
1014 # Allow optional Lucene integration. Lucene indexing is an opt-in feature.
1015 # A repository may specify branches to index with Lucene instead of using Git
1016 # commit traversal. There are scenarios where you may want to completely disable
1017 # Lucene indexing despite a repository specifying indexed branches.  One such
1018 # scenario is on a resource-constrained federated Gitblit mirror.
1019 #
1020 # SINCE 0.9.0
1021 web.allowLuceneIndexing = true
1022
1023 # Control the frequency of Lucene repository indexing.
1024 # The default setting is to check for updated refs every 2 mins.
1025 #
1026 # SINCE 1.6.1
1027 web.luceneFrequency = 2 mins
1028
1029 # Allows an authenticated user to create forks of a repository
1030 #
1031 # set this to false if you want to disable all fork controls on the web site
1032 #
1033 web.allowForking = true
1034
1035 # Controls the length of shortened commit hash ids
1036 #
1037 # SINCE 1.2.0
1038 web.shortCommitIdLength = 6
1039
1040 # Use Clippy (Flash solution) to provide a copy-to-clipboard button.
1041 # If false, a button with a more primitive JavaScript-based prompt box will
1042 # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
1043 #
1044 # SINCE 0.8.0
1045 web.allowFlashCopyToClipboard = true
1046
1047 # Default maximum number of commits that a repository may contribute to the
1048 # activity page, regardless of the selected duration.  This setting may be valuable
1049 # for an extremely busy server.  This value may also be configed per-repository
1050 # in Edit Repository. 0 disables this throttle.
1051 #
1052 # SINCE 1.2.0
1053 web.maxActivityCommits = 0
1054
1055 # Default number of entries to include in RSS Syndication links
1056 #
1057 # SINCE 0.5.0
1058 web.syndicationEntries = 25
1059
1060 # Show the size of each repository on the repositories page.
1061 # This requires recursive traversal of each repository folder.  This may be
1062 # non-performant on some operating systems and/or filesystems. 
1063 #
1064 # SINCE 0.5.2
1065 web.showRepositorySizes = true
1066
1067 # List of custom regex expressions that can be displayed in the Filters menu
1068 # of the Repositories and Activity pages.  Keep them very simple because you
1069 # are likely to run into encoding issues if they are too complex.
1070 #
1071 # Use !!! to separate the filters 
1072 #
1073 # SINCE 0.8.0
1074 web.customFilters =
1075
1076 # Show federation registrations (without token) and the current pull status
1077 # to non-administrator users. 
1078 #
1079 # SINCE 0.6.0
1080 web.showFederationRegistrations = false
1081
1082 # This is the message displayed when *web.authenticateViewPages=true*.
1083 # This can point to a file with Markdown content.
1084 # Specifying "gitblit" uses the internal login message.
1085 #
1086 # SINCE 0.7.0
1087 # BASEFOLDER
1088 web.loginMessage = gitblit
1089
1090 # This is the message displayed above the repositories table.
1091 # This can point to a file with Markdown content.
1092 # Specifying "gitblit" uses the internal welcome message.
1093 #
1094 # SINCE 0.5.0
1095 # BASEFOLDER
1096 web.repositoriesMessage = gitblit
1097
1098 # Ordered list of charsets/encodings to use when trying to display a blob.
1099 # If empty, UTF-8 and ISO-8859-1 are used.  The server's default charset
1100 # is always appended to the encoding list.  If all encodings fail to cleanly
1101 # decode the blob content, UTF-8 will be used with the standard malformed
1102 # input/unmappable character replacement strings.
1103
1104 # SPACE-DELIMITED
1105 # SINCE 1.0.0
1106 web.blobEncodings = UTF-8 ISO-8859-1
1107
1108 # Manually set the default timezone to be used by Gitblit for display in the 
1109 # web ui.  This value is independent of the JVM timezone.  Specifying a blank
1110 # value will default to the JVM timezone.
1111 # e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
1112 #
1113 # SINCE 0.9.0
1114 # RESTART REQUIRED
1115 web.timezone =
1116
1117 # Use the client timezone when formatting dates.
1118 # This uses AJAX to determine the browser's timezone and may require more
1119 # server overhead because a Wicket session is created.  All Gitblit pages
1120 # attempt to be stateless, if possible.
1121 #
1122 # SINCE 0.5.0
1123 # RESTART REQUIRED
1124 web.useClientTimezone = false
1125
1126 # Time format
1127 # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
1128 #
1129 # SINCE 0.8.0
1130 web.timeFormat = HH:mm
1131
1132 # Short date format
1133 # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
1134 #
1135 # SINCE 0.5.0
1136 web.datestampShortFormat = yyyy-MM-dd
1137
1138 # Long date format
1139 #
1140 # SINCE 0.8.0
1141 web.datestampLongFormat = EEEE, MMMM d, yyyy
1142
1143 # Long timestamp format
1144 # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
1145 #
1146 # SINCE 0.5.0
1147 web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
1148
1149 # Mount URL parameters
1150 # This setting controls if pretty or parameter URLs are used.
1151 # i.e.
1152 # if true:
1153 #     http://localhost/commit/myrepo/abcdef
1154 # if false:
1155 #     http://localhost/commit/?r=myrepo&h=abcdef
1156 #
1157 # SINCE 0.5.0
1158 # RESTART REQUIRED
1159 web.mountParameters = true
1160
1161 # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
1162 # in URLs as a security precaution for proxies.  This setting tells Gitblit
1163 # to preemptively replace '/' with '*' or '!' for url string parameters.
1164 #
1165 # <https://issues.apache.org/jira/browse/WICKET-1303>
1166 # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
1167 # Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
1168 # *CATALINA_OPTS* or to your JVM launch parameters
1169 #
1170 # SINCE 0.5.2
1171 web.forwardSlashCharacter = /
1172
1173 # Show other URLs on the summary page for accessing your git repositories
1174 # Use spaces to separate urls.
1175 #
1176 # {0} is the token for the repository name
1177 # {1} is the token for the username
1178 #
1179 # The username is only practical if you have setup your other git serving
1180 # solutions accounts to have the same username as the Gitblit account.
1181 #
1182 # e.g.
1183 # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0} https://{1}@localhost/r/{0}
1184 #
1185 # SPACE-DELIMITED
1186 # SINCE 0.5.0
1187 web.otherUrls = 
1188
c20191 1189 # Should HTTP/HTTPS URLs be displayed if the git servlet is enabled?
JJ 1190 # default: true
1191 #
1192 # SINCE 1.7.0
1193 web.showHttpServletUrls = true
1194
1195 # Should git URLs be displayed if the git daemon is enabled?
1196 # default: true
1197 #
1198 # SINCE 1.7.0
1199 web.showGitDaemonUrls = true
1200
1201 # Should SSH URLs be displayed if the SSH daemon is enabled?
1202 # default: true
1203 #
1204 # SINCE 1.7.0
1205 web.showSshDaemonUrls = true
1206
1590fd 1207 # Should effective permissions be advertised for access paths defined in web.otherUrls?
JJ 1208 # If false, gitblit will indicate unknown permissions for the external link. If true,
1209 # gitblit will indicate permissions as defined within gitblit (including limiting to clone
1210 # permission is the transport type is not a valid push mechaism in git.acceptedPushTransports).
1211 #
1212 # Configure with caution: Note that gitblit has no way of knowing if further restrictions
1213 # are imposed by an external forwarding agent, so this may cause user confusion due to
1214 # more rights being advertised than are available through the URL. It will NOT grant
1215 # additional rights, but may incorrectly offer actions that are unavailable externally.
1216 # default: false
1217 #
1218 # SINCE 1.7.0
1219 web.advertiseAccessPermissionForOtherUrls = false
1220
17ae31 1221 # Should app-specific clone links be displayed for SourceTree, SparkleShare, etc?
JM 1222 #
1223 # SINCE 1.3.0
1224 web.allowAppCloneLinks = true
1225
1226 # Choose how to present the repositories list.
1227 #   grouped = group nested/subfolder repositories together (no sorting)
1228 #   flat = flat list of repositories (sorting allowed)
1229 #
1230 # SINCE 0.5.0
1231 web.repositoryListType = grouped
1232
1233 # If using a grouped repository list and there are repositories at the
1234 # root level of your repositories folder, you may specify the displayed
1235 # group name with this setting.  This value is only used for web presentation.
1236 #
1237 # SINCE 0.5.0
1238 web.repositoryRootGroupName = main
1239
1240 # Display the repository swatch color next to the repository name link in the 
1241 # repositories list. 
1242 #
1243 # SINCE 0.8.0
1244 web.repositoryListSwatches = true
1245
1246 # Defines the default commit message renderer.  This can be configured
1247 # per-repository.
1248 #
1249 # Valid values are: plain, markdown
1250 #
1251 # SINCE 1.4.0
1252 web.commitMessageRenderer = plain
1253
1254 # Control if email addresses are shown in web ui
1255 #
1256 # SINCE 0.5.0
1257 web.showEmailAddresses = true
1258
1259 # Shows a combobox in the page links header with commit, committer, and author
1260 # search selection.  Default search is commit.
1261 #
1262 # SINCE 0.5.0
1263 web.showSearchTypeSelection = false
1264
1265 # Controls display of activity graphs on the dashboard, activity, and summary
91acc3 1266 # pages.  Charts are generated using Flotr2; an open source HTML5 library.
17ae31 1267 #
JM 1268 # SINCE 0.5.0 
1269 web.generateActivityGraph = true
1270
1271 # Displays the commits branch graph in the summary page and commits/log page.
1272 #
1273 # SINCE 1.4.0
1274 web.showBranchGraph = true
1275
1276 # The default number of days to show on the activity page.
1277 # Value must exceed 0 else default of 7 is used
1278 #
1279 # SINCE 0.8.0
1280 web.activityDuration = 7
1281
1282 # Choices for days of activity to display.
1283 #
1284 # SPACE-DELIMITED
1285 # SINCE 1.3.0
1286 web.activityDurationChoices = 1 3 7 14 21 28
1287
1288 # Maximum number of days of activity that may be displayed on the activity page.
1289 #
1290 # SINCE 1.3.2
1291 web.activityDurationMaximum = 30
1292
1293 # The number of days of commits to cache in memory for the dashboard, activity,
1294 # and project pages.  A value of 0 will disable all caching and will parse commits
1295 # in each repository per-request.  If the value > 0 these pages will try to fulfill
1296 # requests using the commit cache.  If the request specifies a period which falls
1297 # outside the commit cache window, then the cache will be ignored and the request
1298 # will be fulfilled by brute-force parsing all relevant commits per-repository.
1299 #
1300 # Consider the values specified for *web.activityDurationChoices* when setting
1301 # the cache size AND consider adjusting the JVM -Xmx heap parameter appropriately.
1302 #
1303 # SINCE 1.3.0
1304 # RESTART REQUIRED
1305 web.activityCacheDays = 14
1306
1307 # Case-insensitive list of authors to exclude from metrics.  Useful for
1308 # eliminating bots.
1309 #
1310 # SPACE-DELIMITED
1311 # SINCE 1.3.0
1312 web.metricAuthorExclusions =
1313
1314 # The number of commits to display on the summary page
1315 # Value must exceed 0 else default of 20 is used
1316 #
1317 # SINCE 0.5.0
1318 web.summaryCommitCount = 16
1319
1320 # The number of tags/branches to display on the summary page.
1321 # -1 = all tags/branches
1322 # 0 = hide tags/branches
1323 # N = N tags/branches
1324 #
1325 # SINCE 0.5.0
1326 web.summaryRefsCount = 5
1327
1328 # Show a README file, if available, on the summary page.
1329 #
1330 # SINCE 1.4.0
1331 web.summaryShowReadme = false
1332
1333 # The number of items to show on a page before showing the first, prev, next
1334 # pagination links.  A default of 50 is used for any invalid value.
1335 #
1336 # SINCE 0.5.0
1337 web.itemsPerPage = 50
1338
1339 # The number of reflog changes to display on the overview page
1340 # Value must exceed 0 else default of 5 is used
1341 #
1342 # SINCE 1.3.0
1343 web.overviewReflogCount = 5
1344
1345 # The number of reflog changes to show on a reflog page before show the first,
1346 #  prev, next pagination links.  A default of 10 is used for any invalid value.
1347 #
1348 # SINCE 1.3.0
1349 web.reflogChangesPerPage = 10
1350
1351 # Specify the names of documents in the root of your repository to be displayed
1352 # in tabs on your repository docs page.  If the name is not found in the root
1353 # then no tab is added.  The order specified is the order displayed.  Do not
1354 # specify a file extension as the aggregation of markup extensions + txt are used
1355 # in the search algorithm.
1356 #
1357 # SPACE-DELIMITED
1358 # SINCE 1.4.0
1359 web.documents = readme home index changelog contributing submitting_patches copying license notice authors
1360
1361 # Registered file extensions to ignore during Lucene indexing
1362 #
1363 # SPACE-DELIMITED
1364 # SINCE 0.9.0
1365 web.luceneIgnoreExtensions = 7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt pptx png so swf tar xcf xls xlsx zip
1366
1367 # Registered extensions for google-code-prettify
1368 #
1369 # SPACE-DELIMITED
1370 # SINCE 0.5.0
75a907 1371 web.prettyPrintExtensions = aea agc basic bat c cbm cl clj cmd cpp cs css dart el erl erlang frm fs go groovy h hpp hs htm html java js latex lisp ll llvm lsp lua ml moxie mumps n nemerle pascal php pl pm prefs properties proto py r R rb rd Rd rkt s S scala scm sh Splus sql ss tcl tex vb vbs vhd vhdl wiki xml xq xquery yaml yml ymlapollo
17ae31 1372
JM 1373 # Registered extensions for markdown transformation
1374 #
1375 # SPACE-DELIMITED
1376 # CASE-SENSITIVE
1377 # SINCE 0.5.0
1378 web.markdownExtensions = md mkd markdown MD MKD
1379
1380 # Registered extensions for mediawiki transformation
1381 #
1382 # SPACE-DELIMITED
1383 # CASE-SENSITIVE
1384 # SINCE 1.4.0
1385 web.mediawikiExtensions = mw mediawiki
1386
1387 # Registered extensions for twiki transformation
1388 #
1389 # SPACE-DELIMITED
1390 # CASE-SENSITIVE
1391 # SINCE 1.4.0
1392 web.twikiExtensions = twiki
1393
1394 # Registered extensions for textile transformation
1395 #
1396 # SPACE-DELIMITED
1397 # CASE-SENSITIVE
1398 # SINCE 1.4.0
1399 web.textileExtensions = textile
1400
1401 # Registered extensions for confluence transformation
1402 #
1403 # SPACE-DELIMITED
1404 # CASE-SENSITIVE
1405 # SINCE 1.4.0
1406 web.confluenceExtensions = confluence
1407
1408 # Registered extensions for tracwiki transformation
1409 #
1410 # SPACE-DELIMITED
1411 # CASE-SENSITIVE
1412 # SINCE 1.4.0
1413 web.tracwikiExtensions = tracwiki
1414
1415 # Image extensions
1416 #
1417 # SPACE-DELIMITED
1418 # SINCE 0.5.0
c8b728 1419 web.imageExtensions = bmp ico gif jpg jpeg png svg
17ae31 1420
JM 1421 # Registered extensions for binary blobs
1422 #
1423 # SPACE-DELIMITED
1424 # SINCE 0.5.0
1425 web.binaryExtensions = 7z arc arj bin dll doc docx exe gz jar lib lzh odg odf odt pdf ppt pptx so tar xls xlsx zip
1426
1427 # Aggressive heap management will run the garbage collector on every generated
1428 # page.  This slows down page generation a little but improves heap consumption. 
1429 #
1430 # SINCE 0.5.0
1431 web.aggressiveHeapManagement = false
1432
1433 # Run the webapp in debug mode
1434 #
1435 # SINCE 0.5.0
1436 # RESTART REQUIRED
1437 web.debugMode = false
1438
0e287b 1439 # Allows to hide the user logon form or dropdown menu from the top pane 
1440 # if it's not needed.
1441 #
1442 # SINCE 1.7.0
1443 web.displayUserPanel = true
1444
17ae31 1445 # Force a default locale for all users, ignoring the browser's settings.
JM 1446 # An empty value allows Gitblit to use the translation preferred by the browser.
1447 #
1448 # Changing this value while the server is running will only affect new sessions.
1449 #
1450 # e.g. web.forceDefaultLocale = en
1451 #
1452 # SINCE 1.3.0
1453 web.forceDefaultLocale = 
1454
6235fa 1455 # The following two settings serve to avoid browser overload when trying to
T 1456 # render very large diffs. Both limits apply to commitdiffs, not to single-file
1457 # diffs.
1458
1459 # Maximum number of diff lines to display for a single file diff in a commitdiff.
1460 # Defaults to 4000; can be adjusted in the range [500 .. 4000]. Smaller values
1461 # set the limit to 500, larger values to 4000. The count includes context lines
1462 # in the diff.
1463
1464 # If a file diff in a commitdiff produces more lines, the diff for that file is
1465 # not shown in the commitdiff.
1466 #
1467 # SINCE 1.7.0
1468 web.maxDiffLinesPerFile = 4000
1469
1470 # Total maximum number of diff lines to show in a commitdiff. Defaults to 20000;
1471 # can be adjusted in the range [1000 .. 20000]. Smaller values set the limit to
1472 # 1000, larger values to 20000. The count includes context lines in diffs.
1473 #
1474 # If a commitdiff produces more lines, it is truncated after the first file
1475 # that exceeds the limit. Diffs for subsequent files in the commit are not shown
1476 # at all in the commitdiff. Omitted files are listed, though.
1477 #
1478 # SINCE 1.7.0
1479 web.maxDiffLines = 20000
1480
17ae31 1481 # Enable/disable global regex substitutions (i.e. shared across repositories)
JM 1482 #
1483 # SINCE 0.5.0
1484 # DEPRECATED 1.4.0 (migrate to bugtraq instead)
1485 regex.global = true
1486
1487 # Example global regex substitutions
1488 # Use !!! to separate the search pattern and the replace pattern
1489 # searchpattern!!!replacepattern
1490 # SINCE 0.5.0
1491
1492 # regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!Bug: <a href="http://somehost/bug/$3">$3</a>
1493 # SINCE 0.5.0
1494
1495 # Example Gerrit links
1496 # regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!Change-Id: <a href="http://somehost/r/#q,$2,n,z">$2</a>
1497 # regex.global.reviewedon = \\b(Reviewed-on:\\s*)([A-Za-z0-9:/\\.]*)\\b!!!Reviewed-on: <a href="$2">$2</a>
1498
1499 # Example per-repository regex substitutions overrides global
1500 # SINCE 0.5.0
1501 # regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!Bug: <a href="http://elsewhere/bug/$3">$3</a>
1502
1503 #
1504 # Mail Settings
1505 # SINCE 0.6.0
1506 #
1507 # Mail settings are used to notify administrators of received federation proposals
1508 #
1509
1510 # ip or hostname of smtp server
1511 #
1512 # SINCE 0.6.0
1513 mail.server =
1514
1515 # port to use for smtp requests
1516 #
1517 # SINCE 0.6.0
1518 mail.port = 25
1519
1520 # debug the mail executor
1521 #
1522 # SINCE 0.6.0
1523 mail.debug = false
1524
1525 # use SMTPs flag
1526 mail.smtps = false
1527
1528 # use STARTTLS flag
1529 #
1530 # SINCE 1.6.0
1531 mail.starttls = false
1532
1533 # if your smtp server requires authentication, supply the credentials here
1534 #
1535 # SINCE 0.6.0
1536 mail.username =
1537 # SINCE 0.6.0
1538 mail.password =
1539
1540 # from address for generated emails
1541 #
1542 # SINCE 0.6.0
1543 mail.fromAddress = 
1544
1545 # List of email addresses for the Gitblit administrators
1546 #
1547 # SPACE-DELIMITED
1548 # SINCE 0.6.0
1549 mail.adminAddresses = 
1550
1551 # List of email addresses for sending push email notifications.
1552 #
1553 # This key currently requires use of the sendemail.groovy hook script.
1554 # If you set sendemail.groovy in *groovy.postReceiveScripts* then email
1555 # notifications for all repositories (regardless of access restrictions!)
1556 # will be sent to these addresses.
1557 #
1558 # SPACE-DELIMITED
1559 # SINCE 0.8.0
1560 mail.mailingLists =
1561
1562 #
1563 # Federation Settings
1564 # SINCE 0.6.0
1565 #
1566 # A Gitblit federation is a way to backup one Gitblit instance to another.
1567 #
1568 # *git.enableGitServlet* must be true to use this feature.
1569
1570 # Your federation name is used for federation status acknowledgments.  If it is
1571 # unset, and you elect to send a status acknowledgment, your Gitblit instance
1572 # will be identified by its hostname, if available, else your internal ip address.
1573 # The source Gitblit instance will also append your external IP address to your
1574 # identification to differentiate multiple pulling systems behind a single proxy.
1575 #
1576 # SINCE 0.6.0
1577 federation.name =
1578
1579 # Specify the passphrase of this Gitblit instance.
1580 #
1581 # An unspecified (empty) passphrase disables processing federation requests.
1582 #
1583 # This value can be anything you want: an integer, a sentence, an haiku, etc.
1584 # Keep the value simple, though, to avoid Java properties file encoding issues.
1585 #
1586 # Changing your passphrase will break any registrations you have established with other
1587 # Gitblit instances.
1588 #
1589 # CASE-SENSITIVE
1590 # SINCE 0.6.0
1591 # RESTART REQUIRED *(only to enable or disable federation)*
1592 federation.passphrase =
1593
1594 # Control whether or not this Gitblit instance can receive federation proposals
1595 # from another Gitblit instance.  Registering a federated Gitblit is a manual
1596 # process.  Proposals help to simplify that process by allowing a remote Gitblit
1597 # instance to send your Gitblit instance the federation pull data.
1598 #
1599 # SINCE 0.6.0
1600 federation.allowProposals = false
1601
1602 # The destination folder for cached federation proposals.
1603 # Use forward slashes even on Windows!!
1604 #
1605 # SINCE 0.6.0
1606 # BASEFOLDER
1607 federation.proposalsFolder = ${baseFolder}/proposals
1608
1609 # The default pull frequency if frequency is unspecified on a registration
1610 #
1611 # SINCE 0.6.0
1612 federation.defaultFrequency = 60 mins
1613
1614 # Federation Sets are named groups of repositories.  The Federation Sets are 
1615 # available for selection in the repository settings page.  You can assign a
1616 # repository to one or more sets and then distribute the token for the set.
1617 # This allows you to grant federation pull access to a subset of your available
1618 # repositories.  Tokens for federation sets only grant repository pull access.
1619 #
1620 # SPACE-DELIMITED
1621 # CASE-SENSITIVE
1622 # SINCE 0.6.0
1623 federation.sets = 
1624
1625 # Federation pull registrations
1626 # Registrations are read once, at startup.
1627 #
1628 # RESTART REQUIRED
1629 #
1630 # frequency:
1631 #   The shortest frequency allowed is every 5 minutes
1632 #   Decimal frequency values are cast to integers
1633 #   Frequency values may be specified in mins, hours, or days
1634 #   Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
1635 #
1636 # folder:
1637 #   if unspecified, the folder is *git.repositoriesFolder*
1638 #   if specified, the folder is relative to *git.repositoriesFolder*
1639 #
1640 # bare:
1641 #   if true, each repository will be created as a *bare* repository and will not
1642 #   have a working directory.
1643 #
1644 #   if false, each repository will be created as a normal repository suitable
1645 #   for local work.
1646 #
1647 # mirror:
1648 #   if true, each repository HEAD is reset to *origin/master* after each pull.
1649 #   The repository will be flagged *isFrozen* after the initial clone.
1650 #
1651 #   if false, each repository HEAD will point to the FETCH_HEAD of the initial
1652 #   clone from the origin until pushed to or otherwise manipulated.
1653 #
1654 # mergeAccounts:
1655 #   if true, remote accounts and their permissions are merged into your 
1656 #   users.properties file 
1657 #
1658 # notifyOnError:
1659 #   if true and the mail configuration is properly set, administrators will be
1660 #   notified by email of pull failures
1661 #
1662 # include and exclude:
1663 #   Space-delimited list of repositories to include or exclude from pull
1664 #   may be * wildcard to include or exclude all
1665 #   may use fuzzy match (e.g. org.eclipse.*)
1666
1667 #
1668 # (Nearly) Perfect Mirror example
1669 #
1670
1671 #federation.example1.url = https://go.gitblit.com
1672 #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
1673 #federation.example1.frequency = 120 mins
1674 #federation.example1.folder =
1675 #federation.example1.bare = true 
1676 #federation.example1.mirror = true 
1677 #federation.example1.mergeAccounts = true
1678
1679 #
1680 # Advanced Realm Settings
1681 #
1682
1683 # Auto-creates user accounts based on the servlet container principal.  This
1684 # assumes that your Gitblit install is a protected resource and your container's
1685 # authentication process intercepts all Gitblit requests.
1686 #
1687 # SINCE 1.3.0
1688 realm.container.autoCreateAccounts = false
1689
2c0555 1690 # A set of mapping used to map HTTP session attributes to user informations
FB 1691 # They are used if realm.container.autoCreateAccounts is set to true and
1692 # the webapp container used can fill the session with user informations
1693 #
1694 # SINCE 1.7.0
1695 realm.container.autoAccounts.displayName = 
1696 realm.container.autoAccounts.emailAddress = 
1697 realm.container.autoAccounts.locale = 
1698
1699 # If the user's created by the webapp container is given this role,
1700 # the user created will be a admin user.
1701 #
1702 # SINCE 1.7.0
1703 realm.container.autoAccounts.adminRole = 
1704
1705
17ae31 1706 # Allow or prohibit Windows guest account logins
JM 1707 #
1708 # SINCE 1.3.0
1709 realm.windows.allowGuests = false
1710
1711 # Allow user accounts belonging to the BUILTIN\Administrators group to be
1712 # Gitblit administrators.
1713 #
1714 # SINCE 1.4.0
1715 realm.windows.permitBuiltInAdministrators = true
1716
1717 # The default domain for authentication.
1718 #
1719 # If specified, this domain will be used for authentication UNLESS the supplied
1720 # login name manually specifies a domain (.e.g. mydomain\james or james@mydomain)
1721 #
1722 # If unspecified, the username must be specified in UPN format (name@domain).
1723 #
1724 # if "." (dot) is specified, ONLY the local account database will be used.
1725 #
1726 # SINCE 1.3.0
1727 realm.windows.defaultDomain =
1728
1729 # The PAM service name for authentication.
1730 # default: system-auth
1731 #
1732 # SINCE 1.3.1
1733 realm.pam.serviceName = system-auth
1734
1735 # The Apache htpasswd file that contains the users and passwords.
1736 # default: ${baseFolder}/htpasswd
1737 #
1738 # RESTART REQUIRED
1739 # BASEFOLDER
1740 # SINCE 1.3.2
1741 realm.htpasswd.userfile = ${baseFolder}/htpasswd
1742
46f61d 1743 # The name of the HTTP header containing the user name to trust as authenticated
JJ 1744 # default: none
1745 #
1746 # WARNING: only use this mechanism if your requests are coming from a trusted
1747 #          and secure source such as a self managed reverse proxy!
1748 #
1749 # RESTART REQUIRED
1750 # SINCE 1.7.2
1751 realm.httpheader.userheader =
1752
1753 # The name of the HTTP header containing the team names of which the user is a member.
1754 # If this is defined, then only groups from the headers will be available, whereas
1755 # if this remains undefined, then local groups will be used.
1756 #
1757 # This setting requires that you have configured realm.httpheader.userheader.
1758 #
1759 # default: none
1760 #
1761 # RESTART REQUIRED
1762 # SINCE 1.7.2
1763 realm.httpheader.teamheader =
1764
1765 # The regular expression pattern used to separate team names in the team header value
1766 # default: ,
1767 #
1768 # This setting requires that you have configured realm.httpheader.teamheader
1769 #
1770 # RESTART REQUIRED
1771 # SINCE 1.7.2
1772 realm.httpheader.teamseparator = ,
1773
1774 # Auto-creates user accounts when successfully authenticated based on HTTP headers.
1775 #
1776 # SINCE 1.7.2
1777 realm.httpheader.autoCreateAccounts = false
1778
17ae31 1779 # Restrict the Salesforce user to members of this org.
JM 1780 # default: 0 (i.e. do not check the Org ID)
1781 #
1782 # SINCE 1.3.0
1783 realm.salesforce.orgId = 0
1784
1785 # URL of the LDAP server.
1786 # To use encrypted transport, use either ldaps:// URL for SSL or ldap+tls:// to
1787 # send StartTLS command.
1788 #
1789 # SINCE 1.0.0
1790 realm.ldap.server = ldap://localhost
1791
1792 # Login username for LDAP searches.
1793 # If this value is unspecified, anonymous LDAP login will be used.
1794
1795 # e.g. mydomain\\username
1796 #
1797 # SINCE 1.0.0
1798 realm.ldap.username = cn=Directory Manager
1799
1800 # Login password for LDAP searches.
1801 #
1802 # SINCE 1.0.0
1803 realm.ldap.password = password
1804
1805 # Bind pattern for Authentication.
1806 # Allow to directly authenticate an user without LDAP Searches.
1807
1808 # e.g. CN=${username},OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
1809 #
1810 # SINCE 1.5.0
1811 realm.ldap.bindpattern = 
1812
1813
1814 # Delegate team membership control to LDAP.
1815 #
1816 # If true, team user memberships will be specified by LDAP groups.  This will
1817 # disable team selection in Edit User and user selection in Edit Team.
1818 #
1819 # If false, LDAP will only be used for authentication and Gitblit will maintain
1820 # team memberships with the *realm.ldap.backingUserService*.
1821 #
1822 # SINCE 1.0.0
1823 realm.ldap.maintainTeams = false
1824
1825 # Root node for all LDAP users
1826 #
1827 # This is the root node from which subtree user searches will begin.
1828 # If blank, Gitblit will search ALL nodes.
1829 #
1830 # SINCE 1.0.0
1831 realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
1832
1833 # Filter criteria for LDAP users
1834 #
1835 # Query pattern to use when searching for a user account. This may be any valid 
1836 # LDAP query expression, including the standard (&) and (|) operators.
1837 #
1838 # Variables may be injected via the ${variableName} syntax.
1839 # Recognized variables are:
1840 #    ${username} - The text entered as the user name
1841 #
1842 # SINCE 1.0.0
1843 realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
1844
1845 # Root node for all LDAP groups to be used as Gitblit Teams
1846 #
1847 # This is the root node from which subtree team searches will begin.
1848 # If blank, Gitblit will search ALL nodes.  
1849 #
1850 # SINCE 1.0.0
1851 realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
1852
1853 # Filter criteria for LDAP groups
1854 #
1855 # Query pattern to use when searching for a team. This may be any valid 
1856 # LDAP query expression, including the standard (&) and (|) operators.
1857 #
1858 # Variables may be injected via the ${variableName} syntax.
1859 # Recognized variables are:
1860 #    ${username} - The text entered as the user name
1861 #    ${dn} - The Distinguished Name of the user logged in
1862 #
1863 # All attributes from the LDAP User record are available. For example, if a user
1864 # has an attribute "fullName" set to "John", "(fn=${fullName})" will be 
1865 # translated to "(fn=John)".
1866 #
1867 # SINCE 1.0.0
1868 realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
1869
1870 # Filter criteria for empty LDAP groups
1871 #
1872 # Query pattern to use when searching for an empty team. This may be any valid 
1873 # LDAP query expression, including the standard (&) and (|) operators.
1874 #
1875 # default: (&(objectClass=group)(!(member=*)))
1876 # SINCE 1.4.0
1877 realm.ldap.groupEmptyMemberPattern = (&(objectClass=group)(!(member=*)))
1878
1879 # LDAP users or groups that should be given administrator privileges.
1880 #
1881 # Teams are specified with a leading '@' character.  Groups with spaces in the
1882 # name can be entered as "@team name".  This setting only applies when using
1883 # LDAP to maintain team memberships.
1884 #
1885 # e.g. realm.ldap.admins = john @git_admins "@git admins"
1886 #
1887 # SPACE-DELIMITED
1888 # SINCE 1.0.0
1889 realm.ldap.admins = @Git_Admins
1890
1891 # Attribute(s) on the USER record that indicate their display (or full) name.
1892 # Leave blank for no mapping available in LDAP.
1893 #
1894 # This may be a single attribute, or a string of multiple attributes.  Examples:
1895 #  displayName - Uses the attribute 'displayName' on the user record
1896 #  ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3 
1897 #       attributes together, with a '.' after personalTitle
1898 #
1899 # SINCE 1.0.0
1900 realm.ldap.displayName = displayName
1901
1902 # Attribute(s) on the USER record that indicate their email address.
1903 # Leave blank for no mapping available in LDAP.
1904 #
1905 # This may be a single attribute, or a string of multiple attributes.  Examples:
1906 #  email - Uses the attribute 'email' on the user record
1907 #  ${givenName}.${surname}@gitblit.com -Will concatenate the 2 attributes
1908 #       together with a '.' and '@' creating something like first.last@gitblit.com 
1909 #
1910 # SINCE 1.0.0
1911 realm.ldap.email = email
1912
1913 # Attribute on the USER record that indicate their username to be used in gitblit
1914 # when synchronizing users from LDAP
1915 # if blank, Gitblit will use uid
1916 # For MS Active Directory this may be sAMAccountName
1917 #
1918 # SINCE 1.0.0
1919 realm.ldap.uid = uid
1920
1921 # Defines whether to synchronize all LDAP users and teams into the user service
1922 #
1923 # Valid values: true, false
1924 # If left blank, false is assumed
1925 #
1926 # SINCE 1.4.0
1927 realm.ldap.synchronize = false
1928
1929 # Defines the period to be used when synchronizing users and teams from ldap.
1930 #
1931 # Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS' 
1932
1933 # default: 5 MINUTES
1934 #
1935 # RESTART REQUIRED
1936 # SINCE 1.4.0
1937 realm.ldap.syncPeriod = 5 MINUTES
1938
1939 # Defines whether to delete non-existent LDAP users from the user service
1940 # during synchronization. depends on  realm.ldap.synchronize = true
1941 #
1942 # Valid values: true, false
1943 # If left blank, true is assumed
1944 #
1945 # SINCE 1.4.0
1946 realm.ldap.removeDeletedUsers = true
1947
1948 # URL of the Redmine.
1949 #
1950 # SINCE 1.2.0
1951 realm.redmine.url = http://example.com/redmine
1952
1953 #
1954 # Gitblit GO Server Settings
1955 # The following settings only affect the integrated GO variant.
1956 #
1957
1958 # The temporary folder to decompress the embedded gitblit webapp. 
1959 #
1960 # SINCE 0.5.0
1961 # RESTART REQUIRED
1962 # BASEFOLDER
1963 server.tempFolder = ${baseFolder}/temp
1964
1965 # Specify the maximum number of concurrent http/https Jetty worker
1966 # threads to allow.  This setting does not affect other threaded
1967 # daemons and components of Gitblit.
1968 #
1969 # SINCE 1.3.0
1970 # RESTART REQUIRED
1971 server.threadPoolSize = 50
1972
1973 # Context path for the GO application.  You might want to change the context
1974 # path if running Gitblit behind a proxy layer such as mod_proxy.
1975 #
1976 # SINCE 0.7.0
1977 # RESTART REQUIRED
1978 server.contextPath = /
1979
1980 # Standard http port to serve.  <= 0 disables this connector.
1981 # On Unix/Linux systems, ports < 1024 require root permissions.
1982 # Recommended value: 80 or 8080
1983 #
1984 # SINCE 0.5.0
1985 # RESTART REQUIRED
1986 server.httpPort = 0
1987
1988 # Secure/SSL https port to serve. <= 0 disables this connector.
1989 # On Unix/Linux systems, ports < 1024 require root permissions.
1990 # Recommended value: 443 or 8443
1991 #
1992 # SINCE 0.5.0
1993 # RESTART REQUIRED
1994 server.httpsPort = 8443
1995
1996 # Automatically redirect http requests to the secure https connector.
1997 #
1998 # This setting requires that you have configured server.httpPort and server.httpsPort.
1999 # Unless you are on a private LAN where you trust all client connections, it is
2000 # recommended to use https for all communications.
2001 #
2002 # SINCE 1.4.0
2003 # RESTART REQUIRED
2004 server.redirectToHttpsPort = false
2005
2006 # Specify the interface for Jetty to bind the standard connector.
2007 # You may specify an ip or an empty value to bind to all interfaces.
2008 # Specifying localhost will result in Gitblit ONLY listening to requests to
2009 # localhost.
2010 #
2011 # SINCE 0.5.0
2012 # RESTART REQUIRED
2013 server.httpBindInterface =
2014
2015 # Specify the interface for Jetty to bind the secure connector.
2016 # You may specify an ip or an empty value to bind to all interfaces.
2017 # Specifying localhost will result in Gitblit ONLY listening to requests to
2018 # localhost.
2019 #
2020 # SINCE 0.5.0
2021 # RESTART REQUIRED
2022 server.httpsBindInterface =
2023
2024 # Alias of certificate to use for https/SSL serving.  If blank the first
2025 # certificate found in the keystore will be used. 
2026 #
2027 # SINCE 1.2.0
2028 # RESTART REQUIRED
2029 server.certificateAlias = localhost
2030
2031 # Password for SSL keystore.
2032 # Keystore password and certificate password must match.
2033 # This is provided for convenience, its probably more secure to set this value
2034 # using the --storePassword command line parameter.
2035 #
2036 # If you are using the official JRE or JDK from Oracle you may not have the
2037 # JCE Unlimited Strength Jurisdiction Policy files bundled with your JVM.  Because
2038 # of this, your store/key password can not exceed 7 characters.  If you require
2039 # longer passwords you may need to install the JCE Unlimited Strength Jurisdiction
2040 # Policy files from Oracle.
2041 #
2042 # http://www.oracle.com/technetwork/java/javase/downloads/index.html
2043 #
2044 # Gitblit and the Gitblit Certificate Authority will both indicate if Unlimited
2045 # Strength encryption is available.
2046 #
2047 # SINCE 0.5.0
2048 # RESTART REQUIRED
2049 server.storePassword = gitblit
2050
2051 # If serving over https (recommended) you might consider requiring clients to
2052 # authenticate with ssl certificates.  If enabled, only https clients with the
2053 # a valid client certificate will be able to access Gitblit.
2054 #
2055 # If disabled, client certificate authentication is optional and will be tried
2056 # first before falling-back to form authentication or basic authentication.
2057 #
2058 # Requiring client certificates to access any of Gitblit may be too extreme,
2059 # consider this carefully.
2060 #
2061 # SINCE 1.2.0
2062 # RESTART REQUIRED
2063 server.requireClientCertificates = false
2064
2065 # Port for shutdown monitor to listen on.
2066 #
2067 # SINCE 0.5.0
2068 # RESTART REQUIRED
2069 server.shutdownPort = 8081
bd0e83 2070
PM 2071 #
2072 # Gitblit Filestore Settings
2073 #
2074 # The location to save the filestore blobs 
2075 #
2076 # SINCE 1.7.0
2077 filestore.storageFolder = ${baseFolder}/lfs
2078
2079 # Maximum allowable upload size
2080 # The default value, -1, disables upload limits.
2081 # Common unit suffixes of k, m, or g are supported.
2082 # SINCE 1.7.0
2083 filestore.maxUploadSize = -1