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
|
155bf7
|
6 |
git.allowPushPull = true
|
5fe7df
|
7 |
|
JM |
8 |
# Base folder for repositories
|
|
9 |
# Use forward slashes 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
|
155bf7
|
17 |
git.nestedRepositories = true
|
5fe7df
|
18 |
|
JM |
19 |
# The root clone url
|
155bf7
|
20 |
git.cloneUrl = https://localhost/git/
|
5fe7df
|
21 |
|
JM |
22 |
#
|
|
23 |
# Authentication Settings
|
|
24 |
#
|
|
25 |
|
7ba0ec
|
26 |
# Require authentication for http/https push/pull access of git repositories
|
155bf7
|
27 |
git.authenticate = true
|
5fe7df
|
28 |
|
b55030
|
29 |
# Require authentication to see everything but the admin pages
|
JM |
30 |
web.authenticateViewPages = false
|
|
31 |
|
|
32 |
# Require admin authentication for the admin functions and pages
|
|
33 |
web.authenticateAdminPages = true
|
94b96b
|
34 |
|
155bf7
|
35 |
# Simple user realm file to authenticate users
|
JM |
36 |
server.realmFile = users.properties
|
5fe7df
|
37 |
|
JM |
38 |
#
|
87cc1e
|
39 |
# Git:Blit Web Settings
|
5fe7df
|
40 |
#
|
155bf7
|
41 |
web.siteName =
|
fc948c
|
42 |
|
87cc1e
|
43 |
# If web.authenticate=true, users with "admin" role can create repositories,
|
fc948c
|
44 |
# create users, and edit repository metadata (owner, description, etc)
|
JM |
45 |
#
|
87cc1e
|
46 |
# If web.authenticate=false, any user can execute the aforementioned functions.
|
155bf7
|
47 |
web.allowAdministration = true
|
fc948c
|
48 |
|
155bf7
|
49 |
# This is the message display above the repositories table.
|
JM |
50 |
# This can point to a file with HTML content.
|
98ce17
|
51 |
web.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://eclipse.org/jetty">Jetty</a>, <a href="http://www.slf4j.org">SLF4J</a>, <a href="http://logging.apache.org/log4j">Log4j</a>, <a href="http://code.google.com/p/google-code-prettify/">google-code-prettify</a>, and <a href="http://jcommander.org">JCommander</a>.
|
fc8426
|
52 |
|
bc10f9
|
53 |
# Use the client timezone when formatting dates.
|
JM |
54 |
# This uses AJAX to determine the browser's timezone and enables Wicket
|
|
55 |
# session management for the connection.
|
155bf7
|
56 |
web.useClientTimezone = false
|
bc10f9
|
57 |
|
fc8426
|
58 |
# Date and Time formats
|
155bf7
|
59 |
web.datestampShortFormat = yyyy-MM-dd
|
JM |
60 |
web.datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z
|
5fe7df
|
61 |
|
fc8426
|
62 |
# Generates a line graph of repository activity over time on the Summary page.
|
JM |
63 |
# This is a real-time graph so generation may be expensive.
|
155bf7
|
64 |
web.generateActivityGraph = true
|
fc8426
|
65 |
|
fb01c9
|
66 |
# The number of commits to display on the summary page
|
JM |
67 |
# Value must exceed 0 else default of 20 is used
|
45c0d6
|
68 |
web.summaryCommitCount = 16
|
fb01c9
|
69 |
|
JM |
70 |
# The number of tags/heads to display on the summary page
|
|
71 |
# Value must exceed 0 else default of 5 is used
|
155bf7
|
72 |
web.summaryRefsCount = 5
|
fb01c9
|
73 |
|
50984c
|
74 |
# The number of commits to show on each page of a Log
|
66c29a
|
75 |
# Value must exceed 0 else default of 50 is used
|
155bf7
|
76 |
web.logPageCommitCount = 50
|
50984c
|
77 |
|
5fe7df
|
78 |
# Registered extensions for google-code-prettify
|
155bf7
|
79 |
web.prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb
|
5fe7df
|
80 |
|
JM |
81 |
# Image extensions
|
155bf7
|
82 |
web.imageExtensions = bmp jpg gif png
|
5fe7df
|
83 |
|
JM |
84 |
# Registered extensions for binary blobs
|
155bf7
|
85 |
web.binaryExtensions = jar pdf tar.gz zip
|
5fe7df
|
86 |
|
87cc1e
|
87 |
# Aggressive heap management will run the garbage collector on every generated
|
JM |
88 |
# page. This slows down page generation but improves heap consumption.
|
|
89 |
web.aggressiveHeapManagement = true
|
|
90 |
|
|
91 |
# Run the webapp in debug mode
|
|
92 |
web.debugMode = true
|
|
93 |
|
|
94 |
# Enable/disable global regex substitutions (i.e. shared across repositories)
|
|
95 |
regex.global = true
|
|
96 |
|
5fe7df
|
97 |
# Example global regex substitutions
|
87cc1e
|
98 |
# Use !!! to separate the search pattern and the replace pattern
|
JM |
99 |
# searchpattern!!!replacepattern
|
5fe7df
|
100 |
regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
|
JM |
101 |
regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
|
|
102 |
|
|
103 |
# Example per-repository regex substitutions overrides global
|
155bf7
|
104 |
#regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
|
5fe7df
|
105 |
|
9802a7
|
106 |
# Enable tickets pages for all repositories (if ticgit branch is present)
|
JM |
107 |
tickets.global = false
|
bc10f9
|
108 |
|
9802a7
|
109 |
# Enable tickets pages for specified repository (if ticgit branch is present)
|
JM |
110 |
#tickets.myrepository = true
|
87cc1e
|
111 |
|
JM |
112 |
#
|
|
113 |
# Server Settings
|
|
114 |
#
|
|
115 |
server.tempFolder = temp
|
|
116 |
server.log4jPattern = %-5p %d{MM-dd HH:mm:ss.SSS} %-20.20c{1} %m%n
|
bc10f9
|
117 |
|
5fe7df
|
118 |
#
|
JM |
119 |
# Jetty Settings
|
|
120 |
#
|
|
121 |
|
|
122 |
# use NIO connectors. If false, socket connectors will be used.
|
155bf7
|
123 |
server.useNio = true
|
5fe7df
|
124 |
|
JM |
125 |
# Standard http port to serve. <= 0 disables this connector.
|
155bf7
|
126 |
server.httpPort = 0
|
5fe7df
|
127 |
|
JM |
128 |
# Secure/SSL https port to serve. <= 0 disables this connector.
|
155bf7
|
129 |
server.httpsPort = 443
|
5fe7df
|
130 |
|
87cc1e
|
131 |
# Specify the interface for Jetty to bind the standard connector.
|
JM |
132 |
# You may specify an ip or an empty value to bind to all interfaces.
|
45c0d6
|
133 |
server.httpBindInterface = localhost
|
87cc1e
|
134 |
|
JM |
135 |
# Specify the interface for Jetty to bind the secure connector.
|
|
136 |
# You may specify an ip or an empty value to bind to all interfaces.
|
45c0d6
|
137 |
server.httpsBindInterface = localhost
|
87cc1e
|
138 |
|
5fe7df
|
139 |
# Password for SSL keystore (keystore password and certificate password must match)
|
155bf7
|
140 |
server.storePassword = dosomegit
|
5fe7df
|
141 |
|
JM |
142 |
# Port for shutdown monitor to listen on.
|
155bf7
|
143 |
server.shutdownPort = 8081
|