blob: 8d4c68f7b5a9e45aed967ba2acf9ca792ec1b2a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# frozen_string_literal: true
module BulkImports
module FileTransfer
class ProjectConfig < BaseConfig
SKIPPED_RELATIONS = %w(
project_members
group_members
).freeze
LFS_OBJECTS_RELATION = 'lfs_objects'
REPOSITORY_BUNDLE_RELATION = 'repository'
DESIGN_BUNDLE_RELATION = 'design'
def import_export_yaml
::Gitlab::ImportExport.config_file
end
def skipped_relations
SKIPPED_RELATIONS
end
def file_relations
[
UPLOADS_RELATION,
LFS_OBJECTS_RELATION,
REPOSITORY_BUNDLE_RELATION,
DESIGN_BUNDLE_RELATION
]
end
end
end
end
|