remove add_namespace call for project creation
What does this MR do?
Original MR: gitlab-foss!32258 (closed)
Refactor Gitlab::Shell a bit in preparation of the removal of AddNamespace. We don't need to call AddNamespace
when we create a repository because the Gitaly RPC does a mkdir -p
when creating a repository: https://gitlab.com/gitlab-org/gitaly/blob/master/internal%2Fservice%2Frepository%2Fcreate.go#L18
Part of: gitaly#1891 (closed)
Screenshots
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Performance and Testing
Edited by Mayra Cabrera