Skip to content
Snippets Groups Projects
  1. Feb 23, 2020
  2. Feb 19, 2020
  3. Feb 15, 2020
    • Georges Racinet's avatar
      High-level configuration knobs for Heptapod · c61e720d
      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.
      c61e720d
    • Georges Racinet's avatar
      Missing test module · 7f926c1f
      Georges Racinet authored
      This tests the patch of `ui._runsystem` that forwards
      environment variables to external hooks
      7f926c1f
    • Georges Racinet's avatar
      tests: factorized a common_config() method · ac6ffc35
      Georges Racinet authored
      reducing duplication is always good. In this case it
      makes the config of each test clearer.
      ac6ffc35
    • Georges Racinet's avatar
      Missing bytes marker in config items declaration · 8e133c9c
      Georges Racinet authored
      One less thing to tweak when we switch to Python 3
      8e133c9c
  4. Feb 05, 2020
  5. Jan 30, 2020
  6. Jan 23, 2020
  7. Jan 21, 2020
  8. Jan 19, 2020
  9. Jan 17, 2020
  10. Jan 16, 2020
    • Georges Racinet's avatar
      Passing some of ui.environ to external hook environ · 44aa75b4
      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
      44aa75b4
  11. Jan 19, 2020
  12. Jan 16, 2020
  13. Jan 15, 2020
  14. Jan 14, 2020
  15. Jan 10, 2020
  16. Jan 08, 2020
  17. Jan 07, 2020
  18. Jan 06, 2020
  19. Jan 05, 2020
    • Georges Racinet's avatar
      git_sync: silencing Git push messages · 970fb3c5
      Georges Racinet authored
      We've always had the 'pushing to' message in Heptapod, but now that
      we're pushing directly on the FS without the entremise of SSH, it
      has become way too precise.
      
      At best it's a distraction, some would even consider it a disclosure
      of important information.
      
      At some point, we might in Heptapod use a completely new command
      instead of the generic push, but for the time being, we are reduced
      to this really hacky patching.
      
      This effectively silences everything except postclose hooks that
      `hg-git` will define – but it'll take care of them itself.
      970fb3c5
    • Georges Racinet's avatar
      Providing an example for heptapod.hgrc · 2b0018b2
      Georges Racinet authored
      This can be used on top of the `required.hgrc` that we provide
      2b0018b2
Loading