|
@@ -0,0 +1,176 @@
|
|
1
|
+# configuration variables for gitolite
|
|
2
|
+
|
|
3
|
+# This file is in perl syntax. But you do NOT need to know perl to edit it --
|
|
4
|
+# just mind the commas, use single quotes unless you know what you're doing,
|
|
5
|
+# and make sure the brackets and braces stay matched up!
|
|
6
|
+
|
|
7
|
+# (Tip: perl allows a comma after the last item in a list also!)
|
|
8
|
+
|
|
9
|
+# HELP for commands can be had by running the command with "-h".
|
|
10
|
+
|
|
11
|
+# HELP for all the other FEATURES can be found in the documentation (look for
|
|
12
|
+# "list of non-core programs shipped with gitolite" in the master index) or
|
|
13
|
+# directly in the corresponding source file.
|
|
14
|
+
|
|
15
|
+%RC = (
|
|
16
|
+
|
|
17
|
+ # ------------------------------------------------------------------
|
|
18
|
+
|
|
19
|
+ # default umask gives you perms of '0700'; see the rc file docs for
|
|
20
|
+ # how/why you might change this
|
|
21
|
+ UMASK => 0027,
|
|
22
|
+
|
|
23
|
+ # look for "git-config" in the documentation
|
|
24
|
+ GIT_CONFIG_KEYS => 'gitweb\.(owner|description|category)',
|
|
25
|
+
|
|
26
|
+ # comment out if you don't need all the extra detail in the logfile
|
|
27
|
+ LOG_EXTRA => 1,
|
|
28
|
+
|
|
29
|
+ # roles. add more roles (like MANAGER, TESTER, ...) here.
|
|
30
|
+ # WARNING: if you make changes to this hash, you MUST run 'gitolite
|
|
31
|
+ # compile' afterward, and possibly also 'gitolite trigger POST_COMPILE'
|
|
32
|
+ ROLES => {
|
|
33
|
+ READERS => 1,
|
|
34
|
+ WRITERS => 1,
|
|
35
|
+ },
|
|
36
|
+
|
|
37
|
+ # ------------------------------------------------------------------
|
|
38
|
+
|
|
39
|
+ # rc variables used by various features
|
|
40
|
+
|
|
41
|
+ # the 'info' command prints this as additional info, if it is set
|
|
42
|
+ # SITE_INFO => 'Please see http://blahblah/gitolite for more help',
|
|
43
|
+
|
|
44
|
+ # the 'desc' command uses this
|
|
45
|
+ # WRITER_CAN_UPDATE_DESC => 1,
|
|
46
|
+
|
|
47
|
+ # the CpuTime feature uses these
|
|
48
|
+ # display user, system, and elapsed times to user after each git operation
|
|
49
|
+ # DISPLAY_CPU_TIME => 1,
|
|
50
|
+ # display a warning if total CPU times (u, s, cu, cs) crosses this limit
|
|
51
|
+ # CPU_TIME_WARN_LIMIT => 0.1,
|
|
52
|
+
|
|
53
|
+ # the Mirroring feature needs this
|
|
54
|
+ # HOSTNAME => "foo",
|
|
55
|
+
|
|
56
|
+ # if you enabled 'Shell', you need this
|
|
57
|
+ # SHELL_USERS_LIST => "$ENV{HOME}/.gitolite.shell-users",
|
|
58
|
+
|
|
59
|
+ # ------------------------------------------------------------------
|
|
60
|
+
|
|
61
|
+ # suggested locations for site-local gitolite code (see cust.html)
|
|
62
|
+
|
|
63
|
+ # this one is managed directly on the server
|
|
64
|
+ # LOCAL_CODE => "$ENV{HOME}/local",
|
|
65
|
+
|
|
66
|
+ # or you can use this, which lets you put everything in a subdirectory
|
|
67
|
+ # called "local" in your gitolite-admin repo. For a SECURITY WARNING
|
|
68
|
+ # on this, see http://gitolite.com/gitolite/cust.html#pushcode
|
|
69
|
+ # LOCAL_CODE => "$rc{GL_ADMIN_BASE}/local",
|
|
70
|
+
|
|
71
|
+ # ------------------------------------------------------------------
|
|
72
|
+
|
|
73
|
+ # List of commands and features to enable
|
|
74
|
+
|
|
75
|
+ ENABLE => [
|
|
76
|
+
|
|
77
|
+ # COMMANDS
|
|
78
|
+
|
|
79
|
+ # These are the commands enabled by default
|
|
80
|
+ 'help',
|
|
81
|
+ 'desc',
|
|
82
|
+ 'info',
|
|
83
|
+ 'perms',
|
|
84
|
+ 'writable',
|
|
85
|
+
|
|
86
|
+ # Uncomment or add new commands here.
|
|
87
|
+ # 'create',
|
|
88
|
+ # 'fork',
|
|
89
|
+ # 'mirror',
|
|
90
|
+ # 'sskm',
|
|
91
|
+ # 'D',
|
|
92
|
+
|
|
93
|
+ # These FEATURES are enabled by default.
|
|
94
|
+
|
|
95
|
+ # essential (unless you're using smart-http mode)
|
|
96
|
+ 'ssh-authkeys',
|
|
97
|
+
|
|
98
|
+ # creates git-config enties from gitolite.conf file entries like 'config foo.bar = baz'
|
|
99
|
+ 'git-config',
|
|
100
|
+
|
|
101
|
+ # creates git-daemon-export-ok files; if you don't use git-daemon, comment this out
|
|
102
|
+ 'daemon',
|
|
103
|
+
|
|
104
|
+ # creates projects.list file; if you don't use gitweb, comment this out
|
|
105
|
+ 'gitweb',
|
|
106
|
+
|
|
107
|
+ # These FEATURES are disabled by default; uncomment to enable. If you
|
|
108
|
+ # need to add new ones, ask on the mailing list :-)
|
|
109
|
+
|
|
110
|
+ # user-visible behaviour
|
|
111
|
+
|
|
112
|
+ # prevent wild repos auto-create on fetch/clone
|
|
113
|
+ # 'no-create-on-read',
|
|
114
|
+ # no auto-create at all (don't forget to enable the 'create' command!)
|
|
115
|
+ # 'no-auto-create',
|
|
116
|
+
|
|
117
|
+ # access a repo by another (possibly legacy) name
|
|
118
|
+ # 'Alias',
|
|
119
|
+
|
|
120
|
+ # give some users direct shell access
|
|
121
|
+ # 'Shell',
|
|
122
|
+
|
|
123
|
+ # set default roles from lines like 'option default.roles-1 = ...', etc.
|
|
124
|
+ # 'set-default-roles',
|
|
125
|
+
|
|
126
|
+ # system admin stuff
|
|
127
|
+
|
|
128
|
+ # enable mirroring (don't forget to set the HOSTNAME too!)
|
|
129
|
+ # 'Mirroring',
|
|
130
|
+
|
|
131
|
+ # allow people to submit pub files with more than one key in them
|
|
132
|
+ # 'ssh-authkeys-split',
|
|
133
|
+
|
|
134
|
+ # selective read control hack
|
|
135
|
+ # 'partial-copy',
|
|
136
|
+
|
|
137
|
+ # manage local, gitolite-controlled, copies of read-only upstream repos
|
|
138
|
+ # 'upstream',
|
|
139
|
+
|
|
140
|
+ # updates 'description' file instead of 'gitweb.description' config item
|
|
141
|
+ # 'cgit',
|
|
142
|
+
|
|
143
|
+ # allow repo-specific hooks to be added
|
|
144
|
+ # 'repo-specific-hooks',
|
|
145
|
+
|
|
146
|
+ # performance, logging, monitoring...
|
|
147
|
+
|
|
148
|
+ # be nice
|
|
149
|
+ # 'renice 10',
|
|
150
|
+
|
|
151
|
+ # log CPU times (user, system, cumulative user, cumulative system)
|
|
152
|
+ # 'CpuTime',
|
|
153
|
+
|
|
154
|
+ # syntactic_sugar for gitolite.conf and included files
|
|
155
|
+
|
|
156
|
+ # allow backslash-escaped continuation lines in gitolite.conf
|
|
157
|
+ # 'continuation-lines',
|
|
158
|
+
|
|
159
|
+ # create implicit user groups from directory names in keydir/
|
|
160
|
+ # 'keysubdirs-as-groups',
|
|
161
|
+
|
|
162
|
+ # allow simple line-oriented macros
|
|
163
|
+ # 'macros',
|
|
164
|
+
|
|
165
|
+ ],
|
|
166
|
+
|
|
167
|
+);
|
|
168
|
+
|
|
169
|
+# ------------------------------------------------------------------------------
|
|
170
|
+# per perl rules, this should be the last line in such a file:
|
|
171
|
+1;
|
|
172
|
+
|
|
173
|
+# Local variables:
|
|
174
|
+# mode: perl
|
|
175
|
+# End:
|
|
176
|
+# vim: set syn=perl:
|