This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Document config parser utility #8160
Labels
A-Config
Configuration, or the documentation thereof
A-Docs
things relating to the documentation
P4
(OBSOLETE: use S- labels.) Okay backlog: will not schedule, will accept patches
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
We have a utility to run Synapse's config parsing code without starting a homeserver, which can be quite helpful, but it's undocummented and it looks like it was pretty much forgotten about.
We should document it.
The script currently requires the user to provide a config key to print after the config has been parsed, which we sometimes don't care about, so we should make this bit optional.
As a POI, this config check is run like this (in a Synapse venv):
More generally, everything after the config key to print is passed to the config parser, so the usage of that bit (which in my example is
-c <path to config>
) is actually:The text was updated successfully, but these errors were encountered: