CycloneDX / cyclonedx-core-java

CycloneDX SBOM Model and Utils for Creating and Validating BOMs
https://cyclonedx.org/
Apache License 2.0
81 stars 61 forks source link

Teach versions / generators about their supported file formats #445

Closed sschuberth closed 4 months ago

sschuberth commented 4 months ago

This allows things like iterating over the supported file formats for a given version, and generating all BOM file formats for it.

codacy-production[bot] commented 4 months ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: -0.03% :white_check_mark: 77.14%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (e2f7db69fda60632ce759fbf293b8bdf3754cd91) | 5928 | 4332 | 73.08% | | | Head commit (8ce47b849878368284db3a906a6c1527ada958d4) | 5952 (+24) | 4348 (+16) | 73.05% (**-0.03%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#445) | 35 | 27 | **77.14%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

sschuberth commented 4 months ago

For consistency, please consider adding similar checks to the validation side of things

Done as well in a separate commit.