Skip to content

Conversation

@Monal-Reddy
Copy link

When importing SPDX SBOMs, dependencies originating from the document root (SPDXRef-DOCUMENT) were treated as package-to-package dependencies instead of project-level dependencies.
This caused direct dependencies to be lost when the same package also appeared transitively.
This change maps SPDXRef-DOCUMENT to project-level dependencies (for_package=None), preserving both direct and transitive relationships.

…cies

Signed-off-by: Monal-Reddy <monalreddy001@gmail.com>
@Monal-Reddy Monal-Reddy force-pushed the fix-spdx-project-deps branch from ad6b2af to 2b8eb3f Compare January 21, 2026 23:09
@Monal-Reddy Monal-Reddy changed the title Fix missing project-level dependencies when importing SPDX SBOMs Fix missing project-level dependencies when importing SPDX SBOMs #1918 Jan 21, 2026
@Monal-Reddy
Copy link
Author

hi @tdruez , could you please take a look at this PR when you have time? It addresses the SPDX dependency issue in #1918. Thankyou!

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.

1 participant