Skip to content
Snippets Groups Projects
  1. Jun 08, 2020
  2. May 13, 2020
  3. May 09, 2020
  4. May 06, 2020
    • Georges Racinet's avatar
      gitlab-mirror: filtering out obsolete heads in branchmap · 5016d915ae0d
      Georges Racinet authored
      As of hg-evolve 9.3.1, some obsolete heads are ignored in the
      protection agains multiple heads. These happen typically in
      stacked topic scenarios, after amendment of the anterior topic.
      
      These should not count as multiple heads in our exposition to GitLab
      either, we're applying the same function to filter them out.
      
      This has us convert systematically to changeset contexts (standard
      abbrev being `ctx`) whereas we were doing so before only in the loop
      to ignore closed branches.
      5016d915ae0d
  5. Apr 30, 2020
  6. Mar 10, 2020
    • Georges Racinet's avatar
      GitLab hooks: post-receive directly through internal REST API · a9f1a24b9679
      Georges Racinet authored
      This implements the `post-receive` hook by a direct HTTP call to the
      internal API endpoint. For this, two new config parameters in the
      `heptapod` section are introduced:
      
      - gitlab-internal-api-secret-file
      - gitlab-internal-api-url
      
      
      We're keeping the previous structure, with a `name`
      that's now almost useless and leads us to the
      complication of the `_hook_methods` dict.
      This keeps compatibility for the caller (also
      part of this package since Heptapod 0.12), allowing
      us to refactor in a separate step.
      a9f1a24b9679
  7. Apr 23, 2020
  8. Mar 09, 2020
    • Georges Racinet's avatar
      started to rewrap hg-git · 687c6dd60738
      Georges Racinet authored
      This is done by subclassing `GitHandler`, for now
      adding `update_exportable_for_named_branches`, almost
      identically.
      
      The only functional difference is that named branches and
      topics are always exported, i.e., not depending
      on the value of `hg-git.export-named-branches`
      687c6dd60738
  9. Dec 15, 2019
Loading