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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. #
  2. # Git Servlet Settings
  3. #
  4. # Allow push/pull over http/https with JGit servlet
  5. allowPushPull = true
  6. # Base folder for repositories
  7. # Use forward slashes on Windows!!
  8. repositoriesFolder = c:/projects/git
  9. # Export all repositories
  10. # if false, each exported repository must have a .git/git-daemon-export-ok file
  11. exportAll = true
  12. # Search repositories folder for nested repositories
  13. nestedRepositories = true
  14. # The root clone url
  15. cloneUrl = https://localhost/git/
  16. #
  17. # Authentication Settings
  18. #
  19. # Require authentication for http/https push/pull access of git repositories
  20. authenticatePushPull = true
  21. # Require authentication to see the web ui
  22. authenticateWebUI = true
  23. # Simple user realm file to authenticate users for push/pull
  24. realmFile = users.properties
  25. # User roles for push/pull git repository access
  26. # (* is the wildcard for any role)
  27. gitRoles = *
  28. # User roles for administrative features such
  29. # as create repository, edit repository description,
  30. # and set repository owner.
  31. # (* is the wildcard for any role)
  32. adminRoles = *
  33. #
  34. # Server Settings
  35. #
  36. debug = true
  37. tempFolder = temp
  38. log4jPattern = %-5p %d{MM-dd HH:mm:ss.SSS} %-20.20c{1} %m%n
  39. # Aggressive heap management will run the garbage collector on every generated
  40. # page. This slows down page generation but improves heap consumption.
  41. aggressiveHeapManagement = true
  42. #
  43. # Git:Blit UI Settings
  44. #
  45. siteName =
  46. allowAdministration = true
  47. repositoriesMessage = Welcome to Git:Blit!<br>A quick and easy way to host your own Git repositories.<br>Built with <a href="http://eclipse.org/jgit">JGit</a>, <a href="http://wicket.apache.org">Wicket</a>, <a href="http://code.google.com/p/google-code-prettify/">google-code-prettify</a>, <a href="http://eclipse.org/jetty">Jetty</a>, <a href="http://www.slf4j.org">SLF4J</a>, <a href="http://logging.apache.org/log4j">Log4j</a>, and <a href="http://jcommander.org">JCommander</a>.
  48. # Use the client timezone when formatting dates.
  49. # This uses AJAX to determine the browser's timezone and enables Wicket
  50. # session management for the connection.
  51. useClientTimezone = false
  52. # Date and Time formats
  53. timestampFormat = h:mm a
  54. datestampShortFormat = yyyy-MM-dd
  55. datestampLongFormat = EEEE, MMMM d, yyyy
  56. datetimestampShortFormat = yyyy-MM-dd h:mm a z
  57. datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z
  58. # Generates a line graph of repository activity over time on the Summary page.
  59. # This is a real-time graph so generation may be expensive.
  60. generateActivityGraph = true
  61. # The number of commits to display on the summary page
  62. # Value must exceed 0 else default of 20 is used
  63. summaryCommitCount = 20
  64. # The number of tags/heads to display on the summary page
  65. # Value must exceed 0 else default of 5 is used
  66. summaryRefsCount = 5
  67. # The number of commits to show on each page of a Log
  68. # Value must exceed 0 else default of 50 is used
  69. logPageCommitCount = 50
  70. # Registered extensions for google-code-prettify
  71. prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb
  72. # Image extensions
  73. imageExtensions = bmp jpg gif png
  74. # Registered extensions for binary blobs
  75. binaryExtensions = jar pdf tar.gz zip
  76. # Example global regex substitutions
  77. regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
  78. regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
  79. # Example per-repository regex substitutions overrides global
  80. regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
  81. # Enable ticgit viewer for all repositories (checks for ticgit branch)
  82. ticgit.global = false
  83. # Enable ticgit viewer for specified repository (checks for ticgit branch)
  84. ticgit.myrepository = true
  85. ticgit.ticgit = true
  86. #
  87. # Jetty Settings
  88. #
  89. # use NIO connectors. If false, socket connectors will be used.
  90. useNio = true
  91. # Standard http port to serve. <= 0 disables this connector.
  92. httpPort = 0
  93. # Secure/SSL https port to serve. <= 0 disables this connector.
  94. httpsPort = 443
  95. # Password for SSL keystore (keystore password and certificate password must match)
  96. storePassword = dosomegit
  97. # Port for shutdown monitor to listen on.
  98. shutdownPort = 8081