-
Notifications
You must be signed 8000 in to change notification settings - Fork 632
grype db import fails since v0.88 and above #2542
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
grype db import fails since v0.88 and above #2542
Comments
Hi @ep4sh I was able to download one of our v6 databases and import it. Download v6 schema vuln database
Import the v6 schema database
Download v5 schema database
Import v5 database into grype 0.90.0
|
Hi @ep4sh, I'm going to close this issue since we don't plan on reimplementing V5 DB support in Grype at this time. However, I have fixed the panic and made error messaging better to help understand the issue for anyone who runs into this in the future. But I didn't want to close this without understanding if there are things we could do to help prevent issues like this in the future if we need to implement new, incompatible database revisions. Aside from continuing to support older technology with new releases, is there anything we could have done to make this more clear or seamless for you? (We did add information to release notes and a blog about this release, but I assume many people won't see these.) It seems you had a custom step to manage downloading and using the database. Is there some way this could have been made to work more cleanly -- maybe some |
Thank you so much, the suggested changes helped to resolve! |
What happened:
grype db import fails since v0.88 and above
What you expected to happen:
import works successfully
How to reproduce it (as minimally and precisely as possible):
Environment:
grype version
:0.88
,0.90
cat /etc/os-release
or similar): VERSION="20.04.6 LTS (Focal Fossa)"The text was updated successfully, but these errors were encountered: