Skip to content

Conversation

willmurphyscode
Copy link
Contributor

fixes #2964

@willmurphyscode willmurphyscode changed the title Feat config missing epoch feat: add config to rpm and dpkg matcher for how to handle missing epochs on package versions Oct 6, 2025
Comment on lines 8 to 11
// Valid values:
// - "zero": Treat missing epochs as 0 (default, backward compatible)
// - "auto": Assume missing epoch matches the constraint's epoch
MissingEpochStrategy string
Copy link
Contributor

Choose a reason for hiding this comment

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

probably should be it's own type + enum if we're going this way

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.

make it configurable what grype assumes when incoming package to grype is missing dpkg/RPM epoch

2 participants