Hmmm... doesn't look so easy. What to do about simultaneous access
(what webmin does?), and working directory (what ikiwiki does?)?
Well, you can always add some of "Web Client" functionality directly
to gitweb (for example dispatch must be, I think, in gitweb). Or you
can (ab)use "do $gitwebgui_pm;" instead of "require $gitwebgui_pm;",
like in http://repo.or.cz/w/git/jnareb-git.git/commitdiff/261b99e3#patch3
(second chunk).
OTOH we can always make gitweb "use Git;" and move some of its routines,
to it after generalization (e.g. config management using single run of
"git config -l -z", unquoting paths, parsing commit/tag/ls-tree/difftree
etc., date parsing and conversion).
BTW. the major thing that prevented me from using Git.pm was the few
places that gitweb uses pipeline, or needs to redirect STDERR to
/dev/null. Also t9700-perl-git.sh test doesn't test command_output_pipe
and the like.
Well, at least someone who would be able to manage integrating split
gitweb. I think that splitting gitweb, and doing it well, is quite
outside this GSoC 2010 proposal: it would be too much.
--
Jakub Narebski
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html