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

[Mac-os]: create a brew installable binary #758

Open
hzeller opened this issue Apr 14, 2021 · 10 comments
Open

[Mac-os]: create a brew installable binary #758

hzeller opened this issue Apr 14, 2021 · 10 comments
Labels
releases binary release packages

Comments

@hzeller
Copy link
Collaborator

hzeller commented Apr 14, 2021

Similar how we generate a new downloadable binary release with each merge, we should provide something similar for brew, the common package manager on MacOS.

We could probably use github packages to provide a brew bottle/tap of sorts ? Details need to be figured out.

@hzeller
Copy link
Collaborator Author

hzeller commented Apr 16, 2021

Paging @speedy-beaver who might be able to give an overview of required steps to get there.

We do releases essentially on every commit, so to not annoy upstream brew with multiple pull requests a day, we should probably have our own brew repository that people can point their brew install to.

@hzeller
Copy link
Collaborator Author

hzeller commented Apr 16, 2021

So looks like this might be possible just with github means
https://brew.sh/2020/11/18/homebrew-tap-with-bottles-uploaded-to-github-releases/

@hzeller hzeller added the releases binary release packages label Apr 19, 2021
@johanvdhaegen
Copy link
Contributor

I assume you would like the steps for the end user to be as follows:

brew tap google/verible
brew install verible

In that case, the homebrew formula should be a in github repo called homebrew-verible under the google org on github.

The idea would be that commits to the verible repo, would trigger version bump PR in the homebrew-verible repo, which in turn would trigger a bottle rebuild.

@mithro
Copy link
Collaborator

mithro commented Apr 20, 2021

@hzeller - If this is the direction you want to go poke me and I'll get the google/homebrew-verible github repository created for you.

@hzeller
Copy link
Collaborator Author

hzeller commented Apr 20, 2021

Yes, Let's make a google/homebrew-verible repo!

@mithro
Copy link
Collaborator

mithro commented Apr 20, 2021

I started the process to get that created. Will ping you when it exists.

@mithro
Copy link
Collaborator

mithro commented Apr 22, 2021

https://github.com/google/homebrew-verible now exists and @hzeller has admin control over it.

@hzeller
Copy link
Collaborator Author

hzeller commented Apr 22, 2021

Yes, ready to accept pull requests there.

@johanvdhaegen
Copy link
Contributor

First PR with homebrew github workflows mentioned in doc referenced above:

chipsalliance/homebrew-verible#1

@hzeller
Copy link
Collaborator Author

hzeller commented May 2, 2023

Homebrew package is done here.
To automatically update, work continues in #1904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
releases binary release packages
Projects
None yet
Development

No branches or pull requests

3 participants