From 6ab2aa0a4bc0d67b7ba1cd3307706fe483c0b797 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Sun, 25 Nov 2007 18:32:02 +0200 Subject: Add instructions for using gitweb. --- gitweb.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 gitweb.conf (limited to 'gitweb.conf') diff --git a/gitweb.conf b/gitweb.conf new file mode 100644 index 0000000..83cde79 --- /dev/null +++ b/gitweb.conf @@ -0,0 +1,20 @@ +# Include the global configuration, if found. +do "/etc/gitweb.conf" if -e "/etc/gitweb.conf"; + +# Point to projects.list file generated by gitosis. +# Here gitosis manages the user "git", who has a +# home directory of /srv/example.com/git +$projects_list = "/srv/example.com/git/repositories/gitosis-admin.git/projects.list"; + +# Where the actual repositories are located. +$projectroot = "/srv/example.com/git/repositories"; + +# By default, gitweb will happily let people browse any repository +# they guess the name of. This may or may not be what you wanted. I +# choose to allow gitweb to show only repositories that git-daemon +# is already sharing anonymously. +$export_ok = "git-daemon-export-ok"; + +# A list of base urls where all the repositories can be cloned from. +# Easier than having per-repository cloneurl files. +@git_base_url_list = ('git://example.com'); -- cgit v1.2.3