-
Notifications
You must be signed in to change notification settings - Fork 314
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
Add a reporter for the AOSD 2 format #8980
Conversation
Adjust the docs slightly while at it. Signed-off-by: Sebastian Schuberth <[email protected]>
plugins/reporters/aosd/src/main/kotlin/AudiOpenSourceDiagnosticsReporter.kt
Fixed
Show fixed
Hide fixed
433f8ac
to
4d72d0d
Compare
4d72d0d
to
64e7424
Compare
The `License`'s `spdx` field should not contain any license name, but only a real SPDX ID, if any. Signed-off-by: Sebastian Schuberth <[email protected]>
64e7424
to
cb82e6c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8980 +/- ##
=========================================
Coverage 67.97% 67.97%
Complexity 1158 1158
=========================================
Files 241 241
Lines 7690 7690
Branches 867 867
=========================================
Hits 5227 5227
Misses 2106 2106
Partials 357 357
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Sebastian Schuberth <[email protected]>
cb82e6c
to
b4eca61
Compare
plugins/reporters/aosd/src/main/kotlin/AudiOpenSourceDiagnosticsReporter.kt
Outdated
Show resolved
Hide resolved
LicenseView.ONLY_DETECTED, | ||
AOSD2.Origin.SCM, | ||
copyrights | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we format multi-line when cases always with curly braces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we usually do... it was formatted that way by IntelliJ, and since Detekt did not complain, I left it that way to avoid some additional nesting / lines. Do you prefer to have curly braces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, actually I would prefer to omit curly braces in such cases.
AOSD 2 stands for Audi Open Source Diagnostics, version 2. See [1]. [1]: https://www.aosd.cloud.audi/help Signed-off-by: Sebastian Schuberth <[email protected]>
b4eca61
to
50563bf
Compare
Please have a look at the individual commit messages for the details.