1 # This is based on the default Gitolite configuration file with the following
2 # changes applied as described here:
3 # http://doc.arvados.org/install/install-arv-git-httpd.html
5 # configuration variables for gitolite
7 # This file is in perl syntax. But you do NOT need to know perl to edit it --
8 # just mind the commas, use single quotes unless you know what you're doing,
9 # and make sure the brackets and braces stay matched up!
11 # (Tip: perl allows a comma after the last item in a list also!)
13 # HELP for commands can be had by running the command with "-h".
15 # HELP for all the other FEATURES can be found in the documentation (look for
16 # "list of non-core programs shipped with gitolite" in the master index) or
17 # directly in the corresponding source file.
20 my $aliases_src = "$ENV{HOME}/.gitolite/arvadosaliases.pl";
21 if ($ENV{HOME} && (-e $aliases_src)) {
22 $repo_aliases = do $aliases_src;
28 REPO_ALIASES => $repo_aliases,
30 # ------------------------------------------------------------------
32 # default umask gives you perms of '0700'; see the rc file docs for
33 # how/why you might change this
36 # look for "git-config" in the documentation
37 GIT_CONFIG_KEYS => '',
39 # comment out if you don't need all the extra detail in the logfile
42 # 1. leave this section as is for 'normal' gitolite logging (default)
43 # 2. uncomment this line to log ONLY to syslog:
44 # LOG_DEST => 'syslog',
45 # 3. uncomment this line to log to syslog and the normal gitolite log:
46 # LOG_DEST => 'syslog,normal',
47 # 4. prefixing "repo-log," to any of the above will **also** log just the
48 # update records to "gl-log" in the bare repo directory:
49 # LOG_DEST => 'repo-log,normal',
50 # LOG_DEST => 'repo-log,syslog',
51 # LOG_DEST => 'repo-log,syslog,normal',
53 # roles. add more roles (like MANAGER, TESTER, ...) here.
54 # WARNING: if you make changes to this hash, you MUST run 'gitolite
55 # compile' afterward, and possibly also 'gitolite trigger POST_COMPILE'
61 # enable caching (currently only Redis). PLEASE RTFM BEFORE USING!!!
64 # ------------------------------------------------------------------
66 # rc variables used by various features
68 # the 'info' command prints this as additional info, if it is set
69 # SITE_INFO => 'Please see http://blahblah/gitolite for more help',
71 # the CpuTime feature uses these
72 # display user, system, and elapsed times to user after each git operation
73 # DISPLAY_CPU_TIME => 1,
74 # display a warning if total CPU times (u, s, cu, cs) crosses this limit
75 # CPU_TIME_WARN_LIMIT => 0.1,
77 # the Mirroring feature needs this
80 # TTL for redis cache; PLEASE SEE DOCUMENTATION BEFORE UNCOMMENTING!
83 # ------------------------------------------------------------------
85 # suggested locations for site-local gitolite code (see cust.html)
87 # this one is managed directly on the server
88 # LOCAL_CODE => "$ENV{HOME}/local",
90 # or you can use this, which lets you put everything in a subdirectory
91 # called "local" in your gitolite-admin repo. For a SECURITY WARNING
92 # on this, see http://gitolite.com/gitolite/non-core.html#pushcode
93 # LOCAL_CODE => "$rc{GL_ADMIN_BASE}/local",
95 # ------------------------------------------------------------------
97 # List of commands and features to enable
103 # These are the commands enabled by default
110 # Uncomment or add new commands here.
118 # These FEATURES are enabled by default.
120 # essential (unless you're using smart-http mode)
123 # creates git-config enties from gitolite.conf file entries like 'config foo.bar = baz'
126 # creates git-daemon-export-ok files; if you don't use git-daemon, comment this out
129 # creates projects.list file; if you don't use gitweb, comment this out
132 # These FEATURES are disabled by default; uncomment to enable. If you
133 # need to add new ones, ask on the mailing list :-)
135 # user-visible behaviour
137 # prevent wild repos auto-create on fetch/clone
138 # 'no-create-on-read',
139 # no auto-create at all (don't forget to enable the 'create' command!)
142 # access a repo by another (possibly legacy) name
145 # give some users direct shell access. See documentation in
146 # sts.html for details on the following two choices.
147 # "Shell $ENV{HOME}/.gitolite.shell-users",
150 # set default roles from lines like 'option default.roles-1 = ...', etc.
151 # 'set-default-roles',
153 # show more detailed messages on deny
154 # 'expand-deny-messages',
156 # show a message of the day
161 # enable mirroring (don't forget to set the HOSTNAME too!)
164 # allow people to submit pub files with more than one key in them
165 # 'ssh-authkeys-split',
167 # selective read control hack
170 # manage local, gitolite-controlled, copies of read-only upstream repos
173 # updates 'description' file instead of 'gitweb.description' config item
176 # allow repo-specific hooks to be added
177 # 'repo-specific-hooks',
179 # performance, logging, monitoring...
184 # log CPU times (user, system, cumulative user, cumulative system)
187 # syntactic_sugar for gitolite.conf and included files
189 # allow backslash-escaped continuation lines in gitolite.conf
190 # 'continuation-lines',
192 # create implicit user groups from directory names in keydir/
193 # 'keysubdirs-as-groups',
195 # allow simple line-oriented macros
200 # disallow various things that sensible people shouldn't be doing anyway
206 # ------------------------------------------------------------------------------
207 # per perl rules, this should be the last line in such a file: