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

gitblit.properties 52KB

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