Skip to content

PLUGINAPI-172 NO-JIRA Fix deprecated usage SQ issues#263

Merged
aleksandra-bozhinoska-sonarsource merged 2 commits intomasterfrom
task/abozhinoska/fix-deprecated-usage-issues
Dec 2, 2025
Merged

PLUGINAPI-172 NO-JIRA Fix deprecated usage SQ issues#263
aleksandra-bozhinoska-sonarsource merged 2 commits intomasterfrom
task/abozhinoska/fix-deprecated-usage-issues

Conversation

@aleksandra-bozhinoska-sonarsource
Copy link
Copy Markdown
Contributor

For SonarSourcers:

Check before making the PR ready for review

  • Create a JIRA ticket if the API is impacted
  • Prefix the commit message with the ticket number
  • Document the change in CHANGELOG.md
  • When adding a new API:
    • Explain in the JavaDoc the purpose of the new API
    • Add a @since X.Y in the JavaDoc
  • When deprecating an API:
    • Annotate the deprecated element with @Deprecated
    • Add a @deprecated since X.Y in the JavaDoc
    • Document the replacement in the JavaDoc (if any)
  • When dropping an API:
  • Make sure the tests adhere to the convention:
    • All test method names should use snake_case, for example: test_validate_input. It can also start with the methodName
  • Make sure checks are green: build passes, Quality Gate is green
  • Merge after getting approval by at least one member of the guild
    • If no review is made within 3 days, gently ping the reviewers
    • The guild member reviewing the code can explicitly request someone else (typically another guild member representing another team) to check the impact on the specific product
    • In some cases, the guild may deem it necessary that multiple or even all members approve a PR. This is more likely in complex changes or changes directly impacting all teams using the API.

For external contributors:

Please be aware that we are not actively looking for feature contributions. The truth is that it's extremely difficult for someone outside SonarSource to comply with our roadmap and expectations. Therefore, we typically only accept minor cosmetic changes and typo fixes. If you would like to see a new feature, please create a new thread in the forum "Suggest new features".

With that in mind, if you would like to submit a code contribution, make sure that you adhere to the following guidelines and all tests are passing:

Please explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make
Use the following formatting style: SonarSource/sonar-developer-toolset
Provide a unit test for any code you changed
If there is a JIRA ticket available, please make your commits and pull request start with the ticket ID (PLUGINAPI-XXXX)

Please note that opening the PR will notify all the squad members. Please make sure you keep it in DRAFT and mark it ready, when all the checks are green.

We will try to give you feedback on your contribution as quickly as possible.

Thank You! The SonarSource Team

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title NO-JIRA Fix deprecated usage SQ issues PLUGINAPI-172 NO-JIRA Fix deprecated usage SQ issues Dec 2, 2025
@hashicorp-vault-sonar-prod
Copy link
Copy Markdown

hashicorp-vault-sonar-prod bot commented Dec 2, 2025

PLUGINAPI-172

Copy link
Copy Markdown
Contributor

@ericg138 ericg138 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aleksandra-bozhinoska-sonarsource aleksandra-bozhinoska-sonarsource force-pushed the task/abozhinoska/fix-deprecated-usage-issues branch 2 times, most recently from 51bf571 to 3dc413a Compare December 2, 2025 15:36
@aleksandra-bozhinoska-sonarsource aleksandra-bozhinoska-sonarsource force-pushed the task/abozhinoska/fix-deprecated-usage-issues branch from 3dc413a to 7f0c43d Compare December 2, 2025 16:11
@sonarqube-next
Copy link
Copy Markdown

sonarqube-next bot commented Dec 2, 2025

Quality Gate passed Quality Gate passed

Issues
0 New issues
32 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
0 Dependency risks
92.1% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube

@aleksandra-bozhinoska-sonarsource aleksandra-bozhinoska-sonarsource marked this pull request as ready for review December 2, 2025 16:16
@aleksandra-bozhinoska-sonarsource aleksandra-bozhinoska-sonarsource merged commit ee51865 into master Dec 2, 2025
5 checks passed
@aleksandra-bozhinoska-sonarsource aleksandra-bozhinoska-sonarsource deleted the task/abozhinoska/fix-deprecated-usage-issues branch December 2, 2025 16:19
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 this pull request may close these issues.

2 participants