Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

gitblit.properties 53KB

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