Clone this repo:
  1. 426aa63 Remove porting Issue/Bug footers by Dhruv Srivastava · 3 weeks ago main
  2. 60bd3c8 chromium-behavior: import lit/decorators.js by Gavin Mak · 5 months ago
  3. 511685c Publish drafts from all revisions with quick approve by Milutin Kristofic · 8 months ago
  4. 23abcad Don't show 'CODE-REVIEW+1' button on your own CLs by Ben Pastene · 9 months ago
  5. c1a38c7 Disable corp link warning for internal hosts by Gavin Mak · 1 year, 2 months ago

Chrome/Chromium behavior theme for Gerrit

Setup

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

Web Plugin Development

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.