Move example config to external file.

This commit is contained in:
Tommi Virtanen 2007-06-04 14:20:03 +03:00
parent bd1ee4fc01
commit 156ae1e98b
2 changed files with 21 additions and 17 deletions

View file

@ -2,6 +2,11 @@
``gitosis`` -- software for hosting ``git`` repositories ``gitosis`` -- software for hosting ``git`` repositories
========================================================== ==========================================================
Example configuration:
.. include:: example.conf
:literal:
group -> list of repos group -> list of repos
/usr/local/bin/git-shell-enforce-directory /usr/local/bin/git-shell-enforce-directory
@ -16,20 +21,3 @@ allow skipping .git suffix
git-daemon-export-ok git-daemon-export-ok
Example configuration::
[gitosis]
[group NAME]
members = jdoe wsmith @anothergroup
writable = foo bar baz/thud
readonly = xyzzy
map writable visiblename = actualname
map readonly visiblename = actualname
[repo foo]
description = blah blah
daemon-ok = no
[gitweb]
homelink = http://example.com/

16
example.conf Normal file
View file

@ -0,0 +1,16 @@
# TODO commented sections not done yet
# [gitosis]
[group quux]
members = jdoe wsmith @anothergroup
writable = foo bar baz/thud
readonly = xyzzy
map writable visiblename1 = actualname1
map readonly visiblename2 = actualname2
# [repo foo]
# description = blah blah
# daemon-ok = no
# [gitweb]
# homelink = http://example.com/