git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/3] git-instaweb: Support for 'plackup' and improvements

From
Jakub Narebski <jnareb@gmail.com>
Date
May 28, 2010, 19:11 UTC
Message-ID
<1275073885-26537-1-git-send-email-jnareb@gmail.com>
This series is based on latest GSoC 2010 work by Pavan Kumar Sunkara,
on commit 72855f7 
  (git-instaweb: Configure it to work with new gitweb structure, 2010-05-21)
in the 'master' branch of git://repo.or.cz/git/gsoc2010-gitweb.git
The relevant patches were lately send to git mailing list as 4-patch
series:
 [PATCH GSoC 1/4] gitweb: Move static files into seperate subdirectory
 [PATCH GSoC 2/4] gitweb: Set default destination directory for
                  installing gitweb in Makefile
 [PATCH GSoC 3/4] git-instaweb: Put httpd logs in a "$httpd_only"
                  subdirectory
 [PATCH GSoC 4/4] git-instaweb: Configure it to work with new gitweb
                  structure
The first patch series is available as
  Message-Id: <1275027952-5057-4-git-send-email-pavan.sss1991@gmail.com>
  http://thread.gmane.org/gmane.comp.version-control.git/147913

The following patches were send as non-chained reply to the first patch (without cover letter).

This series adds support for 'plackup' web server (PSGI/Plack based server script) to git-instaweb. Because the web server (by default pure-Perl HTTP::Server::PSGI aka PLACK_SERVER=Standalone) can take a while to start, it required adding waiting for web server to be ready before starting web browser.

This series also contains somewhat unrelated fixup, namely that git-instaweb removes pidfile after stopping web server. This is probably important only to web servers which do not have daemon mode, and are "daemonized" (which includes generating pidfile) by git-instaweb itself.

Shortlog:
~~~~~~~~~
Jakub Narebski (3):
  git-instaweb: Remove pidfile after stopping web server
  git-instaweb: Wait for server to start before running web browser
  git-instaweb: Add support for running gitweb via 'plackup'
Table of contents:
~~~~~~~~~~~~~~~~~~
 [PATCH 1/3] git-instaweb: Remove pidfile after stopping web server
 [PATCH 2/3] git-instaweb: Wait for server to start before running web browser
 [PATCH 3/3] git-instaweb: Add support for running gitweb via 'plackup'
Diffstat:
~~~~~~~~~
 Documentation/git-instaweb.txt |    2 +-
 git-instaweb.sh                |  177 +++++++++++++++++++++++++++++++++++++++-
 2 files changed, 174 insertions(+), 5 deletions(-)
-- 
Jakub Narebski
Next: Jakub Narebski
Message 1 of 9 in “git-instaweb: Support for 'plackup' and improvements”
  1. 0/3 git-instaweb: Support for 'plackup' and improvementsJakub Narebski, May 28, 2010
  2. 1/3 git-instaweb: Remove pidfile after stopping web serverJakub Narebski, May 28, 2010
  3. 2/3 git-instaweb: Wait for server to start before running web browserJakub Narebski, May 28, 2010
  4. Pavan Kumar SunkaraMay 28, 2010
  5. Jakub NarebskiMay 28, 2010
  6. 3/3 git-instaweb: Add support for running gitweb via 'plackup'Jakub Narebski, May 28, 2010
  7. Eric WongMay 29, 2010
  8. Eric WongMay 29, 2010
  9. Petr BaudisMay 31, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.