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.

gitblit.properties 52KB

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