Investigate: extraction of the pull mirroring from the import process
Part of the epic: https://gitlab.com/groups/gitlab-org/-/epics/8685 We have two mirror implementations: 1. Pull mirror 1. Push mirror The push mirror is a separate entity based [on RemoteMirror class](https://gitlab.com/gitlab-org/gitlab/blob/25aa6baf06a90348abc7fe2624fbb36a027e98b0/app/models/remote_mirror.rb). The pull mirror is a part of the import process. This leads [to multiple ](https://gitlab.com/gitlab-org/gitlab/blob/25aa6baf06a90348abc7fe2624fbb36a027e98b0/ee/app/models/ee/project.rb#L450)`if mirror?` verifications in the code to distinguish between Import and Pull Mirroring flows. ### Proposal Extract the pull mirroring code from the import flow. It should have a positive effect on readability.
issue