commit | 9535976ac6ebcd11d8f79e7e154908b7f678133e | [log] [tgz] |
---|---|---|
author | Joanna Wang <jojwang@google.com> | Tue Apr 02 21:27:40 2024 |
committer | Joanna Wang <jojwang@google.com> | Tue Apr 02 21:27:40 2024 |
tree | b0e9abbdc0061614f98a6c3b0348448c8b9fc17d | |
parent | 01a5cc16867baef20935f72c3388a5454352293b [diff] |
Skip CQ on revert with OK on popup. Bug: 40285311 Change-Id: I294e7061a9ff5ff88b0c7482474558157db9b094
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
.