Clone this repo:

Branches

  1. 2556d3f Adapt plugin to new ProjectResource API by Patrick Hiesel · 5 weeks ago master
  2. dbd40ce Move landingwidget inside plugin-style block by Aaron Gable · 6 months ago
  3. 38b94b6 Always return Promise in getProjectConfig by Viktar Donich · 9 months ago
  4. 9ab4a18 Serve HTTP 204 for empty config and handle it at the client side by Viktar Donich · 9 months ago
  5. 8a92897 Make landingwidget work in PolyGerrit by Viktar Donich · 10 months ago

LandingWidget Plugin for Gerrit

To use with the local testsite

ln -s /path/to/landingwidget-plugin plugins/landingwidget
bazel build plugins/landingwidget && \
  cp buck-out/gen/plugins/landingwidget/landingwidget.jar ../gerrit_testsite/plugins/ && \
  ../gerrit_testsite/bin/gerrit.sh restart

To use with the polygerrit-ui server against live data

mkdir -p polygerrit-ui/app/plugins/landingwidget
ln -s /path/to/landingwidget-plugin/src/main/resources/static polygerrit-ui/app/plugins/landingwidget/static
./polygerrit-ui/run-server.sh -host chromium-review.googlesource.com