1. 20 May, 2021 3 commits
  2. 13 May, 2021 5 commits
    • Georges Racinet's avatar
      Heptapod CI RSpec: added export/import to the regular run · 60813083daab
      Georges Racinet authored
      This is not really cheap, but it makes sense to make really sure
      this is working as expected.
      
      For now, the tests are almost unchanged meaning that it tests
      Git projects, probably working only thanks to the defaulting of
      `vcs_type` to `git` in `VcsTypeRestorer` but we can add some
      specific tests later on.
      
      --HG--
      branch : heptapod-oldstable
      60813083daab
    • Georges Racinet's avatar
      Project import: fixed Mercurial projects · 0245c3d6df73
      Georges Racinet authored
      The only obstacle was the proper initialization of `vcs_type`.
      We previously had to hardcode `git` in `GitLabProjectsImportService`
      and in `CreateService#vcs_type` for `gitlab_project` imports, in order
      for Git imports to work and RSpec tests to succeed, and obviously
      needed to remove that.
      
      Then we introduce a new restoration step, dedicated to reading
      `vcs_type` from the supplied JSON file. It needs to run first, in
      order for the repository restoration steps to do the right thing.
      To avoid duplication, we derive the JSON file location and parsing
      from the general step meant for other attributes, that
      we didn't dare put before the repository steps.
      
      Finally, if the information is absent, we take for granted that
      the export was done on a regular upstream GitLab instance, and hence
      use `git` as a default value, this time from the import itself.
      
      Closes #480
      
      --HG--
      branch : heptapod-oldstable
      0245c3d6df73
    • Georges Racinet's avatar
      Project export: fixed Mercurial projects · 5f4213ac05b6
      Georges Racinet authored
      All that was missing is our bundle producer to return `true` to
      signal success. This is ignored in the case of backups, but is
      essential for project export.
      
      --HG--
      branch : heptapod-oldstable
      5f4213ac05b6
    • Georges Racinet's avatar
      hgignore: area for uploaded files · 4ddbfa910e3f
      Georges Racinet authored
      These are notably used in the export/import mechanism, on which
      work is currently being done, polluting the status.
      
      --HG--
      branch : heptapod-oldstable
      4ddbfa910e3f
    • Georges Racinet's avatar
      Heptapod CI: fixed versions of Python components for oldstable · dc1ccbdab4c6
      Georges Racinet authored
      Without this rule, it was installing py-heptapod default, whose
      `Mercurial >= 5.7` is not satisfied by the 5.6.1 of the base image
      for oldstable and has the effect of grabbing 5.8, leading to failures.
      
      --HG--
      branch : heptapod-oldstable
      dc1ccbdab4c6
  3. 28 Apr, 2021 11 commits
  4. 27 Apr, 2021 7 commits
  5. 24 Apr, 2021 2 commits
  6. 22 Apr, 2021 8 commits
  7. 15 Apr, 2021 4 commits