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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. #
  2. # Git Servlet Settings
  3. #
  4. # Base folder for repositories
  5. # Use forward slashes even on Windows!!
  6. # e.g. c:/gitrepos
  7. #
  8. # SINCE 0.5.0
  9. # RESTART REQUIRED
  10. git.repositoriesFolder = git
  11. # Search the repositories folder subfolders for other repositories.
  12. # Repositories MAY NOT be nested (i.e. one repository within another)
  13. # but they may be grouped together in subfolders.
  14. # e.g. c:/gitrepos/libraries/mylibrary.git
  15. # c:/gitrepos/libraries/myotherlibrary.git
  16. #
  17. # SINCE 0.5.0
  18. git.searchRepositoriesSubfolders = true
  19. # Allow push/pull over http/https with JGit servlet.
  20. # If you do NOT want to allow Git clients to clone/push to Gitblit set this
  21. # to false. You might want to do this if you are only using ssh:// or git://.
  22. # If you set this false, consider changing the *web.otherUrls* setting to
  23. # indicate your clone/push urls.
  24. #
  25. # SINCE 0.5.0
  26. git.enableGitServlet = true
  27. #
  28. # Authentication Settings
  29. #
  30. # Require authentication to see everything but the admin pages
  31. #
  32. # SINCE 0.5.0
  33. # RESTART REQUIRED
  34. web.authenticateViewPages = false
  35. # Require admin authentication for the admin functions and pages
  36. #
  37. # SINCE 0.5.0
  38. # RESTART REQUIRED
  39. web.authenticateAdminPages = true
  40. # Allow Gitblit to store a cookie in the user's browser for automatic
  41. # authentication. The cookie is generated by the user service.
  42. #
  43. # SINCE 0.5.0
  44. web.allowCookieAuthentication = true
  45. # Either the path to a simple user properties file
  46. # OR a fully qualified class name that implements the IUserService interface.
  47. # Any custom implementation must have a public default constructor.
  48. #
  49. # SINCE 0.5.0
  50. # RESTART REQUIRED
  51. realm.userService = users.properties
  52. # How to store passwords.
  53. # Valid values are plain or md5. Default is md5.
  54. #
  55. # SINCE 0.5.0
  56. realm.passwordStorage = md5
  57. # Minimum valid length for a plain text password.
  58. # Default value is 5. Absolute minimum is 4.
  59. #
  60. # SINCE 0.5.0
  61. realm.minPasswordLength = 5
  62. #
  63. # Gitblit Web Settings
  64. #
  65. # If blank Gitblit is displayed.
  66. #
  67. # SINCE 0.5.0
  68. web.siteName =
  69. # If *web.authenticateAdminPages*=true, users with "admin" role can create
  70. # repositories, create users, and edit repository metadata.
  71. #
  72. # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
  73. # functions.
  74. #
  75. # SINCE 0.5.0
  76. web.allowAdministration = true
  77. # Allow dynamic zip downloads.
  78. #
  79. # SINCE 0.5.0
  80. web.allowZipDownloads = true
  81. # Default number of entries to include in RSS Syndication links
  82. #
  83. # SINCE 0.5.0
  84. web.syndicationEntries = 25
  85. # Show the size of each repository on the repositories page.
  86. # This requires recursive traversal of each repository folder. This may be
  87. # non-performant on some operating systems and/or filesystems.
  88. #
  89. # SINCE 0.5.2
  90. web.showRepositorySizes = true
  91. # Show federation registrations (without token) and the current pull status
  92. # to non-administrator users.
  93. #
  94. # SINCE 0.6.0
  95. web.showFederationRegistrations = false
  96. # This is the message displayed when *web.authenticateViewPages=true*.
  97. # This can point to a file with Markdown content.
  98. # Specifying "gitblit" uses the internal login message.
  99. #
  100. # SINCE 0.6.1
  101. web.loginMessage = gitblit
  102. # This is the message displayed above the repositories table.
  103. # This can point to a file with Markdown content.
  104. # Specifying "gitblit" uses the internal welcome message.
  105. #
  106. # SINCE 0.5.0
  107. web.repositoriesMessage = gitblit
  108. # Use the client timezone when formatting dates.
  109. # This uses AJAX to determine the browser's timezone and may require more
  110. # server overhead because a Wicket session is created. All Gitblit pages
  111. # attempt to be stateless, if possible.
  112. #
  113. # SINCE 0.5.0
  114. # RESTART REQUIRED
  115. web.useClientTimezone = false
  116. # Short date format
  117. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  118. #
  119. # SINCE 0.5.0
  120. web.datestampShortFormat = yyyy-MM-dd
  121. # Long timestamp format
  122. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  123. #
  124. # SINCE 0.5.0
  125. web.datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z
  126. # Mount URL parameters
  127. # This setting controls if pretty or parameter URLs are used.
  128. # i.e.
  129. # if true:
  130. # http://localhost/commit/myrepo/abcdef
  131. # if false:
  132. # http://localhost/commit/?r=myrepo&h=abcdef
  133. #
  134. # SINCE 0.5.0
  135. # RESTART REQUIRED
  136. web.mountParameters = true
  137. # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
  138. # in URLs as a security precaution for proxies. This setting tells Gitblit
  139. # to preemptively replace '/' with '*' or '!' for url string parameters.
  140. #
  141. # <https://issues.apache.org/jira/browse/WICKET-1303>
  142. # <http://tomcat.apache.org/security-6.html>
  143. #
  144. # SINCE 0.5.2
  145. web.forwardSlashCharacter = /
  146. # Show other URLs on the summary page for accessing your git repositories
  147. # Use spaces to separate urls. {0} is the token for the repository name.
  148. # e.g.
  149. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0}
  150. #
  151. # SINCE 0.5.0
  152. web.otherUrls =
  153. # Choose how to present the repositories list.
  154. # grouped = group nested/subfolder repositories together (no sorting)
  155. # flat = flat list of repositories (sorting allowed)
  156. #
  157. # SINCE 0.5.0
  158. web.repositoryListType = grouped
  159. # If using a grouped repository list and there are repositories at the
  160. # root level of your repositories folder, you may specify the displayed
  161. # group name with this setting. This value is only used for web presentation.
  162. #
  163. # SINCE 0.5.0
  164. web.repositoryRootGroupName = main
  165. # Choose the diff presentation style: gitblt, gitweb, or plain
  166. #
  167. # SINCE 0.5.0
  168. web.diffStyle = gitblit
  169. # Control if email addresses are shown in web ui
  170. #
  171. # SINCE 0.5.0
  172. web.showEmailAddresses = true
  173. # Shows a combobox in the page links header with commit, committer, and author
  174. # search selection. Default search is commit.
  175. #
  176. # SINCE 0.5.0
  177. web.showSearchTypeSelection = false
  178. # Generates a line graph of repository activity over time on the Summary page.
  179. # This uses the Google Charts API.
  180. #
  181. # SINCE 0.5.0
  182. web.generateActivityGraph = true
  183. # The number of commits to display on the summary page
  184. # Value must exceed 0 else default of 20 is used
  185. #
  186. # SINCE 0.5.0
  187. web.summaryCommitCount = 16
  188. # The number of tags/branches to display on the summary page.
  189. # -1 = all tags/branches
  190. # 0 = hide tags/branches
  191. # N = N tags/branches
  192. #
  193. # SINCE 0.5.0
  194. web.summaryRefsCount = 5
  195. # The number of items to show on a page before showing the first, prev, next
  196. # pagination links. A default if 50 is used for any invalid value.
  197. #
  198. # SINCE 0.5.0
  199. web.itemsPerPage = 50
  200. # Registered extensions for google-code-prettify
  201. #
  202. # SPACE-DELIMITED
  203. # SINCE 0.5.0
  204. web.prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb
  205. # Registered extensions for markdown transformation
  206. #
  207. # SPACE-DELIMITED
  208. # CASE-SENSITIVE
  209. # SINCE 0.5.0
  210. web.markdownExtensions = md mkd markdown MD MKD
  211. # Image extensions
  212. #
  213. # SPACE-DELIMITED
  214. # SINCE 0.5.0
  215. web.imageExtensions = bmp jpg gif png
  216. # Registered extensions for binary blobs
  217. #
  218. # SPACE-DELIMITED
  219. # SINCE 0.5.0
  220. web.binaryExtensions = jar pdf tar.gz zip
  221. # Aggressive heap management will run the garbage collector on every generated
  222. # page. This slows down page generation a little but improves heap consumption.
  223. #
  224. # SINCE 0.5.0
  225. web.aggressiveHeapManagement = false
  226. # Run the webapp in debug mode
  227. #
  228. # SINCE 0.5.0
  229. # RESTART REQUIRED
  230. web.debugMode = false
  231. # Enable/disable global regex substitutions (i.e. shared across repositories)
  232. #
  233. # SINCE 0.5.0
  234. regex.global = true
  235. # Example global regex substitutions
  236. # Use !!! to separate the search pattern and the replace pattern
  237. # searchpattern!!!replacepattern
  238. regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
  239. regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
  240. # Example per-repository regex substitutions overrides global
  241. regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
  242. #
  243. # Mail Settings
  244. # SINCE 0.6.0
  245. #
  246. # Mail settings are used to notify administrators of received federation proposals
  247. #
  248. # ip or hostname of smtp server
  249. #
  250. # SINCE 0.6.0
  251. mail.server =
  252. # port to use for smtp requests
  253. #
  254. # SINCE 0.6.0
  255. mail.port = 25
  256. # debug the mail executor
  257. #
  258. # SINCE 0.6.0
  259. mail.debug = false
  260. # if your smtp server requires authentication, supply the credentials here
  261. #
  262. # SINCE 0.6.0
  263. mail.username =
  264. mail.password =
  265. # from address for generated emails
  266. #
  267. # SINCE 0.6.0
  268. mail.fromAddress =
  269. # List of email addresses for the Gitblit administrators
  270. #
  271. # SPACE-DELIMITED
  272. # SINCE 0.6.0
  273. mail.adminAddresses =
  274. #
  275. # Federation Settings
  276. # SINCE 0.6.0
  277. #
  278. # A Gitblit federation is a way to backup one Gitblit instance to another.
  279. #
  280. # *git.enableGitServlet* must be true to use this feature.
  281. # Your federation name is used for federation status acknowledgments. If it is
  282. # unset, and you elect to send a status acknowledgment, your Gitblit instance
  283. # will be identified by its hostname, if available, else your internal ip address.
  284. # The source Gitblit instance will also append your external IP address to your
  285. # identification to differentiate multiple pulling systems behind a single proxy.
  286. #
  287. # SINCE 0.6.0
  288. federation.name =
  289. # Specify the passphrase of this Gitblit instance.
  290. #
  291. # An unspecified (empty) passphrase disables processing federation requests.
  292. #
  293. # This value can be anything you want: an integer, a sentence, an haiku, etc.
  294. # Keep the value simple, though, to avoid Java properties file encoding issues.
  295. #
  296. # Changing your passphrase will break any registrations you have established with other
  297. # Gitblit instances.
  298. #
  299. # CASE-SENSITIVE
  300. # SINCE 0.6.0
  301. # RESTART REQUIRED *(only to enable or disable federation)*
  302. federation.passphrase =
  303. # Control whether or not this Gitblit instance can receive federation proposals
  304. # from another Gitblit instance. Registering a federated Gitblit is a manual
  305. # process. Proposals help to simplify that process by allowing a remote Gitblit
  306. # instance to send your Gitblit instance the federation pull data.
  307. #
  308. # SINCE 0.6.0
  309. federation.allowProposals = false
  310. # The destination folder for cached federation proposals.
  311. # Use forward slashes even on Windows!!
  312. #
  313. # SINCE 0.6.0
  314. federation.proposalsFolder = proposals
  315. # The default pull frequency if frequency is unspecified on a registration
  316. #
  317. # SINCE 0.6.0
  318. federation.defaultFrequency = 60 mins
  319. # Federation Sets are named groups of repositories. The Federation Sets are
  320. # available for selection in the repository settings page. You can assign a
  321. # repository to one or more sets and then distribute the token for the set.
  322. # This allows you to grant federation pull access to a subset of your available
  323. # repositories. Tokens for federation sets only grant repository pull access.
  324. #
  325. # SPACE-DELIMITED
  326. # CASE-SENSITIVE
  327. # SINCE 0.6.0
  328. federation.sets =
  329. # Federation pull registrations
  330. # Registrations are read once, at startup.
  331. #
  332. # RESTART REQUIRED
  333. #
  334. # frequency:
  335. # The shortest frequency allowed is every 5 minutes
  336. # Decimal frequency values are cast to integers
  337. # Frequency values may be specified in mins, hours, or days
  338. # Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
  339. #
  340. # folder:
  341. # if unspecified, the folder is *git.repositoriesFolder*
  342. # if specified, the folder is relative to *git.repositoriesFolder*
  343. #
  344. # bare:
  345. # if true, each repository will be created as a *bare* repository and will not
  346. # have a working directory.
  347. #
  348. # if false, each repository will be created as a normal repository suitable
  349. # for local work.
  350. #
  351. # mirror:
  352. # if true, each repository HEAD is reset to *origin/master* after each pull.
  353. # The repository will be flagged *isFrozen* after the initial clone.
  354. #
  355. # if false, each repository HEAD will point to the FETCH_HEAD of the initial
  356. # clone from the origin until pushed to or otherwise manipulated.
  357. #
  358. # mergeAccounts:
  359. # if true, remote accounts and their permissions are merged into your
  360. # users.properties file
  361. #
  362. # notifyOnError:
  363. # if true and the mail configuration is properly set, administrators will be
  364. # notified by email of pull failures
  365. #
  366. # include and exclude:
  367. # Space-delimited list of repositories to include or exclude from pull
  368. # may be * wildcard to include or exclude all
  369. # may use fuzzy match (e.g. org.eclipse.*)
  370. #
  371. # (Nearly) Perfect Mirror example
  372. #
  373. #federation.example1.url = https://go.gitblit.com
  374. #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
  375. #federation.example1.frequency = 120 mins
  376. #federation.example1.folder =
  377. #federation.example1.bare = true
  378. #federation.example1.mirror = true
  379. #federation.example1.mergeAccounts = true
  380. #
  381. # Server Settings
  382. #
  383. # The temporary folder to decompress the embedded gitblit webapp.
  384. #
  385. # SINCE 0.5.0
  386. # RESTART REQUIRED
  387. server.tempFolder = temp
  388. # Use Jetty NIO connectors. If false, Jetty Socket connectors will be used.
  389. #
  390. # SINCE 0.5.0
  391. # RESTART REQUIRED
  392. server.useNio = true
  393. # Standard http port to serve. <= 0 disables this connector.
  394. # On Unix/Linux systems, ports < 1024 require root permissions.
  395. # Recommended value: 80 or 8080
  396. #
  397. # SINCE 0.5.0
  398. # RESTART REQUIRED
  399. server.httpPort = 0
  400. # Secure/SSL https port to serve. <= 0 disables this connector.
  401. # On Unix/Linux systems, ports < 1024 require root permissions.
  402. # Recommended value: 443 or 8443
  403. #
  404. # SINCE 0.5.0
  405. # RESTART REQUIRED
  406. server.httpsPort = 8443
  407. # Specify the interface for Jetty to bind the standard connector.
  408. # You may specify an ip or an empty value to bind to all interfaces.
  409. # Specifying localhost will result in Gitblit ONLY listening to requests to
  410. # localhost.
  411. #
  412. # SINCE 0.5.0
  413. # RESTART REQUIRED
  414. server.httpBindInterface = localhost
  415. # Specify the interface for Jetty to bind the secure connector.
  416. # You may specify an ip or an empty value to bind to all interfaces.
  417. # Specifying localhost will result in Gitblit ONLY listening to requests to
  418. # localhost.
  419. #
  420. # SINCE 0.5.0
  421. # RESTART REQUIRED
  422. server.httpsBindInterface = localhost
  423. # Password for SSL keystore.
  424. # Keystore password and certificate password must match.
  425. # This is provided for convenience, its probably more secure to set this value
  426. # using the --storePassword command line parameter.
  427. #
  428. # SINCE 0.5.0
  429. # RESTART REQUIRED
  430. server.storePassword = gitblit
  431. # Port for shutdown monitor to listen on.
  432. #
  433. # SINCE 0.5.0
  434. # RESTART REQUIRED
  435. server.shutdownPort = 8081