Commit graph

4 commits

Author SHA1 Message Date
Kim Alvefur
1541284108 tools: Update imports to use new prosody.* namespace 2023-06-08 09:37:01 +02:00
Kim Alvefur
c7396c9aac tools/cfgdump: Serialize individual (table) settings in stable order too 2021-05-17 16:51:11 +02:00
Kim Alvefur
7d5c227a04 tools/cfgdump: Iterate in sort order to give stable output
Should allow using this tool for comparing configs without hash table
order messing things up.
2021-05-17 16:33:44 +02:00
Kim Alvefur
43ec58831c tools/cfgdump: Reads Prosody config file and pretty-prints it back out
Useful for comparing what you think you have in your config with what
Prosody sees, e.g. wrt (lack of) significance of indentation, order of
options vs scope etc. (global options do not go at the end!)

Could probably be turned into a prosodyctl command, especially if it
learns to redact secrets and passwords.
2020-10-28 22:48:31 +01:00