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

Generate element relationship information #4

Open
alilleybrinker opened this issue May 25, 2022 · 1 comment
Open

Generate element relationship information #4

alilleybrinker opened this issue May 25, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@alilleybrinker
Copy link
Owner

alilleybrinker commented May 25, 2022

SPDX permits specification of the relationship between elements. There's a pretty substantial list of relationship types that can be represented, and of entities that can be related. The documentation gives come examples:

Relationship: SPDXRef-grep CONTAINS SPDXRef-make
RelationshipComment: Package grep contains file make

Relationship: SPDXRef-DOCUMENT AMENDS DocumentRef-SPDXA:SPDXRef-DOCUMENT
RelationshipComment: This current document is an amendment of the SPDXA document.

Relationship: SPDXRef-CarolCompression DEPENDS_ON NONE
RelationshipComment: The package CarolCompression can be considered as a root with no dependencies.

Relationship: SPDXRef-BobBrowser CONTAINS NOASSERTION
RelationshipComment: The package BobBrowser may have other packages embedded in it, but the author has insufficient information to treat this as other than unknown at this point in time.

We need to generate this information for files in a crate, as well as for dependencies used.

@alilleybrinker alilleybrinker added the enhancement New feature or request label May 25, 2022
@tofay
Copy link
Contributor

tofay commented Jul 26, 2022

#9 introduces relationships between a binary file for the SBOM and all the dependent crates
#10 introduces relationships between crates and their source files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants