Skip to content
Snippets Groups Projects
  1. Mar 30, 2021
  2. Mar 25, 2021
  3. Mar 18, 2021
  4. Mar 09, 2021
    • Andrew Morgan's avatar
      Prevent the config-lint script erroring out on any sample_config changes (#9562) · 22db45bd
      Andrew Morgan authored
      I noticed that I'd occasionally have `scripts-dev/lint.sh` fail when messing about with config options in my PR. The script calls `scripts-dev/config-lint.sh`, which attempts some validation on the sample config.
      
       It does this by using `sed` to edit the sample_config, and then seeing if the file changed using `git diff`.
      
      The problem is: if you changed the sample_config as part of your commit, this script will error regardless.
      
      This PR attempts to change the check so that existing, unstaged changes to the sample_config will not cause the script to report an invalid file.
      22db45bd
  5. Feb 16, 2021
  6. Feb 10, 2021
  7. Jan 21, 2021
  8. Dec 11, 2020
  9. Nov 24, 2020
  10. Oct 29, 2020
  11. Oct 28, 2020
  12. 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
  13. Oct 07, 2020
  14. Sep 29, 2020
  15. Sep 18, 2020
  16. Sep 17, 2020
  17. Sep 04, 2020
  18. Sep 03, 2020
  19. Aug 26, 2020
  20. Aug 05, 2020
  21. 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
  22. Jul 28, 2020
  23. Jul 20, 2020
  24. Jul 17, 2020
  25. 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
  26. Jun 25, 2020
  27. Jun 16, 2020
  28. Jun 03, 2020
  29. May 20, 2020
  30. May 19, 2020
  31. May 15, 2020
  32. Feb 21, 2020
  33. Feb 12, 2020
  34. 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
  35. Jan 03, 2020
  36. Dec 18, 2019
Loading