1. 18 Oct, 2021 1 commit
  2. 13 Oct, 2021 1 commit
  3. 09 Oct, 2021 1 commit
  4. 11 Sep, 2021 1 commit
    • Sushil Khanchi's avatar
      call command with updated/renamed name · 39a73227111f
      Sushil Khanchi authored
      Command `hpd-ensure-all-gitlab-refs` has been renamed to
      `hpd-ensure-all-gitlab-specific-state-files` and the new version
      of if also ensure the presence of gitlab default branch file.
      
      --HG--
      branch : heptapod
      39a73227111f
  5. 20 Sep, 2021 3 commits
  6. 01 Sep, 2021 1 commit
  7. 09 Sep, 2021 1 commit
    • Georges Racinet's avatar
      Fixing HEPTAPOD_SHELL_VERSION · a7c1f23d9b62
      Georges Racinet authored
      Was probably lost in merges.
      GitLab 14.2 uses GitLab Shell 13.19.1 (and 13.19 has been the
      unchanged minor version since 14.0)
      
      --HG--
      branch : heptapod
      a7c1f23d9b62
  8. 07 Sep, 2021 1 commit
    • Georges Racinet's avatar
      HgAccess: disable check_push_size! · c1d624a0cf06
      Georges Racinet authored
      As explained in the comment we can't do that kind of check anyway.
      With the underlying HGitaly method not implemented, this would turn
      into hard errors.
      
      --HG--
      branch : heptapod
      c1d624a0cf06
  9. 05 Sep, 2021 3 commits
    • Georges Racinet's avatar
      Merged and adapted upstream v14.2.0 · 6b4db912f516
      Georges Racinet authored
      Outstanding adaptation notes and things to be taken care of:
      
      - Workhorse: Golang package was renamed upstream from
        `.../gitlab-org/gitlab-workhorse` to `.../gitlab-org/gitlab/workhorse`.
        Had to follow suit in Heptapod specific code.
      - Remote mirrors: the `inmemory_remote` boolean argument an
        corresponding feature flag don't exist any more (the feature is already
        standard, was introduced in 14.0, see
        https://gitlab.com/gitlab-org/gitlab/-/issues/333517).
        This is orthogonal to Mercurial mirroring, yet an API breaking change.
      - Adapted `Projects::ImportService` for disparition of
        `Project#write_repository_config`
      - Renamed module `Gitlab::VCS` to `Gitlab::Vcs` to satisfy what seems
        to be new auto-loading rules.
      - HGitaly client-side adaptations:
      
        + worked around new `ListCommits` Gitaly method (not implemented in
        HGitaly) by ignoring feature flag been `true` in Mercurial case.
        See hgitaly#72 for more details and follow-ups.
        + adapted our changes to...
      6b4db912f516
    • Georges Racinet's avatar
      Backups: merged disabling of `gitaly_backup` method from heptapod-stable · cb7103f3ef4f
      Georges Racinet authored
      This will become crucial with the upcoming merge with upstream 14.2, in
      which the feature flag default value becomes `true`.
      
      See #534
      
      --HG--
      branch : heptapod
      cb7103f3ef4f
    • Georges Racinet's avatar
      Backups: disable the `gitaly_backup` repo backups creation method · 507e894b81f0
      Georges Racinet authored
      Workaround for #534
      
      The feature flag was introduce with GitLab 14.0, but in Heptapod context,
      if anybody enabled it, thery would shoot themselves in both feet (unless they
      only had Git repositories, which is not expected to be frequent in Heptapod
      context).
      
      --HG--
      branch : heptapod-stable
      507e894b81f0
  10. 01 Sep, 2021 1 commit
    • Georges Racinet's avatar
      Merge of heptapod-stable branch, including GitLab 14.0 · 95f4892518ab
      Georges Racinet authored
      Because the merges of GitLab 14.0 and 14.1 were done independently,
      this merge is outstanding and more dangerous than usual.
      
      From there, merges of heptapod-stable into heptapod will be normal
      again.
      
      --HG--
      branch : heptapod
      95f4892518ab
  11. 31 Aug, 2021 2 commits
    • Georges Racinet's avatar
      Backuping obsolete Mercurial changesets · 9b0059e10a07
      Georges Racinet authored
      The necessary `experimental.bundle-obsmarker=yes` was
      already set in py-heptapod's required.hgrc, so we only
      needed the `--hidden` flag.
      
      Closes #526
      
      --HG--
      branch : heptapod-stable
      9b0059e10a07
    • Georges Racinet's avatar
      Project creation: custom message for users without enough rights · 24598c7a16e2
      Georges Racinet authored
      This allows instance Administrators to customize the message displayed
      to users that don't have any creation rights in place of the 'New Project'
      page.
      
      The message is rendered with Markdown, for easy links to documentation etc.
      For instance, on foss.heptapod.net, it could state that project creation
      is upon approval, and link to the `Hosting Request` issue creation form.
      
      --HG--
      branch : heptapod-stable
      24598c7a16e2
  12. 30 Aug, 2021 1 commit
    • Georges Racinet's avatar
      New project forms: wet blanket diversion if user can't create · 0e565ee570fd
      Georges Racinet authored
      Related to #457
      
      Since upstream continuously add new ways to reach the "New project"
      pages, it makes sense to have them display a very clear message
      instead of buggy forms.
      
      In its present form, the message is crude and has no styling, but
      it can be worked on further in its separate HAML template.
      
      A follow-up could be to let Administrators define a custom message,
      with perhaps links to instructions.
      
      If it gets good enough, we could stop intercepting the links to
      the "New Project" page, which would be clearer to users than not
      finding where to create projects and believing this to be a bug.
      
      Finally, I've tried a finer way to introduce the conditional, to
      affect less lines, but it didn't work. We will certainly get lots
      of easy-to-fix boring conflicts because of this.
      
      Perhaps it's time to submit the whole feature set to UPSTREAM
      
      --HG--
      branch : heptapod-stable
      0e565ee570fd
  13. 26 Aug, 2021 2 commits
    • Georges Racinet's avatar
      RSpec setup: proper waiting for HGitaly · 6e7eae6b00e9
      Georges Racinet authored
      We couldn't do it right at the time HGitaly appeared because
      it wasn't Unix Domain socket capable (and it didn't look to
      be critical, given the setup startup times of other components,
      hence we did not make the effort to adapt the `wait` method to
      TCP sockets).
      
      Nowadays, doing it is a minimal effort, so here we are.
      
      --HG--
      branch : heptapod
      6e7eae6b00e9
    • Georges Racinet's avatar
      RSpec setup: split HGitaly preparations into setup/start · a1c02763614b
      Georges Racinet authored
      We already had a separate `start_hgitaly` method but it was
      called directly by `setup_hgitaly`, but now that setup methods
      are called in parallel with the `Parallel` lib that does
      multiprocessing by default, the `at_exit` hook defined
      in `start_hgitaly` was registered for a subprocess that exits
      immediately, hence killing the HGitaly server.
      
      We solve the issue by calling `start_hgitaly` separately, as
      upstream already was doing with `start_gitaly`.
      
      --HG--
      branch : heptapod
      a1c02763614b
  14. 25 Aug, 2021 1 commit
    • Georges Racinet's avatar
      Merge with upstream GitLab 14.1.0 and adaptation · 2593f7729635
      Georges Racinet authored
      First iteration, passes functional tests with `--heptapod-remote` and
      those with `-m fs_access`. Comprehensive RSpec run to be done by CI.
      
      Various notes and things to test manually:
      
        - Admin area: help messages about user approval/ban/delete/reactivate have
          switched from HAML templates to VueJS.
        - the rename of project services as integrations (same terminology
          as in the UI) is complete.
        - same remarks as in merge of 14.0.0 (eaf3be02fbc4) in the heptapod-stable
          branch, since they were done independently.
      
      Things to solve:
      
        - RSpec tests: still have process management issues for the HGitaly
          server, CI should not be affected (server is spawned separately,
          not by `TestEnv` class)
        - `gdk start rails-background-jobs` does not work for me, but
          launching in foreground from a terminal does.
        - doubts about SSH keys management (sync of `authorized_keys` file,
          but could related with sidekiq not running at the time it was
          ob...
      2593f7729635
  15. 20 Aug, 2021 2 commits
  16. 19 Aug, 2021 2 commits
  17. 17 Aug, 2021 4 commits
  18. 06 Aug, 2021 1 commit
  19. 04 Aug, 2021 3 commits
  20. 03 Aug, 2021 6 commits
  21. 02 Aug, 2021 2 commits