Only search gitlab:import:repos on repos on subdir [failure unrelated][can be updated]
Created by: cirosantilli
of type repos_path/group/repo.git
.
Before this, any other location like repos_path/repo.git
or repos_path/group/XXX/repo.git
does generate new projects, but
these projects are empty since no copy is done.
Fix https://github.com/gitlabhq/gitlabhq/issues/4137
This behavior probably exists to support the old global repositories, but since it is broken already, I propose we remove support for that once and for all here. Let users put their repositories on the regular repository structure only which is less confusing and easier to maintain.
Implementation notes:
-
group_name == '.'
is not possible since glob does not expand to.
, so that logic was removed.