You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

defaults.properties 60KB

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