Skip to content
Snippets Groups Projects
  1. Nov 24, 2020
  2. Oct 29, 2020
  3. Oct 28, 2020
  4. Oct 15, 2020
    • Andrew Morgan's avatar
      Add option to scripts-dev/lint.sh to only lint files changed since the last git commit (#8472) · 654e239b
      Andrew Morgan authored
      This PR makes several changes to the `./scripts-dev/lint.sh` script, which lints the codebase with a number of tools:
      
      * Adds usage information, with `-h` flag to show it. Otherwise it will show when providing an unknown flag.
      * Adds option `-d` which will check both staged and unstaged files that have changed since the last commit and add them to the list of files to lint.
        - Note that only files without an extension, or with a `.py` extension will be allowed. This prevents editing bash scripts causing the linters to break on non-python files.
      * Improves the print-out of which files/directories are being linted. 
      654e239b
  5. Oct 07, 2020
  6. Sep 29, 2020
  7. Sep 18, 2020
  8. Sep 17, 2020
  9. Sep 04, 2020
  10. Sep 03, 2020
  11. Aug 26, 2020
  12. Aug 05, 2020
  13. Aug 04, 2020
    • Andrew Morgan's avatar
      Spruce up the check-newsfragment CI output (#8024) · 7cac9006
      Andrew Morgan authored
      This PR:
      
      * Reduces the amount of noise in the `check-newsfragment` CI output by hiding the dependency installation output by default.
      * Prints a link to the changelog/debian changelog section of the contributing guide if an error is found.
      7cac9006
  14. Jul 28, 2020
  15. Jul 20, 2020
  16. Jul 17, 2020
  17. Jul 05, 2020
    • Will Hunt's avatar
      isort 5 compatibility (#7786) · 62b1ce85
      Will Hunt authored
      The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
      62b1ce85
  18. Jun 25, 2020
  19. Jun 16, 2020
  20. Jun 03, 2020
  21. May 20, 2020
  22. May 19, 2020
  23. May 15, 2020
  24. Feb 21, 2020
  25. Feb 12, 2020
  26. 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
  27. Jan 03, 2020
  28. Dec 18, 2019
  29. Dec 11, 2019
  30. Dec 10, 2019
  31. Dec 05, 2019
  32. Dec 04, 2019
  33. Nov 06, 2019
  34. Nov 01, 2019
  35. Oct 30, 2019
  36. 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
  37. Oct 23, 2019
Loading