Installed GitWeb and CGit to tryout web interfaces to my Git/Gitosis repositories. Runing on Fedora 13 and my Gitosis is working great. I installed gitweb and cgit and setup the configs to point to my repositories but neither gitweb or cgi will list the repositories. Gitweb shows the gitweb page but shows:
404 - No projects found
I have the proper directory listed in the /etc/gitweb.conf file of:
$projectroot = "/var/lib/gitosis/repositories";
$projects_list = "/var/lib/gitosis/gitosis/projects.list";
$export_ok="";
$strict_export = "true";
CGit shows the cgit page but shows:
Not a git repository: '/var/lib/gitosis/repositories/code/test.git'
when I click on this test repository link (yes it exists). I have the proper directory listed in the /etc/cgitrc file of:
repo.url=Test Repo
repo.path=/var/lib/gitosis/repositories/code/test.git
repo.desc=master test repository
repo.owner=gitosis@gitserv
repo.readme=info/web/about.html
Because both do not list the repositories I feel it must be my configuration but I can not seem to figure out what to config to get these to display. I have my repositories SymLinked in /var/lib/gitosis/repositories which points to a directory /home/git. I also have my repositories set under /var/lib/gitosis/repositories as code and conf and docs which you check out with code/test.git or conf/test.git or docs/test.git. I thought this might be the problem and copied the repos directly into /var/lib/gitosis/repositories dir but they still did not display. Please can anyone point me at anything I can try to get this working. Been at it for days.