Skip to content

[WIP] schema 1.5 #833

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

Closed
wants to merge 6 commits into from
Closed

[WIP] schema 1.5 #833

wants to merge 6 commits into from

Conversation

jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Jun 19, 2023

Implement upcoming CycloneDX v1.5
closes #505

TODO

  • finalize Spec1dot5
  • update existing enums -- 1.5 dev update constants and enums #834
  • update existing models and repositories
    • tools can be of Component and Service, now
  • update normalizers
    • add new bomRef entities to discriminator
    • create backwards-compatibility flows
      • convert metadata.tools[].Component -> metadata.tools[].Tool in <= 1.5
      • convert metadata.tools[].Service -> metadata.tools[].Tool in <= 1.5
  • write the history

Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck jkowalleck added the schema 1.5 related to CycloneDX spec v1.5 label Jun 19, 2023
@jkowalleck jkowalleck added this to the schema 1.5 milestone Jun 19, 2023
Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck jkowalleck added enhancement New feature or request breaking change labels Jun 19, 2023
* ComponentType

Signed-off-by: Jan Kowalleck <[email protected]>

* ExternalReferenceType

Signed-off-by: Jan Kowalleck <[email protected]>

* RatingMethod

Signed-off-by: Jan Kowalleck <[email protected]>

* RatingMethod

Signed-off-by: Jan Kowalleck <[email protected]>

---------

Signed-off-by: Jan Kowalleck <[email protected]>
@codacy-production
Copy link

codacy-production bot commented Jun 19, 2023

Coverage summary from Codacy

Merging #833 (9f7b632) into main (2b8a341) - See PR on Codacy

Coverage variation Diff coverage
-0.14% (target: -1.00%) 93.57% (target: 90.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (2b8a341) 6714 6599 98.29%
Head commit (9f7b632) 6927 (+213) 6799 (+200) 98.15% (-0.14%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#833) 249 233 93.57%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

* cdx1.5 simple model updates

Signed-off-by: Jan Kowalleck <[email protected]>

* cs-fix

Signed-off-by: Jan Kowalleck <[email protected]>

---------

Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck
Copy link
Member Author

closed in favor of #843

@jkowalleck jkowalleck closed this Jun 26, 2023
@jkowalleck jkowalleck deleted the cdx1.5-dev branch July 2, 2023 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request schema 1.5 related to CycloneDX spec v1.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support CycloneDX 1.5
1 participant