Document that gitweb.type must be set

Bug: Issue 8557
Change-Id: I72cedfa24d78f19c1033940f434cc23c380713d8
This commit is contained in:
David Pursehouse 2018-03-16 09:47:32 +09:00
parent 312e973bca
commit f7c63f620a
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@ which is a common installation path for the 'gitweb' package on
Linux distributions.
----
git config -f $site_path/etc/gerrit.config gitweb.type gitweb
git config -f $site_path/etc/gerrit.config gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
git config -f $site_path/etc/gerrit.config --unset gitweb.url
----
@ -28,6 +29,7 @@ for serving gitweb under a different URL than the Gerrit instance.
To enable this feature, set both: `gitweb.cgi` and `gitweb.url`.
----
git config -f $site_path/etc/gerrit.config gitweb.type gitweb
git config -f $site_path/etc/gerrit.config gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
git config -f $site_path/etc/gerrit.config gitweb.url /pretty/path/to/gitweb
----
@ -220,6 +222,7 @@ being used, ensure it uses a full mirror, so the `+refs/changes/*+`
namespace is available.
----
git config -f $site_path/etc/gerrit.config gitweb.type gitweb
git config -f $site_path/etc/gerrit.config --unset gitweb.cgi
git config -f $site_path/etc/gerrit.config gitweb.url https://gitweb.corporation.com
----