/[adm]/puppet/deployment/mgagit/templates/gitolite.rc
ViewVC logotype

Contents of /puppet/deployment/mgagit/templates/gitolite.rc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3460 - (show annotations) (download)
Sun Apr 27 12:07:59 2014 UTC (8 years ago) by colin
File size: 5294 byte(s)
mgagit: Update to git_multimail.py e12918c100.

This is from https://github.com/mhagger/git-multimail

I've reapplied my changes which avoid some unnecessary error messages when the summary
email address is not configured (used for i18n mails).

The notable change is to synthesise dates in emails to hopefully fix ordering in
email clients (i.e. with multi-commit pushes).
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 => 0022,
22
23 # look for "git-config" in the documentation
24 GIT_CONFIG_KEYS => 'gitweb\.description gitweb\.owner multimailhook\.mailingList multimailhook\.emailDomain multimailhook\.envelopeSender',
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 # List of commands and features to enable
62
63 ENABLE => [
64
65 # COMMANDS
66
67 # These are the commands enabled by default
68 'help',
69 'desc',
70 'info',
71 'perms',
72 'writable',
73
74 # Uncomment or add new commands here.
75 # 'create',
76 # 'fork',
77 # 'mirror',
78 # 'sskm',
79 # 'D',
80
81 # These FEATURES are enabled by default.
82
83 # essential (unless you're using smart-http mode)
84 'ssh-authkeys',
85
86 # creates git-config enties from gitolite.conf file entries like 'config foo.bar = baz'
87 'git-config',
88
89 # creates git-daemon-export-ok files; if you don't use git-daemon, comment this out
90 'daemon',
91
92 # creates projects.list file; if you don't use gitweb, comment this out
93 'gitweb',
94
95 # These FEATURES are disabled by default; uncomment to enable. If you
96 # need to add new ones, ask on the mailing list :-)
97
98 # user-visible behaviour
99
100 # prevent wild repos auto-create on fetch/clone
101 # 'no-create-on-read',
102 # no auto-create at all (don't forget to enable the 'create' command!)
103 # 'no-auto-create',
104
105 # access a repo by another (possibly legacy) name
106 # 'Alias',
107
108 # give some users direct shell access
109 # 'Shell',
110
111 # set default roles from lines like 'option default.roles-1 = ...', etc.
112 # 'set-default-roles',
113
114 # system admin stuff
115
116 # enable mirroring (don't forget to set the HOSTNAME too!)
117 # 'Mirroring',
118
119 # allow people to submit pub files with more than one key in them
120 # 'ssh-authkeys-split',
121
122 # selective read control hack
123 # 'partial-copy',
124
125 # manage local, gitolite-controlled, copies of read-only upstream repos
126 # 'upstream',
127
128 # updates 'description' file instead of 'gitweb.description' config item
129 'cgit',
130
131 # performance, logging, monitoring...
132
133 # be nice
134 # 'renice 10',
135
136 # log CPU times (user, system, cumulative user, cumulative system)
137 # 'CpuTime',
138
139 # syntactic_sugar for gitolite.conf and included files
140
141 # allow backslash-escaped continuation lines in gitolite.conf
142 # 'continuation-lines',
143
144 # create implicit user groups from directory names in keydir/
145 # 'keysubdirs-as-groups',
146
147 # allow simple line-oriented macros
148 # 'macros',
149
150 ],
151
152 );
153
154 # ------------------------------------------------------------------------------
155 # per perl rules, this should be the last line in such a file:
156 1;
157
158 # Local variables:
159 # mode: perl
160 # End:
161 # vim: set syn=perl:

  ViewVC Help
Powered by ViewVC 1.1.28