-
Notifications
You must be signed in to change notification settings - Fork 310
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 CycloneDX metadata #7405
Add CycloneDX metadata #7405
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #7405 +/- ##
============================================
- Coverage 60.91% 60.91% -0.01%
Complexity 1968 1968
============================================
Files 338 338
Lines 16622 16623 +1
Branches 2365 2365
============================================
Hits 10126 10126
- Misses 5518 5519 +1
Partials 978 978
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
7224841
to
60839c4
Compare
@@ -25,10 +25,12 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize | |||
|
|||
import org.ossreviewtoolkit.utils.common.getDuplicates | |||
import org.ossreviewtoolkit.utils.spdx.SpdxConstants.REF_PREFIX | |||
import org.ossreviewtoolkit.utils.spdx.SpdxLicense |
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.
Commit message nit: "a hard-coded"
To avoid replacing unintended strings, replace only the first occurrence in the header section before the components start. This is a preparation for adding more replacements. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
This increases the score with tools like sbomqs [1]. Also see [2]. [1]: https://github.com/interlynk-io/sbomqs [2]: interlynk-io/sbombenchmark.dev#11 Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
By default, use CC0-1.0 as the license, just like for SPDX data. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
60839c4
to
3758b59
Compare
Avoid typos and ease refactoring by using the appropriate `enum` value for the license ID instead of a hard-coded string. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
3758b59
to
59d1c2c
Compare
Please have a look at the individual commit messages for the details.