Clone this repo:
  1. 7d04985 Add 'Failure Link:' to revert template by Sam Maier · 3 weeks ago main
  2. 7ee7596 Remove rmistry from WATCHLISTS. by Ravi Mistry · 6 weeks ago
  3. 6921101 Remove corp warner functionality by Allen Li · 3 months ago
  4. d8516e0 Suggest googlesource replacement for .git.corp URLs. by Joey Scarr · 3 months ago
  5. a7c3101 Trigger before approve handlers for our replacement action. by Allen Li · 7 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.