Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

gitblit.properties 7.1KB

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