Skip to content

Scope search pattern to ff directories

Jay Montal requested to merge scope_pattern_to_ff_directories into master

What

Update search pattern to specifically look in feature flag directories

  • Converts general search through all files to strictly search through config/feature_flags directories (ee included)
  • f:\.yml$ to file:^(config/feature_flags/|ee/config/feature_flags/)

Why

Feature deletion was failing as non feature yaml files were being returned

Notes

Tested using an API client and sending the following for input:

  • ee: compliance_standards_adherence_csv_export file:^(config/feature_flags/|ee/config/feature_flags/)
  • saas: add_branch_rule file:^(config/feature_flags/|ee/config/feature_flags/)

Related to #174 (closed)

Edited by Jay Montal

Merge request reports

Loading