As of today (16.1) the state of Tuleap config is messy. In order to get the list of all possible configuration variables, one must have rely on:
-
tuleap config-list
for "recent" configuration variables, defined in sources and relying on #[ConfigKey]
annotation
-
*.inc.dist
files (local.inc.dist
and equivalent in plugins) that defines variables as well as default values (and sometime default values for variables defined in sources 🙃)
We thought for longtime that we should do a clean transfer for *.inc.dist
(move to the appropriate class, replace all string usage by const usage, etc) but the result is that this work is just too much of a burden to be done so... it's not done.
There is enough value to transfer everything in a dummy classes "as is" just to centralize the definition. Improvements might come later on.