- Issue created by @sahaj
- Status changed to Needs review
12 months ago 2:27pm 2 December 2023 - πΊπΈUnited States jrockowitz Brooklyn, NY
I added a section called 'Updating between alpha releases" to the project page β .
Please review this text. Recommendation and improvements are welcomed.
- π°π¬Kyrgyzstan sahaj
Thanks for the clarity of the recommendations on the project page.
Being more at ease with theming that development, it would be ideal to see a list of the updated config files on the release page. But, I understand all the great work being done for the development of schemadotorg and already more than happy with your support. Also, if I take better care of my configs files, I guess that I will be able now to smoothly manage the next updates.
Big thanks! - πΊπΈUnited States jrockowitz Brooklyn, NY
It is really hard to track all the config changes. For example, I recently removed all the configs from the JSON-LD and JSON:API previews.
An MVP alpha-to-alpha update solution would be reimporting the default config from all modules. If we reimport all the config, the
schemadotorg.schemadotorg_mapping.*.yml
files will not be overwritten because they are new files.We could implement an update hook that is always triggered btw alpha-to-alpha, or we could create a
drush schemadotorg-repair
command which do reimport but requires developers and site builders to manually trigger the alpha-to-alpha repair.I will ask @FatherShawn to weigh in.
- Status changed to Closed: works as designed
12 months ago 3:12pm 5 December 2023 - πΊπΈUnited States fathershawn New York
The Config Update β module is a great tool for this use case:
The main use case is: You update a module, and it has either changed default config that it provides, or added new config items. You want to be able to import the new items, view the differences between the site config and the changed config, and possibly "revert" (or it may be an update) to the newly-provided default config.
Given that we are in alpha state, I recommend using this tool to adjust configuration until we are in a more stable state.
- πΊπΈUnited States jrockowitz Brooklyn, NY
Another alternative is to use the Configuration Synchronizer module β , which extends the Config Update module to provide methods for safely importing site configuration from updated modules, themes, or distributions.