Skip to content
Snippets Groups Projects
  1. Jun 16, 2020
  2. Jun 03, 2020
  3. May 20, 2020
  4. May 19, 2020
  5. May 15, 2020
  6. Feb 21, 2020
  7. Feb 12, 2020
  8. 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
  9. Jan 03, 2020
  10. Dec 18, 2019
  11. Dec 11, 2019
  12. Dec 10, 2019
  13. Dec 05, 2019
  14. Dec 04, 2019
  15. Nov 06, 2019
  16. Nov 01, 2019
  17. Oct 30, 2019
  18. 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
  19. Oct 23, 2019
  20. Oct 11, 2019
  21. Jul 10, 2019
  22. Jun 25, 2019
  23. Jun 20, 2019
  24. Jun 13, 2019
  25. Jun 03, 2019
  26. May 03, 2019
  27. Mar 22, 2019
  28. Mar 21, 2019
  29. Mar 07, 2019
  30. Mar 04, 2019
  31. Feb 26, 2019
  32. Feb 22, 2019
  33. Jan 23, 2019
  34. Jan 12, 2019
  35. Nov 09, 2018
  36. Oct 29, 2018
  37. 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
  38. Oct 20, 2018
  39. Oct 02, 2018
  40. Sep 27, 2018
Loading