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

Check for binaries on launch #3

Open
popey opened this issue Nov 11, 2024 · 1 comment · May be fixed by #8
Open

Check for binaries on launch #3

popey opened this issue Nov 11, 2024 · 1 comment · May be fixed by #8
Labels
enhancement New feature or request

Comments

@popey
Copy link
Owner

popey commented Nov 11, 2024

When grummage launches, it should check for the grype binary in the $PATH and the current directory.

If the grype binary is not found, we should display an error and stop execution as a minimum effort.

In the best-case scenario, let's offer to download grype using the official installation instructions (curl piped to bash) to the current directory.

In a future release, we could have an environment variable that points to the grype binary rather than having to hunt for it. I am open to discussion about this one.

@popey popey added the enhancement New feature or request label Nov 11, 2024
@shaunsetlock
Copy link

shaunsetlock commented Dec 14, 2024

Hi @popey !

I heard you mention this small project on Linux Matters and thought it would be something I could help with. 🙌

Be on the lookout for a PR from me.

Shaun

P.S. - I'm not a professional Python developer, so very open to feedback!

shaunsetlock pushed a commit to shaunsetlock/grummage that referenced this issue Dec 14, 2024
@shaunsetlock shaunsetlock linked a pull request Dec 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants