title: Copy Nexus Repo to GitLab Registry
body: <p>Initial State:</p>
  <ul>
  <li>A GitLab instance with many projects;</li>
  <li>GitLab projects have pipelines that depend on many binaries, including Docker images</li>
  <li>All these binaries and images exist in a local OSS instance of Nexus (NXRM3) in hosted or group repos of various formats (docker, maven, raw, and so on) or remote repos proxied by the repos in this Nexus.</li>
  </ul>
  <p>Target State:</p>
  <ul>
  <li>Content of the GitLab and Nexus is transferred into a GitLab in a way that allows the pipelines to run after trivial modifications, like changing URLs from Nexus to GitLab binary registries.</li>
  </ul>
  <p>Challenge:</p>
  <ul>
  <li>What approach to automate that could be more effective (less coding, testing, etc.) than  a custom app/script that uses Nexus REST API to &quot;walk&quot; through Nexus, create a corresponding registry in GitLab (using the GitLab API), pull all artifacts from the Nexus repo and then push them into the created GitLab registry?</li>
  </ul>
  <p>NOTE:</p>
  <ul>
  <li>Properly mapping Nexus repo type to GitLab is a separate challenge.</li>
  <li>Properly reproducing Nexus repo taxonomy in GitLab is a separate challenge.</li>
  <li>Properly transfer Nexus repo permissions to GitLab is a separate challenge.</li>
  </ul>