Move example config to external file.
This commit is contained in:
parent
bd1ee4fc01
commit
156ae1e98b
2 changed files with 21 additions and 17 deletions
22
README.rst
22
README.rst
|
@ -2,6 +2,11 @@
|
|||
``gitosis`` -- software for hosting ``git`` repositories
|
||||
==========================================================
|
||||
|
||||
Example configuration:
|
||||
|
||||
.. include:: example.conf
|
||||
:literal:
|
||||
|
||||
group -> list of repos
|
||||
|
||||
/usr/local/bin/git-shell-enforce-directory
|
||||
|
@ -16,20 +21,3 @@ allow skipping .git suffix
|
|||
|
||||
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
16
example.conf
Normal 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/
|
Loading…
Reference in a new issue