Skip to content
Snippets Groups Projects
  1. Jan 16, 2020
  2. Jan 15, 2020
  3. Jan 14, 2020
  4. Jan 10, 2020
  5. Jan 08, 2020
  6. Jan 07, 2020
  7. Jan 06, 2020
  8. Jan 05, 2020
  9. Dec 25, 2019
  10. Dec 24, 2019
  11. Dec 21, 2019
    • Georges Racinet's avatar
      git_sync: stop using SSH · 2d639205
      Georges Racinet authored
      This is part of heptapod#144: now that we're firing the
      pre-receive hook ourselves, we don't need to go over SSH at all.
      
      This also means that we don't need the `repositories-root`
      confiuration item anymore.
      2d639205
  12. Dec 19, 2019
  13. Dec 24, 2019
  14. Dec 18, 2019
  15. Dec 19, 2019
  16. Dec 16, 2019
  17. Dec 15, 2019
    • Georges Racinet's avatar
      Merged from heptapod-0-7 for full test coverage · 03cdd275
      Georges Racinet authored
      updated the badges on README to reflect the default branch as well
      03cdd275
    • Georges Racinet's avatar
      543cebe2
    • Georges Racinet's avatar
      git_sync: testing actual mirroring · 25eedfef
      Georges Racinet authored
      and this uncovers a funny phenomenon, that hook gives an infinite
      loop when running on local Mercurial repos.
      
      Most of the work of the git_sync hook is done indirectly by the fact
      that `hg-git` rewraps the `push command`, but this still would catch
      stupid mistakes in that glue code, and `py-heptadod` is now 100% covered.
      25eedfef
    • Georges Racinet's avatar
      git_sync: lifting needless requirement if mirror-path is set · 56e71c24
      Georges Racinet authored
      We don't need `repositories-root` if we have a fixed value for
      `mirror-path`. This allows us to shift indentation a bit, and that
      shouldn't be dangerous because the `mirror_path()` function is now
      fully tested
      56e71c24
    • Georges Racinet's avatar
      Testing dev_util hook · 96e00fae
      Georges Racinet authored
      That one may sound futile, but it's actually a good thing to now
      that these debugging things are reliable, when using them to investigate
      actual problems.
      96e00fae
    • Georges Racinet's avatar
      wsgi: removing py3 specific code · eb79ae1a
      Georges Racinet authored
      We don't support Python3 at the time being, we'll jump into
      Python3-only at some time in the (near) future.
      
      With this, we have full coverage of the wsgi module.
      Hence the tests will catch true problems, thanks to Py3
      incompatibility between `bytes` and `str`. This is better than
      adding a `pragma: no cover`.
      eb79ae1a
    • Georges Racinet's avatar
      wsgi: testing CSP · 41c55fa9
      Georges Racinet authored
      since this wsgi server is meant for service the wire protocol
      of repos over HTTP only, the utility is a bit dubious, but let's
      honour it anyway.
      
      Normally, `hgweb_mod` should do it as well, but I couldn't get it
      to see a different config value (seems to be unsettable by
      .hg/hgrc)
      41c55fa9
    • Georges Racinet's avatar
      wsgi: tested most of actual request handling · eced69b9
      Georges Racinet authored
      that means actually testing that it's properly passed
      to `hgweb_mod`, the one doing the job
      eced69b9
Loading