offer the capability to exclude items in a metadata filter using a regex pattern
If we can exclude certain things in the comparison filters, all other newly created things are automatically provided with the CI job that uses my comparison filters.
For example, at the moment in "custom filters", if I select the type "custom object" and disable "all elements", I can filter and choose which objects we want to compare.
-> We need the option to invert the filter. To be able to select the specific objects that do not want to compare and deploy (like "Not: regex: waste_ | QA_ | staging123_").
-
It's in the 'Manage custom filters' dialog (next to the Compare Now button).
If you open the dialog, change the toggle to 'Named items' for the metadata type you'd like to use the regular expression on and then from the options below simply pick 'Regular expression' enter the regex and choose 'exclude'.
Stephen
-
Hi Nathalie. Yes, we just released support for regex exclusion filtering! You can see more about how this works in this doc: https://docs.gearset.com/feature-guides/comparisons-and-deployments/using-regex-in-custom-metadata-filters
-
Nathalie Hernandez commented
Was this implementes? When / how will we be able to use it?