Skip to content

Commit

Permalink
Update SonarQube logo and documentation URLs.
Browse files Browse the repository at this point in the history
Closes #10766.
  • Loading branch information
fniessink committed Feb 4, 2025
1 parent be73856 commit 90fb8fd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 15 additions & 10 deletions components/shared_code/src/shared_data_model/sources/sonarqube.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,10 @@ def violation_entity_attributes(

SONARQUBE = Source(
name="SonarQube",
description="SonarQube is an open-source platform for continuous inspection of code quality to perform automatic "
"reviews with static analysis of code to detect bugs, code smells, and security vulnerabilities on 20+ programming "
"languages.",
description="SonarQube Server is an on-premise analysis tool designed to detect coding issues in 30+ languages, "
"frameworks, and infrastructure-as-code platforms.",
supported_versions_description="≥10.2",
url=HttpUrl("https://www.sonarqube.org"),
url=HttpUrl("https://www.sonarsource.com/products/sonarqube/"),
configuration={
"commented_out_rules": Configuration(
metrics=["commented_out_code"],
Expand Down Expand Up @@ -353,7 +352,9 @@ def violation_entity_attributes(
"languages_to_ignore": MultipleChoiceWithAdditionParameter(
name="Languages to ignore (regular expressions or language names)",
short_name="languages to ignore",
help_url=HttpUrl("https://docs.sonarqube.org/latest/analysis/languages/overview/"),
help_url=HttpUrl(
"https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/languages/overview/"
),
metrics=["loc"],
),
"lines_to_count": SingleChoiceParameter(
Expand Down Expand Up @@ -384,14 +385,16 @@ def violation_entity_attributes(
"clean_code_attribute_categories": MultipleChoiceParameter(
name="Clean code attribute categories",
placeholder="all clean code attribute categories",
help_url=HttpUrl("https://docs.sonarsource.com/sonarqube/latest/user-guide/clean-code/definition/"),
help_url=HttpUrl(
"https://docs.sonarsource.com/sonarqube-server/latest/core-concepts/clean-code/definition/"
),
values=["adaptable", "consistent", "intentional", "responsible"],
metrics=["suppressed_violations", "violations"],
),
"hotspot_statuses": MultipleChoiceParameter(
name="Security hotspot statuses",
short_name="hotspot statuses",
help_url=HttpUrl("https://docs.sonarqube.org/latest/user-guide/security-hotspots/"),
help_url=HttpUrl("https://docs.sonarsource.com/sonarqube-server/latest/user-guide/security-hotspots/"),
placeholder="acknowledged, to review",
values=["to review", "acknowledged", "safe", "fixed"],
default_value=["to review", "acknowledged"],
Expand All @@ -400,7 +403,7 @@ def violation_entity_attributes(
"review_priorities": MultipleChoiceParameter(
name="Security hotspot review priorities",
short_name="review priorities",
help_url=HttpUrl("https://docs.sonarqube.org/latest/user-guide/security-hotspots/"),
help_url=HttpUrl("https://docs.sonarsource.com/sonarqube-server/latest/user-guide/security-hotspots/"),
placeholder="all review priorities",
values=["low", "medium", "high"],
metrics=["security_warnings"],
Expand All @@ -409,7 +412,9 @@ def violation_entity_attributes(
name="Types of effort",
short_name="effort types",
placeholder="all effort types",
help_url=HttpUrl("https://docs.sonarqube.org/latest/user-guide/metric-definitions/"),
help_url=HttpUrl(
"https://docs.sonarsource.com/sonarqube-server/latest/user-guide/code-metrics/metrics-definition/"
),
values=[
"effort to fix all code smells",
"effort to fix all bug issues",
Expand All @@ -425,7 +430,7 @@ def violation_entity_attributes(
"security_types": MultipleChoiceParameter(
name="Security issue types",
placeholder=ISSUE_SECURITY_TYPE,
help_url=HttpUrl("https://docs.sonarqube.org/latest/user-guide/rules/"),
help_url=HttpUrl("https://docs.sonarsource.com/sonarqube-server/latest/user-guide/rules/overview/"),
default_value=[ISSUE_SECURITY_TYPE],
values=["security hotspot", ISSUE_SECURITY_TYPE],
metrics=["security_warnings"],
Expand Down
1 change: 1 addition & 0 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ If your currently installed *Quality-time* version is not the latest version, pl
### Changed

- Use the font configured in the browser instead of the browser's system font. Fixes [#9864](https://github.com/ICTU/quality-time/issues/9864).
- Update SonarQube logo and documentation URLs. Closes [#10766](https://github.com/ICTU/quality-time/issues/10766).

## v5.23.0 - 2025-01-27

Expand Down

0 comments on commit 90fb8fd

Please sign in to comment.