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

Re: [PATCH 1/2] instaweb: allow for use of auto-generated scripts

From
EWEric Wong <normalperson@yhbt.net>
Date
Oct 14, 2007, 09:49 UTC
Message-ID
<20071014094922.GA20297@soma>
In-Reply-To
<55e906d58f15c79c61d83ad4c52ef085de8ad736.1191687881.git.mike@csa.net>
mike@csa.net wrote:
Show 6 quoted lines
> this patch allows scripts that reside in $fqgitdir/gitweb to be used
> for firing up an instaweb server. this lays the groundwork for
> extending instaweb support to non-standard web servers, which may
> require a script for proper invocation.
> 
> Signed-off-by: Mike Dalessio <mike@csa.net>
Thanks, sorry for the late reply, it slipped my mind for a while.
Both patches in this series:
Acked-by: Eric Wong <normalperson@yhbt.net>
Show 20 quoted lines
> ---
>  git-instaweb.sh |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/git-instaweb.sh b/git-instaweb.sh
> index b79c6b6..42d9c34 100755
> --- a/git-instaweb.sh
> +++ b/git-instaweb.sh
> @@ -37,7 +37,9 @@ start_httpd () {
>  	else
>  		# many httpds are installed in /usr/sbin or /usr/local/sbin
>  		# these days and those are not in most users $PATHs
> -		for i in /usr/local/sbin /usr/sbin
> +		# in addition, we may have generated a server script
> +		# in $fqgitdir/gitweb.
> +		for i in /usr/local/sbin /usr/sbin "$fqgitdir/gitweb"
>  		do
>  			if test -x "$i/$httpd_only"
>  			then
> -- 
-- 
Eric Wong
Previous: mike@csa.net
Message 8 of 8 in “instaweb: added support Ruby's WEBrick server”
  1. instaweb: added support Ruby's WEBrick servermike dalessio, Sep 18, 2007
  2. Eric WongSep 18, 2007
  3. Junio C HamanoSep 18, 2007
  4. David SymondsSep 19, 2007
  5. Johannes SchindelinSep 19, 2007
  6. 1/2 instaweb: allow for use of auto-generated scriptsmike@csa.net, Oct 6, 2007
  7. 2/2 instaweb: support for Ruby's WEBrick servermike@csa.net, Oct 6, 2007
  8. Eric WongOct 14, 2007

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.