From f50dfbd5ac6fc68c3866c5d8c330c30588f239ee Mon Sep 17 00:00:00 2001 From: Martin Lowe <martin.lowe@eclipse-foundation.org> Date: Fri, 21 Feb 2025 11:34:17 -0500 Subject: [PATCH] update: remove oniro-core exceptions as they are now defunct --- src/main/rb/eca.rb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/main/rb/eca.rb b/src/main/rb/eca.rb index 01f120d4..ec26257a 100644 --- a/src/main/rb/eca.rb +++ b/src/main/rb/eca.rb @@ -8,21 +8,6 @@ WIKI_REGEX_MATCH = /.*\.wiki$/ HOST_URL='https://gitlab.eclipse.org' API_URL='https://api.eclipse.org' LARGE_COMMIT_SET_THRESHOLD=15 -# this should be removed as soon as Oniro is onside again -ALLOW_LIST_PROJECTS = ['/eclipse/oniro-core/meta-ts', -'/eclipse/oniro-core/meta-ledge-sesure', -'/eclipse/oniro-core/linux', -'/eclipse/oniro-core/linux-meta', -'/eclipse/oniro-core/llvm-project', -'/eclipse/oniro-core/meta-arm', -'/eclipse/oniro-core/meta-av96', -'/eclipse/oniro-core/meta-binaryaudit', -'/eclipse/oniro-core/meta-clang', -'/eclipse/oniro-core/meta-openembedded', -'/eclipse/oniro-core/meta-riscv', -'/eclipse/oniro-core/meta-seco-intel', -'/eclipse/oniro-core/meta-zephyr' -] ALLOW_LIST_GROUPS = ['eclipsefdn/it/webdev/eclipse.org-php-archives/'] STRICT_MODE_ROOT_GROUPS = ['eclipse-research-labs/'] @@ -117,9 +102,6 @@ end if (nil_or_empty(project_url)) then puts "Could not determine a web URL for project, likely not a fully-qualified project, skipping" exit 0 -elsif (ALLOW_LIST_PROJECTS.any? {|repo_namespace| "#{HOST_URL}#{repo_namespace}" == project_url}) then - puts "Found allow listed project, skipping validation" - exit 0 elsif (ALLOW_LIST_GROUPS.any? {|group_namespace| project_json_data['path_with_namespace'].start_with?(group_namespace)}) then puts "Found allow listed group, skipping validation" exit 0 -- GitLab