Serve HTTP 204 for empty config and handle it at the client side

Change-Id: I237dfa975459344ef011edcfc67da9714a60cced
Reviewed-on: https://chromium-review.googlesource.com/441370
Reviewed-by: Aaron Gable <agable@chromium.org>
2 files changed
tree: 1c4640ca84b4cecaedf9591ecfb20d4704bc9716
  1. src/
  2. BUCK
  3. BUILD
  4. codereview.settings
  5. LICENSE
  6. README.md
README.md

ChumpDetector Plugin for Gerrit

To use with the local testsite

ln -s /path/to/chumpdetector-plugin plugins/chumpdetector
NO_BUCKD=1 buck build plugins/chumpdetector && \
  cp buck-out/gen/plugins/chumpdetector/chumpdetector.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/chumpdetector
ln -s /path/to/chumpdetector-plugin/src/main/resources/static polygerrit-ui/app/plugins/chumpdetector/static
./polygerrit-ui/run-server.sh -host chromium-review.googlesource.com

You may also need to edit chumpdetectorURL to point directly at chromium-review.googlesource.com instead of being relative.