Include all necessary group and project attributes in self relation file for offline transfer
In direct transfer, there are groups and projects are created in two steps
- The base portable is created in
BulkImports::Projects::Pipelines::ProjectPipelinefor projects andBulkImports::Groups::Pipelines::GroupPipelinefor groups. These pipelines make GraphQL queries to the source destination, which won't be possible in offline transfer. - Attributes for the newly created portable are updated in
BulkImports::Groups::Pipelines::GroupAttributesPipelineorBulkImports::Projects::Pipelines::ProjectAttributesPipelinefromselfrelation files.
While most of the attributes required to create groups and projects in step 1 are already in the self relation files, some notable attributes are missing for relying entirely on these files:
- For project
selfrelations:namecreated_at-
visibility, however,visibility_levelis already in the file
- group
selfrelation missing:-
emails_disabled, comes from methodemails_disabled? -
visibility, however,visibility_levelis already in the file
-
This issue is to add these attributes to group and project self relation files in offline transfer.
Potential investigation needed
- Would simply adding these attributes to each potable type's
import_export.ymlbe sufficient, or would that negatively affect direct transfer or file transfer?
Edited by 🤖 GitLab Bot 🤖