Extract push mirrors creation logic into a service

Problem

The push mirror management logic is included into Projects::UpdateService or directly called (for example).

This leads to following problems:

  • A discrepancy between UI and API behavior around push mirror management
  • A complex logic implicitly included in unrelated Projects::UpdateService

Proposal

Extract common logic for push mirror creation into a RemoteMirrors::CreateService

Edited by Vasilii Iakliushin