gerrit update

下载最新版本的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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值