Closed (fixed)
Project:
Config Export Ignore
Version:
8.x-1.0
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2020 at 23:43 UTC
Updated:
6 Oct 2021 at 16:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ericjenkins commentedAttaching patch #2 which leverages the
fnmatch()php method to match excluded config entity names in the same manner as included config entity names.Comment #3
ericjenkins commentedComment #4
ericjenkins commentedComment #5
ericjenkins commentedI discovered and analyzed a similar issue for the Config Ignore project. @pookmish had what I felt was a more refined
if()statement, so I'm adapting it for use here. I'm also convertingfnmatch()topreg_match()in my function.Comment #6
ericjenkins commentedTurns out #5 wasn't working for me because the
preg_match()was not correctly handling the '~' character. I should have tested #5 prior to committing it.Submitting patch #6 and interdiff.
Comment #7
mohit_aghera commentedThanks for the patch @ericjenkins. I'll review the patch and I'll do quick testing today.
Comment #9
mohit_aghera commentedThanks, @ericjenkins, I've merged the patch.
I'll create a new release after one pending patch.