Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

gitblit.properties 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. #
  2. # Git Servlet Settings
  3. #
  4. # Base folder for repositories
  5. # Changing this value requires a server restart.
  6. # Use forward slashes even on Windows!!
  7. # e.g. c:/gitrepos
  8. git.repositoriesFolder = git
  9. # Search the repositories folder subfolders for other repositories.
  10. # Repositories MAY NOT be nested (i.e. one repository within another)
  11. # but they may be grouped together in subfolders.
  12. # e.g. c:/gitrepos/libraries/mylibrary.git
  13. # c:/gitrepos/libraries/myotherlibrary.git
  14. git.searchRepositoriesSubfolders = true
  15. # Allow push/pull over http/https with JGit servlet.
  16. git.enableGitServlet = true
  17. #
  18. # Authentication Settings
  19. #
  20. # Require authentication to see everything but the admin pages
  21. # Changing this value requires a server restart.
  22. web.authenticateViewPages = false
  23. # Require admin authentication for the admin functions and pages
  24. # Changing this value requires a server restart.
  25. web.authenticateAdminPages = true
  26. # Allow Gitblit to store a cookie in the user's browser for automatic
  27. # authentication. The cookie is generated by the user service.
  28. web.allowCookieAuthentication = true
  29. # Either the path to a simple user properties file
  30. # OR a fully qualified class name that implements the IUserService interface.
  31. # Any custom implementation must have a public default constructor.
  32. # Changing this value requires a server restart.
  33. realm.userService = users.properties
  34. # How to store passwords.
  35. # Valid values are plain or md5. Default is md5.
  36. realm.passwordStorage = md5
  37. # Minimum valid length for a plain text password.
  38. # Default value is 5. Absolute minimum is 4.
  39. realm.minPasswordLength = 5
  40. #
  41. # Gitblit Web Settings
  42. #
  43. # If blank Gitblit is displayed.
  44. web.siteName =
  45. # If web.authenticateAdminPages=true, users with "admin" role can create
  46. # repositories, create users, and edit repository metadata.
  47. #
  48. # If web.authenticateAdminPages=false, any user can execute the aforementioned
  49. # functions.
  50. web.allowAdministration = true
  51. # Allow dynamic zip downloads.
  52. web.allowZipDownloads = true
  53. # Default number of entries to include in RSS Syndication links
  54. web.syndicationEntries = 25
  55. # This is the message display above the repositories table.
  56. # This can point to a file with Markdown content.
  57. # Specifying "gitblit" uses the internal welcome message.
  58. web.repositoriesMessage = gitblit
  59. # Use the client timezone when formatting dates.
  60. # This uses AJAX to determine the browser's timezone and may require more
  61. # server overhead because a Wicket session is created. All Gitblit pages
  62. # attempt to be stateless, if possible.
  63. # Changing this value requires a server restart.
  64. web.useClientTimezone = false
  65. # Date and Time formats
  66. # http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
  67. web.datestampShortFormat = yyyy-MM-dd
  68. web.datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z
  69. # Mount parameters
  70. # true: http://localhost/commit/myrepo/abcdef
  71. # false: http://localhost/commit/?r=myrepo&h=abcdef
  72. # Changing this value requires a server restart.
  73. web.mountParameters = true
  74. # Show other URLs on the summary page for accessing your git repositories
  75. # Use spaces to separate urls. {0} is the token for the repository name.
  76. # e.g.
  77. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0}
  78. web.otherUrls =
  79. # Choose how to present the repositories list.
  80. # grouped = group nested/subfolder repositories together (no sorting)
  81. # flat = flat list of repositories (sorting allowed)
  82. web.repositoryListType = grouped
  83. # If using a grouped repository list and there are repositories at the
  84. # root level of your repositories folder, you may specify the displayed
  85. # group name with this setting. This value is only used for web presentation.
  86. web.repositoryRootGroupName = main
  87. # Choose the diff presentation style: gitblt, gitweb, or plain
  88. web.diffStyle = gitblit
  89. # Control if email addresses are shown in web ui
  90. web.showEmailAddresses = true
  91. # Shows a combobox in the page links header with commit, committer, and author
  92. # search selection. Default search is commit.
  93. web.showSearchTypeSelection = false
  94. # Generates a line graph of repository activity over time on the Summary page.
  95. # This uses the Google Charts API.
  96. web.generateActivityGraph = true
  97. # The number of commits to display on the summary page
  98. # Value must exceed 0 else default of 20 is used
  99. web.summaryCommitCount = 16
  100. # The number of tags/branches to display on the summary page.
  101. # -1 = all tags/branches
  102. # 0 = hide tags/branches
  103. # N = N tags/branches
  104. web.summaryRefsCount = 5
  105. # The number of items to show on a page before showing the first, prev, next
  106. # pagination links. A default if 50 is used for any invalid value.
  107. web.itemsPerPage = 50
  108. # Registered extensions for google-code-prettify
  109. # (case-insensitive)
  110. web.prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb
  111. # Registered extensions for markdown transformation
  112. # (CASE-SENSITIVE)
  113. web.markdownExtensions = md mkd markdown MD MKD
  114. # Image extensions
  115. # (case-insensitive)
  116. web.imageExtensions = bmp jpg gif png
  117. # Registered extensions for binary blobs
  118. # (case-insensitive)
  119. web.binaryExtensions = jar pdf tar.gz zip
  120. # Aggressive heap management will run the garbage collector on every generated
  121. # page. This slows down page generation a little but improves heap consumption.
  122. web.aggressiveHeapManagement = false
  123. # Run the webapp in debug mode
  124. # Changing this value requires a server restart.
  125. web.debugMode = false
  126. # Enable/disable global regex substitutions (i.e. shared across repositories)
  127. regex.global = true
  128. # Example global regex substitutions
  129. # Use !!! to separate the search pattern and the replace pattern
  130. # searchpattern!!!replacepattern
  131. regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
  132. regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
  133. # Example per-repository regex substitutions overrides global
  134. regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
  135. #
  136. # Server Settings
  137. #
  138. # Changing any of these values requires a server restart.
  139. # The temporary folder to decompress the gitblit webapp.
  140. server.tempFolder = temp
  141. #
  142. # Jetty Http/Https Server Settings
  143. #
  144. # Use Jetty NIO connectors. If false, Jetty Socket connectors will be used.
  145. server.useNio = true
  146. # Standard http port to serve. <= 0 disables this connector.
  147. server.httpPort = 0
  148. # Secure/SSL https port to serve. <= 0 disables this connector.
  149. server.httpsPort = 443
  150. # Specify the interface for Jetty to bind the standard connector.
  151. # You may specify an ip or an empty value to bind to all interfaces.
  152. # Specifying localhost will result in Gitblit ONLY listening to requests to
  153. # localhost.
  154. server.httpBindInterface = localhost
  155. # Specify the interface for Jetty to bind the secure connector.
  156. # You may specify an ip or an empty value to bind to all interfaces.
  157. # Specifying localhost will result in Gitblit ONLY listening to requests to
  158. # localhost.
  159. server.httpsBindInterface = localhost
  160. # Password for SSL keystore.
  161. # Keystore password and certificate password must match.
  162. # This is provided for convenience, its probably more secure to set this value
  163. # using the --storePassword command line parameter.
  164. server.storePassword = gitblit
  165. # Port for shutdown monitor to listen on.
  166. server.shutdownPort = 8081