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

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