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