Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-11 15:09:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-11 15:09:43 +0300
commit54f170b69972d46a5bab2a0231510a41e610da31 (patch)
tree6943aba13e4bdf28045136d0c1a1f26c4d3fb94f /scripts
parent8c59925bbbc05315565cd9eb54c897be69072d65 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/used-feature-flags3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/used-feature-flags b/scripts/used-feature-flags
index 6fc3a2f7d10..7ef3dbafd36 100755
--- a/scripts/used-feature-flags
+++ b/scripts/used-feature-flags
@@ -39,6 +39,9 @@ flags_paths.each do |flags_path|
Dir.glob(flags_path).each do |path|
feature_flag_name = File.basename(path, '.yml')
+ # TODO: we need a better way of tracking use of Gitaly FF across Gitaly and GitLab
+ next if feature_flag_name.start_with?('gitaly_')
+
all_flags[feature_flag_name] = File.exist?(File.join('tmp', 'feature_flags', feature_flag_name + '.used'))
end
end