Class: BulkImports::FileTransfer::ProjectConfig
- Inherits:
-
BaseConfig
- Object
- BaseConfig
- BulkImports::FileTransfer::ProjectConfig
- Defined in:
- app/models/bulk_imports/file_transfer/project_config.rb
Constant Summary collapse
- SKIPPED_RELATIONS =
%w[ project_members group_members ].freeze
- LFS_OBJECTS_RELATION =
'lfs_objects'
- REPOSITORY_BUNDLE_RELATION =
'repository'
- DESIGN_BUNDLE_RELATION =
'design'
Constants inherited from BaseConfig
BaseConfig::SELF_RELATION, BaseConfig::UPLOADS_RELATION
Instance Method Summary collapse
Methods inherited from BaseConfig
#batchable_relation?, #batchable_relations, #export_path, #export_service_for, #file_relation?, #initialize, #portable_relations, #portable_relations_tree, #portable_tree, #relation_excluded_keys, #self_relation?, #top_relation_tree, #tree_relation?, #tree_relation_definition_for
Constructor Details
This class inherits a constructor from BulkImports::FileTransfer::BaseConfig
Instance Method Details
#file_relations ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'app/models/bulk_imports/file_transfer/project_config.rb', line 23 def file_relations [ UPLOADS_RELATION, LFS_OBJECTS_RELATION, REPOSITORY_BUNDLE_RELATION, DESIGN_BUNDLE_RELATION ] end |
#import_export_yaml ⇒ Object
15 16 17 |
# File 'app/models/bulk_imports/file_transfer/project_config.rb', line 15 def import_export_yaml ::Gitlab::ImportExport.config_file end |
#skipped_relations ⇒ Object
19 20 21 |
# File 'app/models/bulk_imports/file_transfer/project_config.rb', line 19 def skipped_relations SKIPPED_RELATIONS end |