-
Notifications
You must be signed in to change notification settings - Fork 490
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
Set up Sonar #9847
Set up Sonar #9847
Conversation
This comment has been minimized.
This comment has been minimized.
These properties were required to run this: export SONAR_TOKEN=xxxx mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=IQSS_dataverse
This comment has been minimized.
This comment has been minimized.
@pdurbin no (specific) promises, but do you need help with this? |
Yes! Well, to be more specific, this issue has not been prioritized so no one on the core team is actively working on it. If you'd like to help, that would be great! Perhaps we could start a topic about Sonar in #dev at https://chat.dataverse.org (Zulip). |
If you are still interested in this PR, can you please merge and resolve any merge conflicts with the latest from develop? If so, we can prioritize reviewing and QAing the changes. If we don’t hear from you by May 22, 2024, we’ll go ahead and close this PR (it can always be reopened after that date, if there is still interest). |
Conflicts: modules/dataverse-parent/pom.xml
@scolapasta I just resolved the merge conflicts. Please prioritize! 😄 |
📦 Pushed preview images as
🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name. |
I still want Sonar to be set up but I'm closing this and will let someone else be the champion. |
DRAFT UNTIL WE ADD GITHUB ACTIONS
What this PR does / why we need it:
We'd like to set up Sonar to check pull requests.
Which issue(s) this PR closes:
Special notes for your reviewer:
We'll be adding GitHub Actions to do the equivalent of what I ran at tech hours:
@poikilotherm already set this up for us for the xoai library, for example: https://github.com/gdcc/xoai/blob/xoai-5.0.0/.github/workflows/build_test_analyze.yml#L38
Suggestions on how to test this:
Check if Sonar reports are updated.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No.
Is there a release notes update needed for this change?:
Not sure a release note is necessary.
Additional documentation:
No, but we should add some.