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

gitblit.properties 62KB

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