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

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