commit | ae113ad0a63cc222972e37c49cd226425049a717 | [log] [tgz] |
---|---|---|
author | Gavin Mak <gavinmak@google.com> | Tue Oct 25 19:52:30 2022 |
committer | Gavin Mak <gavinmak@google.com> | Wed Oct 26 18:34:30 2022 |
tree | fc6e571c6fcbba8c91ac21a4f0b6bb911a8fa0ba | |
parent | f86d5069c380e43933f253d008414ff6f929ed00 [diff] |
Add corp comment warner Warn users of any corp links in comments before they post. Bug:b/253074243 Change-Id: I19aafe3049bc87df20781c73c86cbfcd752a72dd
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
.