Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

defaults.properties 68KB

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