Skip to content

Cannot import a Wiki from Bitbucket when hashed storage is enabled

From: https://gitlab.com/gitlab-com/infrastructure/issues/2821#note_47684308

In %10.0 we introduced "hashed storage". When enabled, rather than storing projects on disk in a location determined by project.full_path, they are now stored in @hashed/aa/bb/full-hash. The hash is generated by SHAing the project ID.

The use of full_path needs to be re-evaluated and tested.

# Can't import a wiki from BitBucket, I think
lib/gitlab/bitbucket_import/importer.rb:64:        path_with_namespace = "#{project.full_path}.wiki"