[DOC] Improve wording for pgm-init

Clarify the behaviour on re-running init on existing
sites.

Change-Id: I63f63464fb4d89470405002ef5f434034648420b
This commit is contained in:
Björn Pedersen
2016-05-02 13:53:52 +02:00
committed by David Pursehouse
parent 4ad6bef7a2
commit 90200ef368

View File

@@ -1,7 +1,7 @@
= init = init
== NAME == NAME
init - Initialize a new Gerrit server installation init - Initialize/Upgrade a Gerrit server installation
== SYNOPSIS == SYNOPSIS
-- --
@@ -25,13 +25,14 @@ for some basic setup prior to writing default configuration files
into a newly created `$site_path`. into a newly created `$site_path`.
If run in an existing `$site_path`, init will upgrade some resources If run in an existing `$site_path`, init will upgrade some resources
as necessary. (e.g. DB schema, plugins) as necessary.
== OPTIONS == OPTIONS
--batch:: --batch::
Run in batch mode, skipping interactive prompts. Reasonable Run in batch mode, skipping interactive prompts. For a fresh
configuration defaults are chosen based on the whims of install, reasonable configuration defaults are chosen based
the Gerrit developers. on the whims of the Gerrit developers. On upgrades, the settings
in gerrit.config are respected.
+ +
If during a schema migration unused objects (e.g. tables, columns) If during a schema migration unused objects (e.g. tables, columns)
are detected they are *not* automatically dropped, but only a list of are detected they are *not* automatically dropped, but only a list of