2 # Amino gitosis.conf - access control for git
4 # To add a new user here:
6 # 1. Add them *in alphabetical order* in the members list in "group
8 # 2. Add their ssh public key as <username>.pub in the keydir
11 # To add a new *central* repository here:
13 # 1. Add a section called [repo $repo] for anonymous read-only
14 # web/git-daemon access in the REPOSITORIES section
16 # 2. Decide who should have write access:
17 # a. if it's just admins then you're done
18 # b. if it's everybody then list the repo in the "writable=" line
19 # in the "all-write" group in the GROUPS section
20 # c. if you need special control over access, then add a new group
21 # for your repo called "group-$repo"
23 # User repositories are special - see the bottom of the file for the
24 # gory details but you shouldn't need to change anything there!
26 ##############################################################
30 ##############################################################
36 ## Logging level, one of DEBUG, INFO, WARNING, ERROR, CRITICAL
40 writable = gitosis-admin gitosis debian.org jigit fuse-music debian-cd-search fake-hwclock abcde steve-scripts strace-test openstack-debian-images live-wrapper buildd-scripts steve-sigs
41 members = steve # stemci01
44 writable = debian-rootfs
49 members = steve stemci01 colin_tuckley andrew_strong ville
52 members = andy codehelp daniel leif neil steve vince
57 writable = Thermomentum/*
60 members = steve stemci01
61 writable = shim-review
64 members = steve stemci01
68 members = steve stemci01
72 members = steve stemci01
76 members = steve stemci01
79 [group dotfiles-readonly]
80 members = # DOTFILES-RO
83 ## List all our desired users here, in ALPHABETICAL ORDER!
85 #members = acox anilsson apapp bcockburn bczerwinski brobertson charris ctaylor dwysokinski elarsson gcrocker gmonell hliebel hnguyen ismith jbyrne jlarsson jmorrissey jsummerfield kchristenson kmonell kwolvaardt landersson lcheng meanor mbrown mfrancomb mlarman mrendahl nmcgovern pluscher rwarren sali sam-test smcintyre snutt wrevens
87 ## Group of contractors with rights to view st-core & aminet and create public repositories
88 ## Also read-only access to Steve's public Aminet 7105 repo
89 #[group contractors-st]
90 #readonly = st-core aminet users/smcintyre/aminet-7105
93 ## And the folks with admin rights here
95 #members = gitosis-mirror smcintyre mfrancomb nmcgovern wszachau jmorrissey
97 ## Give all Amino users read access to all modules as a default
98 #[group default-read-only]
99 #readonly = * users/*/*
102 ## And admins get write access to everything too
103 #[group default-admin-write]
104 #writable = * users/*/*
107 ##############################################################
109 ### END OF COMMON CONFIG (special formatting, do NOT change!)
111 ##############################################################
113 ##############################################################
117 ##############################################################
119 # Below here, add "repo" definitions to fill in the description and
120 # owner fields for gitweb.
123 description = Git server admin
124 owner = Steve McIntyre
127 description = Gitosis software
128 owner = Steve McIntyre
131 description = Debian.org config
132 owner = Steve McIntyre
135 description = Jigdo tools
136 owner = Steve McIntyre
139 description = EFI test scripts and binaries
140 owner = Steve McIntyre
143 description = Transcoding filesystem
144 owner = Steve McIntyre
146 [repo debian-cd-search]
147 description = Search for contents of Debian CDs
148 owner = Steve McIntyre
151 description = Save/restore system clock on machines without working RTC hardware
152 owner = Steve McIntyre
155 description = A Better CD Encoder
156 owner = Steve McIntyre
159 description = Local scripts repo
160 owner = Steve McIntyre
163 description = Local sigrot repo
164 owner = Steve McIntyre
167 description = local strace test scripts
168 owner = Steve McIntyre
170 [repo openstack-debian-images]
171 description = local working branch for openstack-debian-images
172 owner = Steve McIntyre
175 description = local working branch for live-wrapper
176 owner = Steve McIntyre
178 [repo buildd-scripts]
179 description = local scripts for doing Debian rebuilds
180 owner = Steve McIntyre
183 description = review repo for shim signing
184 owner = Steve McIntyre
189 description = local package for managing apt updates
190 owner = Steve McIntyre
195 description = Jigdo upstream work
196 owner = Steve McIntyre
201 description = Steve\'s dotfiles
202 owner = Steve McIntyre
206 # Add gitweb and git:// access to the user repositories too.
207 # The $user in the "repo" line is important, as that's how we look up
208 # the username when generating the Description and Owner fields in
209 # gitweb output. If we can find user details for $user, we will
210 # substitute their name in the Description field, replacing
213 description = Public repository for $username
218 description = Vero-Apparatus repo
222 #[repo Thermomentum/*]
223 #description = Thermomentum repo
226 #owner = Andy Simpkins
228 ##############################################################
230 ### END OF REPOSITORIES (special formatting, do NOT change!)
232 ##############################################################
234 # Anything below here will only apply to the master config on
235 # glutamine, the central git server in Cambridge. Caches should
236 # therefore remain read-only for users except admins.
239 ##############################################################
243 ##############################################################
245 # By default (see rules in the common config section), all
246 # repositories will be:
248 # 1. writable by @admins
249 # 2. readonly by @amino
251 # If you want to give more access to a repository then list it in
252 # "all-write" or for more fine-grained control add a specific "group"
253 # definition for it in this section.
256 writable = aminet mood meego intel-media intel-ui intel-ems
261 members = anilsson mrendahl
265 members = jbyrne snutt anilsson
268 writable = innovation
269 members = gmonell jkwarnmark jsummerfield mfrancomb mrendahl
271 ##############################################################
273 ### END OF GROUPS (special formatting, do NOT change!)
275 ##############################################################
277 ##############################################################
279 ### USER REPOSITORY CONFIG
281 ##############################################################
283 # Special group that adds support for repositories of the form
284 # user/<user>/<foo>.git. Otherwise admins would have to add specific
285 # entries for every single user repo, and that would quickly become an
288 # The following config group will allow *write* access to
289 # user/<user>/<foo>.git for the owner ($user) and the @admins group
291 # If you want to allow a specific user (Bob) to have write access to
292 # a specific user repo (belonging to Alice), you will need to add a
293 # specific group describing Alice's user repo and list Bob in the
294 # members field there as normal. That will supplement the normal
295 # access from the wild-card group entries. Sorry, this *will* require
298 members = $user @admins
299 writable = users/$user/*
301 ##############################################################
303 ### END OF USER REPOSITORY CONFIG (special formatting, do NOT change!)
305 ##############################################################
307 ##############################################################
311 ##############################################################
314 # Immediately after a "git init" call for a new repo, configure the
315 # new repo appropriately for mirroring and mail notification
316 # post-init = /usr/local/bin/git-configure-post-receive
318 ##############################################################
320 ### END OF HOOKS CONFIG (special formatting, do NOT change!)
322 ##############################################################