commit | author | age
|
5fe7df
|
1 |
#
|
JM |
2 |
# GIT Servlet Settings
|
|
3 |
#
|
|
4 |
|
|
5 |
# Base folder for repositories
|
|
6 |
# Use forward slashes on Windows!!
|
|
7 |
repositoriesFolder = c:/projects/git
|
|
8 |
|
|
9 |
# Export all repositories
|
|
10 |
# if false, each exported repository must have a .git/git-daemon-export-ok file
|
|
11 |
exportAll = true
|
|
12 |
|
|
13 |
# Search repositories folder for nested repositories
|
|
14 |
nestedRepositories = true
|
|
15 |
|
|
16 |
# The root clone url
|
|
17 |
cloneUrl = https://localhost/git/
|
|
18 |
|
|
19 |
#
|
|
20 |
# Authentication Settings
|
|
21 |
#
|
|
22 |
|
|
23 |
# Require authentication for http push/pull of git repositories
|
|
24 |
authenticateAccess = true
|
|
25 |
|
|
26 |
# Simple user realm file to authenticate users for push/pull
|
|
27 |
realmFile = users.properties
|
|
28 |
|
|
29 |
# User roles for push/pull git repository access
|
|
30 |
# (* is the wildcard for any role)
|
|
31 |
gitRoles = *
|
|
32 |
|
|
33 |
# User roles for administrative features such
|
|
34 |
# as create repository, edit repository description,
|
|
35 |
# and set repository owner.
|
|
36 |
# (* is the wildcard for any role)
|
|
37 |
adminRoles = *
|
|
38 |
|
|
39 |
#
|
|
40 |
# Server Settings
|
|
41 |
#
|
|
42 |
debug = true
|
|
43 |
tempFolder = temp
|
|
44 |
log4jPattern = %-5p %d{MM-dd HH:mm:ss.SSS} %-20.20c{1} %m%n
|
|
45 |
# Aggressive garbage collection will run the collector on every generated page
|
|
46 |
# this slows down page generation but improves heap consumption
|
|
47 |
aggressiveGC = true
|
|
48 |
|
|
49 |
#
|
|
50 |
# Git:Blit UI Settings
|
|
51 |
#
|
|
52 |
siteName = Git:Blit
|
|
53 |
allowAdministration = true
|
|
54 |
indexMessage = 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>.
|
|
55 |
timestampFormat = h:mm a
|
|
56 |
|
|
57 |
datestampShortFormat = yyyy-MM-dd
|
|
58 |
datestampLongFormat = EEEE, MMMM d, yyyy
|
|
59 |
|
|
60 |
datetimestampShortFormat = yyyy-MM-dd h:mm a
|
|
61 |
datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a
|
|
62 |
|
|
63 |
# Registered extensions for google-code-prettify
|
|
64 |
prettyPrintExtensions = c cpp cs css htm html java js php pl prefs properties py rb sh sql xml vb
|
|
65 |
|
|
66 |
# Image extensions
|
|
67 |
imageExtensions = bmp jpg gif png
|
|
68 |
|
|
69 |
# Registered extensions for binary blobs
|
|
70 |
binaryExtensions = jar pdf tar.gz zip
|
|
71 |
|
|
72 |
# Example global regex substitutions
|
|
73 |
regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
|
|
74 |
regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
|
|
75 |
|
|
76 |
# Example per-repository regex substitutions overrides global
|
|
77 |
regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
|
|
78 |
|
|
79 |
#
|
|
80 |
# Jetty Settings
|
|
81 |
#
|
|
82 |
|
|
83 |
# use NIO connectors. If false, socket connectors will be used.
|
|
84 |
useNio = true
|
|
85 |
|
|
86 |
# Standard http port to serve. <= 0 disables this connector.
|
|
87 |
httpPort = 0
|
|
88 |
|
|
89 |
# Secure/SSL https port to serve. <= 0 disables this connector.
|
|
90 |
httpsPort = 443
|
|
91 |
|
|
92 |
# Password for SSL keystore (keystore password and certificate password must match)
|
|
93 |
storePassword = dosomegit
|
|
94 |
|
|
95 |
# Port for shutdown monitor to listen on.
|
|
96 |
shutdownPort = 8081
|