1. 31 Oct, 2020 1 commit
    • Georges Racinet's avatar
      Project model: validation of vcs_type · 53af134a42a1
      Georges Racinet authored
      This is simply ensuring the value is a support type
      
      We're testing this twice (model and service) because `project_spec`
      is not yet in the Heptapod CI shortlist and it takes too much time
      that such a trivial test would be worth it. Of course, it has
      its intrinsic value, and we will activate it soonish, but that's not
      the current concern. Also this prepares for potentially more advanced
      behaviour at the service level.
      
      --HG--
      branch : heptapod
      53af134a42a1
  2. 19 Sep, 2020 1 commit
  3. 20 Aug, 2020 1 commit
  4. 20 Jul, 2020 1 commit
  5. 18 Jun, 2020 1 commit
  6. 09 Jun, 2020 1 commit
    • Georges Racinet's avatar
      Read the Docs integration · 272f83c2db16
      Georges Racinet authored
      Closes #282
      
      Generic GitLab does not need an Read the Docs integration, since
      Read the Docs has a Gitlab integration, but Heptapod needs one.
      
      This integration is disabled for Git repositories (not yet available
      in the Web UI, but partly working on Heptapod 0.13).
      
      Since the URL target should most of the times be under
      https://readthedocs.io, the TLS verification is enabled by default.
      
      This will send a POST to readthedocs for each named branch. We may
      want to complement with some filtering later on.
      
      --HG--
      branch : heptapod-stable
      272f83c2db16
  7. 03 Jun, 2020 1 commit
  8. 20 May, 2020 1 commit
  9. 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
  10. 24 Apr, 2020 1 commit
  11. 20 Apr, 2020 1 commit
  12. 14 Apr, 2020 1 commit
  13. 10 Apr, 2020 1 commit
  14. 09 Apr, 2020 2 commits
  15. 06 Apr, 2020 3 commits
  16. 02 Apr, 2020 1 commit
  17. 01 Apr, 2020 1 commit
  18. 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
  19. 26 Mar, 2020 1 commit
  20. 25 Mar, 2020 1 commit
  21. 24 Mar, 2020 1 commit
  22. 23 Mar, 2020 3 commits
  23. 18 Mar, 2020 2 commits
  24. 17 Mar, 2020 1 commit
  25. 16 Mar, 2020 1 commit
  26. 13 Mar, 2020 1 commit
  27. 12 Mar, 2020 2 commits
  28. 09 Mar, 2020 1 commit
  29. 05 Mar, 2020 1 commit
  30. 02 Mar, 2020 2 commits
  31. 28 Feb, 2020 2 commits