Skip to content

Add support for exporting repository type data for LFS objects

Luke Duncalfe requested to merge 11090-export-design-management-lfs-data into master

What does this MR do?

A project can have the same LfsObject linked with up to three LfsObjectsProject records. Each of these records would be for a different repository, recorded in the repository_type property.

The different repositories at time of writing are "project", "design", and "wiki" shortly. See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894 which introduced the recording of this data.

This change exports the list of repository_types as a JSON mapping of oid => repository_types. When imported these let us recreate the correct LfsObjectsProject records.

https://gitlab.com/gitlab-org/gitlab-ee/issues/11090

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading