On Thu, May 17, 2007 at 14:40:06 +0200, Petr Baudis wrote: > On Tue, May 15, 2007 at 10:10:06PM CEST, Jan Hudec wrote: > > - Can be run on shared machine. If you have web space on machine shared > > by many people, you can set up your own gitweb, but cannot/are not allowed > > to start your own network server for git native protocol. > > You need to have CGI-enabled hosting, set up the CGI script etc. - > overally, the setup is similarly complicated as git-daemon setup, so > it's not "zero-setup" solution anymore. > > Again, I'm not sure just how many people are in the situation that > they can run real CGI (not just PHP) but not git-daemon. A particular case would be a group of students wanting to publish their software project (I mean the PRG023 or equivalent). Private computers in the hostel are not allowed to serve anything, so they'd use some of the lab servers (eg. artax, ss1000...). All of them allow full CGI, but running daemons is forbiden. > > - Less things to set up. If you are setting up gitweb anyway, you'd not need > > to set up additional thing for providing fetch access. > > Except, well, how do you "set it up"? You need to make sure > git-update-server-info is run, yes, but that shouldn't be a problem (I'm > not so sure if git does this for you automagically - Cogito would...). No. If it worked similar to git-upload-pack, only over http, it would work without update-server-info, no? > I think 95% of people don't set up gitweb.cgi either for their small > HTTP repositories. :-) > > Then again, it's not that it would be really technically complicated - > adding "give me a bundle" support to gitweb should be pretty easy. > However, this support has some "social" costs as well: no compatibility > with older git versions, support cost, confusion between dumb HTTP and > gitweb HTTP transports, more lack of motivation for improving dumb HTTP > transport... The dumb transport is definitely useful. Extending it to use ranges if possible would be useful as well (and maybe more than upload-pack-over-http). -- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature