Create local user if user does not exist anymore in LDAP

So far, importer plugin aborted the importing process with an exception
if an user listed as a change owner, reviewer or group member did not
exist anymore in LDAP. That use case arises, for example, when an user
leaves the company. The same problem occurred when dealing with non
existing Gerrit internal users.

Create local inactive user accounts to replace missing LDAP users and
add them to a special "Imported Users" group. Inactive users are still
able to replay changes. Create Gerrit internal users if they have not
been created previous to the import process.

Change-Id: Iad1b1c3963cca7dff6ebcc59efcf2b5620e0fd42
8 files changed
tree: bf7185165b398d41442d91cc73000654a3265d55
  1. .settings/
  2. lib/
  3. src/
  4. .buckconfig
  5. .gitignore
  6. BUCK
  7. LICENSE
  8. pom.xml
  9. README.md
  10. 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.