commit | 1da800d0f85fa6a10743f27a1561cf99845c99dd | [log] [tgz] |
---|---|---|
author | Joanna Wang <jojwang@google.com> | Thu Feb 01 15:10:55 2024 |
committer | Joanna Wang <jojwang@google.com> | Thu Feb 01 15:10:55 2024 |
tree | 448dffe8af112354852f7632e9beffea4acd557d | |
parent | f16cadac6e6c3d586bbe979f3ab32da6ff098461 [diff] |
Add confirm popup for option to skip CQ. Bug:chromium:1491911 Change-Id: Ie97c50c2105b6a4cdd19fd4f17f06ba011a62b1b
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
.