commit | 8cf841baccce50c7bd07e05b2fce3523a623478a | [log] [tgz] |
---|---|---|
author | Youssef Elghareeb <ghareeb@google.com> | Wed Jun 09 15:14:33 2021 +0200 |
committer | Youssef Elghareeb <ghareeb@google.com> | Wed Jun 09 15:14:33 2021 +0200 |
tree | 7766c1f20ed1331805891a5c45195aed682fd3ab | |
parent | 30220d5e4b8f35a3ae58cebfb5cbf38bdd0c3304 [diff] |
Adapt to changes in Gerrit core Adapt to implementing a fake index, specifically change I4bfff345. Change-Id: Ifecc617be9ca5f28a936c2df24b9b6ff7b4593fb
This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.
When upgrading the plugin, please use init:
java -jar gerrit.war init -d site_path
More details about “init” in https://gerrit-review.googlesource.com/Documentation/pgm-init.html
To run UI tests here will need install dependencies from both npm and bower.
npm run wct-test
should take care both for you, read more in package.json
.
You will need polymer-bridges
which is a submodule you can clone from: https://gerrit-review.googlesource.com/admin/repos/polymer-bridges
bazel build gr-checks:gr-checks
gerrit/plugins/checks/
folder and it will automatically served at http://localhost:8081/plugins_/checks/
(no need to pass it to --plugins flag)If your plugin is already enabled, then you can block it and then inject the compiled local verison.
See more about how to use dev helper extension to help you test here: https://gerrit.googlesource.com/gerrit-fe-dev-helper/+/master