GitLab Migration - import relations compressed with zip
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
As discussed in POC #376261 (closed) GitLab Migration should start supporting relations import compressed with zip.
Proposed solution
- Update
BulkImports::FileDownloadServiceto be able to downloadrelation.zipalong side withrelation.tar.gz - Update
BulkImports::FileDecompressionServiceto be able to decompress.zipfiles along side with.tar.gzdepending on type of the compression used (by updating the class itself or using composition/inheritence to achieve this) - Since in case of
.zipthere is no Tar involved, we should update the codebase to not do any systemcalls totarwhen decompressing data withzip - Make sure all pipelines import data same as before
- Put changes behind a short lived feature flag. Since we're going to be supporting both types of files for some time it makes sense to have the feature flag for testing purposes until we iron out any found issues
Edited by 🤖 GitLab Bot 🤖