Linear roots scope
We need a linear version of
https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/ee/gitlab/object_hierarchy.rb#L7. This will get us some_groups.roots.
-
Create MR of rootsscope to supplement the method in https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/ee/gitlab/object_hierarchy.rb#L7
The below points were part of the original issue but have been moved to #349090
-
Replace uses of https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/ee/gitlab/object_hierarchy.rb#L7 with the rootsscope. -
Remove https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/ee/gitlab/object_hierarchy.rb#L7
Edited by Alex Pooley