Problem/Motivation

I came across the scenario where I'd like config_ignore deactivated on the fly.

Proposed resolution

Add a flag to drush cim & drush cex command to deactivate config ignore.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

useernamee created an issue. See original summary.

useernamee’s picture

Status: Active » Needs review

Solution seems a bit hacky, but it works.

bircher’s picture

Status: Needs review » Needs work

This is a good idea! But I think we should do it with the Drush 13.7+ way in order to be forward compatible.
Drush hooks are deprecated in 14

https://www.drush.org/14.x/listeners/

hitchshock made their first commit to this issue’s fork.

hitchshock’s picture

Status: Needs work » Needs review

This is a really useful solution. I've had several situations where I had to manually set config_ignore_deactivate to export configurations that are generally ignored.

I provided both drush solutions for drush <13.7 and drush >=13.7, and they don't conflict with each other.

Tested it with:
drush 12
drush 13.6
drush 13.7

  • bircher committed 107e7397 on 8.x-3.x authored by useernamee
    Issue #3481749: Add option to deactivate config ignore during drush...
bircher’s picture

Status: Needs review » Fixed

thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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