Skip to content
Snippets Groups Projects
Commit 4f4a84b51768 authored by Georges Racinet's avatar Georges Racinet
Browse files

Put Git repos out of reach of Gitaly

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.
parent 9ebb33d4fa55
No related branches found
No related tags found
1 merge request!108Native with Git: moving the Git repo out of reach of Gitaly
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment