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.

API changes

Data model changes

Comments

nedjo created an issue. See original summary.

  • nedjo committed cccc1ab on 8.x-1.x
    Issue #2800321 by nedjo: Initial round of work to allow limiting updates...

  • nedjo committed 47cb977 on 8.x-1.x
    Issue #2800321 by nedjo: Add report on available config updates by...
nedjo’s picture

Issue summary: View changes
nedjo’s picture

bkosborne’s picture

I 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.

nedjo’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
Issue summary: View changes
Status: Postponed » Active

In the 8.x-2.x branch we're providing a Config Filter plugin per extension, so this is now back on the table.

  • nedjo committed 1cdf932 on 8.x-2.x
    Issue #2800321 by nedjo: Allow limiting updates by extension
    
nedjo’s picture

Status: Active » Fixed

There 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.

  • nedjo committed 461d589 on 8.x-2.x
    Issue #2800321 by nedjo: attach callback to forms
    

  • nedjo committed 404fdbe on 8.x-2.x
    Issue #2800321 by nedjo: clean up determination of plugin status
    

  • nedjo committed c201237 on 8.x-2.x
    Issue #2800321 by nedjo: use provider to test for our filter plugins in...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.