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: no warning for missing dependencies if no component exists #720

Merged

Conversation

weichslgartner
Copy link
Contributor

Adds a condition to check if the root component is the only component and then doesn't issue the warning. Closes #617

@weichslgartner weichslgartner requested a review from a team as a code owner October 22, 2024 20:33
tests/test_model_bom.py Outdated Show resolved Hide resolved
@jkowalleck jkowalleck requested a review from a team October 23, 2024 10:13
@jkowalleck jkowalleck added the bug Something isn't working label Oct 23, 2024
@jkowalleck jkowalleck changed the title fix dependency warning for root component only #617 fix: no warning for missing dependencies if no component exists Oct 24, 2024
@jkowalleck jkowalleck requested review from a team and madpah October 24, 2024 12:30
@jkowalleck
Copy link
Member

@madpah , what do you think about this change?

tests/test_model_bom.py Outdated Show resolved Hide resolved
tests/test_model_bom.py Show resolved Hide resolved
@jkowalleck jkowalleck merged commit d9c3ded into CycloneDX:main Oct 29, 2024
47 checks passed
@jkowalleck
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependency warning for root component only
2 participants