Add '--list-plugins' option to init step

'--list-plugins' option will show all plugins that are included in
distributed war file.

This option will be useful with '--install-plugins' (added by follow up
commit) to enable automated plugin installation during Gerrit site
initialization.

Change-Id: I7e5847637324fcc1c58ba7acb1049ba5f71d8710
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
This commit is contained in:
Dariusz Luksza
2013-07-15 11:06:00 +02:00
parent 66ad65e7ea
commit b8aae53c7a
3 changed files with 99 additions and 66 deletions

View File

@@ -12,6 +12,7 @@ SYNOPSIS
-d <SITE_PATH>
[\--batch]
[\--no-auto-start]
[\--list-plugins]
DESCRIPTION
-----------
@@ -45,6 +46,9 @@ objects these SQL statements have to be executed manually.
Location of the gerrit.config file, and all other per-site
configuration data, supporting libraries and log files.
\--list-plugins::
Print names of plugins that can be installed during init process.
CONTEXT
-------
This command can only be run on a server which has direct