Adapt to recent gerrit changes that broke compilation

The gerrit commits

  85f0487714e005b478eee5b28efab22bf5b7a5e2 (getCurrentUser -> User)
  bce0e922c429c819f30d1d8c86a8858bb661fa2a (Set Hashtag via BatchUpdate.Op)

broke the compilation of this plugin [1]. Hence, we follow gerrit's
changes to make it compile against latest master again.

[1] For example:
  [...]/AddHashtagsStep.java:76: error: cannot find symbol
          hashtagsUtil.setHashtags(ctrl, input, false, false);
                      ^
See

  http://builds.quelltextlich.at/gerrit/nightly/master/2015-10-20/importer.jar.build.stderr.txt

for full build log.

Bug: Issue 3622
Change-Id: Ie604b6e2beab8288274598a02ed59aa2557945b9
8 files changed
tree: 16a4a390493a0a43d3ed7bae015cd56564e6bb48
  1. .settings/
  2. lib/
  3. src/
  4. .buckconfig
  5. .gitignore
  6. BUCK
  7. LICENSE
  8. README.md
  9. VERSION
README.md

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.