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.

test-ui-gitblit.properties 39KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203
  1. #
  2. # Git Servlet Settings
  3. #
  4. # Base folder for repositories.
  5. # This folder may contain bare and non-bare repositories but Gitblit will only
  6. # allow you to push to bare repositories.
  7. # Use forward slashes even on Windows!!
  8. # e.g. c:/gitrepos
  9. #
  10. # SINCE 0.5.0
  11. # RESTART REQUIRED
  12. git.repositoriesFolder = ${baseFolder}/git
  13. # Build the available repository list at startup and cache this list for reuse.
  14. # This reduces disk io when presenting the repositories page, responding to rpcs,
  15. # etc, but it means that Gitblit will not automatically identify repositories
  16. # added or deleted by external tools.
  17. #
  18. # For this case you can use curl, wget, etc to issue an rpc request to clear the
  19. # cache (e.g. https://localhost/rpc?req=CLEAR_REPOSITORY_CACHE)
  20. #
  21. # SINCE 1.1.0
  22. git.cacheRepositoryList = true
  23. # Search the repositories folder subfolders for other repositories.
  24. # Repositories MAY NOT be nested (i.e. one repository within another)
  25. # but they may be grouped together in subfolders.
  26. # e.g. c:/gitrepos/libraries/mylibrary.git
  27. # c:/gitrepos/libraries/myotherlibrary.git
  28. #
  29. # SINCE 0.5.0
  30. git.searchRepositoriesSubfolders = true
  31. # Maximum number of folders to recurse into when searching for repositories.
  32. # The default value, -1, disables depth limits.
  33. #
  34. # SINCE 1.1.0
  35. git.searchRecursionDepth = -1
  36. # List of regex exclusion patterns to match against folders found in
  37. # *git.repositoriesFolder*.
  38. # Use forward slashes even on Windows!!
  39. # e.g. test/jgit\.git
  40. #
  41. # SPACE-DELIMITED
  42. # CASE-SENSITIVE
  43. # SINCE 1.1.0
  44. git.searchExclusions =
  45. # List of regex url patterns for extracting a repository name when locating
  46. # submodules.
  47. # e.g. git.submoduleUrlPatterns = .*?://github.com/(.*) will extract
  48. # *gitblit-org/gitblit.git* from *git://github.com/gitblit-org/gitblit.git*
  49. # If no matches are found then the submodule repository name is assumed to be
  50. # whatever trails the last / character. (e.g. gitblit.git).
  51. #
  52. # SPACE-DELIMITED
  53. # CASE-SENSITIVE
  54. # SINCE 1.1.0
  55. git.submoduleUrlPatterns = .*?://github.com/(.*)
  56. # Allow push/pull over http/https with JGit servlet.
  57. # If you do NOT want to allow Git clients to clone/push to Gitblit set this
  58. # to false. You might want to do this if you are only using ssh:// or git://.
  59. # If you set this false, consider changing the *web.otherUrls* setting to
  60. # indicate your clone/push urls.
  61. #
  62. # SINCE 0.5.0
  63. git.enableGitServlet = true
  64. # If you want to restrict all git servlet access to those with valid X509 client
  65. # certificates then set this value to true.
  66. #
  67. # SINCE 1.2.0
  68. git.requiresClientCertificate = false
  69. # Enforce date checks on client certificates to ensure that they are not being
  70. # used prematurely and that they have not expired.
  71. #
  72. # SINCE 1.2.0
  73. git.enforceCertificateValidity = true
  74. # List of OIDs to extract from a client certificate DN to map a certificate to
  75. # an account username.
  76. #
  77. # e.g. git.certificateUsernameOIDs = CN
  78. # e.g. git.certificateUsernameOIDs = FirstName LastName
  79. #
  80. # SPACE-DELIMITED
  81. # SINCE 1.2.0
  82. git.certificateUsernameOIDs = CN
  83. # Only serve/display bare repositories.
  84. # If there are non-bare repositories in git.repositoriesFolder and this setting
  85. # is true, they will be excluded from the ui.
  86. #
  87. # SINCE 0.9.0
  88. git.onlyAccessBareRepositories = false
  89. # Allow an authenticated user to create a destination repository on a push if
  90. # the repository does not already exist.
  91. #
  92. # Administrator accounts can create a repository in any project.
  93. # These repositories are created with the default access restriction and authorization
  94. # control values. The pushing account is set as the owner.
  95. #
  96. # Non-administrator accounts with the CREATE role may create personal repositories.
  97. # These repositories are created as VIEW restricted for NAMED users.
  98. # The pushing account is set as the owner.
  99. #
  100. # SINCE 1.2.0
  101. git.allowCreateOnPush = true
  102. # The default access restriction for new repositories.
  103. # Valid values are NONE, PUSH, CLONE, VIEW
  104. # NONE = anonymous view, clone, & push
  105. # PUSH = anonymous view & clone and authenticated push
  106. # CLONE = anonymous view, authenticated clone & push
  107. # VIEW = authenticated view, clone, & push
  108. #
  109. # SINCE 1.0.0
  110. git.defaultAccessRestriction = NONE
  111. # The default authorization control for new repositories.
  112. # Valid values are AUTHENTICATED and NAMED
  113. # AUTHENTICATED = any authenticated user is granted restricted access
  114. # NAMED = only named users/teams are granted restricted access
  115. #
  116. # SINCE 1.1.0
  117. git.defaultAuthorizationControl = NAMED
  118. # Enable JGit-based garbage collection. (!!EXPERIMENTAL!!)
  119. #
  120. # USE AT YOUR OWN RISK!
  121. #
  122. # If enabled, the garbage collection executor scans all repositories once a day
  123. # at the hour of your choosing. The GC executor will take each repository "offline",
  124. # one-at-a-time, to check if the repository satisfies it's GC trigger requirements.
  125. #
  126. # While the repository is offline it will be inaccessible from the web UI or from
  127. # any of the other services (git, rpc, rss, etc).
  128. #
  129. # Gitblit's GC Executor MAY NOT PLAY NICE with the other Git kids on the block,
  130. # especially on Windows systems, so if you are using other tools please coordinate
  131. # their usage with your GC Executor schedule or do not use this feature.
  132. #
  133. # The GC algorithm complex and the JGit team advises caution when using their
  134. # young implementation of GC.
  135. #
  136. # http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.1#Garbage_Collector_and_Repository_Storage_Statistics
  137. #
  138. # EXPERIMENTAL
  139. # SINCE 1.2.0
  140. # RESTART REQUIRED
  141. git.enableGarbageCollection = false
  142. # Hour of the day for the GC Executor to scan repositories.
  143. # This value is in 24-hour time.
  144. #
  145. # SINCE 1.2.0
  146. git.garbageCollectionHour = 0
  147. # The default minimum total filesize of loose objects to trigger early garbage
  148. # collection.
  149. #
  150. # You may specify a custom threshold for a repository in the repository's settings.
  151. # Common unit suffixes of k, m, or g are supported.
  152. #
  153. # SINCE 1.2.0
  154. git.defaultGarbageCollectionThreshold = 500k
  155. # The default period, in days, between GCs for a repository. If the total filesize
  156. # of the loose object exceeds *git.garbageCollectionThreshold* or the repository's
  157. # custom threshold, this period will be short-circuited.
  158. #
  159. # e.g. if a repository collects 100KB of loose objects every day with a 500KB
  160. # threshold and a period of 7 days, it will take 5 days for the loose objects to
  161. # be collected, packed, and pruned.
  162. #
  163. # OR
  164. #
  165. # if a repository collects 10KB of loose objects every day with a 500KB threshold
  166. # and a period of 7 days, it will take the full 7 days for the loose objects to be
  167. # collected, packed, and pruned.
  168. #
  169. # You may specify a custom period for a repository in the repository's settings.
  170. #
  171. # The minimum value is 1 day since the GC Executor only runs once a day.
  172. #
  173. # SINCE 1.2.0
  174. git.defaultGarbageCollectionPeriod = 7
  175. # Number of bytes of a pack file to load into memory in a single read operation.
  176. # This is the "page size" of the JGit buffer cache, used for all pack access
  177. # operations. All disk IO occurs as single window reads. Setting this too large
  178. # may cause the process to load more data than is required; setting this too small
  179. # may increase the frequency of read() system calls.
  180. #
  181. # Default on JGit is 8 KiB on all platforms.
  182. #
  183. # Common unit suffixes of k, m, or g are supported.
  184. # Documentation courtesy of the Gerrit project.
  185. #
  186. # SINCE 1.0.0
  187. # RESTART REQUIRED
  188. git.packedGitWindowSize = 8k
  189. # Maximum number of bytes to load and cache in memory from pack files. If JGit
  190. # needs to access more than this many bytes it will unload less frequently used
  191. # windows to reclaim memory space within the process. As this buffer must be shared
  192. # with the rest of the JVM heap, it should be a fraction of the total memory available.
  193. #
  194. # The JGit team recommends setting this value larger than the size of your biggest
  195. # repository. This ensures you can serve most requests from memory.
  196. #
  197. # Default on JGit is 10 MiB on all platforms.
  198. #
  199. # Common unit suffixes of k, m, or g are supported.
  200. # Documentation courtesy of the Gerrit project.
  201. #
  202. # SINCE 1.0.0
  203. # RESTART REQUIRED
  204. git.packedGitLimit = 10m
  205. # Maximum number of bytes to reserve for caching base objects that multiple deltafied
  206. # objects reference. By storing the entire decompressed base object in a cache Git
  207. # is able to avoid unpacking and decompressing frequently used base objects multiple times.
  208. #
  209. # Default on JGit is 10 MiB on all platforms. You probably do not need to adjust
  210. # this value.
  211. #
  212. # Common unit suffixes of k, m, or g are supported.
  213. # Documentation courtesy of the Gerrit project.
  214. #
  215. # SINCE 1.0.0
  216. # RESTART REQUIRED
  217. git.deltaBaseCacheLimit = 10m
  218. # Maximum number of pack files to have open at once. A pack file must be opened
  219. # in order for any of its data to be available in a cached window.
  220. #
  221. # If you increase this to a larger setting you may need to also adjust the ulimit
  222. # on file descriptors for the host JVM, as Gitblit needs additional file descriptors
  223. # available for network sockets and other repository data manipulation.
  224. #
  225. # Default on JGit is 128 file descriptors on all platforms.
  226. # Documentation courtesy of the Gerrit project.
  227. #
  228. # SINCE 1.0.0
  229. # RESTART REQUIRED
  230. git.packedGitOpenFiles = 128
  231. # Largest object size, in bytes, that JGit will allocate as a contiguous byte
  232. # array. Any file revision larger than this threshold will have to be streamed,
  233. # typically requiring the use of temporary files under $GIT_DIR/objects to implement
  234. # psuedo-random access during delta decompression.
  235. #
  236. # Servers with very high traffic should set this to be larger than the size of
  237. # their common big files. For example a server managing the Android platform
  238. # typically has to deal with ~10-12 MiB XML files, so 15 m would be a reasonable
  239. # setting in that environment. Setting this too high may cause the JVM to run out
  240. # of heap space when handling very big binary files, such as device firmware or
  241. # CD-ROM ISO images. Make sure to adjust your JVM heap accordingly.
  242. #
  243. # Default is 50 MiB on all platforms.
  244. #
  245. # Common unit suffixes of k, m, or g are supported.
  246. # Documentation courtesy of the Gerrit project.
  247. #
  248. # SINCE 1.0.0
  249. # RESTART REQUIRED
  250. git.streamFileThreshold = 50m
  251. # When true, JGit will use mmap() rather than malloc()+read() to load data from
  252. # pack files. The use of mmap can be problematic on some JVMs as the garbage
  253. # collector must deduce that a memory mapped segment is no longer in use before
  254. # a call to munmap() can be made by the JVM native code.
  255. #
  256. # In server applications (such as Gitblit) that need to access many pack files,
  257. # setting this to true risks artificially running out of virtual address space,
  258. # as the garbage collector cannot reclaim unused mapped spaces fast enough.
  259. #
  260. # Default on JGit is false. Although potentially slower, it yields much more
  261. # predictable behavior.
  262. # Documentation courtesy of the Gerrit project.
  263. #
  264. # SINCE 1.0.0
  265. # RESTART REQUIRED
  266. git.packedGitMmap = false
  267. #
  268. # Groovy Integration
  269. #
  270. # Location of Groovy scripts to use for Pre and Post receive hooks.
  271. # Use forward slashes even on Windows!!
  272. # e.g. c:/groovy
  273. #
  274. # RESTART REQUIRED
  275. # SINCE 0.8.0
  276. groovy.scriptsFolder = ${baseFolder}/groovy
  277. # Specify the directory Grape uses for downloading libraries.
  278. # http://groovy.codehaus.org/Grape
  279. #
  280. # RESTART REQUIRED
  281. # SINCE 1.0.0
  282. groovy.grapeFolder = ${baseFolder}/groovy/grape
  283. # Scripts to execute on Pre-Receive.
  284. #
  285. # These scripts execute after an incoming push has been parsed and validated
  286. # but BEFORE the changes are applied to the repository. You might reject a
  287. # push in this script based on the repository and branch the push is attempting
  288. # to change.
  289. #
  290. # Script names are case-sensitive on case-sensitive file systems. You may omit
  291. # the traditional ".groovy" from this list if your file extension is ".groovy"
  292. #
  293. # NOTE:
  294. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  295. # tooling you may be using. Also note that these scripts are shared between
  296. # repositories. These are NOT repository-specific scripts! Within the script
  297. # you may customize the control-flow for a specific repository by checking the
  298. # *repository* variable.
  299. #
  300. # SPACE-DELIMITED
  301. # CASE-SENSITIVE
  302. # SINCE 0.8.0
  303. groovy.preReceiveScripts =
  304. # Scripts to execute on Post-Receive.
  305. #
  306. # These scripts execute AFTER an incoming push has been applied to a repository.
  307. # You might trigger a continuous-integration build here or send a notification.
  308. #
  309. # Script names are case-sensitive on case-sensitive file systems. You may omit
  310. # the traditional ".groovy" from this list if your file extension is ".groovy"
  311. #
  312. # NOTE:
  313. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  314. # tooling you may be using. Also note that these scripts are shared between
  315. # repositories. These are NOT repository-specific scripts! Within the script
  316. # you may customize the control-flow for a specific repository by checking the
  317. # *repository* variable.
  318. #
  319. # SPACE-DELIMITED
  320. # CASE-SENSITIVE
  321. # SINCE 0.8.0
  322. groovy.postReceiveScripts =
  323. # Repository custom fields for Groovy Hook mechanism
  324. #
  325. # List of key=label pairs of custom fields to prompt for in the Edit Repository
  326. # page. These keys are stored in the repository's git config file in the
  327. # section [gitblit "customFields"]. Key names are alphanumeric only. These
  328. # fields are intended to be used for the Groovy hook mechanism where a script
  329. # can adjust it's execution based on the custom fields stored in the repository
  330. # config.
  331. #
  332. # e.g. "commitMsgRegex=Commit Message Regular Expression" anotherProperty=Another
  333. #
  334. # SPACE-DELIMITED
  335. # SINCE 1.0.0
  336. groovy.customFields =
  337. #
  338. # Authentication Settings
  339. #
  340. # Require authentication to see everything but the admin pages
  341. #
  342. # SINCE 0.5.0
  343. # RESTART REQUIRED
  344. web.authenticateViewPages = false
  345. # Require admin authentication for the admin functions and pages
  346. #
  347. # SINCE 0.5.0
  348. # RESTART REQUIRED
  349. web.authenticateAdminPages = true
  350. # Allow Gitblit to store a cookie in the user's browser for automatic
  351. # authentication. The cookie is generated by the user service.
  352. #
  353. # SINCE 0.5.0
  354. web.allowCookieAuthentication = true
  355. # Config file for storing project metadata
  356. #
  357. # SINCE 1.2.0
  358. web.projectsFile = ${baseFolder}/projects.conf
  359. # Either the full path to a user config file (users.conf)
  360. # OR the full path to a simple user properties file (users.properties)
  361. # OR a fully qualified class name that implements the IUserService interface.
  362. #
  363. # Alternative user services:
  364. # com.gitblit.LdapUserService
  365. # com.gitblit.RedmineUserService
  366. #
  367. # Any custom user service implementation must have a public default constructor.
  368. #
  369. # SINCE 0.5.0
  370. # RESTART REQUIRED
  371. realm.userService = test-ui-users.conf
  372. # How to store passwords.
  373. # Valid values are plain, md5, or combined-md5. md5 is the hash of password.
  374. # combined-md5 is the hash of username.toLowerCase()+password.
  375. # Default is md5.
  376. #
  377. # SINCE 0.5.0
  378. realm.passwordStorage = md5
  379. # Minimum valid length for a plain text password.
  380. # Default value is 5. Absolute minimum is 4.
  381. #
  382. # SINCE 0.5.0
  383. realm.minPasswordLength = 5
  384. #
  385. # Gitblit Web Settings
  386. #
  387. # If blank Gitblit is displayed.
  388. #
  389. # SINCE 0.5.0
  390. web.siteName =
  391. # If *web.authenticateAdminPages*=true, users with "admin" role can create
  392. # repositories, create users, and edit repository metadata.
  393. #
  394. # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
  395. # functions.
  396. #
  397. # SINCE 0.5.0
  398. web.allowAdministration = true
  399. # Allows rpc clients to list repositories and possibly manage or administer the
  400. # Gitblit server, if the authenticated account has administrator permissions.
  401. # See *web.enableRpcManagement* and *web.enableRpcAdministration*.
  402. #
  403. # SINCE 0.7.0
  404. web.enableRpcServlet = true
  405. # Allows rpc clients to manage repositories and users of the Gitblit instance,
  406. # if the authenticated account has administrator permissions.
  407. # Requires *web.enableRpcServlet=true*.
  408. #
  409. # SINCE 0.7.0
  410. web.enableRpcManagement = false
  411. # Allows rpc clients to control the server settings and monitor the health of this
  412. # this Gitblit instance, if the authenticated account has administrator permissions.
  413. # Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
  414. #
  415. # SINCE 0.7.0
  416. web.enableRpcAdministration = false
  417. # Full path to a configurable robots.txt file. With this file you can control
  418. # what parts of your Gitblit server respectable robots are allowed to traverse.
  419. # http://googlewebmastercentral.blogspot.com/2008/06/improving-on-robots-exclusion-protocol.html
  420. #
  421. # SINCE 1.0.0
  422. web.robots.txt =
  423. # If true, the web ui layout will respond and adapt to the browser's dimensions.
  424. # if false, the web ui will use a 940px fixed-width layout.
  425. # http://twitter.github.com/bootstrap/scaffolding.html#responsive
  426. #
  427. # SINCE 1.0.0
  428. web.useResponsiveLayout = true
  429. # Allow Gravatar images to be displayed in Gitblit pages.
  430. #
  431. # SINCE 0.8.0
  432. web.allowGravatar = true
  433. # Allow dynamic zip downloads.
  434. #
  435. # SINCE 0.5.0
  436. web.allowZipDownloads = true
  437. # If *web.allowZipDownloads=true* the following formats will be displayed for
  438. # download compressed archive links:
  439. #
  440. # zip = standard .zip
  441. # tar = standard tar format (preserves *nix permissions and symlinks)
  442. # gz = gz-compressed tar
  443. # xz = xz-compressed tar
  444. # bzip2 = bzip2-compressed tar
  445. #
  446. # SPACE-DELIMITED
  447. # SINCE 1.2.0
  448. web.compressedDownloads = zip gz
  449. # Allow optional Lucene integration. Lucene indexing is an opt-in feature.
  450. # A repository may specify branches to index with Lucene instead of using Git
  451. # commit traversal. There are scenarios where you may want to completely disable
  452. # Lucene indexing despite a repository specifying indexed branches. One such
  453. # scenario is on a resource-constrained federated Gitblit mirror.
  454. #
  455. # SINCE 0.9.0
  456. web.allowLuceneIndexing = false
  457. # Allows an authenticated user to create forks of a repository
  458. #
  459. # set this to false if you want to disable all fork controls on the web site
  460. #
  461. web.allowForking = true
  462. # Controls the length of shortened commit hash ids
  463. #
  464. # SINCE 1.2.0
  465. web.shortCommitIdLength = 6
  466. # Use Clippy (Flash solution) to provide a copy-to-clipboard button.
  467. # If false, a button with a more primitive JavaScript-based prompt box will
  468. # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
  469. #
  470. # SINCE 0.8.0
  471. web.allowFlashCopyToClipboard = true
  472. # Default maximum number of commits that a repository may contribute to the
  473. # activity page, regardless of the selected duration. This setting may be valuable
  474. # for an extremely busy server. This value may also be configed per-repository
  475. # in Edit Repository. 0 disables this throttle.
  476. #
  477. # SINCE 1.2.0
  478. web.maxActivityCommits = 0
  479. # Default number of entries to include in RSS Syndication links
  480. #
  481. # SINCE 0.5.0
  482. web.syndicationEntries = 25
  483. # Show the size of each repository on the repositories page.
  484. # This requires recursive traversal of each repository folder. This may be
  485. # non-performant on some operating systems and/or filesystems.
  486. #
  487. # SINCE 0.5.2
  488. web.showRepositorySizes = true
  489. # List of custom regex expressions that can be displayed in the Filters menu
  490. # of the Repositories and Activity pages. Keep them very simple because you
  491. # are likely to run into encoding issues if they are too complex.
  492. #
  493. # Use !!! to separate the filters
  494. #
  495. # SINCE 0.8.0
  496. web.customFilters =
  497. # Show federation registrations (without token) and the current pull status
  498. # to non-administrator users.
  499. #
  500. # SINCE 0.6.0
  501. web.showFederationRegistrations = false
  502. # This is the message displayed when *web.authenticateViewPages=true*.
  503. # This can point to a file with Markdown content.
  504. # Specifying "gitblit" uses the internal login message.
  505. #
  506. # SINCE 0.7.0
  507. web.loginMessage = gitblit
  508. # This is the message displayed above the repositories table.
  509. # This can point to a file with Markdown content.
  510. # Specifying "gitblit" uses the internal welcome message.
  511. #
  512. # SINCE 0.5.0
  513. web.repositoriesMessage = gitblit
  514. # Ordered list of charsets/encodings to use when trying to display a blob.
  515. # If empty, UTF-8 and ISO-8859-1 are used. The server's default charset
  516. # is always appended to the encoding list. If all encodings fail to cleanly
  517. # decode the blob content, UTF-8 will be used with the standard malformed
  518. # input/unmappable character replacement strings.
  519. #
  520. # SPACE-DELIMITED
  521. # SINCE 1.0.0
  522. web.blobEncodings = UTF-8 ISO-8859-1
  523. # Manually set the default timezone to be used by Gitblit for display in the
  524. # web ui. This value is independent of the JVM timezone. Specifying a blank
  525. # value will default to the JVM timezone.
  526. # e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
  527. #
  528. # SINCE 0.9.0
  529. # RESTART REQUIRED
  530. web.timezone =
  531. # Use the client timezone when formatting dates.
  532. # This uses AJAX to determine the browser's timezone and may require more
  533. # server overhead because a Wicket session is created. All Gitblit pages
  534. # attempt to be stateless, if possible.
  535. #
  536. # SINCE 0.5.0
  537. # RESTART REQUIRED
  538. web.useClientTimezone = false
  539. # Time format
  540. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  541. #
  542. # SINCE 0.8.0
  543. web.timeFormat = HH:mm
  544. # Short date format
  545. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  546. #
  547. # SINCE 0.5.0
  548. web.datestampShortFormat = yyyy-MM-dd
  549. # Long date format
  550. #
  551. # SINCE 0.8.0
  552. web.datestampLongFormat = EEEE, MMMM d, yyyy
  553. # Long timestamp format
  554. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  555. #
  556. # SINCE 0.5.0
  557. web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
  558. # Mount URL parameters
  559. # This setting controls if pretty or parameter URLs are used.
  560. # i.e.
  561. # if true:
  562. # http://localhost/commit/myrepo/abcdef
  563. # if false:
  564. # http://localhost/commit/?r=myrepo&h=abcdef
  565. #
  566. # SINCE 0.5.0
  567. # RESTART REQUIRED
  568. web.mountParameters = true
  569. # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
  570. # in URLs as a security precaution for proxies. This setting tells Gitblit
  571. # to preemptively replace '/' with '*' or '!' for url string parameters.
  572. #
  573. # <https://issues.apache.org/jira/browse/WICKET-1303>
  574. # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
  575. # Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
  576. # *CATALINA_OPTS* or to your JVM launch parameters
  577. #
  578. # SINCE 0.5.2
  579. web.forwardSlashCharacter = /
  580. # Show other URLs on the summary page for accessing your git repositories
  581. # Use spaces to separate urls. {0} is the token for the repository name.
  582. # e.g.
  583. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0}
  584. #
  585. # SPACE-DELIMITED
  586. # SINCE 0.5.0
  587. web.otherUrls =
  588. # Choose how to present the repositories list.
  589. # grouped = group nested/subfolder repositories together (no sorting)
  590. # flat = flat list of repositories (sorting allowed)
  591. #
  592. # SINCE 0.5.0
  593. web.repositoryListType = grouped
  594. # If using a grouped repository list and there are repositories at the
  595. # root level of your repositories folder, you may specify the displayed
  596. # group name with this setting. This value is only used for web presentation.
  597. #
  598. # SINCE 0.5.0
  599. web.repositoryRootGroupName = main
  600. # Display the repository swatch color next to the repository name link in the
  601. # repositories list.
  602. #
  603. # SINCE 0.8.0
  604. web.repositoryListSwatches = true
  605. # Choose the diff presentation style: gitblt, gitweb, or plain
  606. #
  607. # SINCE 0.5.0
  608. web.diffStyle = gitblit
  609. # Control if email addresses are shown in web ui
  610. #
  611. # SINCE 0.5.0
  612. web.showEmailAddresses = true
  613. # Shows a combobox in the page links header with commit, committer, and author
  614. # search selection. Default search is commit.
  615. #
  616. # SINCE 0.5.0
  617. web.showSearchTypeSelection = false
  618. # Generates a line graph of repository activity over time on the Summary page.
  619. # This uses the Google Charts API.
  620. #
  621. # SINCE 0.5.0
  622. web.generateActivityGraph = true
  623. # The number of days to show on the activity page.
  624. # Value must exceed 0 else default of 14 is used
  625. #
  626. # SINCE 0.8.0
  627. web.activityDuration = 14
  628. # The number of commits to display on the summary page
  629. # Value must exceed 0 else default of 20 is used
  630. #
  631. # SINCE 0.5.0
  632. web.summaryCommitCount = 16
  633. # The number of tags/branches to display on the summary page.
  634. # -1 = all tags/branches
  635. # 0 = hide tags/branches
  636. # N = N tags/branches
  637. #
  638. # SINCE 0.5.0
  639. web.summaryRefsCount = 5
  640. # The number of items to show on a page before showing the first, prev, next
  641. # pagination links. A default if 50 is used for any invalid value.
  642. #
  643. # SINCE 0.5.0
  644. web.itemsPerPage = 50
  645. # Registered file extensions to ignore during Lucene indexing
  646. #
  647. # SPACE-DELIMITED
  648. # SINCE 0.9.0
  649. web.luceneIgnoreExtensions = 7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt png so swf xcf xls xlsx zip
  650. # Registered extensions for google-code-prettify
  651. #
  652. # SPACE-DELIMITED
  653. # SINCE 0.5.0
  654. web.prettyPrintExtensions = c cpp cs css frm groovy htm html java js php pl prefs properties py rb scala sh sql xml vb
  655. # Registered extensions for markdown transformation
  656. #
  657. # SPACE-DELIMITED
  658. # CASE-SENSITIVE
  659. # SINCE 0.5.0
  660. web.markdownExtensions = md mkd markdown MD MKD
  661. # Image extensions
  662. #
  663. # SPACE-DELIMITED
  664. # SINCE 0.5.0
  665. web.imageExtensions = bmp jpg jpeg gif png ico
  666. # Registered extensions for binary blobs
  667. #
  668. # SPACE-DELIMITED
  669. # SINCE 0.5.0
  670. web.binaryExtensions = jar pdf tar.gz zip
  671. # Aggressive heap management will run the garbage collector on every generated
  672. # page. This slows down page generation a little but improves heap consumption.
  673. #
  674. # SINCE 0.5.0
  675. web.aggressiveHeapManagement = false
  676. # Run the webapp in debug mode
  677. #
  678. # SINCE 0.5.0
  679. # RESTART REQUIRED
  680. web.debugMode = false
  681. # Enable/disable global regex substitutions (i.e. shared across repositories)
  682. #
  683. # SINCE 0.5.0
  684. regex.global = true
  685. # Example global regex substitutions
  686. # Use !!! to separate the search pattern and the replace pattern
  687. # searchpattern!!!replacepattern
  688. # SINCE 0.5.0
  689. regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
  690. # SINCE 0.5.0
  691. regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
  692. # Example per-repository regex substitutions overrides global
  693. # SINCE 0.5.0
  694. regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
  695. #
  696. # Mail Settings
  697. # SINCE 0.6.0
  698. #
  699. # Mail settings are used to notify administrators of received federation proposals
  700. #
  701. # ip or hostname of smtp server
  702. #
  703. # SINCE 0.6.0
  704. mail.server =
  705. # port to use for smtp requests
  706. #
  707. # SINCE 0.6.0
  708. mail.port = 25
  709. # debug the mail executor
  710. #
  711. # SINCE 0.6.0
  712. mail.debug = false
  713. # if your smtp server requires authentication, supply the credentials here
  714. #
  715. # SINCE 0.6.0
  716. mail.username =
  717. # SINCE 0.6.0
  718. mail.password =
  719. # from address for generated emails
  720. #
  721. # SINCE 0.6.0
  722. mail.fromAddress =
  723. # List of email addresses for the Gitblit administrators
  724. #
  725. # SPACE-DELIMITED
  726. # SINCE 0.6.0
  727. mail.adminAddresses =
  728. # List of email addresses for sending push email notifications.
  729. #
  730. # This key currently requires use of the sendemail.groovy hook script.
  731. # If you set sendemail.groovy in *groovy.postReceiveScripts* then email
  732. # notifications for all repositories (regardless of access restrictions!)
  733. # will be sent to these addresses.
  734. #
  735. # SPACE-DELIMITED
  736. # SINCE 0.8.0
  737. mail.mailingLists =
  738. #
  739. # Federation Settings
  740. # SINCE 0.6.0
  741. #
  742. # A Gitblit federation is a way to backup one Gitblit instance to another.
  743. #
  744. # *git.enableGitServlet* must be true to use this feature.
  745. # Your federation name is used for federation status acknowledgments. If it is
  746. # unset, and you elect to send a status acknowledgment, your Gitblit instance
  747. # will be identified by its hostname, if available, else your internal ip address.
  748. # The source Gitblit instance will also append your external IP address to your
  749. # identification to differentiate multiple pulling systems behind a single proxy.
  750. #
  751. # SINCE 0.6.0
  752. federation.name =
  753. # Specify the passphrase of this Gitblit instance.
  754. #
  755. # An unspecified (empty) passphrase disables processing federation requests.
  756. #
  757. # This value can be anything you want: an integer, a sentence, an haiku, etc.
  758. # Keep the value simple, though, to avoid Java properties file encoding issues.
  759. #
  760. # Changing your passphrase will break any registrations you have established with other
  761. # Gitblit instances.
  762. #
  763. # CASE-SENSITIVE
  764. # SINCE 0.6.0
  765. # RESTART REQUIRED *(only to enable or disable federation)*
  766. federation.passphrase =
  767. # Control whether or not this Gitblit instance can receive federation proposals
  768. # from another Gitblit instance. Registering a federated Gitblit is a manual
  769. # process. Proposals help to simplify that process by allowing a remote Gitblit
  770. # instance to send your Gitblit instance the federation pull data.
  771. #
  772. # SINCE 0.6.0
  773. federation.allowProposals = false
  774. # The destination folder for cached federation proposals.
  775. # Use forward slashes even on Windows!!
  776. #
  777. # SINCE 0.6.0
  778. federation.proposalsFolder = ${baseFolder}/proposals
  779. # The default pull frequency if frequency is unspecified on a registration
  780. #
  781. # SINCE 0.6.0
  782. federation.defaultFrequency = 60 mins
  783. # Federation Sets are named groups of repositories. The Federation Sets are
  784. # available for selection in the repository settings page. You can assign a
  785. # repository to one or more sets and then distribute the token for the set.
  786. # This allows you to grant federation pull access to a subset of your available
  787. # repositories. Tokens for federation sets only grant repository pull access.
  788. #
  789. # SPACE-DELIMITED
  790. # CASE-SENSITIVE
  791. # SINCE 0.6.0
  792. federation.sets =
  793. # Federation pull registrations
  794. # Registrations are read once, at startup.
  795. #
  796. # RESTART REQUIRED
  797. #
  798. # frequency:
  799. # The shortest frequency allowed is every 5 minutes
  800. # Decimal frequency values are cast to integers
  801. # Frequency values may be specified in mins, hours, or days
  802. # Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
  803. #
  804. # folder:
  805. # if unspecified, the folder is *git.repositoriesFolder*
  806. # if specified, the folder is relative to *git.repositoriesFolder*
  807. #
  808. # bare:
  809. # if true, each repository will be created as a *bare* repository and will not
  810. # have a working directory.
  811. #
  812. # if false, each repository will be created as a normal repository suitable
  813. # for local work.
  814. #
  815. # mirror:
  816. # if true, each repository HEAD is reset to *origin/master* after each pull.
  817. # The repository will be flagged *isFrozen* after the initial clone.
  818. #
  819. # if false, each repository HEAD will point to the FETCH_HEAD of the initial
  820. # clone from the origin until pushed to or otherwise manipulated.
  821. #
  822. # mergeAccounts:
  823. # if true, remote accounts and their permissions are merged into your
  824. # users.properties file
  825. #
  826. # notifyOnError:
  827. # if true and the mail configuration is properly set, administrators will be
  828. # notified by email of pull failures
  829. #
  830. # include and exclude:
  831. # Space-delimited list of repositories to include or exclude from pull
  832. # may be * wildcard to include or exclude all
  833. # may use fuzzy match (e.g. org.eclipse.*)
  834. #
  835. # (Nearly) Perfect Mirror example
  836. #
  837. #federation.example1.url = https://go.gitblit.com
  838. #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
  839. #federation.example1.frequency = 120 mins
  840. #federation.example1.folder =
  841. #federation.example1.bare = true
  842. #federation.example1.mirror = true
  843. #federation.example1.mergeAccounts = true
  844. #
  845. # Advanced Realm Settings
  846. #
  847. # URL of the LDAP server.
  848. # To use encrypted transport, use either ldaps:// URL for SSL or ldap+tls:// to
  849. # send StartTLS command.
  850. #
  851. # SINCE 1.0.0
  852. realm.ldap.server = ldap://localhost
  853. # Login username for LDAP searches.
  854. # If this value is unspecified, anonymous LDAP login will be used.
  855. #
  856. # e.g. mydomain\\username
  857. #
  858. # SINCE 1.0.0
  859. realm.ldap.username = cn=Directory Manager
  860. # Login password for LDAP searches.
  861. #
  862. # SINCE 1.0.0
  863. realm.ldap.password = password
  864. # The LdapUserService must be backed by another user service for standard user
  865. # and team management.
  866. # default: users.conf
  867. #
  868. # SINCE 1.0.0
  869. # RESTART REQUIRED
  870. realm.ldap.backingUserService = test-ui-users.conf
  871. # Delegate team membership control to LDAP.
  872. #
  873. # If true, team user memberships will be specified by LDAP groups. This will
  874. # disable team selection in Edit User and user selection in Edit Team.
  875. #
  876. # If false, LDAP will only be used for authentication and Gitblit will maintain
  877. # team memberships with the *realm.ldap.backingUserService*.
  878. #
  879. # SINCE 1.0.0
  880. realm.ldap.maintainTeams = false
  881. # Root node for all LDAP users
  882. #
  883. # This is the root node from which subtree user searches will begin.
  884. # If blank, Gitblit will search ALL nodes.
  885. #
  886. # SINCE 1.0.0
  887. realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  888. # Filter criteria for LDAP users
  889. #
  890. # Query pattern to use when searching for a user account. This may be any valid
  891. # LDAP query expression, including the standard (&) and (|) operators.
  892. #
  893. # Variables may be injected via the ${variableName} syntax.
  894. # Recognized variables are:
  895. # ${username} - The text entered as the user name
  896. #
  897. # SINCE 1.0.0
  898. realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
  899. # Root node for all LDAP groups to be used as Gitblit Teams
  900. #
  901. # This is the root node from which subtree team searches will begin.
  902. # If blank, Gitblit will search ALL nodes.
  903. #
  904. # SINCE 1.0.0
  905. realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
  906. # Filter criteria for LDAP groups
  907. #
  908. # Query pattern to use when searching for a team. This may be any valid
  909. # LDAP query expression, including the standard (&) and (|) operators.
  910. #
  911. # Variables may be injected via the ${variableName} syntax.
  912. # Recognized variables are:
  913. # ${username} - The text entered as the user name
  914. # ${dn} - The Distinguished Name of the user logged in
  915. #
  916. # All attributes from the LDAP User record are available. For example, if a user
  917. # has an attribute "fullName" set to "John", "(fn=${fullName})" will be
  918. # translated to "(fn=John)".
  919. #
  920. # SINCE 1.0.0
  921. realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
  922. # LDAP users or groups that should be given administrator privileges.
  923. #
  924. # Teams are specified with a leading '@' character. Groups with spaces in the
  925. # name can be entered as "@team name".
  926. #
  927. # e.g. realm.ldap.admins = john @git_admins "@git admins"
  928. #
  929. # SPACE-DELIMITED
  930. # SINCE 1.0.0
  931. realm.ldap.admins = @Git_Admins
  932. # Attribute(s) on the USER record that indicate their display (or full) name.
  933. # Leave blank for no mapping available in LDAP.
  934. #
  935. # This may be a single attribute, or a string of multiple attributes. Examples:
  936. # displayName - Uses the attribute 'displayName' on the user record
  937. # ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3
  938. # attributes together, with a '.' after personalTitle
  939. #
  940. # SINCE 1.0.0
  941. realm.ldap.displayName = displayName
  942. # Attribute(s) on the USER record that indicate their email address.
  943. # Leave blank for no mapping available in LDAP.
  944. #
  945. # This may be a single attribute, or a string of multiple attributes. Examples:
  946. # email - Uses the attribute 'email' on the user record
  947. # ${givenName}.${surname}@gitblit.com -Will concatenate the 2 attributes
  948. # together with a '.' and '@' creating something like first.last@gitblit.com
  949. #
  950. # SINCE 1.0.0
  951. realm.ldap.email = email
  952. # The RedmineUserService must be backed by another user service for standard user
  953. # and team management.
  954. # default: users.conf
  955. #
  956. # RESTART REQUIRED
  957. realm.redmine.backingUserService = test-ui-users.conf
  958. # URL of the Redmine.
  959. realm.redmine.url = http://example.com/redmine
  960. #
  961. # Server Settings
  962. #
  963. # The temporary folder to decompress the embedded gitblit webapp.
  964. #
  965. # SINCE 0.5.0
  966. # RESTART REQUIRED
  967. server.tempFolder = ${baseFolder}/temp
  968. # Use Jetty NIO connectors. If false, Jetty Socket connectors will be used.
  969. #
  970. # SINCE 0.5.0
  971. # RESTART REQUIRED
  972. server.useNio = true
  973. # Context path for the GO application. You might want to change the context
  974. # path if running Gitblit behind a proxy layer such as mod_proxy.
  975. #
  976. # SINCE 0.7.0
  977. # RESTART REQUIRED
  978. server.contextPath = /
  979. # Standard http port to serve. <= 0 disables this connector.
  980. # On Unix/Linux systems, ports < 1024 require root permissions.
  981. # Recommended value: 80 or 8080
  982. #
  983. # SINCE 0.5.0
  984. # RESTART REQUIRED
  985. server.httpPort = 0
  986. # Secure/SSL https port to serve. <= 0 disables this connector.
  987. # On Unix/Linux systems, ports < 1024 require root permissions.
  988. # Recommended value: 443 or 8443
  989. #
  990. # SINCE 0.5.0
  991. # RESTART REQUIRED
  992. server.httpsPort = 8443
  993. # Port for serving an Apache JServ Protocol (AJP) 1.3 connector for integrating
  994. # Gitblit GO into an Apache HTTP server setup. <= 0 disables this connector.
  995. # Recommended value: 8009
  996. #
  997. # SINCE 0.9.0
  998. # RESTART REQUIRED
  999. server.ajpPort = 0
  1000. # Specify the interface for Jetty to bind the standard connector.
  1001. # You may specify an ip or an empty value to bind to all interfaces.
  1002. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1003. # localhost.
  1004. #
  1005. # SINCE 0.5.0
  1006. # RESTART REQUIRED
  1007. server.httpBindInterface = localhost
  1008. # Specify the interface for Jetty to bind the secure connector.
  1009. # You may specify an ip or an empty value to bind to all interfaces.
  1010. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1011. # localhost.
  1012. #
  1013. # SINCE 0.5.0
  1014. # RESTART REQUIRED
  1015. server.httpsBindInterface = localhost
  1016. # Specify the interface for Jetty to bind the AJP connector.
  1017. # You may specify an ip or an empty value to bind to all interfaces.
  1018. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1019. # localhost.
  1020. #
  1021. # SINCE 0.9.0
  1022. # RESTART REQUIRED
  1023. server.ajpBindInterface = localhost
  1024. # Alias of certificate to use for https/SSL serving. If blank the first
  1025. # certificate found in the keystore will be used.
  1026. #
  1027. # SINCE 1.2.0
  1028. # RESTART REQUIRED
  1029. server.certificateAlias = localhost
  1030. # Password for SSL keystore.
  1031. # Keystore password and certificate password must match.
  1032. # This is provided for convenience, its probably more secure to set this value
  1033. # using the --storePassword command line parameter.
  1034. #
  1035. # If you are using the official JRE or JDK from Oracle you may not have the
  1036. # JCE Unlimited Strength Jurisdiction Policy files bundled with your JVM. Because
  1037. # of this, your store/key password can not exceed 7 characters. If you require
  1038. # longer passwords you may need to install the JCE Unlimited Strength Jurisdiction
  1039. # Policy files from Oracle.
  1040. #
  1041. # http://www.oracle.com/technetwork/java/javase/downloads/index.html
  1042. #
  1043. # Gitblit and the Gitblit Certificate Authority will both indicate if Unlimited
  1044. # Strength encryption is available.
  1045. #
  1046. # SINCE 0.5.0
  1047. # RESTART REQUIRED
  1048. server.storePassword = gitblit
  1049. # If serving over https (recommended) you might consider requiring clients to
  1050. # authenticate with ssl certificates. If enabled, only https clients with the
  1051. # a valid client certificate will be able to access Gitblit.
  1052. #
  1053. # If disabled, client certificate authentication is optional and will be tried
  1054. # first before falling-back to form authentication or basic authentication.
  1055. #
  1056. # Requiring client certificates to access any of Gitblit may be too extreme,
  1057. # consider this carefully.
  1058. #
  1059. # SINCE 1.2.0
  1060. # RESTART REQUIRED
  1061. server.requireClientCertificates = false
  1062. # Port for shutdown monitor to listen on.
  1063. #
  1064. # SINCE 0.5.0
  1065. # RESTART REQUIRED
  1066. server.shutdownPort = 8081