Problem

Some configuration vaules might differ on preview environments, e.g. due to some automated setup changes. Still this changes should not be pushed to production

Proposed resolution

Support excluding this config via config.ignore - or add a separate ignore configuation.

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

fago created an issue. See original summary.

fago’s picture

Status: Active » Needs review

I made this work with the current config_ignore code, by re-using the event-subscriber class with dfiferent dependencies. That's not very nice, but works without requiring us to re-invent lots of config-ignore logic.

I created #3534690: Allow working with different storage during export to hopefully find a better solution on the long-run, but for now this seems good enough. I tested the change manually and it works fine! During rebase the ignored changes are kept, during deployment ignored

arthur_lorenz’s picture

Status: Needs review » Reviewed & tested by the community

Nice approach! I have nothing to add!

  • fago committed 07c8c7b1 on 1.x
    Issue #3533974 by fago: Add support for config ignore
    
fago’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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