Skip to content
Snippets Groups Projects

update: remove oniro-core exceptions as they are now defunct

Merged Martin Lowe requested to merge malowe/main/remove-oniro-exceptions into main
All threads resolved!
1 file
+ 0
18
Compare changes
  • Side-by-side
  • Inline
+ 0
18
@@ -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
Loading