anonymousland-synapse/scripts-dev
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
..
build_debian_packages Add Ubuntu 20.10 (Groovy Gorilla) to build scripts. (#8475) 2020-10-07 08:48:54 -04:00
check_line_terminators.sh
check_signature.py
check-newsfragment
complement.sh Add support for running Complement against the local checkout (#8317) 2020-09-29 13:47:47 +01:00
config-lint.sh Prevent the config-lint script erroring out on any sample_config changes (#9562) 2021-03-09 11:11:42 +00:00
convert_server_keys.py
database-save.sh
definitions.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
dump_macaroon.py Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
federation_client.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
generate_sample_config
hash_history.py Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
lint.sh Align the directories linted in CI with the defaults in scripts-dev/lint.sh (#9191) 2021-01-21 18:26:52 +00:00
list_url_patterns.py
make_full_schema.sh Remove conflicting sqlite tables that are "reserved" (shadow fts4 tables) (#9003) 2021-02-10 20:12:57 +00:00
mypy_synapse_plugin.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
next_github_number.sh
sign_json Add a script to sign arbitrary json objects. (#8772) 2020-11-24 12:53:00 +00:00
tail-synapse.py
update_database Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00