Skip to content
Snippets Groups Projects
  1. Mar 06, 2025
    • Georges Racinet's avatar
      Configuration items for clone bundles · ec7b42f6
      Georges Racinet authored
      We are basically putting almost everything under the `heptapod` section,
      because
      
      1. it makes clear to the users that the meaning of the configuration is
         specific to Heptapod
      2. it avoids future collisions
      3. it can be readily updated from the Rails app (case of the
         `heptapod.clone-bundles` item.
      
      Caveat: the `disabled` value can be used to prevent all auto-generations,
      but it will not be possible to disable serving of existing clone bundles at
      this point (the only way would be currently to disable the `clonebundles`
      extension, which probably cannot be done from `uipopulate`).
      ec7b42f6
    • Georges Racinet's avatar
      WSGI keeping track of the configuration path · ba2aa962
      Georges Racinet authored
      When running under WSGI, if we need to spawn a subprocess,
      as will be the case with clonebundles integration, we meed to
      set `HGRCPATH` in the subprocess environment, hence we need
      to remember the value.
      ba2aa962
  2. Feb 19, 2025
  3. Feb 17, 2025
  4. Feb 19, 2025
  5. Feb 11, 2025
  6. Jan 22, 2025
  7. Jan 21, 2025
  8. 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
  9. Jan 12, 2025
  10. Jan 06, 2025
  11. 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
  12. Jan 06, 2025
  13. Dec 02, 2024
  14. 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
  15. Nov 21, 2024
Loading