Skip to content

WIP: First steps for exporting projects to be uploaded into another GitLab instance.

DJ Mountney requested to merge twk3/gitlab-ce:project-export-service into master

See #3050 (closed)

Right now the wiki and the git repo get packaged up. Along with some json data from the Project's database table.

Still todo on features for export in the first iteration:

  • Backup Project DB Settings into json file (started on, but is missing issues, labels, milestones, comments, etc)
  • bundle the git repository
  • bundle in the wiki
  • bundle in uploads
  • include users and group information in the project.json

Currently largely based on the backup code.

Needs to have it's storage path moved to settings, a worker added to call into it, and run cleanup on old exports (similar to repo archives). And then once it's decided where it's being called from, errors/return values for the service need to changed. (Currently it's just throwing exceptions)

@DouweM

Merge request reports