Add standalone bazel build

Test plan:
- bazel clean --expunge
- bazel build importer
- Deploy plugin to gerrit site
- Verify plugin loads without errors
- Verify plugin functionality
- Run tools/eclipse/
- Import project in Eclipse and verify classpath contains all

Change-Id: Ic2df37ad43d65f77c120c42ea1d332cb305ff711
11 files changed
tree: c04f39e49ee05e8231f71efebb7a3fc985b48465
  1. .settings/
  2. lib/
  3. src/
  4. tools/
  5. .buckconfig
  6. .gitignore
  7. bazlets.bzl
  8. BUCK
  9. BUILD

Importer - Gerrit Plugin to import projects

The importer plugin allows to import projects from one Gerrit server into another Gerrit server.

Projects can be imported while both source and target Gerrit server are online. There is no downtime required.

The git repository and all changes of the project, including approvals and review comments, are imported. Historic timestamps are preserved.

Project imports can be resumed. This means a project team can continue to work in the source system while the import to the target system is done. By resuming the import the project in the target system can be updated with the missing delta.

The importer plugin can also be used to copy a project within one Gerrit server, and in combination with the delete-project plugin it can be used to rename a project.