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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193
  1. #
  2. # DEFAULTS.PROPERTIES
  3. #
  4. # The default Gitblit settings.
  5. #
  6. # This settings file supports parameterization from the command-line for the
  7. # following command-line parameters:
  8. #
  9. # --baseFolder ${baseFolder} SINCE 1.2.1
  10. #
  11. # Settings that support ${baseFolder} parameter substitution are indicated with the
  12. # BASEFOLDER attribute. If the --baseFolder argument is unspecified, ${baseFolder}
  13. # and it's trailing / will be discarded from the setting value leaving a relative
  14. # path that is equivalent to pre-1.2.1 releases.
  15. #
  16. # e.g. "${baseFolder}/git" becomes "git", if --baseFolder is unspecified
  17. #
  18. # Git Servlet Settings
  19. #
  20. # Base folder for repositories.
  21. # This folder may contain bare and non-bare repositories but Gitblit will only
  22. # allow you to push to bare repositories.
  23. # Use forward slashes even on Windows!!
  24. # e.g. c:/gitrepos
  25. #
  26. # SINCE 0.5.0
  27. # RESTART REQUIRED
  28. # BASEFOLDER
  29. git.repositoriesFolder = ${baseFolder}/git
  30. # Build the available repository list at startup and cache this list for reuse.
  31. # This reduces disk io when presenting the repositories page, responding to rpcs,
  32. # etc, but it means that Gitblit will not automatically identify repositories
  33. # added or deleted by external tools.
  34. #
  35. # For this case you can use curl, wget, etc to issue an rpc request to clear the
  36. # cache (e.g. https://localhost/rpc?req=CLEAR_REPOSITORY_CACHE)
  37. #
  38. # SINCE 1.1.0
  39. git.cacheRepositoryList = true
  40. # Search the repositories folder subfolders for other repositories.
  41. # Repositories MAY NOT be nested (i.e. one repository within another)
  42. # but they may be grouped together in subfolders.
  43. # e.g. c:/gitrepos/libraries/mylibrary.git
  44. # c:/gitrepos/libraries/myotherlibrary.git
  45. #
  46. # SINCE 0.5.0
  47. git.searchRepositoriesSubfolders = true
  48. # Maximum number of folders to recurse into when searching for repositories.
  49. # The default value, -1, disables depth limits.
  50. #
  51. # SINCE 1.1.0
  52. git.searchRecursionDepth = -1
  53. # List of regex exclusion patterns to match against folders found in
  54. # *git.repositoriesFolder*.
  55. # Use forward slashes even on Windows!!
  56. # e.g. test/jgit\.git
  57. #
  58. # SPACE-DELIMITED
  59. # CASE-SENSITIVE
  60. # SINCE 1.1.0
  61. git.searchExclusions =
  62. # List of regex url patterns for extracting a repository name when locating
  63. # submodules.
  64. # e.g. git.submoduleUrlPatterns = .*?://github.com/(.*) will extract
  65. # *gitblit/gitblit.git* from *git://github.com/gitblit/gitblit.git*
  66. # If no matches are found then the submodule repository name is assumed to be
  67. # whatever trails the last / character. (e.g. gitblit.git).
  68. #
  69. # SPACE-DELIMITED
  70. # CASE-SENSITIVE
  71. # SINCE 1.1.0
  72. git.submoduleUrlPatterns = .*?://github.com/(.*)
  73. # Specify the interface for Git Daemon to bind it's service.
  74. # You may specify an ip or an empty value to bind to all interfaces.
  75. # Specifying localhost will result in Gitblit ONLY listening to requests to
  76. # localhost.
  77. #
  78. # SINCE 1.3.0
  79. # RESTART REQUIRED
  80. git.daemonBindInterface =
  81. # port for serving the Git Daemon service. <= 0 disables this service.
  82. # On Unix/Linux systems, ports < 1024 require root permissions.
  83. # Recommended value: 9418
  84. #
  85. # SINCE 1.3.0
  86. # RESTART REQUIRED
  87. git.daemonPort = 9418
  88. # The port for serving the SSH service. <= 0 disables this service.
  89. # On Unix/Linux systems, ports < 1024 require root permissions.
  90. # Recommended value: 29418
  91. #
  92. # SINCE 1.5.0
  93. # RESTART REQUIRED
  94. git.sshPort = 29418
  95. # Specify the interface for the SSH daemon to bind its service.
  96. # You may specify an ip or an empty value to bind to all interfaces.
  97. # Specifying localhost will result in Gitblit ONLY listening to requests to
  98. # localhost.
  99. #
  100. # SINCE 1.5.0
  101. # RESTART REQUIRED
  102. git.sshBindInterface =
  103. # Manually specify the hostname to use in advertised SSH repository urls.
  104. # This may be useful in complex forwarding setups.
  105. #
  106. # SINCE 1.7.0
  107. git.sshAdvertisedHost =
  108. # Manually specify the port to use in advertised SSH repository urls.
  109. # This may be useful in complex forwarding setups.
  110. #
  111. # SINCE 1.7.0
  112. git.sshAdvertisedPort =
  113. # Specify the SSH key manager to use for retrieving, storing, and removing
  114. # SSH keys.
  115. #
  116. # Valid key managers are:
  117. # com.gitblit.transport.ssh.FileKeyManager
  118. #
  119. # SINCE 1.5.0
  120. git.sshKeysManager = com.gitblit.transport.ssh.FileKeyManager
  121. # Directory for storing user SSH keys when using the FileKeyManager.
  122. #
  123. # SINCE 1.5.0
  124. git.sshKeysFolder= ${baseFolder}/ssh
  125. # Authentication methods offered by the SSH server.
  126. # Space separated list of authentication method names that the
  127. # server shall offer. The default is "publickey password".
  128. #
  129. # Valid authentication method names are:
  130. # publickey - authenticate with SSH public key
  131. # password - authenticate with username, password
  132. # keyboard-interactive - currently synonym to 'password'
  133. # gssapi-with-mic - GSS API Kerberos 5 authentication
  134. #
  135. # This setting obsoletes the "git.sshWithKrb5" setting. To enable
  136. # Kerberos5 (GSS) authentication, add 'gssapi-with-mic' to the list.
  137. #
  138. # SINCE 1.9.0
  139. # RESTART REQUIRED
  140. # SPACE-DELIMITED
  141. git.sshAuthenticationMethods = publickey password
  142. # The path to a Kerberos 5 keytab.
  143. #
  144. # SINCE 1.7.0
  145. git.sshKrb5Keytab =
  146. # The service principal name to be used for Kerberos5.
  147. # The default is host/hostname.
  148. #
  149. # SINCE 1.7.0
  150. git.sshKrb5ServicePrincipalName =
  151. # Strip the domain suffix from a kerberos username.
  152. # e.g. james@bigbox would be "james"
  153. #
  154. # SINCE 1.7.0
  155. git.sshKrb5StripDomain = true
  156. # SSH backend NIO2|MINA.
  157. #
  158. # The Apache Mina project recommends using the NIO2 backend.
  159. #
  160. # SINCE 1.5.0
  161. git.sshBackend = NIO2
  162. # Number of threads used to parse a command line submitted by a client over SSH
  163. # for execution, create the internal data structures used by that command,
  164. # and schedule it for execution on another thread.
  165. #
  166. # SINCE 1.5.0
  167. git.sshCommandStartThreads = 2
  168. # Allow push/pull over http/https with JGit servlet.
  169. # If you do NOT want to allow Git clients to clone/push to Gitblit set this
  170. # to false. You might want to do this if you are only using ssh:// or git://.
  171. # If you set this false, consider changing the *web.otherUrls* setting to
  172. # indicate your clone/push urls.
  173. #
  174. # SINCE 0.5.0
  175. git.enableGitServlet = true
  176. # If you want to restrict all git servlet access to those with valid X509 client
  177. # certificates then set this value to true.
  178. #
  179. # SINCE 1.2.0
  180. git.requiresClientCertificate = false
  181. # Enforce date checks on client certificates to ensure that they are not being
  182. # used prematurely and that they have not expired.
  183. #
  184. # SINCE 1.2.0
  185. git.enforceCertificateValidity = true
  186. # List of OIDs to extract from a client certificate DN to map a certificate to
  187. # an account username.
  188. #
  189. # e.g. git.certificateUsernameOIDs = CN
  190. # e.g. git.certificateUsernameOIDs = FirstName LastName
  191. #
  192. # SPACE-DELIMITED
  193. # SINCE 1.2.0
  194. git.certificateUsernameOIDs = CN
  195. # Only serve/display bare repositories.
  196. # If there are non-bare repositories in git.repositoriesFolder and this setting
  197. # is true, they will be excluded from the ui.
  198. #
  199. # SINCE 0.9.0
  200. git.onlyAccessBareRepositories = false
  201. # Specify the list of acceptable transports for pushes.
  202. # If this setting is empty, all transports are acceptable.
  203. #
  204. # Valid choices are: GIT HTTP HTTPS SSH
  205. #
  206. # SINCE 1.5.0
  207. # SPACE-DELIMITED
  208. git.acceptedPushTransports = HTTP HTTPS SSH
  209. # Allow an authenticated user to create a destination repository on a push if
  210. # the repository does not already exist.
  211. #
  212. # Administrator accounts can create a repository in any project.
  213. # These repositories are created with the default access restriction and authorization
  214. # control values. The pushing account is set as the owner.
  215. #
  216. # Non-administrator accounts with the CREATE role may create personal repositories.
  217. # These repositories are created as VIEW restricted for NAMED users.
  218. # The pushing account is set as the owner.
  219. #
  220. # SINCE 1.2.0
  221. git.allowCreateOnPush = true
  222. # Global setting to control anonymous pushes.
  223. #
  224. # This setting allows/rejects anonymous pushes at the level of the receive pack.
  225. # This trumps all repository config settings. While anonymous pushes are convenient
  226. # on your own box when you are a lone developer, they are not recommended for
  227. # any multi-user installation where accountability is required. Since Gitblit
  228. # tracks pushes and user accounts, allowing anonymous pushes compromises that
  229. # information.
  230. #
  231. # SINCE 1.4.0
  232. git.allowAnonymousPushes = false
  233. # The default access restriction for new repositories.
  234. # Valid values are NONE, PUSH, CLONE, VIEW
  235. # NONE = anonymous view, clone, & push
  236. # PUSH = anonymous view & clone and authenticated push
  237. # CLONE = anonymous view, authenticated clone & push
  238. # VIEW = authenticated view, clone, & push
  239. #
  240. # SINCE 1.0.0
  241. git.defaultAccessRestriction = PUSH
  242. # The default authorization control for new repositories.
  243. # Valid values are AUTHENTICATED and NAMED
  244. # AUTHENTICATED = any authenticated user is granted restricted access
  245. # NAMED = only named users/teams are granted restricted access
  246. #
  247. # SINCE 1.1.0
  248. git.defaultAuthorizationControl = NAMED
  249. # The prefix for a users personal repository directory.
  250. #
  251. # Personal user repositories are created in this directory, named by the user name
  252. # prefixed with the userRepositoryPrefix. For eaxmple, a user 'john' would have his
  253. # personal repositories in the directory '~john'.
  254. #
  255. # Cannot be an empty string. Also, absolute paths are changed to relative paths by
  256. # removing the first directory separator.
  257. #
  258. # It is not recommended to change this value AFTER your user's have created
  259. # personal repositories because it will break all permissions, ownership, and
  260. # repository push/pull operations.
  261. #
  262. # RESTART REQUIRED
  263. # SINCE 1.4.0
  264. git.userRepositoryPrefix = ~
  265. # The default incremental push tag prefix. Tag prefix applied to a repository
  266. # that has automatic push tags enabled and does not specify a custom tag prefix.
  267. #
  268. # If incremental push tags are enabled, the tips of each branch in the push will
  269. # be tagged with an increasing revision integer.
  270. #
  271. # e.g. refs/tags/r2345 or refs/tags/rev_2345
  272. #
  273. # SINCE 1.3.0
  274. git.defaultIncrementalPushTagPrefix = r
  275. # Controls creating a repository as --shared on Unix servers.
  276. #
  277. # In an Unix environment where mixed access methods exist for shared repositories,
  278. # the repository should be created with 'git init --shared' to make sure that
  279. # it can be accessed e.g. via ssh (user git) and http (user www-data).
  280. #
  281. # Valid values are the values available for the '--shared' option. 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. # Ordered list of external authentication providers which will be used if
  759. # authentication against the local user service fails.
  760. #
  761. # Valid providers are:
  762. #
  763. # htpasswd
  764. # httpheader
  765. # ldap
  766. # pam
  767. # redmine
  768. # salesforce
  769. # windows
  770. # e.g. realm.authenticationProviders = htpasswd windows
  771. #
  772. # SINCE 1.4.0
  773. # RESTART REQUIRED
  774. # SPACE-DELIMITED
  775. realm.authenticationProviders =
  776. # How to store passwords.
  777. # Valid values are plain, md5, combined-md5 or pbkdf2.
  778. # md5 is the hash of password.
  779. # combined-md5 is the hash of username.toLowerCase()+password.
  780. # pbkdf2 implements the PBKDF2 algorithm, which is a secure, salted password hashing scheme.
  781. # Default is pbkdf2. Using plain, md5 or combined-md5 is deprecated, as these are insecure schemes by now.
  782. #
  783. # SINCE 0.5.0
  784. realm.passwordStorage = pbkdf2
  785. # Minimum valid length for a plain text password.
  786. # Default value is 5. Absolute minimum is 4.
  787. #
  788. # SINCE 0.5.0
  789. realm.minPasswordLength = 5
  790. #
  791. # Gitblit Web Settings
  792. #
  793. # If blank Gitblit is displayed.
  794. #
  795. # SINCE 0.5.0
  796. web.siteName =
  797. # The canonical url of your Gitblit server to be used in repository url generation,
  798. # RSS feeds, and all embedded links in email and plugin-based notifications.
  799. #
  800. # If you are running Gitblit on a non-standard http port (i.e. not 80 and not 443)
  801. # then you must specify that port in this url otherwise your generated urls will be
  802. # incorrect.
  803. #
  804. # The hostname of this url will be extracted for SSH and GIT protocol repository
  805. # url generation.
  806. #
  807. # e.g. web.canonicalUrl = https://dev.gitblit.com
  808. # web.canonicalUrl = https://dev.gitblit.com:8443
  809. #
  810. # SINCE 1.4.0
  811. web.canonicalUrl =
  812. # You may specify a different logo image for the header but it must be 120x45px.
  813. # If the specified file does not exist, the default Gitblit logo will be used.
  814. #
  815. # SINCE 1.3.0
  816. # BASEFOLDER
  817. web.headerLogo = ${baseFolder}/logo.png
  818. # You may specify a different link URL for the logo image anchor.
  819. # If blank the Gitblit main page URL is used.
  820. #
  821. # SINCE 1.3.0
  822. # BASEFOLDER
  823. web.rootLink =
  824. # You may specify a custom header background CSS color. If unspecified, the
  825. # default color will be used.
  826. #
  827. # e.g. web.headerBackgroundColor = #002060
  828. #
  829. # SINCE 1.3.0
  830. web.headerBackgroundColor =
  831. # You may specify a custom header foreground CSS color. If unspecified, the
  832. # default color will be used.
  833. #
  834. # e.g. web.headerForegroundColor = white
  835. #
  836. # SINCE 1.3.0
  837. web.headerForegroundColor =
  838. # You may specify a custom header foreground hover CSS color. If unspecified, the
  839. # default color will be used.
  840. #
  841. # e.g. web.headerHoverColor = white
  842. #
  843. # SINCE 1.3.0
  844. web.headerHoverColor =
  845. # You may specify a custom header border CSS color. If unspecified, the default
  846. # color will be used.
  847. #
  848. # e.g. web.headerBorderColor = #002060
  849. #
  850. # SINCE 1.3.0
  851. web.headerBorderColor =
  852. # You may specify a custom header border CSS color. If unspecified, the default
  853. # color will be used.
  854. #
  855. # e.g. web.headerBorderFocusColor = #ff9900
  856. #
  857. # SINCE 1.3.0
  858. web.headerBorderFocusColor =
  859. # If *web.authenticateAdminPages*=true, users with "admin" role can create
  860. # repositories, create users, and edit repository metadata.
  861. #
  862. # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
  863. # functions.
  864. #
  865. # SINCE 0.5.0
  866. web.allowAdministration = true
  867. # Setting to disable rendering the top-level navigation header which includes
  868. # the login form, top-level links like dashboard, repositories, search, etc.
  869. # This setting is only useful if you plan to embed Gitblit within another page
  870. # or system.
  871. #
  872. # SINCE 1.4.0
  873. web.hideHeader = false
  874. # Allows rpc clients to list repositories and possibly manage or administer the
  875. # Gitblit server, if the authenticated account has administrator permissions.
  876. # See *web.enableRpcManagement* and *web.enableRpcAdministration*.
  877. #
  878. # SINCE 0.7.0
  879. web.enableRpcServlet = true
  880. # Allows rpc clients to manage repositories and users of the Gitblit instance,
  881. # if the authenticated account has administrator permissions.
  882. # Requires *web.enableRpcServlet=true*.
  883. #
  884. # SINCE 0.7.0
  885. web.enableRpcManagement = false
  886. # Allows rpc clients to control the server settings and monitor the health of this
  887. # this Gitblit instance, if the authenticated account has administrator permissions.
  888. # Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
  889. #
  890. # SINCE 0.7.0
  891. web.enableRpcAdministration = false
  892. # Full path to a configurable robots.txt file. With this file you can control
  893. # what parts of your Gitblit server respectable robots are allowed to traverse.
  894. # http://googlewebmastercentral.blogspot.com/2008/06/improving-on-robots-exclusion-protocol.html
  895. #
  896. # SINCE 1.0.0
  897. # BASEFOLDER
  898. web.robots.txt = ${baseFolder}/robots.txt
  899. # The number of minutes to cache a page in the browser since the last request.
  900. # The default value is 0 minutes. A value <= 0 disables all page caching which
  901. # is the default behavior for Gitblit <= 1.3.0.
  902. #
  903. # SINCE 1.3.1
  904. web.pageCacheExpires = 0
  905. # If true, the web ui layout will respond and adapt to the browser's dimensions.
  906. # if false, the web ui will use a 940px fixed-width layout.
  907. # http://twitter.github.com/bootstrap/scaffolding.html#responsive
  908. #
  909. # SINCE 1.0.0
  910. web.useResponsiveLayout = true
  911. # Allow Gravatar images to be displayed in Gitblit pages.
  912. #
  913. # SINCE 0.8.0
  914. web.allowGravatar = true
  915. # Define which class will generate the avatar URL.
  916. #
  917. # SINCE 1.7.0
  918. web.avatarClass = com.gitblit.GravatarGenerator
  919. # Allow dynamic zip downloads.
  920. #
  921. # SINCE 0.5.0
  922. web.allowZipDownloads = true
  923. # If *web.allowZipDownloads=true* the following formats will be displayed for
  924. # download compressed archive links:
  925. #
  926. # zip = standard .zip
  927. # tar = standard tar format (preserves *nix permissions and symlinks)
  928. # gz = gz-compressed tar
  929. # xz = xz-compressed tar
  930. # bzip2 = bzip2-compressed tar
  931. #
  932. # SPACE-DELIMITED
  933. # SINCE 1.2.0
  934. web.compressedDownloads = zip gz
  935. # Allow optional Lucene integration. Lucene indexing is an opt-in feature.
  936. # A repository may specify branches to index with Lucene instead of using Git
  937. # commit traversal. There are scenarios where you may want to completely disable
  938. # Lucene indexing despite a repository specifying indexed branches. One such
  939. # scenario is on a resource-constrained federated Gitblit mirror.
  940. #
  941. # SINCE 0.9.0
  942. web.allowLuceneIndexing = true
  943. # Control the frequency of Lucene repository indexing.
  944. # The default setting is to check for updated refs every 2 mins.
  945. #
  946. # SINCE 1.6.1
  947. web.luceneFrequency = 2 mins
  948. # Allows an authenticated user to create forks of a repository
  949. #
  950. # set this to false if you want to disable all fork controls on the web site
  951. #
  952. web.allowForking = true
  953. # Controls the length of shortened commit hash ids
  954. #
  955. # SINCE 1.2.0
  956. web.shortCommitIdLength = 6
  957. # Use a JavaScript browser API to provide a copy-to-clipboard button.
  958. # The clipboard.js library is used to copy text directly to the browser's
  959. # clipboard.
  960. # (This used to be done with a Flash based solution, but has been replaced
  961. # with a modern JavaScript approach, since Flash support is dying out.)
  962. # If false, a button with a more primitive JavaScript-based prompt box will
  963. # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
  964. #
  965. # SINCE 0.8.0
  966. web.allowFlashCopyToClipboard = true
  967. # Default maximum number of commits that a repository may contribute to the
  968. # activity page, regardless of the selected duration. This setting may be valuable
  969. # for an extremely busy server. This value may also be configed per-repository
  970. # in Edit Repository. 0 disables this throttle.
  971. #
  972. # SINCE 1.2.0
  973. web.maxActivityCommits = 0
  974. # Default number of entries to include in RSS Syndication links
  975. #
  976. # SINCE 0.5.0
  977. web.syndicationEntries = 25
  978. # Show the size of each repository on the repositories page.
  979. # This requires recursive traversal of each repository folder. This may be
  980. # non-performant on some operating systems and/or filesystems.
  981. #
  982. # SINCE 0.5.2
  983. web.showRepositorySizes = true
  984. # List of custom regex expressions that can be displayed in the Filters menu
  985. # of the Repositories and Activity pages. Keep them very simple because you
  986. # are likely to run into encoding issues if they are too complex.
  987. #
  988. # Use !!! to separate the filters
  989. #
  990. # SINCE 0.8.0
  991. web.customFilters =
  992. # Show federation registrations (without token) and the current pull status
  993. # to non-administrator users.
  994. #
  995. # SINCE 0.6.0
  996. web.showFederationRegistrations = false
  997. # This is the message displayed when *web.authenticateViewPages=true*.
  998. # This can point to a file with Markdown content.
  999. # Specifying "gitblit" uses the internal login message.
  1000. #
  1001. # SINCE 0.7.0
  1002. # BASEFOLDER
  1003. web.loginMessage = gitblit
  1004. # This is the message displayed above the repositories table.
  1005. # This can point to a file with Markdown content.
  1006. # Specifying "gitblit" uses the internal welcome message.
  1007. #
  1008. # SINCE 0.5.0
  1009. # BASEFOLDER
  1010. web.repositoriesMessage = gitblit
  1011. # Ordered list of charsets/encodings to use when trying to display a blob.
  1012. # If empty, UTF-8 and ISO-8859-1 are used. The server's default charset
  1013. # is always appended to the encoding list. If all encodings fail to cleanly
  1014. # decode the blob content, UTF-8 will be used with the standard malformed
  1015. # input/unmappable character replacement strings.
  1016. #
  1017. # SPACE-DELIMITED
  1018. # SINCE 1.0.0
  1019. web.blobEncodings = UTF-8 ISO-8859-1
  1020. # Manually set the default timezone to be used by Gitblit for display in the
  1021. # web ui. This value is independent of the JVM timezone. Specifying a blank
  1022. # value will default to the JVM timezone.
  1023. # e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
  1024. #
  1025. # SINCE 0.9.0
  1026. # RESTART REQUIRED
  1027. web.timezone =
  1028. # Use the client timezone when formatting dates.
  1029. # This uses AJAX to determine the browser's timezone and may require more
  1030. # server overhead because a Wicket session is created. All Gitblit pages
  1031. # attempt to be stateless, if possible.
  1032. #
  1033. # SINCE 0.5.0
  1034. # RESTART REQUIRED
  1035. web.useClientTimezone = false
  1036. # Time format
  1037. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  1038. #
  1039. # SINCE 0.8.0
  1040. web.timeFormat = HH:mm
  1041. # Short date format
  1042. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  1043. #
  1044. # SINCE 0.5.0
  1045. web.datestampShortFormat = yyyy-MM-dd
  1046. # Long date format
  1047. #
  1048. # SINCE 0.8.0
  1049. web.datestampLongFormat = EEEE, MMMM d, yyyy
  1050. # Long timestamp format
  1051. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  1052. #
  1053. # SINCE 0.5.0
  1054. web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
  1055. # Mount URL parameters
  1056. # This setting controls if pretty or parameter URLs are used.
  1057. # i.e.
  1058. # if true:
  1059. # http://localhost/commit/myrepo/abcdef
  1060. # if false:
  1061. # http://localhost/commit/?r=myrepo&h=abcdef
  1062. #
  1063. # SINCE 0.5.0
  1064. # RESTART REQUIRED
  1065. web.mountParameters = true
  1066. # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
  1067. # in URLs as a security precaution for proxies. This setting tells Gitblit
  1068. # to preemptively replace '/' with '*' or '!' for url string parameters.
  1069. #
  1070. # <https://issues.apache.org/jira/browse/WICKET-1303>
  1071. # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
  1072. # Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
  1073. # *CATALINA_OPTS* or to your JVM launch parameters
  1074. #
  1075. # SINCE 0.5.2
  1076. web.forwardSlashCharacter = /
  1077. # Show other URLs on the summary page for accessing your git repositories
  1078. # Use spaces to separate urls.
  1079. #
  1080. # {0} is the token for the repository name
  1081. # {1} is the token for the username
  1082. #
  1083. # The username is only practical if you have setup your other git serving
  1084. # solutions accounts to have the same username as the Gitblit account.
  1085. #
  1086. # e.g.
  1087. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0} https://{1}@localhost/r/{0}
  1088. #
  1089. # SPACE-DELIMITED
  1090. # SINCE 0.5.0
  1091. web.otherUrls =
  1092. # Should HTTP/HTTPS URLs be displayed if the git servlet is enabled?
  1093. # default: true
  1094. #
  1095. # SINCE 1.7.0
  1096. web.showHttpServletUrls = true
  1097. # Should git URLs be displayed if the git daemon is enabled?
  1098. # default: true
  1099. #
  1100. # SINCE 1.7.0
  1101. web.showGitDaemonUrls = true
  1102. # Should SSH URLs be displayed if the SSH daemon is enabled?
  1103. # default: true
  1104. #
  1105. # SINCE 1.7.0
  1106. web.showSshDaemonUrls = true
  1107. # Should effective permissions be advertised for access paths defined in web.otherUrls?
  1108. # If false, gitblit will indicate unknown permissions for the external link. If true,
  1109. # gitblit will indicate permissions as defined within gitblit (including limiting to clone
  1110. # permission is the transport type is not a valid push mechaism in git.acceptedPushTransports).
  1111. #
  1112. # Configure with caution: Note that gitblit has no way of knowing if further restrictions
  1113. # are imposed by an external forwarding agent, so this may cause user confusion due to
  1114. # more rights being advertised than are available through the URL. It will NOT grant
  1115. # additional rights, but may incorrectly offer actions that are unavailable externally.
  1116. # default: false
  1117. #
  1118. # SINCE 1.7.0
  1119. web.advertiseAccessPermissionForOtherUrls = false
  1120. # Should app-specific clone links be displayed for SourceTree, SparkleShare, etc?
  1121. #
  1122. # SINCE 1.3.0
  1123. web.allowAppCloneLinks = true
  1124. # Choose how to present the repositories list.
  1125. # grouped = group nested/subfolder repositories together (no sorting)
  1126. # flat = flat list of repositories (sorting allowed)
  1127. # tree = group nested/subfolder repositories in a tree structure with folding branches
  1128. #
  1129. # SINCE 0.5.0
  1130. web.repositoryListType = grouped
  1131. # If using a grouped repository list and there are repositories at the
  1132. # root level of your repositories folder, you may specify the displayed
  1133. # group name with this setting. This value is only used for web presentation.
  1134. #
  1135. # SINCE 0.5.0
  1136. web.repositoryRootGroupName = main
  1137. # Display the repository swatch color next to the repository name link in the
  1138. # repositories list.
  1139. #
  1140. # SINCE 0.8.0
  1141. web.repositoryListSwatches = true
  1142. # Specify the behaviour of the Repository groups on the "Repositories"
  1143. # page, specifically whether they can be collapsed and expanded, and
  1144. # their default state on loading the page.
  1145. # Only on repositoryListType grouped
  1146. #
  1147. # Values (case-insensitive):
  1148. # disabled - Repository groups cannot collapsed; maintains behaviour
  1149. # from previous versions of GitBlit.
  1150. # expanded - On loading the page all repository groups are expanded.
  1151. # collapsed - On loading the page all repository groups are collapsed.
  1152. #
  1153. # SINCE 1.9.0
  1154. web.collapsibleRepositoryGroups = expanded
  1155. # Defines the default commit message renderer. This can be configured
  1156. # per-repository.
  1157. #
  1158. # Valid values are: plain, markdown
  1159. #
  1160. # SINCE 1.4.0
  1161. web.commitMessageRenderer = plain
  1162. # Control if email addresses are shown in web ui
  1163. #
  1164. # SINCE 0.5.0
  1165. web.showEmailAddresses = true
  1166. # Shows a combobox in the page links header with commit, committer, and author
  1167. # search selection. Default search is commit.
  1168. #
  1169. # SINCE 0.5.0
  1170. web.showSearchTypeSelection = false
  1171. # Controls display of activity graphs on the dashboard, activity, and summary
  1172. # pages. Charts are generated using Flotr2; an open source HTML5 library.
  1173. #
  1174. # SINCE 0.5.0
  1175. web.generateActivityGraph = true
  1176. # Displays the commits branch graph in the summary page and commits/log page.
  1177. #
  1178. # SINCE 1.4.0
  1179. web.showBranchGraph = true
  1180. # The default number of days to show on the activity page.
  1181. # Value must exceed 0 else default of 7 is used
  1182. #
  1183. # SINCE 0.8.0
  1184. web.activityDuration = 7
  1185. # Choices for days of activity to display.
  1186. #
  1187. # SPACE-DELIMITED
  1188. # SINCE 1.3.0
  1189. web.activityDurationChoices = 1 3 7 14 21 28
  1190. # Maximum number of days of activity that may be displayed on the activity page.
  1191. #
  1192. # SINCE 1.3.2
  1193. web.activityDurationMaximum = 30
  1194. # The number of days of commits to cache in memory for the dashboard, activity,
  1195. # and project pages. A value of 0 will disable all caching and will parse commits
  1196. # in each repository per-request. If the value > 0 these pages will try to fulfill
  1197. # requests using the commit cache. If the request specifies a period which falls
  1198. # outside the commit cache window, then the cache will be ignored and the request
  1199. # will be fulfilled by brute-force parsing all relevant commits per-repository.
  1200. #
  1201. # Consider the values specified for *web.activityDurationChoices* when setting
  1202. # the cache size AND consider adjusting the JVM -Xmx heap parameter appropriately.
  1203. #
  1204. # SINCE 1.3.0
  1205. # RESTART REQUIRED
  1206. web.activityCacheDays = 14
  1207. # Case-insensitive list of authors to exclude from metrics. Useful for
  1208. # eliminating bots.
  1209. #
  1210. # SPACE-DELIMITED
  1211. # SINCE 1.3.0
  1212. web.metricAuthorExclusions =
  1213. # The number of commits to display on the summary page
  1214. # Value must exceed 0 else default of 20 is used
  1215. #
  1216. # SINCE 0.5.0
  1217. web.summaryCommitCount = 16
  1218. # The number of tags/branches to display on the summary page.
  1219. # -1 = all tags/branches
  1220. # 0 = hide tags/branches
  1221. # N = N tags/branches
  1222. #
  1223. # SINCE 0.5.0
  1224. web.summaryRefsCount = 5
  1225. # Show a README file, if available, on the summary page.
  1226. #
  1227. # SINCE 1.4.0
  1228. web.summaryShowReadme = false
  1229. # The number of items to show on a page before showing the first, prev, next
  1230. # pagination links. A default of 50 is used for any invalid value.
  1231. #
  1232. # SINCE 0.5.0
  1233. web.itemsPerPage = 50
  1234. # The number of reflog changes to display on the overview page
  1235. # Value must exceed 0 else default of 5 is used
  1236. #
  1237. # SINCE 1.3.0
  1238. web.overviewReflogCount = 5
  1239. # The number of reflog changes to show on a reflog page before show the first,
  1240. # prev, next pagination links. A default of 10 is used for any invalid value.
  1241. #
  1242. # SINCE 1.3.0
  1243. web.reflogChangesPerPage = 10
  1244. # Specify the names of documents in the root of your repository to be displayed
  1245. # in tabs on your repository docs page. If the name is not found in the root
  1246. # then no tab is added. The order specified is the order displayed. Do not
  1247. # specify a file extension as the aggregation of markup extensions + txt are used
  1248. # in the search algorithm.
  1249. #
  1250. # SPACE-DELIMITED
  1251. # SINCE 1.4.0
  1252. web.documents = readme home index changelog contributing submitting_patches copying license notice authors
  1253. # Registered file extensions to ignore during Lucene indexing
  1254. #
  1255. # SPACE-DELIMITED
  1256. # SINCE 0.9.0
  1257. 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
  1258. # Registered extensions for google-code-prettify
  1259. #
  1260. # SPACE-DELIMITED
  1261. # SINCE 0.5.0
  1262. 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
  1263. # Registered extensions for markdown transformation
  1264. #
  1265. # SPACE-DELIMITED
  1266. # CASE-SENSITIVE
  1267. # SINCE 0.5.0
  1268. web.markdownExtensions = md mkd markdown MD MKD
  1269. # Registered extensions for mediawiki transformation
  1270. #
  1271. # SPACE-DELIMITED
  1272. # CASE-SENSITIVE
  1273. # SINCE 1.4.0
  1274. web.mediawikiExtensions = mw mediawiki
  1275. # Registered extensions for twiki transformation
  1276. #
  1277. # SPACE-DELIMITED
  1278. # CASE-SENSITIVE
  1279. # SINCE 1.4.0
  1280. web.twikiExtensions = twiki
  1281. # Registered extensions for textile transformation
  1282. #
  1283. # SPACE-DELIMITED
  1284. # CASE-SENSITIVE
  1285. # SINCE 1.4.0
  1286. web.textileExtensions = textile
  1287. # Registered extensions for confluence transformation
  1288. #
  1289. # SPACE-DELIMITED
  1290. # CASE-SENSITIVE
  1291. # SINCE 1.4.0
  1292. web.confluenceExtensions = confluence
  1293. # Registered extensions for tracwiki transformation
  1294. #
  1295. # SPACE-DELIMITED
  1296. # CASE-SENSITIVE
  1297. # SINCE 1.4.0
  1298. web.tracwikiExtensions = tracwiki
  1299. # Image extensions
  1300. #
  1301. # SPACE-DELIMITED
  1302. # SINCE 0.5.0
  1303. web.imageExtensions = bmp ico gif jpg jpeg png svg
  1304. # Registered extensions for binary blobs
  1305. #
  1306. # SPACE-DELIMITED
  1307. # SINCE 0.5.0
  1308. 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
  1309. # Aggressive heap management will run the garbage collector on every generated
  1310. # page. This slows down page generation a little but improves heap consumption.
  1311. #
  1312. # SINCE 0.5.0
  1313. web.aggressiveHeapManagement = false
  1314. # Run the webapp in debug mode
  1315. #
  1316. # SINCE 0.5.0
  1317. # RESTART REQUIRED
  1318. web.debugMode = false
  1319. # Allows to hide the user logon form or dropdown menu from the top pane
  1320. # if it's not needed.
  1321. #
  1322. # SINCE 1.7.0
  1323. web.displayUserPanel = true
  1324. # Force a default locale for all users, ignoring the browser's settings.
  1325. # An empty value allows Gitblit to use the translation preferred by the browser.
  1326. #
  1327. # Changing this value while the server is running will only affect new sessions.
  1328. #
  1329. # e.g. web.forceDefaultLocale = en
  1330. #
  1331. # SINCE 1.3.0
  1332. web.forceDefaultLocale =
  1333. # The following two settings serve to avoid browser overload when trying to
  1334. # render very large diffs. Both limits apply to commitdiffs, not to single-file
  1335. # diffs.
  1336. # Maximum number of diff lines to display for a single file diff in a commitdiff.
  1337. # Defaults to 4000; can be adjusted in the range [500 .. 4000]. Smaller values
  1338. # set the limit to 500, larger values to 4000. The count includes context lines
  1339. # in the diff.
  1340. #
  1341. # If a file diff in a commitdiff produces more lines, the diff for that file is
  1342. # not shown in the commitdiff.
  1343. #
  1344. # SINCE 1.7.0
  1345. web.maxDiffLinesPerFile = 4000
  1346. # Total maximum number of diff lines to show in a commitdiff. Defaults to 20000;
  1347. # can be adjusted in the range [1000 .. 20000]. Smaller values set the limit to
  1348. # 1000, larger values to 20000. The count includes context lines in diffs.
  1349. #
  1350. # If a commitdiff produces more lines, it is truncated after the first file
  1351. # that exceeds the limit. Diffs for subsequent files in the commit are not shown
  1352. # at all in the commitdiff. Omitted files are listed, though.
  1353. #
  1354. # SINCE 1.7.0
  1355. web.maxDiffLines = 20000
  1356. # Enable/disable global regex substitutions (i.e. shared across repositories)
  1357. #
  1358. # SINCE 0.5.0
  1359. # DEPRECATED 1.4.0 (migrate to bugtraq instead)
  1360. regex.global = true
  1361. # Example global regex substitutions
  1362. # Use !!! to separate the search pattern and the replace pattern
  1363. # searchpattern!!!replacepattern
  1364. # SINCE 0.5.0
  1365. # regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!Bug: <a href="http://somehost/bug/$3">$3</a>
  1366. # SINCE 0.5.0
  1367. # Example Gerrit links
  1368. # 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>
  1369. # regex.global.reviewedon = \\b(Reviewed-on:\\s*)([A-Za-z0-9:/\\.]*)\\b!!!Reviewed-on: <a href="$2">$2</a>
  1370. # Example per-repository regex substitutions overrides global
  1371. # SINCE 0.5.0
  1372. # regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!Bug: <a href="http://elsewhere/bug/$3">$3</a>
  1373. #
  1374. # Mail Settings
  1375. # SINCE 0.6.0
  1376. #
  1377. # Mail settings are used to notify administrators of received federation proposals
  1378. #
  1379. # ip or hostname of smtp server
  1380. #
  1381. # SINCE 0.6.0
  1382. mail.server =
  1383. # port to use for smtp requests
  1384. #
  1385. # SINCE 0.6.0
  1386. mail.port = 25
  1387. # debug the mail executor
  1388. #
  1389. # SINCE 0.6.0
  1390. mail.debug = false
  1391. # use SMTPs flag
  1392. mail.smtps = false
  1393. # use STARTTLS flag
  1394. #
  1395. # SINCE 1.6.0
  1396. mail.starttls = false
  1397. # if your smtp server requires authentication, supply the credentials here
  1398. #
  1399. # SINCE 0.6.0
  1400. mail.username =
  1401. # SINCE 0.6.0
  1402. mail.password =
  1403. # from address for generated emails
  1404. #
  1405. # SINCE 0.6.0
  1406. mail.fromAddress =
  1407. # List of email addresses for the Gitblit administrators
  1408. #
  1409. # SPACE-DELIMITED
  1410. # SINCE 0.6.0
  1411. mail.adminAddresses =
  1412. # List of email addresses for sending push email notifications.
  1413. #
  1414. # This key currently requires use of the sendemail.groovy hook script.
  1415. # If you set sendemail.groovy in *groovy.postReceiveScripts* then email
  1416. # notifications for all repositories (regardless of access restrictions!)
  1417. # will be sent to these addresses.
  1418. #
  1419. # SPACE-DELIMITED
  1420. # SINCE 0.8.0
  1421. mail.mailingLists =
  1422. #
  1423. # Federation Settings
  1424. # SINCE 0.6.0
  1425. #
  1426. # A Gitblit federation is a way to backup one Gitblit instance to another.
  1427. #
  1428. # *git.enableGitServlet* must be true to use this feature.
  1429. # Your federation name is used for federation status acknowledgments. If it is
  1430. # unset, and you elect to send a status acknowledgment, your Gitblit instance
  1431. # will be identified by its hostname, if available, else your internal ip address.
  1432. # The source Gitblit instance will also append your external IP address to your
  1433. # identification to differentiate multiple pulling systems behind a single proxy.
  1434. #
  1435. # SINCE 0.6.0
  1436. federation.name =
  1437. # Specify the passphrase of this Gitblit instance.
  1438. #
  1439. # An unspecified (empty) passphrase disables processing federation requests.
  1440. #
  1441. # This value can be anything you want: an integer, a sentence, an haiku, etc.
  1442. # Keep the value simple, though, to avoid Java properties file encoding issues.
  1443. #
  1444. # Changing your passphrase will break any registrations you have established with other
  1445. # Gitblit instances.
  1446. #
  1447. # CASE-SENSITIVE
  1448. # SINCE 0.6.0
  1449. # RESTART REQUIRED *(only to enable or disable federation)*
  1450. federation.passphrase =
  1451. # Control whether or not this Gitblit instance can receive federation proposals
  1452. # from another Gitblit instance. Registering a federated Gitblit is a manual
  1453. # process. Proposals help to simplify that process by allowing a remote Gitblit
  1454. # instance to send your Gitblit instance the federation pull data.
  1455. #
  1456. # SINCE 0.6.0
  1457. federation.allowProposals = false
  1458. # The destination folder for cached federation proposals.
  1459. # Use forward slashes even on Windows!!
  1460. #
  1461. # SINCE 0.6.0
  1462. # BASEFOLDER
  1463. federation.proposalsFolder = ${baseFolder}/proposals
  1464. # The default pull frequency if frequency is unspecified on a registration
  1465. #
  1466. # SINCE 0.6.0
  1467. federation.defaultFrequency = 60 mins
  1468. # Federation Sets are named groups of repositories. The Federation Sets are
  1469. # available for selection in the repository settings page. You can assign a
  1470. # repository to one or more sets and then distribute the token for the set.
  1471. # This allows you to grant federation pull access to a subset of your available
  1472. # repositories. Tokens for federation sets only grant repository pull access.
  1473. #
  1474. # SPACE-DELIMITED
  1475. # CASE-SENSITIVE
  1476. # SINCE 0.6.0
  1477. federation.sets =
  1478. # Federation pull registrations
  1479. # Registrations are read once, at startup.
  1480. #
  1481. # RESTART REQUIRED
  1482. #
  1483. # frequency:
  1484. # The shortest frequency allowed is every 5 minutes
  1485. # Decimal frequency values are cast to integers
  1486. # Frequency values may be specified in mins, hours, or days
  1487. # Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
  1488. #
  1489. # folder:
  1490. # if unspecified, the folder is *git.repositoriesFolder*
  1491. # if specified, the folder is relative to *git.repositoriesFolder*
  1492. #
  1493. # bare:
  1494. # if true, each repository will be created as a *bare* repository and will not
  1495. # have a working directory.
  1496. #
  1497. # if false, each repository will be created as a normal repository suitable
  1498. # for local work.
  1499. #
  1500. # mirror:
  1501. # if true, each repository HEAD is reset to *origin/master* after each pull.
  1502. # The repository will be flagged *isFrozen* after the initial clone.
  1503. #
  1504. # if false, each repository HEAD will point to the FETCH_HEAD of the initial
  1505. # clone from the origin until pushed to or otherwise manipulated.
  1506. #
  1507. # mergeAccounts:
  1508. # if true, remote accounts and their permissions are merged into your
  1509. # users.properties file
  1510. #
  1511. # notifyOnError:
  1512. # if true and the mail configuration is properly set, administrators will be
  1513. # notified by email of pull failures
  1514. #
  1515. # include and exclude:
  1516. # Space-delimited list of repositories to include or exclude from pull
  1517. # may be * wildcard to include or exclude all
  1518. # may use fuzzy match (e.g. org.eclipse.*)
  1519. #
  1520. # (Nearly) Perfect Mirror example
  1521. #
  1522. #federation.example1.url = https://go.gitblit.com
  1523. #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
  1524. #federation.example1.frequency = 120 mins
  1525. #federation.example1.folder =
  1526. #federation.example1.bare = true
  1527. #federation.example1.mirror = true
  1528. #federation.example1.mergeAccounts = true
  1529. #
  1530. # Advanced Realm Settings
  1531. #
  1532. # Auto-creates user accounts based on the servlet container principal. This
  1533. # assumes that your Gitblit install is a protected resource and your container's
  1534. # authentication process intercepts all Gitblit requests.
  1535. #
  1536. # SINCE 1.3.0
  1537. realm.container.autoCreateAccounts = false
  1538. # A set of mapping used to map HTTP session attributes to user informations
  1539. # They are used if realm.container.autoCreateAccounts is set to true and
  1540. # the webapp container used can fill the session with user informations
  1541. #
  1542. # SINCE 1.7.0
  1543. realm.container.autoAccounts.displayName =
  1544. realm.container.autoAccounts.emailAddress =
  1545. realm.container.autoAccounts.locale =
  1546. # If the user's created by the webapp container is given this role,
  1547. # the user created will be a admin user.
  1548. #
  1549. # SINCE 1.7.0
  1550. realm.container.autoAccounts.adminRole =
  1551. # Allow or prohibit Windows guest account logins
  1552. #
  1553. # SINCE 1.3.0
  1554. realm.windows.allowGuests = false
  1555. # Allow user accounts belonging to the BUILTIN\Administrators group to be
  1556. # Gitblit administrators.
  1557. #
  1558. # SINCE 1.4.0
  1559. realm.windows.permitBuiltInAdministrators = true
  1560. # The default domain for authentication.
  1561. #
  1562. # If specified, this domain will be used for authentication UNLESS the supplied
  1563. # login name manually specifies a domain (.e.g. mydomain\james or james@mydomain)
  1564. #
  1565. # If unspecified, the username must be specified in UPN format (name@domain).
  1566. #
  1567. # if "." (dot) is specified, ONLY the local account database will be used.
  1568. #
  1569. # SINCE 1.3.0
  1570. realm.windows.defaultDomain =
  1571. # The PAM service name for authentication.
  1572. # default: system-auth
  1573. #
  1574. # SINCE 1.3.1
  1575. realm.pam.serviceName = system-auth
  1576. # The Apache htpasswd file that contains the users and passwords.
  1577. # default: ${baseFolder}/htpasswd
  1578. #
  1579. # RESTART REQUIRED
  1580. # BASEFOLDER
  1581. # SINCE 1.3.2
  1582. realm.htpasswd.userfile = ${baseFolder}/htpasswd
  1583. # The name of the HTTP header containing the user name to trust as authenticated
  1584. # default: none
  1585. #
  1586. # WARNING: only use this mechanism if your requests are coming from a trusted
  1587. # and secure source such as a self managed reverse proxy!
  1588. #
  1589. # RESTART REQUIRED
  1590. # SINCE 1.7.2
  1591. realm.httpheader.userheader =
  1592. # The name of the HTTP header containing the team names of which the user is a member.
  1593. # If this is defined, then only groups from the headers will be available, whereas
  1594. # if this remains undefined, then local groups will be used.
  1595. #
  1596. # This setting requires that you have configured realm.httpheader.userheader.
  1597. #
  1598. # default: none
  1599. #
  1600. # RESTART REQUIRED
  1601. # SINCE 1.7.2
  1602. realm.httpheader.teamheader =
  1603. # The regular expression pattern used to separate team names in the team header value
  1604. # default: ,
  1605. #
  1606. # This setting requires that you have configured realm.httpheader.teamheader
  1607. #
  1608. # RESTART REQUIRED
  1609. # SINCE 1.7.2
  1610. realm.httpheader.teamseparator = ,
  1611. # Auto-creates user accounts when successfully authenticated based on HTTP headers.
  1612. #
  1613. # SINCE 1.7.2
  1614. realm.httpheader.autoCreateAccounts = false
  1615. # Restrict the Salesforce user to members of this org.
  1616. # default: 0 (i.e. do not check the Org ID)
  1617. #
  1618. # SINCE 1.3.0
  1619. realm.salesforce.orgId = 0
  1620. # URL of the LDAP server.
  1621. # To use encrypted transport, use either ldaps:// URL for SSL or ldap+tls:// to
  1622. # send StartTLS command.
  1623. #
  1624. # SINCE 1.0.0
  1625. realm.ldap.server = ldap://localhost
  1626. # Login username for LDAP searches.
  1627. # This is usually a user with permissions to search LDAP users and groups.
  1628. # It must have at least have the permission to search users. If it does not
  1629. # have permission to search groups, the normal user logging in must have
  1630. # the permission in LDAP to search groups.
  1631. # If this value is unspecified, anonymous LDAP login will be used.
  1632. #
  1633. # e.g. mydomain\\username
  1634. #
  1635. # SINCE 1.0.0
  1636. realm.ldap.username = cn=Directory Manager
  1637. # Login password for LDAP searches.
  1638. #
  1639. # SINCE 1.0.0
  1640. realm.ldap.password = password
  1641. # Bind pattern for user authentication.
  1642. # Allow to directly authenticate an user without searching for it in LDAP.
  1643. # Use this if the LDAP server does not allow anonymous access and you don't
  1644. # want to use a specific account to run searches. When set, it will override
  1645. # the settings realm.ldap.username and realm.ldap.password.
  1646. # This requires that all relevant user entries are children to the same DN,
  1647. # and that logging users have permission to search for their groups in LDAP.
  1648. # This will disable synchronization as a specific LDAP account is needed for that.
  1649. #
  1650. # e.g. CN=${username},OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1651. #
  1652. # SINCE 1.5.0
  1653. realm.ldap.bindpattern =
  1654. # Delegate team membership control to LDAP.
  1655. #
  1656. # If true, team user memberships will be specified by LDAP groups. This will
  1657. # disable team selection in Edit User and user selection in Edit Team.
  1658. #
  1659. # If false, LDAP will only be used for authentication and Gitblit will maintain
  1660. # team memberships with the *realm.ldap.backingUserService*.
  1661. #
  1662. # SINCE 1.0.0
  1663. realm.ldap.maintainTeams = false
  1664. # Root node for all LDAP users
  1665. #
  1666. # This is the root node from which subtree user searches will begin.
  1667. # If blank, Gitblit will search ALL nodes.
  1668. #
  1669. # SINCE 1.0.0
  1670. realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1671. # Filter criteria for LDAP users
  1672. #
  1673. # Query pattern to use when searching for a user account. This may be any valid
  1674. # LDAP query expression, including the standard (&) and (|) operators.
  1675. #
  1676. # Variables may be injected via the ${variableName} syntax.
  1677. # Recognized variables are:
  1678. # ${username} - The text entered as the user name
  1679. #
  1680. # SINCE 1.0.0
  1681. realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
  1682. # Root node for all LDAP groups to be used as Gitblit Teams
  1683. #
  1684. # This is the root node from which subtree team searches will begin.
  1685. # If blank, Gitblit will search ALL nodes.
  1686. #
  1687. # SINCE 1.0.0
  1688. realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1689. # Filter criteria for LDAP groups
  1690. #
  1691. # Query pattern to use when searching for a team. This may be any valid
  1692. # LDAP query expression, including the standard (&) and (|) operators.
  1693. #
  1694. # Variables may be injected via the ${variableName} syntax.
  1695. # Recognized variables are:
  1696. # ${username} - The text entered as the user name
  1697. # ${dn} - The Distinguished Name of the user logged in
  1698. #
  1699. # All attributes from the LDAP User record are available. For example, if a user
  1700. # has an attribute "fullName" set to "John", "(fn=${fullName})" will be
  1701. # translated to "(fn=John)".
  1702. #
  1703. # SINCE 1.0.0
  1704. realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
  1705. # Filter criteria for empty LDAP groups
  1706. #
  1707. # Query pattern to use when searching for an empty team. This may be any valid
  1708. # LDAP query expression, including the standard (&) and (|) operators.
  1709. #
  1710. # default: (&(objectClass=group)(!(member=*)))
  1711. # SINCE 1.4.0
  1712. realm.ldap.groupEmptyMemberPattern = (&(objectClass=group)(!(member=*)))
  1713. # LDAP users or groups that should be given administrator privileges.
  1714. #
  1715. # Teams are specified with a leading '@' character. Groups with spaces in the
  1716. # name can be entered as "@team name". This setting only applies when using
  1717. # LDAP to maintain team memberships.
  1718. #
  1719. # e.g. realm.ldap.admins = john @git_admins "@git admins"
  1720. #
  1721. # SPACE-DELIMITED
  1722. # SINCE 1.0.0
  1723. realm.ldap.admins = @Git_Admins
  1724. # Attribute(s) on the USER record that indicate their display (or full) name.
  1725. # Leave blank for no mapping available in LDAP.
  1726. #
  1727. # This may be a single attribute, or a string of multiple attributes. Examples:
  1728. # displayName - Uses the attribute 'displayName' on the user record
  1729. # ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3
  1730. # attributes together, with a '.' after personalTitle
  1731. #
  1732. # SINCE 1.0.0
  1733. realm.ldap.displayName = displayName
  1734. # Attribute(s) on the USER record that indicate their email address.
  1735. # Leave blank for no mapping available in LDAP.
  1736. #
  1737. # This may be a single attribute, or a string of multiple attributes. Examples:
  1738. # email - Uses the attribute 'email' on the user record
  1739. # ${givenName}.${surname}@gitblit.com -Will concatenate the 2 attributes
  1740. # together with a '.' and '@' creating something like first.last@gitblit.com
  1741. #
  1742. # SINCE 1.0.0
  1743. realm.ldap.email = email
  1744. # Attribute on the USER record that indicate their username to be used in gitblit
  1745. # when synchronizing users from LDAP
  1746. # if blank, Gitblit will use uid
  1747. # For MS Active Directory this may be sAMAccountName
  1748. #
  1749. # SINCE 1.0.0
  1750. realm.ldap.uid = uid
  1751. # Attribute on the USER record that indicates their public SSH key.
  1752. # Leave blank when public SSH keys shall not be retrieved from LDAP.
  1753. #
  1754. # This setting is only relevant when a public key manager is used that
  1755. # retrieves SSH keys from LDAP (e.g. com.gitblit.transport.ssh.LdapKeyManager).
  1756. #
  1757. # The accepted format of the value is dependent on the public key manager used.
  1758. # Examples:
  1759. # sshPublicKey - Use the attribute 'sshPublicKey' on the user record.
  1760. # altSecurityIdentities:SshKey - Use the attribute 'altSecurityIdentities'
  1761. # on the user record, for which the record value
  1762. # starts with 'SshKey:', followed by the SSH key entry.
  1763. #
  1764. # SINCE 1.9.0
  1765. realm.ldap.sshPublicKey =
  1766. # Defines whether to synchronize all LDAP users and teams into the user service
  1767. # This requires either anonymous LDAP access or that a specific account is set
  1768. # in realm.ldap.username and realm.ldap.password, that has permission to read
  1769. # users and groups in LDAP.
  1770. #
  1771. # Valid values: true, false
  1772. # If left blank, false is assumed
  1773. #
  1774. # SINCE 1.4.0
  1775. realm.ldap.synchronize = false
  1776. # Defines the period to be used when synchronizing users and teams from ldap.
  1777. #
  1778. # Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS'
  1779. # default: 5 MINUTES
  1780. #
  1781. # RESTART REQUIRED
  1782. # SINCE 1.4.0
  1783. realm.ldap.syncPeriod = 5 MINUTES
  1784. # Defines whether to delete non-existent LDAP users from the user service
  1785. # during synchronization. depends on realm.ldap.synchronize = true
  1786. #
  1787. # Valid values: true, false
  1788. # If left blank, true is assumed
  1789. #
  1790. # SINCE 1.4.0
  1791. realm.ldap.removeDeletedUsers = true
  1792. # URL of the Redmine.
  1793. #
  1794. # SINCE 1.2.0
  1795. realm.redmine.url = http://example.com/redmine
  1796. #
  1797. # Gitblit GO Server Settings
  1798. # The following settings only affect the integrated GO variant.
  1799. #
  1800. # The temporary folder to decompress the embedded gitblit webapp.
  1801. #
  1802. # SINCE 0.5.0
  1803. # RESTART REQUIRED
  1804. # BASEFOLDER
  1805. server.tempFolder = ${baseFolder}/temp
  1806. # Specify the maximum number of concurrent http/https Jetty worker
  1807. # threads to allow. This setting does not affect other threaded
  1808. # daemons and components of Gitblit.
  1809. #
  1810. # SINCE 1.3.0
  1811. # RESTART REQUIRED
  1812. server.threadPoolSize = 50
  1813. # Context path for the GO application. You might want to change the context
  1814. # path if running Gitblit behind a proxy layer such as mod_proxy.
  1815. #
  1816. # SINCE 0.7.0
  1817. # RESTART REQUIRED
  1818. server.contextPath = /
  1819. # Standard http port to serve. <= 0 disables this connector.
  1820. # On Unix/Linux systems, ports < 1024 require root permissions.
  1821. # Recommended value: 80 or 8080
  1822. #
  1823. # SINCE 0.5.0
  1824. # RESTART REQUIRED
  1825. server.httpPort = 0
  1826. # Secure/SSL https port to serve. <= 0 disables this connector.
  1827. # On Unix/Linux systems, ports < 1024 require root permissions.
  1828. # Recommended value: 443 or 8443
  1829. #
  1830. # SINCE 0.5.0
  1831. # RESTART REQUIRED
  1832. server.httpsPort = 8443
  1833. # Automatically redirect http requests to the secure https connector.
  1834. #
  1835. # This setting requires that you have configured server.httpPort and server.httpsPort.
  1836. # Unless you are on a private LAN where you trust all client connections, it is
  1837. # recommended to use https for all communications.
  1838. #
  1839. # SINCE 1.4.0
  1840. # RESTART REQUIRED
  1841. server.redirectToHttpsPort = false
  1842. # Specify the interface for Jetty to bind the standard connector.
  1843. # You may specify an ip or an empty value to bind to all interfaces.
  1844. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1845. # localhost.
  1846. #
  1847. # SINCE 0.5.0
  1848. # RESTART REQUIRED
  1849. server.httpBindInterface =
  1850. # Specify the interface for Jetty to bind the secure connector.
  1851. # You may specify an ip or an empty value to bind to all interfaces.
  1852. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1853. # localhost.
  1854. #
  1855. # SINCE 0.5.0
  1856. # RESTART REQUIRED
  1857. server.httpsBindInterface =
  1858. # Alias of certificate to use for https/SSL serving. If blank the first
  1859. # certificate found in the keystore will be used.
  1860. #
  1861. # SINCE 1.2.0
  1862. # RESTART REQUIRED
  1863. server.certificateAlias = localhost
  1864. # Password for SSL keystore.
  1865. # Keystore password and certificate password must match.
  1866. # This is provided for convenience, its probably more secure to set this value
  1867. # using the --storePassword command line parameter.
  1868. #
  1869. # If you are using the official JRE or JDK from Oracle you may not have the
  1870. # JCE Unlimited Strength Jurisdiction Policy files bundled with your JVM. Because
  1871. # of this, your store/key password can not exceed 7 characters. If you require
  1872. # longer passwords you may need to install the JCE Unlimited Strength Jurisdiction
  1873. # Policy files from Oracle.
  1874. #
  1875. # http://www.oracle.com/technetwork/java/javase/downloads/index.html
  1876. #
  1877. # Gitblit and the Gitblit Certificate Authority will both indicate if Unlimited
  1878. # Strength encryption is available.
  1879. #
  1880. # SINCE 0.5.0
  1881. # RESTART REQUIRED
  1882. server.storePassword = gitblit
  1883. # If serving over https (recommended) you might consider requiring clients to
  1884. # authenticate with TLS certificates.
  1885. #
  1886. # Possible values are: 'required' (or 'true'), 'optional' (or 'false') and 'none'
  1887. #
  1888. # If required, only https clients with a valid client certificate will be able
  1889. # to access Gitblit.
  1890. #
  1891. # If optional, client certificate authentication is optional and will be tried
  1892. # first before falling-back to form authentication or basic authentication.
  1893. #
  1894. # If completely disabled ('none'), then the server will not ask the client to
  1895. # present a client certificate at all.
  1896. #
  1897. # Requiring client certificates to access any of Gitblit may be too extreme,
  1898. # consider this carefully.
  1899. #
  1900. # SINCE 1.2.0
  1901. # RESTART REQUIRED
  1902. server.requireClientCertificates = optional
  1903. # If enabled, client certificate authentication is optional and will be tried
  1904. # first before falling-back to form authentication or basic authentication.
  1905. #
  1906. # If disabled, no client certificate authentication will be done at all.
  1907. #
  1908. # SINCE 1.8.1
  1909. # RESTART REQUIRED
  1910. server.wantClientCertificates = false
  1911. # Port for shutdown monitor to listen on.
  1912. #
  1913. # SINCE 0.5.0
  1914. # RESTART REQUIRED
  1915. server.shutdownPort = 8081
  1916. # Http idle Timeout (in milliseconds) for http and https requests
  1917. # Increase this value if you get java.util.concurrent.TimeoutException errors
  1918. #
  1919. # SINCE 1.9.0
  1920. # RESTART REQUIRED
  1921. server.httpIdleTimeout = 30000
  1922. #
  1923. # Gitblit Filestore Settings
  1924. #
  1925. # The location to save the filestore blobs
  1926. #
  1927. # SINCE 1.7.0
  1928. filestore.storageFolder = ${baseFolder}/lfs
  1929. # Maximum allowable upload size
  1930. # The default value, -1, disables upload limits.
  1931. # Common unit suffixes of k, m, or g are supported.
  1932. # SINCE 1.7.0
  1933. filestore.maxUploadSize = -1