Skip to content
Snippets Groups Projects
  1. Jan 21, 2025
  2. Jan 20, 2025
    • Georges Racinet's avatar
      Merged Git pools fixup from heptapod-17-6 branch. · 619676e4
      Georges Racinet authored
      In the default branch, we have already stopped calling by mere
      instantiation of the handler the "ensure" method and the resync of the Git
      repo (supporting the mirrors for native projects). It is now done from
      the commands themselves, hence the tests have to be slightly adapted
      to call them as well.
      619676e4
    • Georges Racinet's avatar
      Moved Git repos: fixup GitLab pools relative paths · adb5d496
      Georges Racinet authored
      Should solve heptapod#1984, especially given that the migration
      to native Projects calls `hg move-hg-git-repo-out-of-gitaly-reach`.
      
      Given that this is a one shot and we happen to have the same Python
      dependencies in the default and stable series of Heptapod, we're hardcoding
      the series in the CI configuration. Obviously to be reverted upon merge in
      the default branch.
      adb5d496
  3. Jan 12, 2025
  4. Jan 06, 2025
  5. Jan 01, 2025
    • Georges Racinet's avatar
      Native Mercurial: stop converting to Git by default · 6ae2947c
      Georges Racinet authored
      The conversion is now handled by the separate `hpd-export-native-to-git`, to
      be called ultimately by the Rails app only for Git-push mirroring.
      
      The separate command was already existing, as it was supporting the rollback
      of the native migration, we just gave it a new alias.
      It takes care of moving the Git repository to
      its expected location if it turns out that it escaped the migration doing
      so and is still right beside the Mercurial repository.
      
      Releasing this is the first step of heptapod#1963
      6ae2947c
  6. Jan 06, 2025
  7. Dec 02, 2024
  8. Nov 25, 2024
    • Georges Racinet's avatar
      Moving Git repos out of reach of Gitaly: subdirectory fixes · 2153b0f3
      Georges Racinet authored
      The move command did not create all intermediate directories,
      hence was failing on the typical GitLab hashed storage structure.
      In the unit tests, the repositories are at the root of the
      storage, missing this.
      
      Also fixing a minor typo in the sanity check error raising, that
      would not lead to breakage but was not the intent.
      2153b0f3
  9. Nov 21, 2024
  10. Nov 10, 2024
    • Georges Racinet's avatar
      Put Git repos out of reach of Gitaly · 4f4a84b5
      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.
      4f4a84b5
  11. Nov 21, 2024
  12. Nov 19, 2024
    • Georges Racinet's avatar
      Dulwich: stop at version 0.21 · 0cbfdbd7
      Georges Racinet authored
      The tests do not work with Dulwich 0.22, see #44.
      
      Unfortunately, the tests for Mercurial stable branch (currently shortly
      before 6.9) do not pass either, and given the install issues detailed
      in heptapod#1898, together with the fact that I did not reproduce
      locally,  it is not worth specifically fixing.
      0cbfdbd7
  13. Sep 04, 2024
  14. Aug 24, 2024
  15. Aug 23, 2024
  16. Aug 22, 2024
  17. Aug 19, 2024
Loading