OXIDprojects / oxid_modules_config

OXID Module Configuration Im-/Exporter module by OXID Professional Services
GNU General Public License v3.0
3 stars 9 forks source link

provide a Soft-Mode #11

Open alfredbez opened 5 years ago

alfredbez commented 5 years ago

Problem

Sometimes we have changes made in the OXID Backend which are overwritten via the config-import.

Idea

I think it would be very useful if we have some kind of a soft mode, which checks if the config changed since the last export.


There are several ways to do this:

a) Check OXTIMESTAMP field:

b) Compare exports


possible Module-options

Parameter Description
enableSoftMode enables the Soft-Mode and output warnings if config in configurations folder is outdated
logOverwrittenConfigs writes changed config values (diff) to yaml-file
dontOverwrite do not import if configurations folder is outdated (you need to update the configurations folder and do an import again

What do you think?