Skip to content

[WIP] schema 1.5#833

Closed
jkowalleck wants to merge 6 commits intomainfrom
cdx1.5-dev
Closed

[WIP] schema 1.5#833
jkowalleck wants to merge 6 commits intomainfrom
cdx1.5-dev

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 <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@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 <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck added enhancement New feature or request breaking change labels Jun 19, 2023
* ComponentType

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

* ExternalReferenceType

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

* RatingMethod

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

* RatingMethod

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

---------

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@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 <jan.kowalleck@gmail.com>

* cs-fix

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>

---------

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@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