[NO-JIRA] Fix rule coverage for Apex, Go, Ruby and Scala

Replaced the old reference to slang-enterprise with references to split
repos and JIRA projects for each of the former SLang languages (Apex, Go, Ruby and Scala).
This commit is contained in:
Dorian Burihabwa 2024-10-07 13:47:32 +02:00 committed by Dorian Burihabwa
parent af1e607df5
commit dcf8ddd32f
2 changed files with 40 additions and 9 deletions

View File

@ -160,11 +160,11 @@ const languageToJiraProject = new Map(Object.entries({
'PLI': 'SONARPLI',
'PLSQL': 'SONARPLSQL',
'RPG': 'SONARRPG',
'APEX': 'SONARSLANG',
'RUBY': 'SONARSLANG',
'APEX': 'SONARAPEX',
'RUBY': 'SONARRUBY',
'KOTLIN': 'SONARKT',
'SCALA': 'SONARSLANG',
'GO': 'SONARSLANG',
'SCALA': 'SONARSCALA',
'GO': 'SONARGO',
'SECRETS': 'SECRETS',
'SWIFT': 'SONARSWIFT',
'TSQL': 'SONARTSQL',
@ -188,10 +188,10 @@ const languageToGithubProject = new Map(Object.entries({
'TYPESCRIPT': 'SonarJS',
'SWIFT': 'sonar-swift',
'KOTLIN': 'sonar-kotlin',
'GO': 'slang-enterprise',
'SCALA': 'slang-enterprise',
'RUBY': 'slang-enterprise',
'APEX': 'slang-enterprise',
'GO': 'sonar-go',
'SCALA': 'sonar-scala',
'RUBY': 'sonar-ruby',
'APEX': 'sonar-apex',
'HTML': 'sonar-html',
'COBOL': 'sonar-cobol',
'VB6': 'sonar-vb',

View File

@ -8,7 +8,38 @@ from pathlib import Path
from rspec_tools.utils import (load_json, pushd)
REPOS = ['sonar-abap','sonar-architecture','sonar-cpp','sonar-cobol','sonar-dart','sonar-dotnet','sonar-css','sonar-flex','slang-enterprise','sonar-java','SonarJS','sonar-php','sonar-pli','sonar-plsql','sonar-python','sonar-rpg','sonar-swift','sonar-text','sonar-tsql','sonar-vb','sonar-html','sonar-xml','sonar-kotlin', 'sonar-secrets', 'sonar-security', 'sonar-dataflow-bug-detection', 'sonar-iac-enterprise']
REPOS = [
'sonar-abap',
'sonar-apex',
'sonar-architecture',
'sonar-cobol',
'sonar-cpp',
'sonar-css',
'sonar-dart',
'sonar-dataflow-bug-detection',
'sonar-dotnet',
'sonar-flex',
'sonar-go',
'sonar-html',
'sonar-iac-enterprise',
'sonar-java',
'SonarJS',
'sonar-kotlin',
'sonar-php',
'sonar-pli',
'sonar-plsql',
'sonar-python',
'sonar-rpg',
'sonar-ruby',
'sonar-scala',
'sonar-secrets',
'sonar-security',
'sonar-swift',
'sonar-text',
'sonar-tsql',
'sonar-vb',
'sonar-xml'
]
CANONICAL_NAMES = {
'CLOUD_FORMATION': 'CLOUDFORMATION',