Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 12, 2020
  3. Mar 09, 2020
    • Georges Racinet's avatar
      ci: simplified setup with a predefined image · 89c1842e5782
      Georges Racinet authored
      The tests are fast enough that a separate lint stage is overkill
      (it was mostly to try the stage system).
      
      However, having compatibility onto future Mercurial and Evolve
      versions in a second stage is meaningful: these are quite heavier
      because the dependencies can't be prebuilt, and it doesn't make
      sense to run them if the main tests don't pass.
      
      Install check is also on this second stage, that's again a job
      that's not expected to fail often but is somewhat heavier, without
      the dependencies provided by the `ci-py-heptapod` image
      89c1842e5782
    • Georges Racinet's avatar
      ci: explicitely install requirements · 1290ca23a3a4
      Georges Racinet authored
      we don't want to simply `install .` in the
      before_script because we want to install precise Mercurial and
      hg-evolve versions first.
      
      Also, typically, the current head of hg-git is required
      to work with Mercurial stable or default.
      1290ca23a3a4
  4. Mar 11, 2020
    • Georges Racinet's avatar
      testhelpers: write_commit new `topic` argument · 4544266a8bf3
      Georges Racinet authored
      Besides being handy, it's necessary to set a topic while
      using `parent`. Indeed the inner update can void or change
      the topic, so that calling the `topics` command before hand
      is not sufficient.
      4544266a8bf3
    • Georges Racinet's avatar
      testhelpers: prune helper · 745fe315d643
      Georges Racinet authored
      with the command not taking care of iterables not necessarily
      been lists and assuming it's called from the CLI, it's a real
      pain without such rewrapping.
      745fe315d643
  5. Mar 08, 2020
  6. Feb 19, 2020
  7. Feb 15, 2020
    • Georges Racinet's avatar
      High-level configuration knobs for Heptapod · c61e720d7062
      Georges Racinet authored
      These will be exposed first through the REST API
      (this is heptapod#165), then we'll probably want them
      to be displayed and writeable from the Web UI.
      
      Compared to the lower level versions, they have several
      advantages:
      
      - clearer namings: the lower level knobs have names that are
        make sense independently of the context, but in Heptapod, we
        can make more assumptions about the context, and hence come
        up with something more immmediately meaningful to users
      - easier to remember, less frightening (it's not more
        experimental than Heptapod itself)
      - several flags can be set at once (see the case of bookmarks)
      
      For now, the rule is that they are really inert if not
      set, so that we don't interfere with tweakings of the lower
      level settings our users may already have performed.
      
      It's also the occasion to introduce `auto-publish=all`, which
      makes a project entirely publishing - can be the preferred way
      for some.
      c61e720d7062
    • Georges Racinet's avatar
      Missing test module · 7f926c1f4cb2
      Georges Racinet authored
      This tests the patch of `ui._runsystem` that forwards
      environment variables to external hooks
      7f926c1f4cb2
    • Georges Racinet's avatar
      tests: factorized a common_config() method · ac6ffc3565a2
      Georges Racinet authored
      reducing duplication is always good. In this case it
      makes the config of each test clearer.
      ac6ffc3565a2
    • Georges Racinet's avatar
      Missing bytes marker in config items declaration · 8e133c9cb8ef
      Georges Racinet authored
      One less thing to tweak when we switch to Python 3
      8e133c9cb8ef
  8. Feb 05, 2020
  9. Jan 30, 2020
  10. Jan 23, 2020
  11. Jan 21, 2020
  12. Jan 17, 2020
  13. Jan 16, 2020
    • Georges Racinet's avatar
      Passing some of ui.environ to external hook environ · 44aa75b49437
      Georges Racinet authored
      What this really does is make `ui.system()` pass the `HEPTAPOD_*`
      environment variables to the resulting subprocess.
      
      Since `ui.environ` is used as a WSGI request-local substitute to the
      (process-wide) environ, the question whether it should
      be always fully forwarded will have to be raised in Mercurial upstream.
      
      In the meanwhile, Heptapod will pass its variables to external hooks.
      Closes: heptapod#72
      44aa75b49437
  14. Jan 19, 2020
  15. Jan 16, 2020
  16. Jan 15, 2020
  17. Jan 14, 2020
Loading