gerrit update

来源:互联网 发布:南风知我意琰阙书包网 编辑:程序博客网 时间:2024/05/01 19:11

下载最新版本的gerrit,然后

zww@pc11307-HP:~$ java -jar soft/gerrit-2.6-rc0.war init -d /home/zww/gerrit_sites/


*** Gerrit Code Review 2.6-rc0
***


*** Git Repositories
***

Location of Git repositories   [git]:

*** SQL Database
***

Database server type           [h2]:

*** User Authentication
***

Authentication method          [HTTP/?]:
Get username from custom HTTP header [y/N]?
SSO logout URL                 :

*** Email Delivery
***

SMTP server hostname           [smtp.hoperun.com]:
SMTP server port               [25]:
SMTP encryption                [NONE/?]:
SMTP username                  [zww@hoperun.com]:
Change zww@hoperun.com's password [y/N]?

*** Container Process
***

Run as                         [zww]:
Java runtime                   [/home/zww/jdk1.6.0_27/jre]:
Upgrade /home/zww/gerrit_sites/bin/gerrit.war [Y/n]?
Copying gerrit.war to /home/zww/gerrit_sites/bin/gerrit.war

*** SSH Daemon
***

Listen on address              [*]:
Listen on port                 [29418]:

*** HTTP Daemon
***

Behind reverse proxy           [y/N]?
Use SSL (https://)             [y/N]?
Listen on address              [*]:
Listen on port                 [8088]:
Canonical URL                  [http://pc11307-HP:8088/]:

*** Plugins
***

Prompt to install core plugins [y/N]? y
Install plugin reviewnotes version 1.0-rc0 [y/N]? y
Install plugin commit-message-length-validator version 1.0-rc0 [y/N]? y
Install plugin replication version 1.1-rc0 [y/N]? y

Upgrading database schema from version 67 to 68 ...
warning: Cannot create index for submodule subscriptions
Index "SUBMODULE_SUBSCRIPTION_ACCESS_BYSUBSCRIPTION" already exists; SQL statement:
CREATE INDEX submodule_subscription_access_bySubscription ON submodule_subscriptions (submodule_project_name, submodule_branch_name) [42111-168]
Ignore warning and proceed with schema upgrade [y/N]? y
Upgrading database schema from version 68 to 69 ...
Upgrading database schema from version 69 to 70 ...
Upgrading database schema from version 70 to 71 ...
Upgrading database schema from version 71 to 72 ...
Upgrading database schema from version 72 to 73 ...
Upgrading database schema from version 73 to 74 ...
Upgrading database schema from version 74 to 75 ...
Upgrading database schema from version 75 to 76 ...
Upgrading database schema from version 76 to 77 ...
Migrated label types from database to All-Projects project.config
Execute the following SQL to drop unused objects:

  DROP TABLE approval_categories;
  DROP TABLE contributor_agreements;
  DROP TABLE approval_category_values;
  DROP TABLE account_group_includes_audit;
  DROP TABLE account_agreements;
  DROP TABLE account_group_agreements;
  DROP TABLE account_group_includes;
  ALTER TABLE account_groups DROP COLUMN owner_group_id;
  ALTER TABLE account_groups DROP COLUMN external_name;
  ALTER TABLE accounts DROP COLUMN display_patch_sets_in_reverse_order;
  ALTER TABLE accounts DROP COLUMN display_person_name_in_review_category;
  ALTER TABLE changes DROP COLUMN nbr_patch_sets;
  ALTER TABLE tracking_ids DROP COLUMN tracking_id;

Execute now [Y/n]?
Initialized /home/zww/gerrit_sites
zww@pc11307-HP:~$ ./gerrit_sites/bin/gerrit.sh startStarting Gerrit Code Review: OK


原创粉丝点击