Skip to content
Snippets Groups Projects
  1. Feb 21, 2020
  2. Feb 12, 2020
  3. Jan 21, 2020
    • Brendan Abolivier's avatar
      Port synapse_port_db to async/await (#6718) · 07124d02
      Brendan Abolivier authored
      * Raise an exception if there are pending background updates
      
      So we return with a non-0 code
      
      * Changelog
      
      * Port synapse_port_db to async/await
      
      * Port update_database to async/await
      
      * Add version string to mocked homeservers
      
      * Remove unused imports
      
      * Convert overseen bits to async/await
      
      * Fixup logging contexts
      
      * Fix imports
      
      * Add a way to print an error without raising an exception
      
      * Incorporate review
      07124d02
  4. Jan 03, 2020
  5. Dec 18, 2019
  6. Dec 11, 2019
  7. Dec 10, 2019
  8. Dec 05, 2019
  9. Dec 04, 2019
  10. Nov 06, 2019
  11. Nov 01, 2019
  12. Oct 30, 2019
  13. Oct 28, 2019
    • Brendan Abolivier's avatar
      Add CI for synapse_port_db (#6140) · 14504ad5
      Brendan Abolivier authored
      This adds:
      
      * a test sqlite database
      * a configuration file for the sqlite database
      * a configuration file for a postgresql database (using the credentials in `.buildkite/docker-compose.pyXX.pgXX.yaml`)
      
      as well as a new script named `.buildkite/scripts/test_synapse_port_db.sh` that:
      
      1. installs Synapse
      2. updates the test sqlite database to the latest schema and runs background updates on it
      3. creates an empty postgresql database
      4. run the `synapse_port_db` script to migrate the test sqlite database to the empty postgresql database (with coverage)
      
      Step `2` is done via a new script located at `scripts-dev/update_database`.
      
      The test sqlite database is extracted from a SyTest run, so that it can be considered as an actual homeserver's database with actual data in it.
      14504ad5
  14. Oct 23, 2019
  15. Oct 11, 2019
  16. Jul 10, 2019
  17. Jun 25, 2019
  18. Jun 20, 2019
  19. Jun 13, 2019
  20. Jun 03, 2019
  21. May 03, 2019
  22. Mar 22, 2019
  23. Mar 21, 2019
  24. Mar 07, 2019
  25. Mar 04, 2019
  26. Feb 26, 2019
  27. Feb 22, 2019
  28. Jan 23, 2019
  29. Jan 12, 2019
  30. Nov 09, 2018
  31. Oct 29, 2018
  32. Oct 24, 2018
    • Richard van der Hoff's avatar
      Fix a number of flake8 errors · ef771cc4
      Richard van der Hoff authored
      Broadly three things here:
      
      * disable W504 which seems a bit whacko
      * remove a bunch of `as e` expressions from exception handlers that don't use
        them
      * use `r""` for strings which include backslashes
      
      Also, we don't use pep8 any more, so we can get rid of the duplicate config
      there.
      ef771cc4
  33. Oct 20, 2018
  34. Oct 02, 2018
  35. Sep 27, 2018
  36. Sep 26, 2018
  37. Sep 17, 2018
    • Richard van der Hoff's avatar
      Remove nuke-room-from-db.sh script · e7b3b4d8
      Richard van der Hoff authored
      The problem with this script is that it is largely untested, entirely
      unmaintained, and running it is likely to make your synapse blow up in
      exciting ways.
      
      For example, it leaves a bunch of tables with dead values in it, like
      event_to_state_groups.
      
      Having it here sends a message that it is a supported part of
      synapse, which is absolutely not the case.
      e7b3b4d8
  38. Jun 12, 2018
  39. May 08, 2018
Loading