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

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