From 156ae1e98b7144aa2d253016777ea185b7c82cb9 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Mon, 4 Jun 2007 14:20:03 +0300 Subject: [PATCH] Move example config to external file. --- README.rst | 22 +++++----------------- example.conf | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 example.conf diff --git a/README.rst b/README.rst index 280020d..e6d05ce 100644 --- a/README.rst +++ b/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/ diff --git a/example.conf b/example.conf new file mode 100644 index 0000000..9e86d0a --- /dev/null +++ b/example.conf @@ -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/