commit | 910cc417a0450af433925261c35fb34d118d6875 | [log] [tgz] |
---|---|---|
author | Tao Zhou <taoalpha@google.com> | Thu May 14 09:45:47 2020 +0200 |
committer | Tao Zhou <taoalpha@google.com> | Thu May 14 07:48:29 2020 +0000 |
tree | b0ebf2077a810b641c6fe899e13d5d9382d094b3 | |
parent | 38403592665404564a86333847caab8e6dd735da [diff] |
Use iife format when bundling assets to avoid naming collision Bug: Issue 12744 Change-Id: Ie995f0817b0201b02e81bb5106fed9fe4989abfc
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/
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