Commit Graph

7 Commits

Author SHA1 Message Date
GitLab Bot 3795b229ab Add latest changes from gitlab-org/gitlab@master 2020-05-01 00:09:59 +00:00
GitLab Bot d10a462fed Add latest changes from gitlab-org/gitlab@master 2019-12-16 12:07:43 +00:00
GitLab Bot d5b4360051 Add latest changes from gitlab-org/gitlab@master 2019-11-26 03:06:24 +00:00
Luke Duncalfe d18ee3faad LFS export records repository_type data
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", "wiki", and
"design". See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894

This change exports the list of `repository_type`s as a JSON mapping of
oid => repository_types, which are imported to recreate the correct
`LfsObjectsProject` records.

https://gitlab.com/gitlab-org/gitlab-ee/issues/11090
2019-07-24 11:23:51 +00:00
Bob Van Landuyt 10d0f438d8 Download LFS-files from object storage for exports
Downloading the stream directly to the archive. In order to avoid
conflicts with the cache.
2018-04-05 10:21:51 +02:00
Bob Van Landuyt 79cb4d99c0 Import projects with LFS objects
If the LFS object already exist, we'll link it tot he existing one, if
not we'll create it.
2018-04-05 10:21:51 +02:00
Bob Van Landuyt 84ee2ddbcd Export LFS Objects when exporting a project
The LFS files will be included in the `lfs-objects` directory in the archive.
2018-04-05 10:21:51 +02:00