Implement apply .patch in Keeps::DeleteOldFeatureFlags
The `gitlab-housekeeper` currently has a very simple implementation of automatically removing feature flags that are past their expected usage date. This MR introduces new functionality to `Keeps::DeleteOldFeatureFlags` where it looks for a `.patch` file matching the same name as the `.yml` file for the feature flag. If it exists it will apply the patch. The tool will be used to fully automate the developer workflow for removing feature flags. Instead of developers needing to remember to remove their feature flag later they can just add a `.patch` file when they first create the feature flag. Later on the `gitlab-housekeeper` will come along and clean it up for them.
显示
- config/feature_flags/development/access_token_pagination.patch 40 个添加, 0 个删除...g/feature_flags/development/access_token_pagination.patch
- doc/development/feature_flags/index.md 16 个添加, 0 个删除doc/development/feature_flags/index.md
- keeps/delete_old_feature_flags.rb 42 个添加, 7 个删除keeps/delete_old_feature_flags.rb
- keeps/helpers/git_diff_parser.rb 17 个添加, 0 个删除keeps/helpers/git_diff_parser.rb
- spec/keeps/delete_old_feature_flags_spec.rb 34 个添加, 13 个删除spec/keeps/delete_old_feature_flags_spec.rb
- spec/keeps/helpers/git_diff_parser_spec.rb 46 个添加, 0 个删除spec/keeps/helpers/git_diff_parser_spec.rb
keeps/helpers/git_diff_parser.rb
0 → 100644
spec/keeps/helpers/git_diff_parser_spec.rb
0 → 100644
想要评论请 注册 或 登录