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

use yardstick validate: subprocess-based proof of concept #372

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

Conversation

willmurphyscode
Copy link
Contributor

Use changes from anchore/yardstick#380 to simplify validations in grype-db.

This is an alternative approach to #371

It might make sense to add a --capture=True|False|IfMissing type of option to yardstick validate, so that the capture_results call can be moved out of grype-db-manager.

Opening as a point of discussion.

This is put up to contrast with a CLI invocation of yardstick, which
might be preferable.

Signed-off-by: Will Murphy <[email protected]>
Otherwise, we still have some yardstick internals inside
grype-db-manager. A further improvement might be to capture
if necessary via the yardstick subprocess.

Signed-off-by: Will Murphy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant