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

defaults.properties 69KB

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