Re: GSoC 2010: "Integrated Web Client for git" proposal

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Sunday, April 18, 2010 - 10:50 am

On Sun, Apr 18, 2010, Petr Baudis wrote:
 

So it is intended, I guess, more like git-instaweb or webmin, not like
administrative parts of Girocco (or repo.or.cz), GitHub, Gitorious or
InDefero.  Probably authentication and authorization would not be needed
then, if it is to be run as web interface but locally...
 

Well, there is also copy'n'paste of code as a last resort.  

I guess that git-gui and gitk duplicate some of their functionality
(and only git-gui is split; gitk is monolitic single file, even larger
than gitweb: 320KB vs 220KB).

                                              ^^^^^^^^^^-- ???
But what?

Yes, it is not as elegant as "require", and you have to catch errors
in "do"-ed file yourself (as described at the end of `perldoc -f do`).


True.


Currently to install gitweb you have to copy *one* script, and a few
static files (2 x image, CSS, JavaScript).  You can configure it using
"make gitweb" with appropriate options, you can simply edit gitweb script,
or you can leave this to the gitweb config file.

There are quite a few requirements that gitweb should fulfill:
* It must be able to install without admin rights, and requirng to
  install Perl modules system wide.  We can rely on core Perl modules,
  on git core and possibly on perl-Git being installed.
* It must be able to install without editing web server config file,
  nor setting environment variables for the user account that is used
  by the web server (e.g. 'apache', or 'web', or 'nobody').
* Possibly also it should be easy to install gitweb "by hand", without
  requirng to use build system.
* Any automatic installation target must take into account that gitweb
  must run on many web servers (Apache as CGI, Apache as mod_perl, nginx,
  lighttpd, IIS, Moongose, Webrick,...) and on many distributions and
  operating systems (where location of server, and server configuration
  might differ).  But I guess we can borrow some code from git-instaweb.sh


Also there is a question _how_ to split gitweb into modules, 
e.g. whether to follow SVN::Web example on how gitweb (Git::Web?) should
be split.  But I guess any splitting would suffice; we need to provide
a way to build and install split gitweb.  

Split can be as simple as:

  Makefile, or Makefile.PL, or Build.PL
  gitweb.perl
  static/git-logo.png
  static/git-favicon.png
  static/gitweb.css
  static/gitweb.js
  lib/Gitweb/Utils.pm   (Gitweb::Utils)
  lib/Gitweb/Editor.pm  (Gitweb::Editor, for GSoC2010, if it gets accepted)

-- 
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
GSoC 2010: "Integrated Web Client for git" proposal, Christian Couder, (Wed Apr 14, 9:30 pm)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Sun Apr 18, 1:52 am)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Jakub Narebski, (Sun Apr 18, 10:50 am)
GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Sun Apr 18, 11:35 pm)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Sun Apr 18, 11:46 pm)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Mon Apr 19, 12:38 am)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Mon Apr 19, 5:57 am)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Mon Apr 19, 10:55 am)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Mon Apr 19, 11:03 am)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Mon Apr 19, 11:10 am)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Tue Apr 20, 5:17 am)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Wed Apr 21, 1:49 pm)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Thu Apr 22, 2:53 pm)
Re: GSoC 2010: "Integrated Web Client for git" proposal, Pavan Kumar Sunkara, (Thu Apr 22, 10:42 pm)