commit | 40e3caf65f66cbccb4e352ad0be6c441677be1dd | [log] [tgz] |
---|---|---|
author | Marcus Holl <marcus.holl@sap.com> | Tue Jun 30 14:47:02 2015 +0200 |
committer | Marcus Holl <marcus.holl@sap.com> | Fri Jul 03 16:55:02 2015 +0200 |
tree | 433fe5efad6ed2f3de4690912e91b4276d4d528d | |
parent | 9932f47fd2d13c4c13f834c7a644d2551c7e7c7a [diff] |
[fix] only 500 changes are imported. Via rest api the number of changes returned for a rest query for changes is limited. The default limit is 500 changes. Up to now we rely on that default, hence not all changes are imported. Now we fetch all changes. The number of changes returned by the rest call is counted. In case more changes are indicated we fetch another bundle providing the appropriate offset of changes already imported. This continues until all changes are imported. Change-Id: I6a8fb85832e20d3f8e26f757b4163f6440b7ad1d
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.