8000 Refactor matcher ignore result by kzantow · Pull Request #2658 · anchore/grype · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refactor matcher ignore result #2658

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kzantow
Copy link
Contributor
@kzantow kzantow commented May 13, 2025

While working on v6 I intended to do this refactoring but it got lost along the way. This PR adjusts the return type of the Matcher interface instead of returning IgnoredMatch, to return an IgnoreFilter. This PR gets rid of the ecosystem-specific code in the VulnerabilityMatcher, allowing this to reside in appropriate matchers.

@kzantow kzantow changed the title Refactor match ignore result Refactor matcher ignore result May 13, 2025
Signed-off-by: Keith Zantow <kzantow@gmail.com>
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
0