Support group labels and milestones in the parallel GitHub importer
The following discussion from gitlab-ce!14731 should be addressed:
-
@DouweM started a discussion: (+6 comments) We also have group milestones now: https://gitlab.com/groups/gitlab-org/milestones/new
Do we need to do anything special?
In short:
The new parallel GitHub importer imports labels and milestones as project labels/milestones. We would like to extend this so it reuses existing project labels/milestones. This should be relatively simple by changing instances of projects.labels
to something that returns both project and group labels.
I would highly prefer avoiding the labels and milestones finders as they bring additional complexity we probably don't need. Also take into account that it's possible for many import jobs to run in parallel, thus whatever we add should be as lightweight as possible.