RETIRED, Gerrit as used by OpenStack
Go to file
Jonathan Nieder 4793fd48c5 Do not use system gitweb.cgi when gitweb URL set, cgi unset
Until 1b2d47e7a2 (Extract CGI
configuration from GitWebConfig, 2015-06-12), setting

	[gitweb]
		url = url://of/my/gitweb/instance
		; cgi not set

was a way to request use of an externally managed gitweb instance
instead of the internal GitwebServlet.  That patch accidentally
dropped support for that configuration, though it mostly worked if
/usr/lib/cgi-bin/gitweb.cgi happened to be missing or non-executable.

Noticed by running gitweb in such a configuration with
/usr/lib/cgi-bin/gitweb.cgi present and executable.  GitwebServlet
failed to provision because I do not use LocalDiskRepositoryManager
and gerrit.basepath was not set.

 Unexpected exception caught during GET localhost/
 com.google.inject.ProvisionException: Unable to provision, see the following errors:

 1) Error injecting constructor, java.lang.IllegalStateException: gerrit.basePath must be configured
    at com.google.gerrit.server.git.LocalDiskRepositoryManager.<init>(LocalDiskRepositoryManager.java:146)
    at com.google.gerrit.server.git.LocalDiskRepositoryManager.class(LocalDiskRepositoryManager.java:69)
    while locating com.google.gerrit.server.git.LocalDiskRepositoryManager
     for parameter 0 at com.google.gerrit.httpd.gitweb.GitwebServlet.<init>(GitwebServlet.java:111)
    at com.google.gerrit.httpd.gitweb.GitwebServlet.class(GitwebServlet.java:85)
    while locating com.google.gerrit.httpd.gitweb.GitwebServlet

Change-Id: I6aeecd2d6230711eb45a85abbd0000f663f95d74
2015-06-19 18:11:16 -07:00
.settings Enable Eclipse Javadoc warnings about malformed syntax 2015-06-13 12:52:20 +00:00
bucklets Rename __standalone_mode__ to STANDALONE_MODE 2014-11-24 08:44:12 +00:00
contrib Fix minor python code style issues 2014-12-18 02:51:06 +00:00
Documentation Merge "Related Changes: Strike through abandoned changes" 2015-06-19 07:18:23 +00:00
gerrit-acceptance-tests Related Changes: Add status of each related change to REST API 2015-06-18 11:44:42 -07:00
gerrit-antlr Kill @Rewrite support in queries 2015-05-27 03:55:33 +00:00
gerrit-cache-h2 Merge branch 'stable-2.11' 2015-04-30 11:56:32 +09:00
gerrit-common Enable Eclipse Javadoc warnings about malformed syntax 2015-06-13 12:52:20 +00:00
gerrit-extension-api Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
gerrit-gwtdebug Organize imports 2014-12-18 11:16:03 +09:00
gerrit-gwtexpui gerrit-gwtexpui: Convert tests to use Google Truth 2015-06-04 09:49:11 +09:00
gerrit-gwtui Related Changes: Strike through abandoned changes 2015-06-18 15:52:24 -07:00
gerrit-gwtui-common Remove unused parseJSON method 2015-06-04 02:41:09 +00:00
gerrit-httpd Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
gerrit-launcher Replace C-style array declarations with Java-style declarations 2015-03-19 12:15:43 +09:00
gerrit-lucene Lucene: Prohibit searching empty string over a full-text field 2015-05-29 12:19:12 -07:00
gerrit-main Replace C-style array declarations with Java-style declarations 2015-03-19 12:15:43 +09:00
gerrit-oauth Merge branch 'stable-2.10' into stable-2.11 2015-05-07 10:37:48 +09:00
gerrit-openid Merge branch 'stable-2.10' into stable-2.11 2015-05-07 10:37:48 +09:00
gerrit-patch-commonsnet Replace 'for' loop with 'foreach' 2013-12-04 01:02:53 +04:00
gerrit-patch-jgit Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-pgm ErrorLogFile: Call ConsoleAppender.activateOptions() 2015-06-09 15:47:38 -07:00
gerrit-plugin-api Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
gerrit-plugin-archetype Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
gerrit-plugin-gwt-archetype Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
gerrit-plugin-gwtui Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
gerrit-plugin-js-archetype Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
gerrit-prettify Add missing braces around if- for- and while-statements 2015-03-19 12:15:42 +09:00
gerrit-reviewdb Declare guava and junit as exported deps of Google Truth 2015-06-04 09:41:17 +09:00
gerrit-server Do not use system gitweb.cgi when gitweb URL set, cgi unset 2015-06-19 18:11:16 -07:00
gerrit-solr IndexConfig: Configure maxLimit from Config 2015-04-23 11:30:13 -07:00
gerrit-sshd Enable Eclipse Javadoc warnings about malformed syntax 2015-06-13 12:52:20 +00:00
gerrit-util-cli Add missing braces around if- for- and while-statements 2015-03-19 12:15:42 +09:00
gerrit-util-http RequestUtilTest: Convert to use Google Truth 2015-06-04 09:41:29 +09:00
gerrit-util-ssl Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-war Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
lib Merge "Merge branch 'stable-2.11'" 2015-06-13 12:48:18 +00:00
plugins Merge branch 'stable-2.11' 2015-06-12 18:06:13 +09:00
ReleaseNotes Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
tools Buck: Remove unused dependency in mvn python_binary rule 2015-06-18 00:31:52 +02:00
website/releases Update out of date hyperlinks 2015-06-17 22:38:13 +00:00
.buckconfig Buck: Disable cast checking in GWT compiler only in release mode 2015-06-05 18:47:06 +02:00
.buckversion Update Buck to newest version 2015-05-10 20:03:16 +02:00
.editorconfig Add basic EditorConfig 2015-03-03 07:12:16 +00:00
.gitignore Revert "Add UNIT_TEST_GERRIT_SITE to .gitignore" 2015-04-27 14:49:03 +09:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.mailmap Update mailmap 2015-04-08 07:50:41 +00:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
.watchmanconfig Watchman: Add buck-out dir to ignored directories 2014-08-21 07:32:37 +02:00
BUCK Buck: Simplify build rules 2015-06-17 21:42:42 +02:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Set version to 2.11.1 2015-05-08 14:43:55 +09:00