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

chore: move v5-specific interfaces and implementations to the v5 package #2322

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Dec 12, 2024

This PR moves the remaining DBv5-specific interfaces and implementations under the db/v5 package.

This is a prerequisite for #2132

Outstanding questions (answered over Slack):

  • should the v5/matcher/* configs be shared between v5 and v6? (no)
    Matchers are created very early, in the root CLI, we can easily keep the CLI the same and when switching between v5 and v6, we will just return a different set of matchers with their own config that will evolve separately (e.g. we won't be updating the v5 configs much, if at all).

  • should we move https://github.com/anchore/grype/tree/main/grype/differ under v5? (yes, done)

@kzantow kzantow marked this pull request as ready for review December 12, 2024 15:43
@kzantow kzantow merged commit df9e7a4 into anchore:main Dec 12, 2024
10 checks passed
@kzantow kzantow deleted the chore/refactor-v5-packages branch December 12, 2024 19:42
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