aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cfgdump.lua
Commit message (Collapse)AuthorAgeFilesLines
* tools/cfgdump: Serialize individual (table) settings in stable order tooKim Alvefur2021-05-171-2/+9
|
* tools/cfgdump: Iterate in sort order to give stable outputKim Alvefur2021-05-171-5/+6
| | | | | Should allow using this tool for comparing configs without hash table order messing things up.
* tools/cfgdump: Reads Prosody config file and pretty-prints it back outKim Alvefur2020-10-281-0/+120
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.