A plugin which allows projects to be deleted from Gerrit via an SSH command

Clone this repo:
  1. 39f2681 Merge branch 'stable-3.11' by Daniele Sassoli · 9 weeks ago master
  2. e1328bd Handle 204 response in delete-project by Daniele Sassoli · 9 weeks ago stable-3.10 stable-3.11 v3.10.3 v3.10.4 v3.11.0 v3.11.0-rc5 v3.11.1
  3. 8851ed4 Merge "Handle 204 response in delete-project" by Luca Milanesio · 9 weeks ago
  4. 48c7e47 Handle 204 response in delete-project by Daniele Sassoli · 9 weeks ago
  5. 08bc142 Use ChangeIndex.deleteAllForProject to delete efficiently from index by Saša Živkov · 3 months ago

Delete project plugin for Gerrit Code Review

A plugin which allows projects to be deleted from Gerrit via an SSH command, REST API or the Project settings screen.

Build Status

JavaScript Plugin Development

For running unit tests execute:

bazel test --test_output=all //plugins/delete-project/web:karma_test

For checking or fixing eslint formatter problems run:

bazel test //plugins/delete-project/web:lint_test
bazel run //plugins/delete-project/web:lint_bin -- --fix "$(pwd)/plugins/delete-project/web"

For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/ folder:

bazel build //plugins/delete-project/web:gr-delete-repo
cp -f bazel-bin/plugins/delete-project/web/gr-delete-repo.js plugins/

and let the Dev Helper redirect from .+/plugins/delete-project/static/gr-delete-repo.js to http://localhost:8081/plugins_/gr-delete-repo.js.