Merge branch 'stable-2.16'

* stable-2.16:
  Bazel: Include eclipse-out directory in .bazelignore
  Add explanatory comment to empty BUILD file(s)
  Update mockito to 2.23.4
  Upgrade bazlets to latest stable-2.16 to build with 2.16 API
  Always pass ALLOW_INSECURE to MoreFiles.deleteRecursively
  ArchiveRepositoryRemoverTest: Refactor assertions on repo content
  Format external_plugin_deps.bzl with buildifier
  Upgrade bazlets to latest stable-2.14 to build with 2.14.17 API
  Upgrade bazlets to latest stable-2.14 to build with 2.14.16 API
  Align Eclipse compiler settings with core Gerrit's
  WORKSPACE: Make commented out lines spaces indent consistent
  Add IT test
  FilesystemDeleteHandler: Use more readable name for trash folder
  Configure whether to allow user to select preserve
  Introduce an archiving mechanism for deleted repos
  bazlets: Replace native.git_repository with skylark rule
  Harmonize external dependency names to use hyphen
  Upgrade mockito to 2.23.0
  Update bazlets to latest stable-2.14 to build with 2.14.15 API
  Update bazlets to latest stable-2.14 to build with 2.14.14 API
  Update bazlets to latest stable-2.14 to build with 2.14.13 API
  FilesystemDeleteHandler: Don't instantiate event if there are no listeners
  FilesystemDeleteHandler: Rename deletedListener to deletedListeners
  DatabaseDeleteHandler.java: Remove unused Provider<InternalChangeQuery>
  Add RecursiveDeleteOption.ALLOW_INSECURE for recursive deletion
  Simplify DeleteTrashFolder
  DeleteTrashFolders: Extract predicate to its own class
  Add unit test for DeleteTrashFolders
  Update bazlets to latest stable-2.14 to use 2.14.12 API
  Migrate `tools/bazel.rc` to `.bazelrc`
  Tidy up FilesystemDeleteHandler
  Add unit tests for FilesystemDeleteHandler
  Extract deletion preconditions to its own class

Adapt DeleteProjectIT to master's AbstractDaemonTest
createProjectOverAPI method, replacing the pre-master createProject
ones.

Change-Id: Ib0fb7be6160c3aabfa763b751bcb682fe2c54346
tree: 8e72d427784875e0a7bc9c5370d473c841c57845
  1. gr-delete-repo/
  2. src/
  3. .bazelignore
  4. .gitignore
  5. BUILD
  6. plugin.html
  7. README.md
README.md

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