So I have set up a simple server running debian stable (squeeze), and have configured git.
Using gitolite, I have all functionality (at least the basic clone/push/pull/commit) working.
Installation of gitweb went without any issues. However, when I access gitweb, I get a gitweb screen without any repos listed.
# tail -n 1 /var/log/apache2/error.log [DATE] [error] [client IP_ADDRESS] fatal: Not a git repository: '/var/lib/gitolite/repositories/testrepo.git' # cd /var/lib/gitolite/repositories/testrepo.git # ls branches config HEAD hooks info objects refs
Here is what I see in
What is missing?
EDIT: Figured it out, when I had chmod'd the repository I had forgotten to add the -R switch! I changed the umask but this was not retroactive... and forgot that chmod would only change the directory and not any of the contents.
@VonC, thank you for your config. Though configuration wasn't the issue, I did get some good ideas beyond my very minimal current config. I'd vote you up, but I can't yet.