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 55KB

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