Open dktapps opened 7 years ago
Just add an key that returns the version?
#Config revision
#DO NOT CHANGE BY HAND
revision: 21
@TheDiamondYT1 That doesn't solve the actual problem, that only provides a (unreliable) way to tell the difference between config versions.
Couldn't you loop through all keys in the config and check it against the built-in config
@TheDiamondYT1 and what then? You couldn't reliably merge yaml files including comments
We either need to rebuild configs or warn users their config is outdated. The problem with this is that libyaml cannot retain comments in yml files.