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