Skip to content

git-instaweb: Improving handling of --start/--restart

Jakub Narebski git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4git-instaweb: Extract configuring web server into configure_httpdgit-instaweb.sh+25 -210 replies
2/4git-instaweb: Use $conf, not $fqgitdir/gitweb/httpd.confgit-instaweb.sh+2 -20 replies
3/4git-instaweb: Move all actions at the end of scriptgit-instaweb.sh+20 -70 replies
4/4git-instaweb: Check that correct config file exists for (re)startDocumentation/git-instaweb.txt git-instaweb.sh+11 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] git-instaweb: Improving handling of --start/--restart

This series fixes the issue reported by Gurheet Singh in "Having some problem with instaweb", in that --start/--restart doesn't generate configuration, which is documented:

start, --start
Start the httpd instance and exit. This does not generate any of the configuration files for spawning a new instance.

but unexpected.

The first three patches are independent refactoring to make final change smaller and easier to review, thoug they have merit even taken standalone.

---
Jakub Narebski (4):
git-instaweb: Check that correct config file exists for (re)start
git-instaweb: Move all actions at the end of script
git-instaweb: Use $conf, not $fqgitdir/gitweb/httpd.conf
git-instaweb: Extract web server configuration into configure_httpd

 Documentation/git-instaweb.txt |    8 ++--
 git-instaweb.sh                |   84 ++++++++++++++++++++++++++--------------
 2 files changed, 58 insertions(+), 34 deletions(-)
Signature · 3 lines
Jakub Narebski
ShadeHawk on #git
Poland