Tidy up configuration file (keep repos and groups together).
[gitosis-admin.git] / gitosis.conf
index ee6b1cd..bdd1bd6 100644 (file)
@@ -1,6 +1,38 @@
+# UCC gitosis git repository configuration
+# Do not edit this file except under git version control
+# 
+# To add a new repository, make sure that all users have a $USERNAME.key
+# in keydir/ . Then create a new group:
+# [group $yourgroupname]
+# writable = $reponame
+# members = $user1 $user2
+#
+# Commit and push the changes using git, and then the user should run
+# git push [email protected]:$reponame.git
+# to export their changes to here.
+#
+# To be visible in gitweb, a section for the repository must be added,
+# and an export flag set, like this:
+# [repo $reponame]
+# daemon = yes
+#
+# You should also then edit the ~git/repositories/$reponame.git/config
+# and insert a [gitweb] section with an owner = $ownername key to identify
+# the owner of the repository, and edit the $reponame.git/description file
+# to provide a better description.
+
 [gitosis]
 
 [group gitosis-admin]
 writable = gitosis-admin
-members = zanchey@ucc
+members = zanchey@ucc trs80
+
+[repo gitosis-admin]
+daemon = yes
+
+[group www-data]
+writable = ucc-www
+members = zanchey@ucc trs80
 
+[repo ucc-www]
+daemon = yes

UCC git Repository :: git.ucc.asn.au