Clone this repo:


  1. e1aabed Use @open-wc/testing by Gavin Mak · 1 year, 9 months ago main
  2. 76887cd Making landingwidget more configurable by Emmanuel Ketsri · 1 year, 11 months ago
  3. 6f54688 [landingwidget] Add Makefile. by Joanna Wang · 2 years, 1 month ago
  4. 3e06c6e Use Flogger for writing logs by Edwin Kempin · 2 years, 2 months ago
  5. 0c7f4af Fix landingwidget with multiple versions by Gavin Mak · 2 years, 7 months ago

LandingWidget Plugin for Gerrit


This plugin must be placed inside the Gerrit plugins directory:

git clone --recurse-submodules
cd gerrit/plugins
git clone

Web Plugin Development

Run the commands below in web/.

For running 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 build the JavaScript bundle and copies it to the plugins/landingwidget folder:

make build

and let the Dev Helper redirect from .+/plugins/landingwidget/static/landingwidget.js to http://localhost:8081/plugins_/plugins/landingwidget.js.

Note for local testing: this plugin fetches from an external site which may be blocked by CORS policy.