-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Document configuration option vocabulary/taxonomy and then simplify #5584
Comments
For instance, we have secrets with different key names:
Secrets should be obviously a secret, and should match the form We have:
All paths should match the form |
We also have:
This should be something like "all boolean-type enabling options should use the format: "enable_XXX" (or if we want both enable and disable as defaultable things, prefix with "enable_XXX" or "disable_XXX") - but what we shouldn't do is mix |
Another contender: durations:
Most (all?) of the above can be expressed with units eg
|
The sample config goes a long way. Could the comments just be improved and extended? |
vaguely related to #8159 |
A document that contains the vocabulary of the synapse configuration and the expected values of those named fields would assist in keeping code consistent.
A few things have popped up recently, here and in other branches, so I thought i'd start an issue to collect examples.
I think we should first generate a statement on what the best naming scheme is for things, aim to apply that in future, then come back and deprecate/rename existing options to bring them into line.
Related issues:
email.riot_base_url
config option #3913 (we should be clear this is used as a prefix or a template)url
in appservice config file #3523 (we should be consistent in requiring and handling trailing slashes in URLs in our configuration)The text was updated successfully, but these errors were encountered: