aboutsummaryrefslogtreecommitdiff
path: root/gitweb.conf
diff options
context:
space:
mode:
authorTommi Virtanen <tv@eagain.net>2007-11-25 18:32:02 +0200
committerTommi Virtanen <tv@eagain.net>2007-11-25 18:32:02 +0200
commit6ab2aa0a4bc0d67b7ba1cd3307706fe483c0b797 (patch)
treed432de97767a9fedc056192698dc3eaa8142b659 /gitweb.conf
parentAdd instructions for using git-daemon. (diff)
downloadgitosis-dakkar-6ab2aa0a4bc0d67b7ba1cd3307706fe483c0b797.tar.gz
gitosis-dakkar-6ab2aa0a4bc0d67b7ba1cd3307706fe483c0b797.tar.bz2
gitosis-dakkar-6ab2aa0a4bc0d67b7ba1cd3307706fe483c0b797.zip
Add instructions for using gitweb.
Diffstat (limited to 'gitweb.conf')
-rw-r--r--gitweb.conf20
1 files changed, 20 insertions, 0 deletions
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');