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

Support official formula #8

Open
uncenter opened this issue Sep 7, 2023 · 6 comments
Open

Support official formula #8

uncenter opened this issue Sep 7, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@uncenter
Copy link

uncenter commented Sep 7, 2023

I'm glad that there is a formula but I'm surprised it is on this tap instead of https://github.com/Homebrew/homebrew-core. A project of Bun's popularity should totally have its own formula!

@Electroid
Copy link
Contributor

Yes! This is something we wanted to do before 1.0, but will to do soon. The reason this hasn't happened is because to become an official formula, you can't provide a binary, homebrew must build Bun from scratch. In the past, Bun needed a lot of resources to build, because it is mostly written in Zig. This has changed and it should be easier now.

@Electroid Electroid changed the title Add Bun as an official formula to Homebrew/homebrew-core Support official formula Sep 7, 2023
@Electroid Electroid pinned this issue Sep 7, 2023
@Electroid Electroid added the enhancement New feature or request label Sep 7, 2023
@vieira
Copy link

vieira commented Sep 19, 2023

There is already some work under way in Homebrew/homebrew-core#142016, if someone from bun can help push it forward.

@jylin
Copy link

jylin commented Dec 21, 2023

FWIW I prefer the binary releases, so I hope this tap is kept even if bun is merged into core homebrew.
Their rule is too strict tbqh, and for things like node/bun, there isn't that much value of compiling from source.

@masterflitzer
Copy link

why? compiling from source proofs that the source is legit, why would there be no value for node/bun but for everything else?

@jylin
Copy link

jylin commented Dec 21, 2023

They're more expensive to build and checksums should be enough. Do you build your web browser from source?
Many homebrew formulas have "bottles" anyway, so they aren't even typically built from source.

@masterflitzer
Copy link

I thought the bottles in homebrew/core are build from source automatically?

also not everyone has to build it from source, brew builds it once and we can install the binary, that's like a big point of even using brew and I think it's good to enforce it at least in the core repo

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

5 participants