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

Clone this repo:
  1. 5dcb1a6 Fix ErrorProne issues for JavaLangClash bug pattern by Edwin Kempin · 7 weeks ago master v3.5.0-rc0 v3.5.0-rc1 v3.5.0-rc2
  2. 8fe544a Use base url for return url after deleting a repo by Paladox none · 9 weeks ago
  3. 3481845 Add override to comply with new noImplicitOverride ts compiler option by Ben Rohlfs · 10 weeks ago
  4. 0b5bcbf Merge "Apply new web plugin code layout to delete-project" by Ben Rohlfs · 2 months ago
  5. 6202327 Merge "Use .git in bare repository names in delete and archive test" by Luca Milanesio · 2 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.