Skip to content
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

Fix tools type in metadata #732

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

justahero
Copy link
Contributor

The tools type in metadata allows optional services & components fields according the 1.5 specification. These are not required therefore these fields have changed to Option fields.

Previously this has not been covered by tests.

The `tools` type in `metadata` allows optional `services` & `components`
fields in the 1.5 specification. These are not required therefore these
fields are changed to `Option` fields.

Previously this has not been covered by tests.

Signed-off-by: Sebastian Ziebell <[email protected]>
@justahero justahero requested a review from a team as a code owner June 24, 2024 10:45
Copy link
Contributor

@lfrancke lfrancke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good to me. I'll approve but we can give others a chance as well.
I tested it on my failing BOM and it works now.

I'm wondering what'll happen for items that contain neither services nor components. It's probably still valid either way.

You could update the changelog but I believe @Shnatsel has always done it at release time

@Shnatsel Shnatsel merged commit ac88cce into CycloneDX:main Jun 24, 2024
14 checks passed
@justahero justahero deleted the fix-metadata-tools-enum-type branch June 25, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants