Loading
Don't create new namespaces when importing via GitHub import task
What does this MR do and why?
MR contains two commits:
- The first one is a small addition related to https://gitlab.com/gitlab-org/gitlab/-/issues/372472 since GitHub import Rake task was still using
Sawyer::Resourceobjects. - The second one is the actual implementation. It solves #390690 (closed)
Screenshots or screen recordings
Import with specifying namespace or group to import a project into that doesn't exist:
Import with specifying your own namespace:
How to set up and validate locally
Use our GitHub import Rake task to import repository from GitHub:
- if you specify namespace or group to import a project into that doesn't exist, you should see the error:
Namespace or group to import repository into does not exist. - if you specify your own namespace or an existing group that you have permission to import a project into, the import should be started.
MR acceptance checklist
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Tetiana Zavediuk

