Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize plugin download on SonarCloud #4223

Closed
saberduck opened this issue Sep 29, 2023 · 0 comments · Fixed by #4314
Closed

Optimize plugin download on SonarCloud #4223

saberduck opened this issue Sep 29, 2023 · 0 comments · Fixed by #4314
Assignees
Milestone

Comments

@saberduck
Copy link
Contributor

saberduck commented Sep 29, 2023

We should add a new field of languages we analyze to the plugin manifest, so the plugin is downloaded from SonarCloud only when needed. See work done in https://sonarsource.atlassian.net/browse/SC-8970

Identified languages (to be confirmed) : js, ts, css, web, yaml

This should be only added after sonar-security adds the subset of languages to their plugin otherwise, sonar-security can fail on runtime because it depends on sonar-javascript plugin.

Also note that in the SonarCloud ticket they assume that file property is called “_sonar.{languageKey}.file.suffixes”_,, which is not true for our plugin. The language key is js or ts, while the property is sonar.javascript.file.suffixes or sonar.typescript.file.suffixes respectively. This should be clarified with SonarCloud team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants