Issue 330: implement gerrit init command to setup a new server
Status:  Released
Owner: ----
Closed:  Oct 2012

Blocked on:
issue 323
Reported by sop+code@google.com, Nov 11, 2009
We should simplify server setup so its roughly:

  wget http://gerrit.googlecode.com/files/gerrit-2.0.24.2.war
  java -jar gerrit-2.0.24.2.war init -d my_site
  # maybe edit some stuff in my_site/gerrit.config
  java -jar gerrit-2.0.24.2.war daemon -d my_site

Ideally the init command takes on CreateSchema's work, but also:

* Creates $site_path if it doesn't exist.
* Writes a skeleton gerrit.config if it doesn't exist.
* Creates gerrit.basePath if it doesn't exist.
* Generates the SSH daemon keys if they don't exist.
* Imports any Git repositories found.
* Helps download optional dependencies admin wants to use ( issue 323 )
* Uses interactive prompts to get authentication roughly configured:
  - Type of auth: OpenID, LDAP, HTTP
  - Gather LDAP server information
  - Confirm LDAP server information works

Nov 11, 2009
#1 sop+code@google.com
* Also needs to create secondary indexes on tables (which is not done by CreateSchema)
Nov 12, 2009
#2 sop+code@google.com
Developed in change I3d6e8f9f5fea8bfc78f6dfb1fc8f284bebfba670.
Status: Started
Labels: Milestone-Next
Nov 17, 2009
#3 sop+code@google.com
Change I3d6e8f9f5fea8bfc78f6dfb1fc8f284bebfba670
Status: Fixed
Labels: -Milestone-Next FixedIn-2.0.25
Dec 18, 2009
#4 sop@google.com
(No comment was entered for this change.)
Labels: FixedIn-2.1
Oct 21, 2012
#5 sop@google.com
(No comment was entered for this change.)
Status: Released
Blockedon: -gerrit:323 gerrit:323