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 24KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  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 = git
  13. # Search the repositories folder subfolders for other repositories.
  14. # Repositories MAY NOT be nested (i.e. one repository within another)
  15. # but they may be grouped together in subfolders.
  16. # e.g. c:/gitrepos/libraries/mylibrary.git
  17. # c:/gitrepos/libraries/myotherlibrary.git
  18. #
  19. # SINCE 0.5.0
  20. git.searchRepositoriesSubfolders = true
  21. # Allow push/pull over http/https with JGit servlet.
  22. # If you do NOT want to allow Git clients to clone/push to Gitblit set this
  23. # to false. You might want to do this if you are only using ssh:// or git://.
  24. # If you set this false, consider changing the *web.otherUrls* setting to
  25. # indicate your clone/push urls.
  26. #
  27. # SINCE 0.5.0
  28. git.enableGitServlet = true
  29. # Only serve/display bare repositories.
  30. # If there are non-bare repositories in git.repositoriesFolder and this setting
  31. # is true, they will be excluded from the ui.
  32. #
  33. # SINCE 0.9.0
  34. git.onlyAccessBareRepositories = false
  35. #
  36. # Groovy Integration
  37. #
  38. # Location of Groovy scripts to use for Pre and Post receive hooks.
  39. # Use forward slashes even on Windows!!
  40. # e.g. c:/groovy
  41. #
  42. # RESTART REQUIRED
  43. # SINCE 0.8.0
  44. groovy.scriptsFolder = groovy
  45. # Scripts to execute on Pre-Receive.
  46. #
  47. # These scripts execute after an incoming push has been parsed and validated
  48. # but BEFORE the changes are applied to the repository. You might reject a
  49. # push in this script based on the repository and branch the push is attempting
  50. # to change.
  51. #
  52. # Script names are case-sensitive on case-sensitive file systems. You may omit
  53. # the traditional ".groovy" from this list if your file extension is ".groovy"
  54. #
  55. # NOTE:
  56. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  57. # tooling you may be using. Also note that these scripts are shared between
  58. # repositories. These are NOT repository-specific scripts! Within the script
  59. # you may customize the control-flow for a specific repository by checking the
  60. # *repository* variable.
  61. #
  62. # SPACE-DELIMITED
  63. # CASE-SENSITIVE
  64. # SINCE 0.8.0
  65. groovy.preReceiveScripts =
  66. # Scripts to execute on Post-Receive.
  67. #
  68. # These scripts execute AFTER an incoming push has been applied to a repository.
  69. # You might trigger a continuous-integration build here or send a notification.
  70. #
  71. # Script names are case-sensitive on case-sensitive file systems. You may omit
  72. # the traditional ".groovy" from this list if your file extension is ".groovy"
  73. #
  74. # NOTE:
  75. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  76. # tooling you may be using. Also note that these scripts are shared between
  77. # repositories. These are NOT repository-specific scripts! Within the script
  78. # you may customize the control-flow for a specific repository by checking the
  79. # *repository* variable.
  80. #
  81. # SPACE-DELIMITED
  82. # CASE-SENSITIVE
  83. # SINCE 0.8.0
  84. groovy.postReceiveScripts =
  85. #
  86. # Authentication Settings
  87. #
  88. # Require authentication to see everything but the admin pages
  89. #
  90. # SINCE 0.5.0
  91. # RESTART REQUIRED
  92. web.authenticateViewPages = false
  93. # Require admin authentication for the admin functions and pages
  94. #
  95. # SINCE 0.5.0
  96. # RESTART REQUIRED
  97. web.authenticateAdminPages = true
  98. # Allow Gitblit to store a cookie in the user's browser for automatic
  99. # authentication. The cookie is generated by the user service.
  100. #
  101. # SINCE 0.5.0
  102. web.allowCookieAuthentication = true
  103. # Either the full path to a user config file (users.conf)
  104. # OR the full path to a simple user properties file (users.properties)
  105. # OR a fully qualified class name that implements the IUserService interface.
  106. # Any custom implementation must have a public default constructor.
  107. #
  108. # SINCE 0.5.0
  109. # RESTART REQUIRED
  110. realm.userService = users.conf
  111. # How to store passwords.
  112. # Valid values are plain, md5, or combined-md5. md5 is the hash of password.
  113. # combined-md5 is the hash of username.toLowerCase()+password.
  114. # Default is md5.
  115. #
  116. # SINCE 0.5.0
  117. realm.passwordStorage = md5
  118. # Minimum valid length for a plain text password.
  119. # Default value is 5. Absolute minimum is 4.
  120. #
  121. # SINCE 0.5.0
  122. realm.minPasswordLength = 5
  123. # URL of the LDAP server.
  124. #
  125. # SINCE 1.0.0
  126. realm.ldap.server = ldap://my.ldap.server
  127. # Login username for LDAP searches.
  128. # The domain prefix may be omitted if it matches the domain specified in
  129. # *realm.ldap.domain*. If this value is unspecified, anonymous LDAP login will
  130. # be used.
  131. #
  132. # e.g. mydomain\\username
  133. #
  134. # SINCE 1.0.0
  135. realm.ldap.username =
  136. # Login password for LDAP searches.
  137. #
  138. # SINCE 1.0.0
  139. realm.ldap.password =
  140. # The LdapUserService must be backed by another user service for standard user
  141. # and team management.
  142. # default: users.conf
  143. #
  144. # SINCE 1.0.0
  145. # RESTART REQUIRED
  146. realm.ldap.backingUserService = users.conf
  147. # Delegate team membership control to LDAP.
  148. #
  149. # If true, team user memberships will be specified by LDAP groups. This will
  150. # disable team selection in Edit User and user selection in Edit Team.
  151. #
  152. # If false, LDAP will only be used for authentication and Gitblit will maintain
  153. # team memberships with the *realm.ldap.backingUserService*.
  154. #
  155. # SINCE 1.0.0
  156. realm.ldap.maintainTeams = false
  157. # Root node that all Users sit under in LDAP
  158. #
  159. # This is the node that searches for user information will begin from in LDAP
  160. # If blank, it will search ALL of ldap.
  161. #
  162. # SINCE 1.0.0
  163. realm.ldap.accountBase = ou=people,dc=example,dc=com
  164. # Filter Criteria for Users in LDAP
  165. #
  166. # Query pattern to use when searching for a user account. This may be any valid
  167. # LDAP query expression, including the standard (&) and (|) operators.
  168. # The variable ${username} is replaced by the string entered by the end user
  169. #
  170. # SINCE 1.0.0
  171. realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
  172. # Root node that all Teams sit under in LDAP
  173. #
  174. # This is the node that searches for user information will begin from in LDAP
  175. # If blank, it will search ALL of ldap.
  176. #
  177. # SINCE 1.0.0
  178. realm.ldap.groupBase = ou=groups,dc=example,dc=com
  179. # Filter Criteria for Teams in LDAP
  180. #
  181. # Query pattern to use when searching for a team. This may be any valid
  182. # LDAP query expression, including the standard (&) and (|) operators.
  183. # The variable ${username} is replaced by the string entered by the end user.
  184. # Other variables appearing in the pattern, such as ${fooBarAttribute},
  185. # are replaced with the value of the corresponding attribute (in this case, fooBarAttribute)
  186. # as read from the user's account object matched under realm.ldap.accountBase. Attributes such
  187. # as ${dn} or ${uidNumber} may be useful.
  188. #
  189. # SINCE 1.0.0
  190. realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
  191. # Users and or teams that are Admins, read from LDAP
  192. #
  193. # This is a space delimited list. If it starts with @, it indicates a Team Name
  194. #
  195. # SINCE 1.0.0
  196. realm.ldap.admins= @Git_Admins
  197. #
  198. # Gitblit Web Settings
  199. #
  200. # If blank Gitblit is displayed.
  201. #
  202. # SINCE 0.5.0
  203. web.siteName =
  204. # If *web.authenticateAdminPages*=true, users with "admin" role can create
  205. # repositories, create users, and edit repository metadata.
  206. #
  207. # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
  208. # functions.
  209. #
  210. # SINCE 0.5.0
  211. web.allowAdministration = true
  212. # Allows rpc clients to list repositories and possibly manage or administer the
  213. # Gitblit server, if the authenticated account has administrator permissions.
  214. # See *web.enableRpcManagement* and *web.enableRpcAdministration*.
  215. #
  216. # SINCE 0.7.0
  217. web.enableRpcServlet = true
  218. # Allows rpc clients to manage repositories and users of the Gitblit instance,
  219. # if the authenticated account has administrator permissions.
  220. # Requires *web.enableRpcServlet=true*.
  221. #
  222. # SINCE 0.7.0
  223. web.enableRpcManagement = false
  224. # Allows rpc clients to control the server settings and monitor the health of this
  225. # this Gitblit instance, if the authenticated account has administrator permissions.
  226. # Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
  227. #
  228. # SINCE 0.7.0
  229. web.enableRpcAdministration = false
  230. # Allow Gravatar images to be displayed in Gitblit pages.
  231. #
  232. # SINCE 0.8.0
  233. web.allowGravatar = true
  234. # Allow dynamic zip downloads.
  235. #
  236. # SINCE 0.5.0
  237. web.allowZipDownloads = true
  238. # Allow optional Lucene integration. Lucene indexing is an opt-in feature.
  239. # A repository may specify branches to index with Lucene instead of using Git
  240. # commit traversal. There are scenarios where you may want to completely disable
  241. # Lucene indexing despite a repository specifying indexed branches. One such
  242. # scenario is on a resource-constrained federated Gitblit mirror.
  243. #
  244. # SINCE 0.9.0
  245. web.allowLuceneIndexing = true
  246. # Use Clippy (Flash solution) to provide a copy-to-clipboard button.
  247. # If false, a button with a more primitive JavaScript-based prompt box will
  248. # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
  249. #
  250. # SINCE 0.8.0
  251. web.allowFlashCopyToClipboard = true
  252. # Default number of entries to include in RSS Syndication links
  253. #
  254. # SINCE 0.5.0
  255. web.syndicationEntries = 25
  256. # Show the size of each repository on the repositories page.
  257. # This requires recursive traversal of each repository folder. This may be
  258. # non-performant on some operating systems and/or filesystems.
  259. #
  260. # SINCE 0.5.2
  261. web.showRepositorySizes = true
  262. # List of custom regex expressions that can be displayed in the Filters menu
  263. # of the Repositories and Activity pages. Keep them very simple because you
  264. # are likely to run into encoding issues if they are too complex.
  265. #
  266. # Use !!! to separate the filters
  267. #
  268. # SINCE 0.8.0
  269. web.customFilters =
  270. # Show federation registrations (without token) and the current pull status
  271. # to non-administrator users.
  272. #
  273. # SINCE 0.6.0
  274. web.showFederationRegistrations = false
  275. # This is the message displayed when *web.authenticateViewPages=true*.
  276. # This can point to a file with Markdown content.
  277. # Specifying "gitblit" uses the internal login message.
  278. #
  279. # SINCE 0.7.0
  280. web.loginMessage = gitblit
  281. # This is the message displayed above the repositories table.
  282. # This can point to a file with Markdown content.
  283. # Specifying "gitblit" uses the internal welcome message.
  284. #
  285. # SINCE 0.5.0
  286. web.repositoriesMessage = gitblit
  287. # Manually set the default timezone to be used by Gitblit for display in the
  288. # web ui. This value is independent of the JVM timezone. Specifying a blank
  289. # value will default to the JVM timezone.
  290. # e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
  291. #
  292. # SINCE 0.9.0
  293. # RESTART REQUIRED
  294. web.timezone =
  295. # Use the client timezone when formatting dates.
  296. # This uses AJAX to determine the browser's timezone and may require more
  297. # server overhead because a Wicket session is created. All Gitblit pages
  298. # attempt to be stateless, if possible.
  299. #
  300. # SINCE 0.5.0
  301. # RESTART REQUIRED
  302. web.useClientTimezone = false
  303. # Time format
  304. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  305. #
  306. # SINCE 0.8.0
  307. web.timeFormat = HH:mm
  308. # Short date format
  309. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  310. #
  311. # SINCE 0.5.0
  312. web.datestampShortFormat = yyyy-MM-dd
  313. # Long date format
  314. #
  315. # SINCE 0.8.0
  316. web.datestampLongFormat = EEEE, MMMM d, yyyy
  317. # Long timestamp format
  318. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  319. #
  320. # SINCE 0.5.0
  321. web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
  322. # Mount URL parameters
  323. # This setting controls if pretty or parameter URLs are used.
  324. # i.e.
  325. # if true:
  326. # http://localhost/commit/myrepo/abcdef
  327. # if false:
  328. # http://localhost/commit/?r=myrepo&h=abcdef
  329. #
  330. # SINCE 0.5.0
  331. # RESTART REQUIRED
  332. web.mountParameters = true
  333. # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
  334. # in URLs as a security precaution for proxies. This setting tells Gitblit
  335. # to preemptively replace '/' with '*' or '!' for url string parameters.
  336. #
  337. # <https://issues.apache.org/jira/browse/WICKET-1303>
  338. # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
  339. # Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
  340. # *CATALINA_OPTS* or to your JVM launch parameters
  341. #
  342. # SINCE 0.5.2
  343. web.forwardSlashCharacter = /
  344. # Show other URLs on the summary page for accessing your git repositories
  345. # Use spaces to separate urls. {0} is the token for the repository name.
  346. # e.g.
  347. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0}
  348. #
  349. # SINCE 0.5.0
  350. web.otherUrls =
  351. # Choose how to present the repositories list.
  352. # grouped = group nested/subfolder repositories together (no sorting)
  353. # flat = flat list of repositories (sorting allowed)
  354. #
  355. # SINCE 0.5.0
  356. web.repositoryListType = grouped
  357. # If using a grouped repository list and there are repositories at the
  358. # root level of your repositories folder, you may specify the displayed
  359. # group name with this setting. This value is only used for web presentation.
  360. #
  361. # SINCE 0.5.0
  362. web.repositoryRootGroupName = main
  363. # Display the repository swatch color next to the repository name link in the
  364. # repositories list.
  365. #
  366. # SINCE 0.8.0
  367. web.repositoryListSwatches = true
  368. # Choose the diff presentation style: gitblt, gitweb, or plain
  369. #
  370. # SINCE 0.5.0
  371. web.diffStyle = gitblit
  372. # Control if email addresses are shown in web ui
  373. #
  374. # SINCE 0.5.0
  375. web.showEmailAddresses = true
  376. # Shows a combobox in the page links header with commit, committer, and author
  377. # search selection. Default search is commit.
  378. #
  379. # SINCE 0.5.0
  380. web.showSearchTypeSelection = false
  381. # Generates a line graph of repository activity over time on the Summary page.
  382. # This uses the Google Charts API.
  383. #
  384. # SINCE 0.5.0
  385. web.generateActivityGraph = true
  386. # The number of days to show on the activity page.
  387. # Value must exceed 0 else default of 14 is used
  388. #
  389. # SINCE 0.8.0
  390. web.activityDuration = 14
  391. # The number of commits to display on the summary page
  392. # Value must exceed 0 else default of 20 is used
  393. #
  394. # SINCE 0.5.0
  395. web.summaryCommitCount = 16
  396. # The number of tags/branches to display on the summary page.
  397. # -1 = all tags/branches
  398. # 0 = hide tags/branches
  399. # N = N tags/branches
  400. #
  401. # SINCE 0.5.0
  402. web.summaryRefsCount = 5
  403. # The number of items to show on a page before showing the first, prev, next
  404. # pagination links. A default if 50 is used for any invalid value.
  405. #
  406. # SINCE 0.5.0
  407. web.itemsPerPage = 50
  408. # Registered file extensions to ignore during Lucene indexing
  409. #
  410. # SPACE-DELIMITED
  411. # SINCE 0.9.0
  412. 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
  413. # Registered extensions for google-code-prettify
  414. #
  415. # SPACE-DELIMITED
  416. # SINCE 0.5.0
  417. web.prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb
  418. # Registered extensions for markdown transformation
  419. #
  420. # SPACE-DELIMITED
  421. # CASE-SENSITIVE
  422. # SINCE 0.5.0
  423. web.markdownExtensions = md mkd markdown MD MKD
  424. # Image extensions
  425. #
  426. # SPACE-DELIMITED
  427. # SINCE 0.5.0
  428. web.imageExtensions = bmp jpg gif png
  429. # Registered extensions for binary blobs
  430. #
  431. # SPACE-DELIMITED
  432. # SINCE 0.5.0
  433. web.binaryExtensions = jar pdf tar.gz zip
  434. # Aggressive heap management will run the garbage collector on every generated
  435. # page. This slows down page generation a little but improves heap consumption.
  436. #
  437. # SINCE 0.5.0
  438. web.aggressiveHeapManagement = false
  439. # Run the webapp in debug mode
  440. #
  441. # SINCE 0.5.0
  442. # RESTART REQUIRED
  443. web.debugMode = false
  444. # Enable/disable global regex substitutions (i.e. shared across repositories)
  445. #
  446. # SINCE 0.5.0
  447. regex.global = true
  448. # Example global regex substitutions
  449. # Use !!! to separate the search pattern and the replace pattern
  450. # searchpattern!!!replacepattern
  451. # SINCE 0.5.0
  452. regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
  453. # SINCE 0.5.0
  454. regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
  455. # Example per-repository regex substitutions overrides global
  456. # SINCE 0.5.0
  457. regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
  458. #
  459. # Mail Settings
  460. # SINCE 0.6.0
  461. #
  462. # Mail settings are used to notify administrators of received federation proposals
  463. #
  464. # ip or hostname of smtp server
  465. #
  466. # SINCE 0.6.0
  467. mail.server =
  468. # port to use for smtp requests
  469. #
  470. # SINCE 0.6.0
  471. mail.port = 25
  472. # debug the mail executor
  473. #
  474. # SINCE 0.6.0
  475. mail.debug = false
  476. # if your smtp server requires authentication, supply the credentials here
  477. #
  478. # SINCE 0.6.0
  479. mail.username =
  480. # SINCE 0.6.0
  481. mail.password =
  482. # from address for generated emails
  483. #
  484. # SINCE 0.6.0
  485. mail.fromAddress =
  486. # List of email addresses for the Gitblit administrators
  487. #
  488. # SPACE-DELIMITED
  489. # SINCE 0.6.0
  490. mail.adminAddresses =
  491. # List of email addresses for sending push email notifications.
  492. #
  493. # This key currently requires use of the sendemail.groovy hook script.
  494. # If you set sendemail.groovy in *groovy.postReceiveScripts* then email
  495. # notifications for all repositories (regardless of access restrictions!)
  496. # will be sent to these addresses.
  497. #
  498. # SPACE-DELIMITED
  499. # SINCE 0.8.0
  500. mail.mailingLists =
  501. #
  502. # Federation Settings
  503. # SINCE 0.6.0
  504. #
  505. # A Gitblit federation is a way to backup one Gitblit instance to another.
  506. #
  507. # *git.enableGitServlet* must be true to use this feature.
  508. # Your federation name is used for federation status acknowledgments. If it is
  509. # unset, and you elect to send a status acknowledgment, your Gitblit instance
  510. # will be identified by its hostname, if available, else your internal ip address.
  511. # The source Gitblit instance will also append your external IP address to your
  512. # identification to differentiate multiple pulling systems behind a single proxy.
  513. #
  514. # SINCE 0.6.0
  515. federation.name =
  516. # Specify the passphrase of this Gitblit instance.
  517. #
  518. # An unspecified (empty) passphrase disables processing federation requests.
  519. #
  520. # This value can be anything you want: an integer, a sentence, an haiku, etc.
  521. # Keep the value simple, though, to avoid Java properties file encoding issues.
  522. #
  523. # Changing your passphrase will break any registrations you have established with other
  524. # Gitblit instances.
  525. #
  526. # CASE-SENSITIVE
  527. # SINCE 0.6.0
  528. # RESTART REQUIRED *(only to enable or disable federation)*
  529. federation.passphrase =
  530. # Control whether or not this Gitblit instance can receive federation proposals
  531. # from another Gitblit instance. Registering a federated Gitblit is a manual
  532. # process. Proposals help to simplify that process by allowing a remote Gitblit
  533. # instance to send your Gitblit instance the federation pull data.
  534. #
  535. # SINCE 0.6.0
  536. federation.allowProposals = false
  537. # The destination folder for cached federation proposals.
  538. # Use forward slashes even on Windows!!
  539. #
  540. # SINCE 0.6.0
  541. federation.proposalsFolder = proposals
  542. # The default pull frequency if frequency is unspecified on a registration
  543. #
  544. # SINCE 0.6.0
  545. federation.defaultFrequency = 60 mins
  546. # Federation Sets are named groups of repositories. The Federation Sets are
  547. # available for selection in the repository settings page. You can assign a
  548. # repository to one or more sets and then distribute the token for the set.
  549. # This allows you to grant federation pull access to a subset of your available
  550. # repositories. Tokens for federation sets only grant repository pull access.
  551. #
  552. # SPACE-DELIMITED
  553. # CASE-SENSITIVE
  554. # SINCE 0.6.0
  555. federation.sets =
  556. # Federation pull registrations
  557. # Registrations are read once, at startup.
  558. #
  559. # RESTART REQUIRED
  560. #
  561. # frequency:
  562. # The shortest frequency allowed is every 5 minutes
  563. # Decimal frequency values are cast to integers
  564. # Frequency values may be specified in mins, hours, or days
  565. # Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
  566. #
  567. # folder:
  568. # if unspecified, the folder is *git.repositoriesFolder*
  569. # if specified, the folder is relative to *git.repositoriesFolder*
  570. #
  571. # bare:
  572. # if true, each repository will be created as a *bare* repository and will not
  573. # have a working directory.
  574. #
  575. # if false, each repository will be created as a normal repository suitable
  576. # for local work.
  577. #
  578. # mirror:
  579. # if true, each repository HEAD is reset to *origin/master* after each pull.
  580. # The repository will be flagged *isFrozen* after the initial clone.
  581. #
  582. # if false, each repository HEAD will point to the FETCH_HEAD of the initial
  583. # clone from the origin until pushed to or otherwise manipulated.
  584. #
  585. # mergeAccounts:
  586. # if true, remote accounts and their permissions are merged into your
  587. # users.properties file
  588. #
  589. # notifyOnError:
  590. # if true and the mail configuration is properly set, administrators will be
  591. # notified by email of pull failures
  592. #
  593. # include and exclude:
  594. # Space-delimited list of repositories to include or exclude from pull
  595. # may be * wildcard to include or exclude all
  596. # may use fuzzy match (e.g. org.eclipse.*)
  597. #
  598. # (Nearly) Perfect Mirror example
  599. #
  600. #federation.example1.url = https://go.gitblit.com
  601. #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
  602. #federation.example1.frequency = 120 mins
  603. #federation.example1.folder =
  604. #federation.example1.bare = true
  605. #federation.example1.mirror = true
  606. #federation.example1.mergeAccounts = true
  607. #
  608. # Server Settings
  609. #
  610. # The temporary folder to decompress the embedded gitblit webapp.
  611. #
  612. # SINCE 0.5.0
  613. # RESTART REQUIRED
  614. server.tempFolder = temp
  615. # Use Jetty NIO connectors. If false, Jetty Socket connectors will be used.
  616. #
  617. # SINCE 0.5.0
  618. # RESTART REQUIRED
  619. server.useNio = true
  620. # Context path for the GO application. You might want to change the context
  621. # path if running Gitblit behind a proxy layer such as mod_proxy.
  622. #
  623. # SINCE 0.7.0
  624. # RESTART REQUIRED
  625. server.contextPath = /
  626. # Standard http port to serve. <= 0 disables this connector.
  627. # On Unix/Linux systems, ports < 1024 require root permissions.
  628. # Recommended value: 80 or 8080
  629. #
  630. # SINCE 0.5.0
  631. # RESTART REQUIRED
  632. server.httpPort = 0
  633. # Secure/SSL https port to serve. <= 0 disables this connector.
  634. # On Unix/Linux systems, ports < 1024 require root permissions.
  635. # Recommended value: 443 or 8443
  636. #
  637. # SINCE 0.5.0
  638. # RESTART REQUIRED
  639. server.httpsPort = 8443
  640. # Port for serving an Apache JServ Protocol (AJP) 1.3 connector for integrating
  641. # Gitblit GO into an Apache HTTP server setup. <= 0 disables this connector.
  642. # Recommended value: 8009
  643. #
  644. # SINCE 0.9.0
  645. # RESTART REQUIRED
  646. server.ajpPort = 0
  647. # Specify the interface for Jetty to bind the standard connector.
  648. # You may specify an ip or an empty value to bind to all interfaces.
  649. # Specifying localhost will result in Gitblit ONLY listening to requests to
  650. # localhost.
  651. #
  652. # SINCE 0.5.0
  653. # RESTART REQUIRED
  654. server.httpBindInterface = localhost
  655. # Specify the interface for Jetty to bind the secure connector.
  656. # You may specify an ip or an empty value to bind to all interfaces.
  657. # Specifying localhost will result in Gitblit ONLY listening to requests to
  658. # localhost.
  659. #
  660. # SINCE 0.5.0
  661. # RESTART REQUIRED
  662. server.httpsBindInterface = localhost
  663. # Specify the interface for Jetty to bind the AJP connector.
  664. # You may specify an ip or an empty value to bind to all interfaces.
  665. # Specifying localhost will result in Gitblit ONLY listening to requests to
  666. # localhost.
  667. #
  668. # SINCE 0.9.0
  669. # RESTART REQUIRED
  670. server.ajpBindInterface = localhost
  671. # Password for SSL keystore.
  672. # Keystore password and certificate password must match.
  673. # This is provided for convenience, its probably more secure to set this value
  674. # using the --storePassword command line parameter.
  675. #
  676. # SINCE 0.5.0
  677. # RESTART REQUIRED
  678. server.storePassword = gitblit
  679. # Port for shutdown monitor to listen on.
  680. #
  681. # SINCE 0.5.0
  682. # RESTART REQUIRED
  683. server.shutdownPort = 8081