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
41 members = steve stemci01
44 writable = debian-rootfs
49 members = steve stemci01 colin_tuckley andrew_strong
51 ## List all our desired users here, in ALPHABETICAL ORDER!
53 #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
55 ## Group of contractors with rights to view st-core & aminet and create public repositories
56 ## Also read-only access to Steve's public Aminet 7105 repo
57 #[group contractors-st]
58 #readonly = st-core aminet users/smcintyre/aminet-7105
61 ## And the folks with admin rights here
63 #members = gitosis-mirror smcintyre mfrancomb nmcgovern wszachau jmorrissey
65 ## Give all Amino users read access to all modules as a default
66 #[group default-read-only]
67 #readonly = * users/*/*
70 ## And admins get write access to everything too
71 #[group default-admin-write]
72 #writable = * users/*/*
75 ##############################################################
77 ### END OF COMMON CONFIG (special formatting, do NOT change!)
79 ##############################################################
81 ##############################################################
85 ##############################################################
87 # Below here, add "repo" definitions to fill in the description and
88 # owner fields for gitweb.
91 description = Git server admin
92 owner = Steve McIntyre
95 description = Gitosis software
96 owner = Steve McIntyre
99 description = Debian.org config
100 owner = Steve McIntyre
103 description = Jigdo tools
104 owner = Steve McIntyre
107 description = Transcoding filesystem
108 owner = Steve McIntyre
110 [repo debian-cd-search]
111 description = Search for contents of Debian CDs
112 owner = Steve McIntyre
115 description = Save/restore system clock on machines without working RTC hardware
116 owner = Steve McIntyre
119 description = A Better CD Encoder
120 owner = Steve McIntyre
123 description = Local scripts repo
124 owner = Steve McIntyre
126 # Add gitweb and git:// access to the user repositories too.
127 # The $user in the "repo" line is important, as that's how we look up
128 # the username when generating the Description and Owner fields in
129 # gitweb output. If we can find user details for $user, we will
130 # substitute their name in the Description field, replacing
133 description = Public repository for $username
137 ##############################################################
139 ### END OF REPOSITORIES (special formatting, do NOT change!)
141 ##############################################################
143 # Anything below here will only apply to the master config on
144 # glutamine, the central git server in Cambridge. Caches should
145 # therefore remain read-only for users except admins.
148 ##############################################################
152 ##############################################################
154 # By default (see rules in the common config section), all
155 # repositories will be:
157 # 1. writable by @admins
158 # 2. readonly by @amino
160 # If you want to give more access to a repository then list it in
161 # "all-write" or for more fine-grained control add a specific "group"
162 # definition for it in this section.
165 writable = aminet mood meego intel-media intel-ui intel-ems
170 members = anilsson mrendahl
174 members = jbyrne snutt anilsson
177 writable = innovation
178 members = gmonell jkwarnmark jsummerfield mfrancomb mrendahl
180 ##############################################################
182 ### END OF GROUPS (special formatting, do NOT change!)
184 ##############################################################
186 ##############################################################
188 ### USER REPOSITORY CONFIG
190 ##############################################################
192 # Special group that adds support for repositories of the form
193 # user/<user>/<foo>.git. Otherwise admins would have to add specific
194 # entries for every single user repo, and that would quickly become an
197 # The following config group will allow *write* access to
198 # user/<user>/<foo>.git for the owner ($user) and the @admins group
200 # If you want to allow a specific user (Bob) to have write access to
201 # a specific user repo (belonging to Alice), you will need to add a
202 # specific group describing Alice's user repo and list Bob in the
203 # members field there as normal. That will supplement the normal
204 # access from the wild-card group entries. Sorry, this *will* require
207 members = $user @admins
208 writable = users/$user/*
210 ##############################################################
212 ### END OF USER REPOSITORY CONFIG (special formatting, do NOT change!)
214 ##############################################################
216 ##############################################################
220 ##############################################################
223 # Immediately after a "git init" call for a new repo, configure the
224 # new repo appropriately for mirroring and mail notification
225 # post-init = /usr/local/bin/git-configure-post-receive
227 ##############################################################
229 ### END OF HOOKS CONFIG (special formatting, do NOT change!)
231 ##############################################################