Problem/Motivation
Currently updates are "all or nothing"--updates are made all at once from all installed extensions.
It would be useful to be able to limit updates by extensions--see #2445463-7: Add Drush support to Configuration Synchronizer.
Enabling work done in #2797273: Enable filtering the data returned by extension.
Proposed resolution
Provide a UI at the configuration initialization screen, showing what extensions have available updates and providing a checkbox for each.
Remaining tasks
- Before enabling this UI, need to ensure we're refreshing the extension snapshot for updated or added items. Currently we're deleting and rebuilding the entire snapshot set in an event listener. We need to instead refresh only the specific items that have been updated.
- If we limit to selected extensions, 'core' config will not be updated. TBD: should we expose 'core' as an additional selection option?
User interface changes
The initialization screen now features a listing of modules and themes with available updates along with the specific configuration items to be updated or added, broken down by configuration type.
Comments
Comment #4
nedjoComment #5
nedjoCompleted enabling work, but now blocked by #2804955: Refresh snapshot of imported items.
Comment #6
bkosborneI agree this would be useful. The all or nothing approach is sort of dangerous. There may be some contrib modules that dramatically change their config/install and you don't want those changes to be made on your site.
Comment #7
nedjoIn the 8.x-2.x branch we're providing a Config Filter plugin per extension, so this is now back on the table.
Comment #9
nedjoThere may be some loose ends and more testing needed, but this is substantially complete and we can reopen issues that were blocked by this one.