Make the import take subgroups into account
What does this MR do?
An update to the rake task to import bare repositories. Mainly to adjust the way it handles subgroups, an to make sure it takes the default visibility level into account.
Why was this MR needed?
Currently the importer ignores projects in subgroups.
And it makes sure we take the default visibility level into account when importing projects
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Review
-
Has been reviewed by Backend
-
What are the relevant issue numbers?
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36664 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/30546
Edited by Bob Van Landuyt :neckbeard: