Skip to content
Snippets Groups Projects
  1. Apr 14, 2021
  2. Apr 08, 2021
  3. Mar 30, 2021
  4. Mar 26, 2021
  5. Mar 25, 2021
  6. Mar 22, 2021
  7. Mar 16, 2021
  8. Feb 22, 2021
  9. Feb 15, 2021
  10. Jan 29, 2021
  11. Jan 19, 2021
  12. Jan 12, 2021
    • Dan Callahan's avatar
      Fix failures in Debian packaging (#9079) · fa6deb29
      Dan Callahan authored
      Debian package builds were failing for two reasons:
      
       1. Python versions prior to 3.7 throw exceptions when attempting to print
          Unicode characters under a "C" locale. (#9076)
      
       2. We depended on `dh-systemd` which no longer exists in Debian Bullseye, but
          is necessary in Ubuntu Xenial. (#9073)
      
      Setting `LANG="C.UTF-8"` in the build environment fixes the first issue.
      See also: https://bugs.python.org/issue19846
      
      
      
      The second issue is a bit trickier. The dh-systemd package was merged into
      debhelper version 9.20160709 and a transitional package left in its wake.
      
      The transitional dh-systemd package was removed in Debian Bullseye.
      
      However, Ubuntu Xenial ships an older debhelper, and still needs dh-systemd.
      
      Thus, builds were failing on Bullseye since we depended on a package which had
      ceased existing, but we couldn't remove it from the debian/control file and our
      build scripts because we still needed it for Ubuntu Xenial.
      
      We can fix the debian/control issue by listing dh-systemd as an alternative to
      the newer versions of debhelper. Since dh-systemd declares that it depends on
      debhelper, Ubuntu Xenial will select its older dh-systemd which will in turn
      pull in its older debhelper, resulting in no change from the status quo. All
      other supported releases will satisfy the debhelper dependency constraint and
      skip the dh-systemd alternative.
      
      Build scripts were fixed by unconditionally attempting to install dh-systemd on
      all releases and suppressing failures.
      
      Once we drop support for Ubuntu Xenial, we can revert most of this commit and
      rely on the version constraint on debhelper in debian/control.
      
      Fixes #9076
      Fixes #9073
      
      Signed-off-by: default avatarDan Callahan <danc@element.io>
      fa6deb29
  13. Dec 09, 2020
  14. Dec 04, 2020
    • Jordan Bancino's avatar
      Remove version pin prometheus_client dependency (#8875) · 295c209c
      Jordan Bancino authored
      This removes the version pin of the `prometheus_client` dependency, in direct response to #8831. If merged, this will close #8831 
      
      As far as I can tell, no other changes are needed, but as I'm no synapse expert, I'm relying heavily on CI and maintainer reviews for this. My very primitive test of synapse with prometheus_client v0.9.0 on my home server didn't bring up any issues, so we'll see what happens.
      
      Signed-off-by: Jordan Bancino
      295c209c
  15. Nov 17, 2020
  16. Nov 02, 2020
  17. Oct 11, 2020
  18. Oct 09, 2020
  19. Aug 26, 2020
  20. Aug 24, 2020
  21. Aug 11, 2020
    • Erik Johnston's avatar
      Move setting of Filter into code. · 0304ad0c
      Erik Johnston authored
      We do this to prevent foot guns. The default config uses a MemoryFilter,
      but users are free to change to logging to files directly. If they do
      then they have to ensure to set the `filters: [context]` on the right
      handler, otherwise records get written with the wrong context.
      
      Instead we move the logic to happen when we generate a record, which is
      when we *log* rather than *handle*.
      
      (It's possible to add filters to loggers in the config, however they
      don't apply to descendant loggers and so they have to be manually set on
      *every* logger used in the code base)
      0304ad0c
  22. Jul 17, 2020
  23. Jul 06, 2020
  24. Jun 03, 2020
  25. May 22, 2020
  26. May 19, 2020
  27. May 03, 2020
  28. Feb 18, 2020
  29. Feb 12, 2020
  30. Nov 22, 2019
  31. Nov 20, 2019
  32. Oct 30, 2019
  33. Oct 28, 2019
  34. Oct 18, 2019
  35. Sep 19, 2019
    • Michael Kaye's avatar
      Docker: support SYNAPSE_WORKER envvar (#6058) · 2def5ea0
      Michael Kaye authored
      * Allow passing SYNAPSE_WORKER envvar
      
      * changelog.d
      
      * Document SYNAPSE_WORKER.
      
      Attempting to imply that you don't need to change this default
      unless you're in worker mode.
      
      Also aware that there's a bigger problem of attempting to document
      a complete working configuration of workers using docker, as we
      currently only document to use `synctl` for worker mode, and synctl
      doesn't work that way in docker.
      2def5ea0
  36. Sep 03, 2019
  37. Aug 28, 2019
  38. Jul 29, 2019
Loading