Initial version, plus configuration

Reads project-specific file landingwidget.config, see example at
https://chromium-review.googlesource.com/#/c/435846/

Also `disabled = true` may be added to config to disable the widget.

Change-Id: Iac531b4bcae55d615242e7bde101444e055fb607
7 files changed
tree: 4f4fe6017e64415fc270cca61bf9f0416fc1c1ed
  1. src/
  2. BUILD
  3. codereview.settings
  4. LICENSE
  5. README.md
README.md

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