gitweb: Proof of concept of PSGI interface
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | gitweb: Jump do DONE_REQUEST not DONE_GITWEB on errorgitweb/ | +5 | 0 replies | |
| 2/5 | gitweb: Prepare for splitting gitwebgitweb/ gitweb/ | +21 | 0 replies | |
| 3/5 | gitweb: Enable running gitweb as PSGI app, via CGI::Emulate::PSGIDocumentation/ gitweb/ gitweb/ +1 more | +107 | 0 replies | |
| 4/5 | gitweb.psgi: Allow passing arguments to Plack::Runnergitweb/ | +2 | 0 replies | |
| 5/5 | git-instaweb: Use new PSGI interface mode of gitwebgit-instaweb.sh | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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