Skip to content

gitweb: Proof of concept of PSGI interface

Jakub Narebski git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gitweb: Jump do DONE_REQUEST not DONE_GITWEB on errorgitweb/gitweb.perl+5 -40 replies
2/5gitweb: Prepare for splitting gitwebgitweb/Makefile gitweb/gitweb.perl+21 -10 replies
3/5gitweb: Enable running gitweb as PSGI app, via CGI::Emulate::PSGIDocumentation/gitweb.txt gitweb/INSTALL gitweb/README +1 more+107 -50 replies
4/5gitweb.psgi: Allow passing arguments to Plack::Runnergitweb/gitweb.perl+2 -10 replies
5/5git-instaweb: Use new PSGI interface mode of gitwebgit-instaweb.sh+7 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH 0/5] gitweb: Proof of concept of PSGI interface

The major goal of this series is to make it possible for gitweb to run as PSGI application, even if non-native (emulated).

PSGI[1][2] is an interface between Perl web applications and web servers. It is accompanied by Plack, a Perl module and toolkit that contains PSGI middleware (e.g. for serving static files), helpers (e.g. 'plackup' command line launcher) and adapters to web servers (e.g. to CGI, FastCGI, or mod_perl). PSGI and Plack are inspired by Python's WSGI and Ruby's Rack.

[1]: http://plackperl.org
[2]: http://search.cpan.org/perldoc?PSGI
[3]: http://advent.plackperl.org

First two patches are independent improvements, and make sense even outside this patch series. Last patch is making use of gitweb as PSGI in "git instaweb --httpd=plackup".

Jakub Narebski (5):
gitweb: Jump do DONE_REQUEST not DONE_GITWEB on error
gitweb: Prepare for splitting gitweb
gitweb: Enable running gitweb as PSGI app, via CGI::Emulate::PSGI gitweb.psgi: Allow passing arguments to Plack::Runner
git-instaweb: Use new PSGI interface mode of gitweb

 Documentation/gitweb.txt |   16 +++++++
 git-instaweb.sh          |   33 +++------------
 gitweb/INSTALL           |    3 +
 gitweb/Makefile          |   14 ++++++-
 gitweb/README            |   13 +++++-
 gitweb/gitweb.perl       |   98 +++++++++++++++++++++++++++++++++++++++++++---
 6 files changed, 141 insertions(+), 36 deletions(-)
Signature · 1 line
1.7.9