Actions
Souhaits #1822
ferméRemove non user related files from cofiguration folder
Début:
27/04/2024
Echéance:
% réalisé:
100%
Temps estimé:
Vote:
Description
Problem description:
The
The
config
folder of galette, seems to contain a mix of user application configuration and developer / release application configurationconfig.inc.php
, behavior.inc.php
and maybe also exports.yaml
are user configurable.
- Users may want to keep their special configurations between installations. Not knowing which files to keep, they keep all files from the config folder, to the detriment of application upgrades that update default configurations, for example paths and versions in
paths.inc.php
andversions.inc.php
- For container setups or setups where you simply want to symlink user configurations, you need to mount or symlink the specific files containing your personal configuration, leading to the problem "which files to link to". You can also mount / symlink the whole config folder, but then you have to copy the developer / release application configuration files over from the original archives.
Problem solution suggestion:
Create a user_config
folder, which may be empty from the start. Any file placed here, overrides the corresponding file in the config
folder, but only the ones that should be overridable.
I would suggest that the database info in config.inc.php
would always be created here (and you can place your unattended install file here if #1821 is solved). And the installer can either copy or move behavior.inc.php
and exports.yaml
? to the user_config
folder if they don't already exist.
Allowing the folder to be empty from the archives of galette, is important for solutions where you want to symlink or mount the whole folder.
Actions