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