commit | c1a38c72d3e19c8a7864c8c651404892be2997f3 | [log] [tgz] |
---|---|---|
author | Gavin Mak <gavinmak@google.com> | Fri Jul 19 17:53:01 2024 |
committer | Gavin Mak <gavinmak@google.com> | Fri Jul 19 17:53:01 2024 |
tree | f142519271d8d0db1f765b67608b85aebc9a22e4 | |
parent | 9535976ac6ebcd11d8f79e7e154908b7f678133e [diff] |
Disable corp link warning for internal hosts The warning only needs to show on public Gerrit hosts. Bug: b/354060509 Change-Id: I3bcc83a9cfa6a05d59fc2be36ce7551b0fee7897
This plugin must be placed inside the Gerrit plugins directory:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit/plugins git clone https://chromium.googlesource.com/infra/gerrit-plugins/chromium-behavior
Run the commands below in web/.
For running TypeScript unit tests execute:
make test
For checking or fixing eslint formatter problems run:
make lint_test make lint_fix
For testing the plugin with Gerrit FE Dev Helper the command below builds the JavaScript bundle and copies it to the plugins/chromium-behavior
folder:
make build
Start polygerit-ui server:
./polygerrit-ui/run-server.sh --plugins="plugins"
and let the Dev Helper redirect from .+/plugins/chromium-behavior/static/chromium-behavior.js
to http://localhost:8081/plugins/chromium-behavior.js
.