1. 03 Jun, 2020 1 commit
  2. 08 May, 2020 1 commit
    • Georges Racinet's avatar
      Gitlab::Mercurial adopted method for repo creation · d9eac4fb23dd
      Georges Racinet authored
      The main advantage is that this looks more uniform from the
      upper layers, at the price of making
      `Git::Repository.create_repository` accept arbitrary
      arguments.
      
      Also `Gitlab::Shell` is slowly being faded away. By
      calling the raw repo's `create_repository` we are
      actually anticipating on later versions.
      
      The saner structure can be also be felt in that we
      don't need to give some methods a classmethod
      version any more.
      
      --HG--
      branch : heptapod
      d9eac4fb23dd
  3. 24 Apr, 2020 1 commit
  4. 20 Apr, 2020 1 commit
  5. 14 Apr, 2020 1 commit
  6. 10 Apr, 2020 1 commit
  7. 09 Apr, 2020 2 commits
  8. 06 Apr, 2020 3 commits
  9. 02 Apr, 2020 1 commit
  10. 01 Apr, 2020 1 commit
  11. 31 Mar, 2020 1 commit
    • Georges Racinet's avatar
      hashed storage: adapting path to group HGRC · 3c0b374e853d
      Georges Racinet authored
      In the case of the hashed storage, we keep a
      subset of the directory hierarchy for namespaces
      and the repo HGRC includes from that, hence depending
      on the namespace path from the storage root and the
      depth of the hashed storage (currently a constant, at
      two intermediate subdirectories).
      
      In both the hashed and non-hashed cases, this is provided by
      `relative_path_from`, whose result is just `../../hgrc` in
      the non hashed case.
      
      The inclusion path is relative to the storage root, hence
      this independent of the storage location, which can
      change (reconfig, change of host by backup & restore)
      with no need to crawl through repositories.
      
      This partially defeats one of the advantages of the
      hash storage: avoiding too much top level directories.
      This shouldn't be critical for Heptapod because
      
      1. By the time we have instances that big that this cluttering
         is a problem, assuming we just don't use a FS with hashmap
         directories (XFS for instance), we'll be able to come up
         with other mechanisms
      2. It's about namespaces having either HGRC settings or subgroups.
         These should be the minority. After all, using subgroups
         reduces the number of toplevel groups.
      
      --HG--
      branch : heptapod
      3c0b374e853d
  12. 26 Mar, 2020 1 commit
  13. 25 Mar, 2020 1 commit
  14. 24 Mar, 2020 1 commit
  15. 23 Mar, 2020 3 commits
  16. 18 Mar, 2020 2 commits
  17. 17 Mar, 2020 1 commit
  18. 16 Mar, 2020 1 commit
  19. 13 Mar, 2020 1 commit
  20. 12 Mar, 2020 2 commits
  21. 09 Mar, 2020 1 commit
  22. 05 Mar, 2020 1 commit
  23. 02 Mar, 2020 2 commits
  24. 28 Feb, 2020 2 commits
  25. 27 Feb, 2020 2 commits
  26. 24 Feb, 2020 1 commit
  27. 17 Feb, 2020 1 commit
  28. 15 Feb, 2020 1 commit
  29. 18 Feb, 2020 1 commit
  30. 13 Feb, 2020 1 commit