Introduce Feature Flag Definition
This adds a YAML-based definition of feature flags that are stored in `(ee/)configs/feature-flags/`. Currently none of feature flag types are required to have a present YAML definition. This definition contains information like: - what MR introduced FF - helps to create and has a issue that tracks the rollout and removal of FF - intentionally adds `default_enabled` to YAML - force checks the consistency of `default_enabled` between what is in code and what is in YAML
显示
- config/initializers/0_inject_feature_flags.rb 5 个添加, 0 个删除config/initializers/0_inject_feature_flags.rb
- config/initializers/flipper.rb 0 个添加, 1 个删除config/initializers/flipper.rb
- ee/lib/ee/feature/definition.rb 20 个添加, 0 个删除ee/lib/ee/feature/definition.rb
- lib/feature.rb 11 个添加, 3 个删除lib/feature.rb
- lib/feature/definition.rb 137 个添加, 0 个删除lib/feature/definition.rb
- lib/feature/shared.rb 33 个添加, 0 个删除lib/feature/shared.rb
- spec/lib/feature/definition_spec.rb 209 个添加, 0 个删除spec/lib/feature/definition_spec.rb
- spec/lib/feature_spec.rb 30 个添加, 0 个删除spec/lib/feature_spec.rb
- spec/spec_helper.rb 3 个添加, 0 个删除spec/spec_helper.rb
config/initializers/flipper.rb
已删除
100644 → 0
ee/lib/ee/feature/definition.rb
0 → 100644
lib/feature/definition.rb
0 → 100644
lib/feature/shared.rb
0 → 100644
spec/lib/feature/definition_spec.rb
0 → 100644
想要评论请 注册 或 登录