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: enable v6 database #2439

Merged
merged 56 commits into from
Feb 28, 2025
Merged

feat: enable v6 database #2439

merged 56 commits into from
Feb 28, 2025

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Feb 11, 2025

This PR removes v5 database support from Grype, moving support to v6 databases. The db/v5 package needs to remain, however, as we will continue building v5 databases with functionality from that package in grype-db.

Closes #2129
Closes #2126
Fixes #2459
Fixes #1648
Fixes #2077
Fixes #2233

Enables previously implemented functionality:

kzantow and others added 22 commits February 11, 2025 15:03
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
wagoodman and others added 15 commits February 24, 2025 11:52
Signed-off-by: Keith Zantow <[email protected]>
* fix: allow querying by CPE with only product

Relax query by CPE constraints to allow queries by product with no
vendor specified

Signed-off-by: Weston Steimel <[email protected]>

* fix tests

Signed-off-by: Alex Goodman <[email protected]>

---------

Signed-off-by: Weston Steimel <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
Co-authored-by: Alex Goodman <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
@wagoodman
Copy link
Contributor

Open question from community meeting -- does this fix #2233 ?

@kzantow
Copy link
Contributor Author

kzantow commented Feb 27, 2025

It seems as of now it does not, and there are other issues on Windows. I'm prioritizing getting these fixed up.

Update: fixed! And also fixes #2233

Signed-off-by: Keith Zantow <[email protected]>
Signed-off-by: Keith Zantow <[email protected]>
Copy link
Contributor

@wagoodman wagoodman left a comment

Choose a reason for hiding this comment

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

🎉

@kzantow kzantow merged commit 39aacbd into main Feb 28, 2025
10 checks passed
@kzantow kzantow deleted the feat/v6 branch February 28, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment