Native with Git: moving the Git repo out of reach of Gitaly
- Nov 21, 2024
-
-
Georges Racinet authored
Using `gitlab-mirror` would work, but this one has the advantage of doing nothing else, hence not risking unrelated errors. It also adds some sanity checks.
-
- Nov 10, 2024
-
-
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
-
- Nov 21, 2024
-
-
Georges Racinet authored
This is in prevision of the changes needed to move the Git repos out of reach of Gitaly (see heptapod#1848).
9ebb33d4fa55
-