Skip to content

Include Pre-Depends field#183

Merged
fmoessbauer merged 4 commits intomainfrom
feat/pre-depends
Mar 2, 2026
Merged

Include Pre-Depends field#183
fmoessbauer merged 4 commits intomainfrom
feat/pre-depends

Conversation

@Urist-McGit
Copy link
Collaborator

Include the Pre-Depends field in our internal package representation and in the dependency graph of generated SBOMs.

Track the Pre-Depends field for binary packages. Pre-Depends
relationships are similar to Depends relationships, but there are some
subtle differences, see [1] for details.

[1] https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends

Signed-off-by: Christoph Steiger <christoph.steiger@siemens.com>
Add a Pre-Depends stanza to the minimal status file and check if it is
properly parsed.

Signed-off-by: Christoph Steiger <christoph.steiger@siemens.com>
Include Pre-Depends dependencies in the dependency graph. They are
treated in the same way as "normal" Depends dependencies.

Signed-off-by: Christoph Steiger <christoph.steiger@siemens.com>
Add a test that checks if Pre-Depends dependencies are included in
generated SBOMs.

Signed-off-by: Christoph Steiger <christoph.steiger@siemens.com>
Copy link
Member

@fmoessbauer fmoessbauer left a comment

Choose a reason for hiding this comment

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

Thanks, merged.

@fmoessbauer fmoessbauer merged commit 9f70b88 into main Mar 2, 2026
14 checks passed
@fmoessbauer fmoessbauer deleted the feat/pre-depends branch March 2, 2026 16:03
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