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

Create a brew recipe #8

Open
scastlara opened this issue Nov 28, 2024 · 3 comments
Open

Create a brew recipe #8

scastlara opened this issue Nov 28, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@scastlara
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

I think it would be good to offer another all in one solution for installing sheriff apart from Docker.

brew install sheriff

Describe the solution you'd like

The publish step should create a recipe that depends on osv-scanner and any other scanners we use.

Check out https://github.com/goreleaser/goreleaser

There might be other tools we could use!

Describe alternatives you've considered

...

Additional context

...

@scastlara scastlara added the enhancement New feature or request label Nov 28, 2024
@sacha-c
Copy link
Collaborator

sacha-c commented Nov 28, 2024

Interesting idea!
Though considering this tool would probably most likely be run as part of a CI and thus on some linux system, would homebrew really be the right package manager to push this to? Maybe it would find its place on some other package managers like apk, adb etc.

(I know homebrew can also be used on linux but.. is it really used there?)

@scastlara
Copy link
Collaborator Author

scastlara commented Nov 28, 2024

That's a good point yeah! I just thought of brew because i kinda wanted to install sheriff in my computer, and it was not packaged together with osv.

Other package managers make (more) sense, though they are not exclusive!

(If you are asking yourself, why do you even want to install sheriff if you are a developer of it, the reason was that I was trying to imagine myself as someone stumbling upon this repo. If I wanted to download and play with sheriff, the only good option for a MacOS dev is really docker.)

@sacha-c
Copy link
Collaborator

sacha-c commented Dec 2, 2024

Makes sense! I'm totally fine supported brew as well, even if it's only useful for developers

We could even add the supported package managers badge with repology, which then looks like this https://github.com/newren/git-filter-repo/blob/main/INSTALL.md#installation-via-package-manager

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

No branches or pull requests

2 participants