Skip to content

Add EE question to feature-flag script

Terri Chu requested to merge tchu-add-ask-about-ee-to-feature-flag-script into master

What does this MR do and why?

Quite a few times I have either missed myself or found during review that EE feature flags are not in the ee/ folder. The command line argument exists, but it will be easier if the question is asked during the feature-flag script

This MR adds a question to the bin/feature-flag script to ask if it's an EE only feature and only sets the value if the -ee flag isn't set

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

How to set up and validate locally

  1. run with the ee flag, it will not ask you the question
    bin/feature-flag -ee test_flag
  2. run without the ee flag set, it will ask you the question. answer yes and the flag is created in the right folder (/ee)
    bin/feature-flag test_flag
  3. run without the ee flag set, it will ask you the question. answer no and the flag is created in the right folder (not /ee)
Edited by Terri Chu

Merge request reports