•  
      request #40460 Have a single source of truth for configuration variables
    Infos
    #40460
    Manuel Vacelet (vaceletm)
    2024-11-18 15:57
    2024-11-18 15:57
    42086
    Details
    Have a single source of truth for configuration variables

    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.

    Site admin
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Manuel Vacelet (vaceletm)
    Under implementation
    Empty
    Attachments
    Empty
    References
    References list is empty