Skip to content
Snippets Groups Projects

Native with Git: moving the Git repo out of reach of Gitaly

Merged Georges Racinet requested to merge topic/default/refgeddon-move-git-repo into branch/default
  1. Nov 21, 2024
  2. Nov 10, 2024
    • Georges Racinet's avatar
      Put Git repos out of reach of Gitaly · 4f4a84b51768
      Georges Racinet authored
      Part of heptapod#1848. Any invocation of `gitlab-mirror`
      will move the repo to `+hgitaly/hg-git`. We will introduce
      a Rails batched migration that calls it, but the point is that
      there will be no race between the migration and incoming pushes.
      
      As for testing, we had to introduce the
      `GitLabMirrorFixture.reload_git_repo()` method. On the fixture,
      it is possible to go back-and-forth, but in practice, there is no rollback
      migration out of native in Rails, and `git.py` does not support moving back
      either.
      4f4a84b51768
  3. Nov 21, 2024
Loading