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 sbomnix --depth with buildtime dependencies #136

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

henrirosten
Copy link
Collaborator

Remove unnecessary optimization from sbomnix, which broke the sbomnix command line option --depth when used together with --buildtime option.

The removed optimization caused --buildtime sboms to always include the full closure (all buildtime dependencies) even if --depth was specified, requesting dependencies only up until specified depth in the dependency graph.

Remove unnecessary optimization from sbomnix, which broke the `sbomnix`
command line option `--depth` when used together with `--buildtime`
option.

The removed optimization caused `--buildtime` sboms to always include
the full closure (all buildtime dependencies) even if `--depth` was
specified, requesting dependencies only up until specified depth in the
dependency graph.

Signed-off-by: Henri Rosten <[email protected]>
@henrirosten henrirosten marked this pull request as ready for review November 7, 2024 06:14
@henrirosten henrirosten requested a review from a team November 7, 2024 06:14
@henrirosten henrirosten merged commit a99d0b1 into main Nov 7, 2024
3 checks passed
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.

2 participants