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

feat: create GeneratedFrom relationship from CycloneDX dependencies #1135

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

jcrossley3
Copy link
Contributor

@jcrossley3 jcrossley3 commented Jan 13, 2025

Relates to #1131

I'm not entirely sure my right and left is correct, because I don't fully grok the expected output of analysis/root-component and analysis/dep.

Fixes trustification#1131

I'm not entirely sure my right and left is correct, because I don't
fully grok the expected output of `analysis/root-component` and
`analysis/dep`.

Signed-off-by: Jim Crossley <[email protected]>

// https://github.com/trustification/trustify/issues/1131
// Do we need to qualify this so that only "arch=src" refs
// get the GeneratedFrom relationship?
Copy link
Collaborator

@JimFuller-RedHat JimFuller-RedHat Jan 14, 2025

Choose a reason for hiding this comment

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

good question - originally I thought we should think of 'red hat' mode as only applying to ingestion eg. I do not think we have to bake anything into rest api or add any additional metadata ... we can figure out that a binary package with GENERATED_FROM relationship to a src package means just that.

Copy link
Collaborator

@JimFuller-RedHat JimFuller-RedHat left a comment

Choose a reason for hiding this comment

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

perfect, LGTM!

@jcrossley3 jcrossley3 added this pull request to the merge queue Jan 14, 2025
Merged via the queue into trustification:main with commit 88fa55c Jan 14, 2025
5 checks passed
@jcrossley3 jcrossley3 deleted the 1131 branch January 14, 2025 14:10
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