Write gitweb projects.list to ~/gitosis, not inside the gitosis-admin repo.
commit2078a0c828a064d0e12eed9110c3f71237a3d022
authorTommi Virtanen <tv@eagain.net>
Wed, 28 Nov 2007 22:40:34 +0000 (29 00:40 +0200)
committerTommi Virtanen <tv@eagain.net>
Wed, 28 Nov 2007 22:40:34 +0000 (29 00:40 +0200)
tree73f85e3d7b887241e78508f253cfbac9e317ec01
parent6ab2aa0a4bc0d67b7ba1cd3307706fe483c0b797
Write gitweb projects.list to ~/gitosis, not inside the gitosis-admin repo.

This allows running gitweb as a separate user without needing to allow it
read access to gitosis-admin.git. Running as separate user will still most
likely require a ``chgrp www-data`` of the relevant repositories, but
nothing not already decided public needs to be exposed.

Existing gitweb users will need to adjust their gitweb.conf to point to
the new location of the projects.list file.

Removing the old projects.list from
~git/repositories/gitosis-admin.git/projects.list is safe once gitweb
has switched to using the new location.
gitosis/run_hook.py
gitosis/serve.py
gitosis/test/test_serve.py
gitosis/util.py
gitweb.conf