Description of problem: git-daemon specifies --base-path=/var/lib/git but gitweb.cgi has $projectroot = "/pub/scm" - why not change that to $projectroot = "/var/lib/git" for smoother integration in Fedora? Thanks. Version-Release number of selected component (if applicable): gitweb-1.6.5.2-1.fc12.noarch
Thanks for pointing this out. I agree that we should be setting the same default for gitweb as we do for git-daemon. This is a simple matter of setting GITWEB_PROJECTROOT = %{_var}/lib/git in the spec file. I'll add this for the next build. While I'm at it, I think it might be worth installing an example /etc/gitweb.conf file, to make it easier for folks to learn how to change the defaults.
Having a gitweb.conf is a great suggestion, and in fact having used to cvsweb/cvsweg.cgi/cvsweb.conf I first looked for /etc/gitweb.conf before realizing that I need to modify the script itself to make local configurations. Not sure is cvsweb.conf content related in anyway but perhaps it could provide some hints on what to make configurable. Cheers!
Actually, you don't have to modify the gitweb script. Gitweb already looks for /etc/gitweb.conf and has quite a number of things that you can configure that way. You just need to create the /etc/gitweb.conf file manually -- at least, until I push out git-1.6.6.1-1 which will include an example /etc/gitweb.conf file to give you a head start and point you at sources for further documentation. This is really something that I should make time to suggest upstream and provide a patch to provide. That way, the default config file would be more likely to stay in sync with the gitweb defaults and be shared among other distributions and git users. Thanks for the feedback, much appreciated!
git-1.6.6.1-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/git-1.6.6.1-1.fc12
git-1.6.6.1-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update git'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1489
git-1.6.6.1-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.