We currently have to set options, explanation and type in sysprefs.sql and the atomic/dbrev files. However we (almost) never use them, we rely on the values in the yml files. We could remove them and don't require them when when add new sysprefs. It will avoid the mess we currently have (mismatch between new and updated installations, see bug 41682 and bug 41800).
Created attachment 194343 [details] [review] Bug 41834: Set systempreferences's options, explanation and type to NULL Patch from commit 637b6a5
This sounds really good. It drives me a bit crazy that we duplicate things between the DB and the YAML files.