Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 52 lines (41 sloc) 1.501 kb
a45445d @tv42 Update documentation in preparation of release.
tv42 authored
1 # this config file tries to show a bit of everything, most real life
2 # configurations really only need a "group" section with "members" and
3 # "writable"
4
7b99ae7 @tv42 Add config option ``repositories``, for giving a path prefix to reposito...
tv42 authored
5 [gitosis]
a45445d @tv42 Update documentation in preparation of release.
tv42 authored
6 ## To override the default ~/repositories path
7 # repositories = repositories
8
9 ## Allow gitweb to show all known repositories. If you want gitweb,
10 ## you need either this or a [repo foo] section for each repository
11 ## you want visible in gitweb.
418c5c3 @tv42 Add ``gitosis-gitweb``, for writing gitweb project lists.
tv42 authored
12 gitweb = no
a45445d @tv42 Update documentation in preparation of release.
tv42 authored
13
14 ## Allow git-daemon to publish all known repositories. As with gitweb,
15 ## this can be done globally or per-repository.
13c89cd @tv42 Manage git-daemon-export-ok flags from gitosis config.
tv42 authored
16 daemon = no
156ae1e @tv42 Move example config to external file.
tv42 authored
17
a45445d @tv42 Update documentation in preparation of release.
tv42 authored
18 ## Logging level, one of DEBUG, INFO, WARNING, ERROR, CRITICAL
19 loglevel = DEBUG
20
156ae1e @tv42 Move example config to external file.
tv42 authored
21 [group quux]
22 members = jdoe wsmith @anothergroup
23 writable = foo bar baz/thud
24 readonly = xyzzy
a45445d @tv42 Update documentation in preparation of release.
tv42 authored
25
a938dcc @tv42 Show how group sections in config can be used in example.conf.
tv42 authored
26 ## You can use groups just to avoid listing users multiple times. Note
27 ## no writable= or readonly= lines.
28 [group anothergroup]
29 members = alice bill
30
a45445d @tv42 Update documentation in preparation of release.
tv42 authored
31 ## You can play fancy tricks by making some repositories appear with
32 ## different names in different contexts. Not really supported
33 ## everywhere (e.g. gitweb) and can be confusing -- experts only.
156ae1e @tv42 Move example config to external file.
tv42 authored
34 map writable visiblename1 = actualname1
35 map readonly visiblename2 = actualname2
36
418c5c3 @tv42 Add ``gitosis-gitweb``, for writing gitweb project lists.
tv42 authored
37 [repo foo]
38 gitweb = yes
63e9118 modified to reflect gitosis-ng features
joe miller authored
39 description = the foo repo contains foo
418c5c3 @tv42 Add ``gitosis-gitweb``, for writing gitweb project lists.
tv42 authored
40 owner = John Doe
63e9118 modified to reflect gitosis-ng features
joe miller authored
41 url = http://wiki.myorg.org/project/foo
42 writeable = xyzzy
43 readonly = alice
a45445d @tv42 Update documentation in preparation of release.
tv42 authored
44
45 ## Allow git-daemon to publish this repository.
13c89cd @tv42 Manage git-daemon-export-ok flags from gitosis config.
tv42 authored
46 daemon = yes
156ae1e @tv42 Move example config to external file.
tv42 authored
47
a45445d @tv42 Update documentation in preparation of release.
tv42 authored
48 [gitweb]
49 ## Where to make gitweb link to as it's "home location".
50 ## NOT YET IMPLEMENTED.
156ae1e @tv42 Move example config to external file.
tv42 authored
51 # homelink = http://example.com/
Something went wrong with that request. Please try again.