0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 06:43:46 +01:00
synapse/changelog.d
Andrew Morgan 22db45bd4d
Prevent the config-lint script erroring out on any sample_config changes (#9562)
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.
2021-03-09 11:11:42 +00:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
9458.misc Add ResponseCache tests. (#9458) 2021-03-08 14:00:07 -05:00
9508.doc Update reverse proxy to add OpenBSD relayd example configuration. (#9508) 2021-03-06 11:49:19 +00:00
9510.feature Record the SSO Auth Provider in the login token (#9510) 2021-03-04 14:44:22 +00:00
9511.feature Prometheus metrics for logins and registrations (#9511) 2021-03-04 16:39:27 +00:00
9520.misc Add type hints to purge room and server notice admin API. (#9520) 2021-03-08 10:34:38 -05:00
9523.misc Add logging to ObservableDeferred callbacks (#9523) 2021-03-09 11:09:31 +00:00
9528.misc Create a SynapseReactor type which incorporates the necessary reactor interfaces. (#9528) 2021-03-08 08:25:43 -05:00
9540.feature Replace last_*_pdu_age metrics with timestamps (#9540) 2021-03-04 16:40:18 +00:00
9540.removal Replace last_*_pdu_age metrics with timestamps (#9540) 2021-03-04 16:40:18 +00:00
9541.misc Add a basic test for purging rooms. (#9541) 2021-03-08 09:21:36 -05:00
9550.doc Add additional SAML2 upgrade notes (#9550) 2021-03-05 12:07:50 +00:00
9559.removal Warn that /register will soon require a type when called with an access token (#9559) 2021-03-08 16:35:04 +00:00
9562.misc Prevent the config-lint script erroring out on any sample_config changes (#9562) 2021-03-09 11:11:42 +00:00