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

defaults.properties 65KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105
  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. The 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. # The case-insensitive regular expression used to identify and close tickets on
  527. # push to the integration branch for commits that are NOT already referenced as
  528. # a patchset tip.
  529. #
  530. # SINCE 1.5.0
  531. tickets.closeOnPushCommitMessageRegex = (?:fixes|closes)[\\s-]+#?(\\d+)
  532. # The case-insensitive regular expression used to identify and link tickets on
  533. # push to the commits based on commit message. In the case of a patchset
  534. # self references are ignored
  535. #
  536. # SINCE 1.8.0
  537. tickets.linkOnPushCommitMessageRegex = (?:ref|task|issue|bug)?[\\s-]*#(\\d+)
  538. # Specify the location of the Lucene Ticket index
  539. #
  540. # SINCE 1.4.0
  541. # RESTART REQUIRED
  542. tickets.indexFolder = ${baseFolder}/tickets/lucene
  543. # Define the url for the Redis server.
  544. #
  545. # e.g. redis://localhost:6379
  546. # redis://:foobared@localhost:6379/2
  547. #
  548. # SINCE 1.4.0
  549. # RESTART REQUIRED
  550. tickets.redis.url =
  551. # The number of tickets to display on a page.
  552. #
  553. # SINCE 1.4.0
  554. tickets.perPage = 25
  555. # The folder where plugins are loaded from.
  556. #
  557. # SINCE 1.5.0
  558. # RESTART REQUIRED
  559. # BASEFOLDER
  560. plugins.folder = ${baseFolder}/plugins
  561. # The registry of available plugins.
  562. #
  563. # SINCE 1.5.0
  564. plugins.registry = http://plugins.gitblit.com/plugins.json
  565. # The HTTP proxy host for plugin manager.
  566. #
  567. # SINCE 1.7.0
  568. plugins.httpProxyHost =
  569. # The HTTP proxy port for plugin manager.
  570. #
  571. # SINCE 1.7.0
  572. plugins.httpProxyPort =
  573. # The HTTP proxy authorization header for plugin manager.
  574. #
  575. # SINCE 1.7.0
  576. plugins.httpProxyAuthorization =
  577. # Number of threads used to handle miscellaneous tasks in the background.
  578. #
  579. # SINCE 1.6.0
  580. # RESTART REQUIRED
  581. execution.defaultThreadPoolSize = 1
  582. #
  583. # Groovy Integration
  584. #
  585. # Location of Groovy scripts to use for Pre and Post receive hooks.
  586. # Use forward slashes even on Windows!!
  587. # e.g. c:/groovy
  588. #
  589. # RESTART REQUIRED
  590. # SINCE 0.8.0
  591. # BASEFOLDER
  592. groovy.scriptsFolder = ${baseFolder}/groovy
  593. # Specify the directory Grape uses for downloading libraries.
  594. # http://groovy.codehaus.org/Grape
  595. #
  596. # RESTART REQUIRED
  597. # SINCE 1.0.0
  598. # BASEFOLDER
  599. groovy.grapeFolder = ${baseFolder}/groovy/grape
  600. # Scripts to execute on Pre-Receive.
  601. #
  602. # These scripts execute after an incoming push has been parsed and validated
  603. # but BEFORE the changes are applied to the repository. You might reject a
  604. # push in this script based on the repository and branch the push is attempting
  605. # to change.
  606. #
  607. # Script names are case-sensitive on case-sensitive file systems. You may omit
  608. # the traditional ".groovy" from this list if your file extension is ".groovy"
  609. #
  610. # NOTE:
  611. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  612. # tooling you may be using. Also note that these scripts are shared between
  613. # repositories. These are NOT repository-specific scripts! Within the script
  614. # you may customize the control-flow for a specific repository by checking the
  615. # *repository* variable.
  616. #
  617. # SPACE-DELIMITED
  618. # CASE-SENSITIVE
  619. # SINCE 0.8.0
  620. groovy.preReceiveScripts =
  621. # Scripts to execute on Post-Receive.
  622. #
  623. # These scripts execute AFTER an incoming push has been applied to a repository.
  624. # You might trigger a continuous-integration build here or send a notification.
  625. #
  626. # Script names are case-sensitive on case-sensitive file systems. You may omit
  627. # the traditional ".groovy" from this list if your file extension is ".groovy"
  628. #
  629. # NOTE:
  630. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  631. # tooling you may be using. Also note that these scripts are shared between
  632. # repositories. These are NOT repository-specific scripts! Within the script
  633. # you may customize the control-flow for a specific repository by checking the
  634. # *repository* variable.
  635. #
  636. # SPACE-DELIMITED
  637. # CASE-SENSITIVE
  638. # SINCE 0.8.0
  639. groovy.postReceiveScripts =
  640. # Repository custom fields for Groovy Hook mechanism
  641. #
  642. # List of key=label pairs of custom fields to prompt for in the Edit Repository
  643. # page. These keys are stored in the repository's git config file in the
  644. # section [gitblit "customFields"]. Key names are alphanumeric only. These
  645. # fields are intended to be used for the Groovy hook mechanism where a script
  646. # can adjust it's execution based on the custom fields stored in the repository
  647. # config.
  648. #
  649. # e.g. "commitMsgRegex=Commit Message Regular Expression" anotherProperty=Another
  650. #
  651. # SPACE-DELIMITED
  652. # SINCE 1.0.0
  653. groovy.customFields =
  654. #
  655. # Fanout Settings
  656. #
  657. # Fanout is a PubSub notification service that can be used by Sparkleshare
  658. # to eliminate repository change polling. The fanout service runs in a separate
  659. # thread on a separate port from the Gitblit http/https application.
  660. # This service is provided so that Sparkleshare may be used with Gitblit in
  661. # firewalled environments or where reliance on Sparkleshare's default notifications
  662. # server (notifications.sparkleshare.org) is unwanted.
  663. #
  664. # This service maintains an open socket connection from the client to the
  665. # Fanout PubSub service. This service may not work properly behind a proxy server.
  666. # Specify the interface for Fanout to bind it's service.
  667. # You may specify an ip or an empty value to bind to all interfaces.
  668. # Specifying localhost will result in Gitblit ONLY listening to requests to
  669. # localhost.
  670. #
  671. # SINCE 1.2.1
  672. # RESTART REQUIRED
  673. fanout.bindInterface =
  674. # port for serving the Fanout PubSub service. <= 0 disables this service.
  675. # On Unix/Linux systems, ports < 1024 require root permissions.
  676. # Recommended value: 17000
  677. #
  678. # SINCE 1.2.1
  679. # RESTART REQUIRED
  680. fanout.port = 0
  681. # Use Fanout NIO service. If false, a multi-threaded socket service will be used.
  682. # Be advised, the socket implementation spawns a thread per connection plus the
  683. # connection acceptor thread. The NIO implementation is completely single-threaded.
  684. #
  685. # SINCE 1.2.1
  686. # RESTART REQUIRED
  687. fanout.useNio = true
  688. # Concurrent connection limit. <= 0 disables concurrent connection throttling.
  689. # If > 0, only the specified number of concurrent connections will be allowed
  690. # and all other connections will be rejected.
  691. #
  692. # SINCE 1.2.1
  693. # RESTART REQUIRED
  694. fanout.connectionLimit = 0
  695. #
  696. # Authentication Settings
  697. #
  698. # Require authentication to see everything but the admin pages
  699. #
  700. # SINCE 0.5.0
  701. # RESTART REQUIRED
  702. web.authenticateViewPages = false
  703. # If web.authenticateViewPages=true you may optionally require a client-side
  704. # basic authentication prompt instead of the standard form-based login.
  705. #
  706. # SINCE 1.3.0
  707. web.enforceHttpBasicAuthentication = false
  708. # Require admin authentication for the admin functions and pages
  709. #
  710. # SINCE 0.5.0
  711. # RESTART REQUIRED
  712. web.authenticateAdminPages = true
  713. # Allow Gitblit to store a cookie in the user's browser for automatic
  714. # authentication. The cookie is generated by the user service.
  715. #
  716. # SINCE 0.5.0
  717. web.allowCookieAuthentication = true
  718. # Allow deletion of non-empty repositories. This is enforced for all delete vectors.
  719. #
  720. # SINCE 1.6.0
  721. web.allowDeletingNonEmptyRepositories = true
  722. # Setting to include personal repositories in the main repositories list.
  723. #
  724. # SINCE 1.6.0
  725. web.includePersonalRepositories = false
  726. # Config file for storing project metadata
  727. #
  728. # SINCE 1.2.0
  729. # BASEFOLDER
  730. web.projectsFile = ${baseFolder}/projects.conf
  731. # Defines the tab length for all blob views
  732. #
  733. # SINCE 1.7.0
  734. web.tabLength = 4
  735. # Either the full path to a user config file (users.conf)
  736. # OR a fully qualified class name that implements the IUserService interface.
  737. #
  738. # Any custom user service implementation must have a public default constructor.
  739. #
  740. # SINCE 0.5.0
  741. # RESTART REQUIRED
  742. # BASEFOLDER
  743. realm.userService = ${baseFolder}/users.conf
  744. # Ordered list of external authentication providers which will be used if
  745. # authentication against the local user service fails.
  746. #
  747. # Valid providers are:
  748. #
  749. # htpasswd
  750. # httpheader
  751. # ldap
  752. # pam
  753. # redmine
  754. # salesforce
  755. # windows
  756. # e.g. realm.authenticationProviders = htpasswd windows
  757. #
  758. # SINCE 1.4.0
  759. # RESTART REQUIRED
  760. # SPACE-DELIMITED
  761. realm.authenticationProviders =
  762. # How to store passwords.
  763. # Valid values are plain, md5, or combined-md5. md5 is the hash of password.
  764. # combined-md5 is the hash of username.toLowerCase()+password.
  765. # Default is md5.
  766. #
  767. # SINCE 0.5.0
  768. realm.passwordStorage = md5
  769. # Minimum valid length for a plain text password.
  770. # Default value is 5. Absolute minimum is 4.
  771. #
  772. # SINCE 0.5.0
  773. realm.minPasswordLength = 5
  774. #
  775. # Gitblit Web Settings
  776. #
  777. # If blank Gitblit is displayed.
  778. #
  779. # SINCE 0.5.0
  780. web.siteName =
  781. # The canonical url of your Gitblit server to be used in repository url generation,
  782. # RSS feeds, and all embedded links in email and plugin-based notifications.
  783. #
  784. # If you are running Gitblit on a non-standard http port (i.e. not 80 and not 443)
  785. # then you must specify that port in this url otherwise your generated urls will be
  786. # incorrect.
  787. #
  788. # The hostname of this url will be extracted for SSH and GIT protocol repository
  789. # url generation.
  790. #
  791. # e.g. web.canonicalUrl = https://dev.gitblit.com
  792. # web.canonicalUrl = https://dev.gitblit.com:8443
  793. #
  794. # SINCE 1.4.0
  795. web.canonicalUrl =
  796. # You may specify a different logo image for the header but it must be 120x45px.
  797. # If the specified file does not exist, the default Gitblit logo will be used.
  798. #
  799. # SINCE 1.3.0
  800. # BASEFOLDER
  801. web.headerLogo = ${baseFolder}/logo.png
  802. # You may specify a different link URL for the logo image anchor.
  803. # If blank the Gitblit main page URL is used.
  804. #
  805. # SINCE 1.3.0
  806. # BASEFOLDER
  807. web.rootLink =
  808. # You may specify a custom header background CSS color. If unspecified, the
  809. # default color will be used.
  810. #
  811. # e.g. web.headerBackgroundColor = #002060
  812. #
  813. # SINCE 1.3.0
  814. web.headerBackgroundColor =
  815. # You may specify a custom header foreground CSS color. If unspecified, the
  816. # default color will be used.
  817. #
  818. # e.g. web.headerForegroundColor = white
  819. #
  820. # SINCE 1.3.0
  821. web.headerForegroundColor =
  822. # You may specify a custom header foreground hover CSS color. If unspecified, the
  823. # default color will be used.
  824. #
  825. # e.g. web.headerHoverColor = white
  826. #
  827. # SINCE 1.3.0
  828. web.headerHoverColor =
  829. # You may specify a custom header border CSS color. If unspecified, the default
  830. # color will be used.
  831. #
  832. # e.g. web.headerBorderColor = #002060
  833. #
  834. # SINCE 1.3.0
  835. web.headerBorderColor =
  836. # You may specify a custom header border CSS color. If unspecified, the default
  837. # color will be used.
  838. #
  839. # e.g. web.headerBorderFocusColor = #ff9900
  840. #
  841. # SINCE 1.3.0
  842. web.headerBorderFocusColor =
  843. # If *web.authenticateAdminPages*=true, users with "admin" role can create
  844. # repositories, create users, and edit repository metadata.
  845. #
  846. # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
  847. # functions.
  848. #
  849. # SINCE 0.5.0
  850. web.allowAdministration = true
  851. # Setting to disable rendering the top-level navigation header which includes
  852. # the login form, top-level links like dashboard, repositories, search, etc.
  853. # This setting is only useful if you plan to embed Gitblit within another page
  854. # or system.
  855. #
  856. # SINCE 1.4.0
  857. web.hideHeader = false
  858. # Allows rpc clients to list repositories and possibly manage or administer the
  859. # Gitblit server, if the authenticated account has administrator permissions.
  860. # See *web.enableRpcManagement* and *web.enableRpcAdministration*.
  861. #
  862. # SINCE 0.7.0
  863. web.enableRpcServlet = true
  864. # Allows rpc clients to manage repositories and users of the Gitblit instance,
  865. # if the authenticated account has administrator permissions.
  866. # Requires *web.enableRpcServlet=true*.
  867. #
  868. # SINCE 0.7.0
  869. web.enableRpcManagement = false
  870. # Allows rpc clients to control the server settings and monitor the health of this
  871. # this Gitblit instance, if the authenticated account has administrator permissions.
  872. # Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
  873. #
  874. # SINCE 0.7.0
  875. web.enableRpcAdministration = false
  876. # Full path to a configurable robots.txt file. With this file you can control
  877. # what parts of your Gitblit server respectable robots are allowed to traverse.
  878. # http://googlewebmastercentral.blogspot.com/2008/06/improving-on-robots-exclusion-protocol.html
  879. #
  880. # SINCE 1.0.0
  881. # BASEFOLDER
  882. web.robots.txt = ${baseFolder}/robots.txt
  883. # The number of minutes to cache a page in the browser since the last request.
  884. # The default value is 0 minutes. A value <= 0 disables all page caching which
  885. # is the default behavior for Gitblit <= 1.3.0.
  886. #
  887. # SINCE 1.3.1
  888. web.pageCacheExpires = 0
  889. # If true, the web ui layout will respond and adapt to the browser's dimensions.
  890. # if false, the web ui will use a 940px fixed-width layout.
  891. # http://twitter.github.com/bootstrap/scaffolding.html#responsive
  892. #
  893. # SINCE 1.0.0
  894. web.useResponsiveLayout = true
  895. # Allow Gravatar images to be displayed in Gitblit pages.
  896. #
  897. # SINCE 0.8.0
  898. web.allowGravatar = true
  899. # Define which class will generate the avatar URL.
  900. #
  901. # SINCE 1.7.0
  902. web.avatarClass = com.gitblit.GravatarGenerator
  903. # Allow dynamic zip downloads.
  904. #
  905. # SINCE 0.5.0
  906. web.allowZipDownloads = true
  907. # If *web.allowZipDownloads=true* the following formats will be displayed for
  908. # download compressed archive links:
  909. #
  910. # zip = standard .zip
  911. # tar = standard tar format (preserves *nix permissions and symlinks)
  912. # gz = gz-compressed tar
  913. # xz = xz-compressed tar
  914. # bzip2 = bzip2-compressed tar
  915. #
  916. # SPACE-DELIMITED
  917. # SINCE 1.2.0
  918. web.compressedDownloads = zip gz
  919. # Allow optional Lucene integration. Lucene indexing is an opt-in feature.
  920. # A repository may specify branches to index with Lucene instead of using Git
  921. # commit traversal. There are scenarios where you may want to completely disable
  922. # Lucene indexing despite a repository specifying indexed branches. One such
  923. # scenario is on a resource-constrained federated Gitblit mirror.
  924. #
  925. # SINCE 0.9.0
  926. web.allowLuceneIndexing = true
  927. # Control the frequency of Lucene repository indexing.
  928. # The default setting is to check for updated refs every 2 mins.
  929. #
  930. # SINCE 1.6.1
  931. web.luceneFrequency = 2 mins
  932. # Allows an authenticated user to create forks of a repository
  933. #
  934. # set this to false if you want to disable all fork controls on the web site
  935. #
  936. web.allowForking = true
  937. # Controls the length of shortened commit hash ids
  938. #
  939. # SINCE 1.2.0
  940. web.shortCommitIdLength = 6
  941. # Use Clippy (Flash solution) to provide a copy-to-clipboard button.
  942. # If false, a button with a more primitive JavaScript-based prompt box will
  943. # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
  944. #
  945. # SINCE 0.8.0
  946. web.allowFlashCopyToClipboard = true
  947. # Default maximum number of commits that a repository may contribute to the
  948. # activity page, regardless of the selected duration. This setting may be valuable
  949. # for an extremely busy server. This value may also be configed per-repository
  950. # in Edit Repository. 0 disables this throttle.
  951. #
  952. # SINCE 1.2.0
  953. web.maxActivityCommits = 0
  954. # Default number of entries to include in RSS Syndication links
  955. #
  956. # SINCE 0.5.0
  957. web.syndicationEntries = 25
  958. # Show the size of each repository on the repositories page.
  959. # This requires recursive traversal of each repository folder. This may be
  960. # non-performant on some operating systems and/or filesystems.
  961. #
  962. # SINCE 0.5.2
  963. web.showRepositorySizes = true
  964. # List of custom regex expressions that can be displayed in the Filters menu
  965. # of the Repositories and Activity pages. Keep them very simple because you
  966. # are likely to run into encoding issues if they are too complex.
  967. #
  968. # Use !!! to separate the filters
  969. #
  970. # SINCE 0.8.0
  971. web.customFilters =
  972. # Show federation registrations (without token) and the current pull status
  973. # to non-administrator users.
  974. #
  975. # SINCE 0.6.0
  976. web.showFederationRegistrations = false
  977. # This is the message displayed when *web.authenticateViewPages=true*.
  978. # This can point to a file with Markdown content.
  979. # Specifying "gitblit" uses the internal login message.
  980. #
  981. # SINCE 0.7.0
  982. # BASEFOLDER
  983. web.loginMessage = gitblit
  984. # This is the message displayed above the repositories table.
  985. # This can point to a file with Markdown content.
  986. # Specifying "gitblit" uses the internal welcome message.
  987. #
  988. # SINCE 0.5.0
  989. # BASEFOLDER
  990. web.repositoriesMessage = gitblit
  991. # Ordered list of charsets/encodings to use when trying to display a blob.
  992. # If empty, UTF-8 and ISO-8859-1 are used. The server's default charset
  993. # is always appended to the encoding list. If all encodings fail to cleanly
  994. # decode the blob content, UTF-8 will be used with the standard malformed
  995. # input/unmappable character replacement strings.
  996. #
  997. # SPACE-DELIMITED
  998. # SINCE 1.0.0
  999. web.blobEncodings = UTF-8 ISO-8859-1
  1000. # Manually set the default timezone to be used by Gitblit for display in the
  1001. # web ui. This value is independent of the JVM timezone. Specifying a blank
  1002. # value will default to the JVM timezone.
  1003. # e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
  1004. #
  1005. # SINCE 0.9.0
  1006. # RESTART REQUIRED
  1007. web.timezone =
  1008. # Use the client timezone when formatting dates.
  1009. # This uses AJAX to determine the browser's timezone and may require more
  1010. # server overhead because a Wicket session is created. All Gitblit pages
  1011. # attempt to be stateless, if possible.
  1012. #
  1013. # SINCE 0.5.0
  1014. # RESTART REQUIRED
  1015. web.useClientTimezone = false
  1016. # Time format
  1017. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  1018. #
  1019. # SINCE 0.8.0
  1020. web.timeFormat = HH:mm
  1021. # Short date format
  1022. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  1023. #
  1024. # SINCE 0.5.0
  1025. web.datestampShortFormat = yyyy-MM-dd
  1026. # Long date format
  1027. #
  1028. # SINCE 0.8.0
  1029. web.datestampLongFormat = EEEE, MMMM d, yyyy
  1030. # Long timestamp format
  1031. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  1032. #
  1033. # SINCE 0.5.0
  1034. web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
  1035. # Mount URL parameters
  1036. # This setting controls if pretty or parameter URLs are used.
  1037. # i.e.
  1038. # if true:
  1039. # http://localhost/commit/myrepo/abcdef
  1040. # if false:
  1041. # http://localhost/commit/?r=myrepo&h=abcdef
  1042. #
  1043. # SINCE 0.5.0
  1044. # RESTART REQUIRED
  1045. web.mountParameters = true
  1046. # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
  1047. # in URLs as a security precaution for proxies. This setting tells Gitblit
  1048. # to preemptively replace '/' with '*' or '!' for url string parameters.
  1049. #
  1050. # <https://issues.apache.org/jira/browse/WICKET-1303>
  1051. # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
  1052. # Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
  1053. # *CATALINA_OPTS* or to your JVM launch parameters
  1054. #
  1055. # SINCE 0.5.2
  1056. web.forwardSlashCharacter = /
  1057. # Show other URLs on the summary page for accessing your git repositories
  1058. # Use spaces to separate urls.
  1059. #
  1060. # {0} is the token for the repository name
  1061. # {1} is the token for the username
  1062. #
  1063. # The username is only practical if you have setup your other git serving
  1064. # solutions accounts to have the same username as the Gitblit account.
  1065. #
  1066. # e.g.
  1067. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0} https://{1}@localhost/r/{0}
  1068. #
  1069. # SPACE-DELIMITED
  1070. # SINCE 0.5.0
  1071. web.otherUrls =
  1072. # Should HTTP/HTTPS URLs be displayed if the git servlet is enabled?
  1073. # default: true
  1074. #
  1075. # SINCE 1.7.0
  1076. web.showHttpServletUrls = true
  1077. # Should git URLs be displayed if the git daemon is enabled?
  1078. # default: true
  1079. #
  1080. # SINCE 1.7.0
  1081. web.showGitDaemonUrls = true
  1082. # Should SSH URLs be displayed if the SSH daemon is enabled?
  1083. # default: true
  1084. #
  1085. # SINCE 1.7.0
  1086. web.showSshDaemonUrls = true
  1087. # Should effective permissions be advertised for access paths defined in web.otherUrls?
  1088. # If false, gitblit will indicate unknown permissions for the external link. If true,
  1089. # gitblit will indicate permissions as defined within gitblit (including limiting to clone
  1090. # permission is the transport type is not a valid push mechaism in git.acceptedPushTransports).
  1091. #
  1092. # Configure with caution: Note that gitblit has no way of knowing if further restrictions
  1093. # are imposed by an external forwarding agent, so this may cause user confusion due to
  1094. # more rights being advertised than are available through the URL. It will NOT grant
  1095. # additional rights, but may incorrectly offer actions that are unavailable externally.
  1096. # default: false
  1097. #
  1098. # SINCE 1.7.0
  1099. web.advertiseAccessPermissionForOtherUrls = false
  1100. # Should app-specific clone links be displayed for SourceTree, SparkleShare, etc?
  1101. #
  1102. # SINCE 1.3.0
  1103. web.allowAppCloneLinks = true
  1104. # Choose how to present the repositories list.
  1105. # grouped = group nested/subfolder repositories together (no sorting)
  1106. # flat = flat list of repositories (sorting allowed)
  1107. #
  1108. # SINCE 0.5.0
  1109. web.repositoryListType = grouped
  1110. # If using a grouped repository list and there are repositories at the
  1111. # root level of your repositories folder, you may specify the displayed
  1112. # group name with this setting. This value is only used for web presentation.
  1113. #
  1114. # SINCE 0.5.0
  1115. web.repositoryRootGroupName = main
  1116. # Display the repository swatch color next to the repository name link in the
  1117. # repositories list.
  1118. #
  1119. # SINCE 0.8.0
  1120. web.repositoryListSwatches = true
  1121. # Defines the default commit message renderer. This can be configured
  1122. # per-repository.
  1123. #
  1124. # Valid values are: plain, markdown
  1125. #
  1126. # SINCE 1.4.0
  1127. web.commitMessageRenderer = plain
  1128. # Control if email addresses are shown in web ui
  1129. #
  1130. # SINCE 0.5.0
  1131. web.showEmailAddresses = true
  1132. # Shows a combobox in the page links header with commit, committer, and author
  1133. # search selection. Default search is commit.
  1134. #
  1135. # SINCE 0.5.0
  1136. web.showSearchTypeSelection = false
  1137. # Controls display of activity graphs on the dashboard, activity, and summary
  1138. # pages. Charts are generated using Flotr2; an open source HTML5 library.
  1139. #
  1140. # SINCE 0.5.0
  1141. web.generateActivityGraph = true
  1142. # Displays the commits branch graph in the summary page and commits/log page.
  1143. #
  1144. # SINCE 1.4.0
  1145. web.showBranchGraph = true
  1146. # The default number of days to show on the activity page.
  1147. # Value must exceed 0 else default of 7 is used
  1148. #
  1149. # SINCE 0.8.0
  1150. web.activityDuration = 7
  1151. # Choices for days of activity to display.
  1152. #
  1153. # SPACE-DELIMITED
  1154. # SINCE 1.3.0
  1155. web.activityDurationChoices = 1 3 7 14 21 28
  1156. # Maximum number of days of activity that may be displayed on the activity page.
  1157. #
  1158. # SINCE 1.3.2
  1159. web.activityDurationMaximum = 30
  1160. # The number of days of commits to cache in memory for the dashboard, activity,
  1161. # and project pages. A value of 0 will disable all caching and will parse commits
  1162. # in each repository per-request. If the value > 0 these pages will try to fulfill
  1163. # requests using the commit cache. If the request specifies a period which falls
  1164. # outside the commit cache window, then the cache will be ignored and the request
  1165. # will be fulfilled by brute-force parsing all relevant commits per-repository.
  1166. #
  1167. # Consider the values specified for *web.activityDurationChoices* when setting
  1168. # the cache size AND consider adjusting the JVM -Xmx heap parameter appropriately.
  1169. #
  1170. # SINCE 1.3.0
  1171. # RESTART REQUIRED
  1172. web.activityCacheDays = 14
  1173. # Case-insensitive list of authors to exclude from metrics. Useful for
  1174. # eliminating bots.
  1175. #
  1176. # SPACE-DELIMITED
  1177. # SINCE 1.3.0
  1178. web.metricAuthorExclusions =
  1179. # The number of commits to display on the summary page
  1180. # Value must exceed 0 else default of 20 is used
  1181. #
  1182. # SINCE 0.5.0
  1183. web.summaryCommitCount = 16
  1184. # The number of tags/branches to display on the summary page.
  1185. # -1 = all tags/branches
  1186. # 0 = hide tags/branches
  1187. # N = N tags/branches
  1188. #
  1189. # SINCE 0.5.0
  1190. web.summaryRefsCount = 5
  1191. # Show a README file, if available, on the summary page.
  1192. #
  1193. # SINCE 1.4.0
  1194. web.summaryShowReadme = false
  1195. # The number of items to show on a page before showing the first, prev, next
  1196. # pagination links. A default of 50 is used for any invalid value.
  1197. #
  1198. # SINCE 0.5.0
  1199. web.itemsPerPage = 50
  1200. # The number of reflog changes to display on the overview page
  1201. # Value must exceed 0 else default of 5 is used
  1202. #
  1203. # SINCE 1.3.0
  1204. web.overviewReflogCount = 5
  1205. # The number of reflog changes to show on a reflog page before show the first,
  1206. # prev, next pagination links. A default of 10 is used for any invalid value.
  1207. #
  1208. # SINCE 1.3.0
  1209. web.reflogChangesPerPage = 10
  1210. # Specify the names of documents in the root of your repository to be displayed
  1211. # in tabs on your repository docs page. If the name is not found in the root
  1212. # then no tab is added. The order specified is the order displayed. Do not
  1213. # specify a file extension as the aggregation of markup extensions + txt are used
  1214. # in the search algorithm.
  1215. #
  1216. # SPACE-DELIMITED
  1217. # SINCE 1.4.0
  1218. web.documents = readme home index changelog contributing submitting_patches copying license notice authors
  1219. # Registered file extensions to ignore during Lucene indexing
  1220. #
  1221. # SPACE-DELIMITED
  1222. # SINCE 0.9.0
  1223. 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
  1224. # Registered extensions for google-code-prettify
  1225. #
  1226. # SPACE-DELIMITED
  1227. # SINCE 0.5.0
  1228. 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
  1229. # Registered extensions for markdown transformation
  1230. #
  1231. # SPACE-DELIMITED
  1232. # CASE-SENSITIVE
  1233. # SINCE 0.5.0
  1234. web.markdownExtensions = md mkd markdown MD MKD
  1235. # Registered extensions for mediawiki transformation
  1236. #
  1237. # SPACE-DELIMITED
  1238. # CASE-SENSITIVE
  1239. # SINCE 1.4.0
  1240. web.mediawikiExtensions = mw mediawiki
  1241. # Registered extensions for twiki transformation
  1242. #
  1243. # SPACE-DELIMITED
  1244. # CASE-SENSITIVE
  1245. # SINCE 1.4.0
  1246. web.twikiExtensions = twiki
  1247. # Registered extensions for textile transformation
  1248. #
  1249. # SPACE-DELIMITED
  1250. # CASE-SENSITIVE
  1251. # SINCE 1.4.0
  1252. web.textileExtensions = textile
  1253. # Registered extensions for confluence transformation
  1254. #
  1255. # SPACE-DELIMITED
  1256. # CASE-SENSITIVE
  1257. # SINCE 1.4.0
  1258. web.confluenceExtensions = confluence
  1259. # Registered extensions for tracwiki transformation
  1260. #
  1261. # SPACE-DELIMITED
  1262. # CASE-SENSITIVE
  1263. # SINCE 1.4.0
  1264. web.tracwikiExtensions = tracwiki
  1265. # Image extensions
  1266. #
  1267. # SPACE-DELIMITED
  1268. # SINCE 0.5.0
  1269. web.imageExtensions = bmp ico gif jpg jpeg png svg
  1270. # Registered extensions for binary blobs
  1271. #
  1272. # SPACE-DELIMITED
  1273. # SINCE 0.5.0
  1274. 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
  1275. # Aggressive heap management will run the garbage collector on every generated
  1276. # page. This slows down page generation a little but improves heap consumption.
  1277. #
  1278. # SINCE 0.5.0
  1279. web.aggressiveHeapManagement = false
  1280. # Run the webapp in debug mode
  1281. #
  1282. # SINCE 0.5.0
  1283. # RESTART REQUIRED
  1284. web.debugMode = false
  1285. # Allows to hide the user logon form or dropdown menu from the top pane
  1286. # if it's not needed.
  1287. #
  1288. # SINCE 1.7.0
  1289. web.displayUserPanel = true
  1290. # Force a default locale for all users, ignoring the browser's settings.
  1291. # An empty value allows Gitblit to use the translation preferred by the browser.
  1292. #
  1293. # Changing this value while the server is running will only affect new sessions.
  1294. #
  1295. # e.g. web.forceDefaultLocale = en
  1296. #
  1297. # SINCE 1.3.0
  1298. web.forceDefaultLocale =
  1299. # The following two settings serve to avoid browser overload when trying to
  1300. # render very large diffs. Both limits apply to commitdiffs, not to single-file
  1301. # diffs.
  1302. # Maximum number of diff lines to display for a single file diff in a commitdiff.
  1303. # Defaults to 4000; can be adjusted in the range [500 .. 4000]. Smaller values
  1304. # set the limit to 500, larger values to 4000. The count includes context lines
  1305. # in the diff.
  1306. #
  1307. # If a file diff in a commitdiff produces more lines, the diff for that file is
  1308. # not shown in the commitdiff.
  1309. #
  1310. # SINCE 1.7.0
  1311. web.maxDiffLinesPerFile = 4000
  1312. # Total maximum number of diff lines to show in a commitdiff. Defaults to 20000;
  1313. # can be adjusted in the range [1000 .. 20000]. Smaller values set the limit to
  1314. # 1000, larger values to 20000. The count includes context lines in diffs.
  1315. #
  1316. # If a commitdiff produces more lines, it is truncated after the first file
  1317. # that exceeds the limit. Diffs for subsequent files in the commit are not shown
  1318. # at all in the commitdiff. Omitted files are listed, though.
  1319. #
  1320. # SINCE 1.7.0
  1321. web.maxDiffLines = 20000
  1322. # Enable/disable global regex substitutions (i.e. shared across repositories)
  1323. #
  1324. # SINCE 0.5.0
  1325. # DEPRECATED 1.4.0 (migrate to bugtraq instead)
  1326. regex.global = true
  1327. # Example global regex substitutions
  1328. # Use !!! to separate the search pattern and the replace pattern
  1329. # searchpattern!!!replacepattern
  1330. # SINCE 0.5.0
  1331. # regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!Bug: <a href="http://somehost/bug/$3">$3</a>
  1332. # SINCE 0.5.0
  1333. # Example Gerrit links
  1334. # 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>
  1335. # regex.global.reviewedon = \\b(Reviewed-on:\\s*)([A-Za-z0-9:/\\.]*)\\b!!!Reviewed-on: <a href="$2">$2</a>
  1336. # Example per-repository regex substitutions overrides global
  1337. # SINCE 0.5.0
  1338. # regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!Bug: <a href="http://elsewhere/bug/$3">$3</a>
  1339. #
  1340. # Mail Settings
  1341. # SINCE 0.6.0
  1342. #
  1343. # Mail settings are used to notify administrators of received federation proposals
  1344. #
  1345. # ip or hostname of smtp server
  1346. #
  1347. # SINCE 0.6.0
  1348. mail.server =
  1349. # port to use for smtp requests
  1350. #
  1351. # SINCE 0.6.0
  1352. mail.port = 25
  1353. # debug the mail executor
  1354. #
  1355. # SINCE 0.6.0
  1356. mail.debug = false
  1357. # use SMTPs flag
  1358. mail.smtps = false
  1359. # use STARTTLS flag
  1360. #
  1361. # SINCE 1.6.0
  1362. mail.starttls = false
  1363. # if your smtp server requires authentication, supply the credentials here
  1364. #
  1365. # SINCE 0.6.0
  1366. mail.username =
  1367. # SINCE 0.6.0
  1368. mail.password =
  1369. # from address for generated emails
  1370. #
  1371. # SINCE 0.6.0
  1372. mail.fromAddress =
  1373. # List of email addresses for the Gitblit administrators
  1374. #
  1375. # SPACE-DELIMITED
  1376. # SINCE 0.6.0
  1377. mail.adminAddresses =
  1378. # List of email addresses for sending push email notifications.
  1379. #
  1380. # This key currently requires use of the sendemail.groovy hook script.
  1381. # If you set sendemail.groovy in *groovy.postReceiveScripts* then email
  1382. # notifications for all repositories (regardless of access restrictions!)
  1383. # will be sent to these addresses.
  1384. #
  1385. # SPACE-DELIMITED
  1386. # SINCE 0.8.0
  1387. mail.mailingLists =
  1388. #
  1389. # Federation Settings
  1390. # SINCE 0.6.0
  1391. #
  1392. # A Gitblit federation is a way to backup one Gitblit instance to another.
  1393. #
  1394. # *git.enableGitServlet* must be true to use this feature.
  1395. # Your federation name is used for federation status acknowledgments. If it is
  1396. # unset, and you elect to send a status acknowledgment, your Gitblit instance
  1397. # will be identified by its hostname, if available, else your internal ip address.
  1398. # The source Gitblit instance will also append your external IP address to your
  1399. # identification to differentiate multiple pulling systems behind a single proxy.
  1400. #
  1401. # SINCE 0.6.0
  1402. federation.name =
  1403. # Specify the passphrase of this Gitblit instance.
  1404. #
  1405. # An unspecified (empty) passphrase disables processing federation requests.
  1406. #
  1407. # This value can be anything you want: an integer, a sentence, an haiku, etc.
  1408. # Keep the value simple, though, to avoid Java properties file encoding issues.
  1409. #
  1410. # Changing your passphrase will break any registrations you have established with other
  1411. # Gitblit instances.
  1412. #
  1413. # CASE-SENSITIVE
  1414. # SINCE 0.6.0
  1415. # RESTART REQUIRED *(only to enable or disable federation)*
  1416. federation.passphrase =
  1417. # Control whether or not this Gitblit instance can receive federation proposals
  1418. # from another Gitblit instance. Registering a federated Gitblit is a manual
  1419. # process. Proposals help to simplify that process by allowing a remote Gitblit
  1420. # instance to send your Gitblit instance the federation pull data.
  1421. #
  1422. # SINCE 0.6.0
  1423. federation.allowProposals = false
  1424. # The destination folder for cached federation proposals.
  1425. # Use forward slashes even on Windows!!
  1426. #
  1427. # SINCE 0.6.0
  1428. # BASEFOLDER
  1429. federation.proposalsFolder = ${baseFolder}/proposals
  1430. # The default pull frequency if frequency is unspecified on a registration
  1431. #
  1432. # SINCE 0.6.0
  1433. federation.defaultFrequency = 60 mins
  1434. # Federation Sets are named groups of repositories. The Federation Sets are
  1435. # available for selection in the repository settings page. You can assign a
  1436. # repository to one or more sets and then distribute the token for the set.
  1437. # This allows you to grant federation pull access to a subset of your available
  1438. # repositories. Tokens for federation sets only grant repository pull access.
  1439. #
  1440. # SPACE-DELIMITED
  1441. # CASE-SENSITIVE
  1442. # SINCE 0.6.0
  1443. federation.sets =
  1444. # Federation pull registrations
  1445. # Registrations are read once, at startup.
  1446. #
  1447. # RESTART REQUIRED
  1448. #
  1449. # frequency:
  1450. # The shortest frequency allowed is every 5 minutes
  1451. # Decimal frequency values are cast to integers
  1452. # Frequency values may be specified in mins, hours, or days
  1453. # Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
  1454. #
  1455. # folder:
  1456. # if unspecified, the folder is *git.repositoriesFolder*
  1457. # if specified, the folder is relative to *git.repositoriesFolder*
  1458. #
  1459. # bare:
  1460. # if true, each repository will be created as a *bare* repository and will not
  1461. # have a working directory.
  1462. #
  1463. # if false, each repository will be created as a normal repository suitable
  1464. # for local work.
  1465. #
  1466. # mirror:
  1467. # if true, each repository HEAD is reset to *origin/master* after each pull.
  1468. # The repository will be flagged *isFrozen* after the initial clone.
  1469. #
  1470. # if false, each repository HEAD will point to the FETCH_HEAD of the initial
  1471. # clone from the origin until pushed to or otherwise manipulated.
  1472. #
  1473. # mergeAccounts:
  1474. # if true, remote accounts and their permissions are merged into your
  1475. # users.properties file
  1476. #
  1477. # notifyOnError:
  1478. # if true and the mail configuration is properly set, administrators will be
  1479. # notified by email of pull failures
  1480. #
  1481. # include and exclude:
  1482. # Space-delimited list of repositories to include or exclude from pull
  1483. # may be * wildcard to include or exclude all
  1484. # may use fuzzy match (e.g. org.eclipse.*)
  1485. #
  1486. # (Nearly) Perfect Mirror example
  1487. #
  1488. #federation.example1.url = https://go.gitblit.com
  1489. #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
  1490. #federation.example1.frequency = 120 mins
  1491. #federation.example1.folder =
  1492. #federation.example1.bare = true
  1493. #federation.example1.mirror = true
  1494. #federation.example1.mergeAccounts = true
  1495. #
  1496. # Advanced Realm Settings
  1497. #
  1498. # Auto-creates user accounts based on the servlet container principal. This
  1499. # assumes that your Gitblit install is a protected resource and your container's
  1500. # authentication process intercepts all Gitblit requests.
  1501. #
  1502. # SINCE 1.3.0
  1503. realm.container.autoCreateAccounts = false
  1504. # A set of mapping used to map HTTP session attributes to user informations
  1505. # They are used if realm.container.autoCreateAccounts is set to true and
  1506. # the webapp container used can fill the session with user informations
  1507. #
  1508. # SINCE 1.7.0
  1509. realm.container.autoAccounts.displayName =
  1510. realm.container.autoAccounts.emailAddress =
  1511. realm.container.autoAccounts.locale =
  1512. # If the user's created by the webapp container is given this role,
  1513. # the user created will be a admin user.
  1514. #
  1515. # SINCE 1.7.0
  1516. realm.container.autoAccounts.adminRole =
  1517. # Allow or prohibit Windows guest account logins
  1518. #
  1519. # SINCE 1.3.0
  1520. realm.windows.allowGuests = false
  1521. # Allow user accounts belonging to the BUILTIN\Administrators group to be
  1522. # Gitblit administrators.
  1523. #
  1524. # SINCE 1.4.0
  1525. realm.windows.permitBuiltInAdministrators = true
  1526. # The default domain for authentication.
  1527. #
  1528. # If specified, this domain will be used for authentication UNLESS the supplied
  1529. # login name manually specifies a domain (.e.g. mydomain\james or james@mydomain)
  1530. #
  1531. # If unspecified, the username must be specified in UPN format (name@domain).
  1532. #
  1533. # if "." (dot) is specified, ONLY the local account database will be used.
  1534. #
  1535. # SINCE 1.3.0
  1536. realm.windows.defaultDomain =
  1537. # The PAM service name for authentication.
  1538. # default: system-auth
  1539. #
  1540. # SINCE 1.3.1
  1541. realm.pam.serviceName = system-auth
  1542. # The Apache htpasswd file that contains the users and passwords.
  1543. # default: ${baseFolder}/htpasswd
  1544. #
  1545. # RESTART REQUIRED
  1546. # BASEFOLDER
  1547. # SINCE 1.3.2
  1548. realm.htpasswd.userfile = ${baseFolder}/htpasswd
  1549. # The name of the HTTP header containing the user name to trust as authenticated
  1550. # default: none
  1551. #
  1552. # WARNING: only use this mechanism if your requests are coming from a trusted
  1553. # and secure source such as a self managed reverse proxy!
  1554. #
  1555. # RESTART REQUIRED
  1556. # SINCE 1.7.2
  1557. realm.httpheader.userheader =
  1558. # The name of the HTTP header containing the team names of which the user is a member.
  1559. # If this is defined, then only groups from the headers will be available, whereas
  1560. # if this remains undefined, then local groups will be used.
  1561. #
  1562. # This setting requires that you have configured realm.httpheader.userheader.
  1563. #
  1564. # default: none
  1565. #
  1566. # RESTART REQUIRED
  1567. # SINCE 1.7.2
  1568. realm.httpheader.teamheader =
  1569. # The regular expression pattern used to separate team names in the team header value
  1570. # default: ,
  1571. #
  1572. # This setting requires that you have configured realm.httpheader.teamheader
  1573. #
  1574. # RESTART REQUIRED
  1575. # SINCE 1.7.2
  1576. realm.httpheader.teamseparator = ,
  1577. # Auto-creates user accounts when successfully authenticated based on HTTP headers.
  1578. #
  1579. # SINCE 1.7.2
  1580. realm.httpheader.autoCreateAccounts = false
  1581. # Restrict the Salesforce user to members of this org.
  1582. # default: 0 (i.e. do not check the Org ID)
  1583. #
  1584. # SINCE 1.3.0
  1585. realm.salesforce.orgId = 0
  1586. # URL of the LDAP server.
  1587. # To use encrypted transport, use either ldaps:// URL for SSL or ldap+tls:// to
  1588. # send StartTLS command.
  1589. #
  1590. # SINCE 1.0.0
  1591. realm.ldap.server = ldap://localhost
  1592. # Login username for LDAP searches.
  1593. # If this value is unspecified, anonymous LDAP login will be used.
  1594. #
  1595. # e.g. mydomain\\username
  1596. #
  1597. # SINCE 1.0.0
  1598. realm.ldap.username = cn=Directory Manager
  1599. # Login password for LDAP searches.
  1600. #
  1601. # SINCE 1.0.0
  1602. realm.ldap.password = password
  1603. # Bind pattern for Authentication.
  1604. # Allow to directly authenticate an user without LDAP Searches.
  1605. #
  1606. # e.g. CN=${username},OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1607. #
  1608. # SINCE 1.5.0
  1609. realm.ldap.bindpattern =
  1610. # Delegate team membership control to LDAP.
  1611. #
  1612. # If true, team user memberships will be specified by LDAP groups. This will
  1613. # disable team selection in Edit User and user selection in Edit Team.
  1614. #
  1615. # If false, LDAP will only be used for authentication and Gitblit will maintain
  1616. # team memberships with the *realm.ldap.backingUserService*.
  1617. #
  1618. # SINCE 1.0.0
  1619. realm.ldap.maintainTeams = false
  1620. # Root node for all LDAP users
  1621. #
  1622. # This is the root node from which subtree user searches will begin.
  1623. # If blank, Gitblit will search ALL nodes.
  1624. #
  1625. # SINCE 1.0.0
  1626. realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1627. # Filter criteria for LDAP users
  1628. #
  1629. # Query pattern to use when searching for a user account. This may be any valid
  1630. # LDAP query expression, including the standard (&) and (|) operators.
  1631. #
  1632. # Variables may be injected via the ${variableName} syntax.
  1633. # Recognized variables are:
  1634. # ${username} - The text entered as the user name
  1635. #
  1636. # SINCE 1.0.0
  1637. realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
  1638. # Root node for all LDAP groups to be used as Gitblit Teams
  1639. #
  1640. # This is the root node from which subtree team searches will begin.
  1641. # If blank, Gitblit will search ALL nodes.
  1642. #
  1643. # SINCE 1.0.0
  1644. realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1645. # Filter criteria for LDAP groups
  1646. #
  1647. # Query pattern to use when searching for a team. This may be any valid
  1648. # LDAP query expression, including the standard (&) and (|) operators.
  1649. #
  1650. # Variables may be injected via the ${variableName} syntax.
  1651. # Recognized variables are:
  1652. # ${username} - The text entered as the user name
  1653. # ${dn} - The Distinguished Name of the user logged in
  1654. #
  1655. # All attributes from the LDAP User record are available. For example, if a user
  1656. # has an attribute "fullName" set to "John", "(fn=${fullName})" will be
  1657. # translated to "(fn=John)".
  1658. #
  1659. # SINCE 1.0.0
  1660. realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
  1661. # Filter criteria for empty LDAP groups
  1662. #
  1663. # Query pattern to use when searching for an empty team. This may be any valid
  1664. # LDAP query expression, including the standard (&) and (|) operators.
  1665. #
  1666. # default: (&(objectClass=group)(!(member=*)))
  1667. # SINCE 1.4.0
  1668. realm.ldap.groupEmptyMemberPattern = (&(objectClass=group)(!(member=*)))
  1669. # LDAP users or groups that should be given administrator privileges.
  1670. #
  1671. # Teams are specified with a leading '@' character. Groups with spaces in the
  1672. # name can be entered as "@team name". This setting only applies when using
  1673. # LDAP to maintain team memberships.
  1674. #
  1675. # e.g. realm.ldap.admins = john @git_admins "@git admins"
  1676. #
  1677. # SPACE-DELIMITED
  1678. # SINCE 1.0.0
  1679. realm.ldap.admins = @Git_Admins
  1680. # Attribute(s) on the USER record that indicate their display (or full) name.
  1681. # Leave blank for no mapping available in LDAP.
  1682. #
  1683. # This may be a single attribute, or a string of multiple attributes. Examples:
  1684. # displayName - Uses the attribute 'displayName' on the user record
  1685. # ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3
  1686. # attributes together, with a '.' after personalTitle
  1687. #
  1688. # SINCE 1.0.0
  1689. realm.ldap.displayName = displayName
  1690. # Attribute(s) on the USER record that indicate their email address.
  1691. # Leave blank for no mapping available in LDAP.
  1692. #
  1693. # This may be a single attribute, or a string of multiple attributes. Examples:
  1694. # email - Uses the attribute 'email' on the user record
  1695. # ${givenName}.${surname}@gitblit.com -Will concatenate the 2 attributes
  1696. # together with a '.' and '@' creating something like first.last@gitblit.com
  1697. #
  1698. # SINCE 1.0.0
  1699. realm.ldap.email = email
  1700. # Attribute on the USER record that indicate their username to be used in gitblit
  1701. # when synchronizing users from LDAP
  1702. # if blank, Gitblit will use uid
  1703. # For MS Active Directory this may be sAMAccountName
  1704. #
  1705. # SINCE 1.0.0
  1706. realm.ldap.uid = uid
  1707. # Defines whether to synchronize all LDAP users and teams into the user service
  1708. #
  1709. # Valid values: true, false
  1710. # If left blank, false is assumed
  1711. #
  1712. # SINCE 1.4.0
  1713. realm.ldap.synchronize = false
  1714. # Defines the period to be used when synchronizing users and teams from ldap.
  1715. #
  1716. # Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS'
  1717. # default: 5 MINUTES
  1718. #
  1719. # RESTART REQUIRED
  1720. # SINCE 1.4.0
  1721. realm.ldap.syncPeriod = 5 MINUTES
  1722. # Defines whether to delete non-existent LDAP users from the user service
  1723. # during synchronization. depends on realm.ldap.synchronize = true
  1724. #
  1725. # Valid values: true, false
  1726. # If left blank, true is assumed
  1727. #
  1728. # SINCE 1.4.0
  1729. realm.ldap.removeDeletedUsers = true
  1730. # URL of the Redmine.
  1731. #
  1732. # SINCE 1.2.0
  1733. realm.redmine.url = http://example.com/redmine
  1734. #
  1735. # Gitblit GO Server Settings
  1736. # The following settings only affect the integrated GO variant.
  1737. #
  1738. # The temporary folder to decompress the embedded gitblit webapp.
  1739. #
  1740. # SINCE 0.5.0
  1741. # RESTART REQUIRED
  1742. # BASEFOLDER
  1743. server.tempFolder = ${baseFolder}/temp
  1744. # Specify the maximum number of concurrent http/https Jetty worker
  1745. # threads to allow. This setting does not affect other threaded
  1746. # daemons and components of Gitblit.
  1747. #
  1748. # SINCE 1.3.0
  1749. # RESTART REQUIRED
  1750. server.threadPoolSize = 50
  1751. # Context path for the GO application. You might want to change the context
  1752. # path if running Gitblit behind a proxy layer such as mod_proxy.
  1753. #
  1754. # SINCE 0.7.0
  1755. # RESTART REQUIRED
  1756. server.contextPath = /
  1757. # Standard http port to serve. <= 0 disables this connector.
  1758. # On Unix/Linux systems, ports < 1024 require root permissions.
  1759. # Recommended value: 80 or 8080
  1760. #
  1761. # SINCE 0.5.0
  1762. # RESTART REQUIRED
  1763. server.httpPort = 0
  1764. # Secure/SSL https port to serve. <= 0 disables this connector.
  1765. # On Unix/Linux systems, ports < 1024 require root permissions.
  1766. # Recommended value: 443 or 8443
  1767. #
  1768. # SINCE 0.5.0
  1769. # RESTART REQUIRED
  1770. server.httpsPort = 8443
  1771. # Automatically redirect http requests to the secure https connector.
  1772. #
  1773. # This setting requires that you have configured server.httpPort and server.httpsPort.
  1774. # Unless you are on a private LAN where you trust all client connections, it is
  1775. # recommended to use https for all communications.
  1776. #
  1777. # SINCE 1.4.0
  1778. # RESTART REQUIRED
  1779. server.redirectToHttpsPort = false
  1780. # Specify the interface for Jetty to bind the standard connector.
  1781. # You may specify an ip or an empty value to bind to all interfaces.
  1782. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1783. # localhost.
  1784. #
  1785. # SINCE 0.5.0
  1786. # RESTART REQUIRED
  1787. server.httpBindInterface =
  1788. # Specify the interface for Jetty to bind the secure connector.
  1789. # You may specify an ip or an empty value to bind to all interfaces.
  1790. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1791. # localhost.
  1792. #
  1793. # SINCE 0.5.0
  1794. # RESTART REQUIRED
  1795. server.httpsBindInterface =
  1796. # Alias of certificate to use for https/SSL serving. If blank the first
  1797. # certificate found in the keystore will be used.
  1798. #
  1799. # SINCE 1.2.0
  1800. # RESTART REQUIRED
  1801. server.certificateAlias = localhost
  1802. # Password for SSL keystore.
  1803. # Keystore password and certificate password must match.
  1804. # This is provided for convenience, its probably more secure to set this value
  1805. # using the --storePassword command line parameter.
  1806. #
  1807. # If you are using the official JRE or JDK from Oracle you may not have the
  1808. # JCE Unlimited Strength Jurisdiction Policy files bundled with your JVM. Because
  1809. # of this, your store/key password can not exceed 7 characters. If you require
  1810. # longer passwords you may need to install the JCE Unlimited Strength Jurisdiction
  1811. # Policy files from Oracle.
  1812. #
  1813. # http://www.oracle.com/technetwork/java/javase/downloads/index.html
  1814. #
  1815. # Gitblit and the Gitblit Certificate Authority will both indicate if Unlimited
  1816. # Strength encryption is available.
  1817. #
  1818. # SINCE 0.5.0
  1819. # RESTART REQUIRED
  1820. server.storePassword = gitblit
  1821. # If serving over https (recommended) you might consider requiring clients to
  1822. # authenticate with ssl certificates. If enabled, only https clients with the
  1823. # a valid client certificate will be able to access Gitblit.
  1824. #
  1825. # If disabled, client certificate authentication is optional and will be tried
  1826. # first before falling-back to form authentication or basic authentication.
  1827. #
  1828. # Requiring client certificates to access any of Gitblit may be too extreme,
  1829. # consider this carefully.
  1830. #
  1831. # SINCE 1.2.0
  1832. # RESTART REQUIRED
  1833. server.requireClientCertificates = false
  1834. # Port for shutdown monitor to listen on.
  1835. #
  1836. # SINCE 0.5.0
  1837. # RESTART REQUIRED
  1838. server.shutdownPort = 8081
  1839. #
  1840. # Gitblit Filestore Settings
  1841. #
  1842. # The location to save the filestore blobs
  1843. #
  1844. # SINCE 1.7.0
  1845. filestore.storageFolder = ${baseFolder}/lfs
  1846. # Maximum allowable upload size
  1847. # The default value, -1, disables upload limits.
  1848. # Common unit suffixes of k, m, or g are supported.
  1849. # SINCE 1.7.0
  1850. filestore.maxUploadSize = -1