-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add homebrew core formulae for ocb & collector #7891
Comments
This seems in line with a new effort around packaging. Would you be open to discuss a packaging SIG that would look at this type of deliverable? |
I am not aware of that, can you share some context?
If I understand the idea correctly this would be something happening across SIGs, not only for the collector? |
Yes, a new effort across the project. |
Makes sense, I think this is a good idea, although it's a question of capacity to staff such an effort. |
@svrnm who would maintain the formula? Would this be on homebrew's maintainers? Would the Collector maintainers handle issues? |
FWIW, the infrastructure needed to host a tap is a git repository. goreleaser supports releasing to a tap, and IIRC the project already releases using goreleaser. So if you go the tap route, there's virtually no maintenance. |
There's 2 options with advantages and disadvantages
My personal opinion is still that going down the road of being in the homebrew core is the preferable way: the user expectation and the fact that this will happen with our without us eventually anyhow are strong enough reasons that outweigh the other ones. Final note: if we think there is a reason to keep a balance, it is of course possible to operate our own tap AND have the packages upstream. |
Thanks for the summary! I am in favor of having a homebrew-core formula, I don't mind it being out of our control. I don't have an opinion on whether we are popular enough 😅 If |
As one of the larger CNCF projects I would argue that otel is popular enough, but worst case a PR gets rejects 🤷♂️ BTW, interesting in this context as well: Homebrew/homebrew-core#155035 -- there is some automation Grafana is using, we can learn from that.
People that complain and raise issues can step up to become owners :-P |
I've tried submitting a PR that includes a formula for OpenTelemetry Collector (contrib) to the Homebrew Core, and it was rejected with the following reasons:
If I understand right, the second issue will be fixed by open-telemetry/community#1887, but I'm not sure about the first one, are there any plans to change that policy? |
I commented on the original PR, since I think this is a misunderstanding |
thank you @mx-psi, looks like the plan is:
This may take a few more months I guess, but I think this would not justify to create an intermediate solution with an otel community owned tap |
Actually I don't think this is what Homebrew/homebrew-core#160730 (comment) is talking about; there are plenty of formulas here https://formulae.brew.sh/formula/ that are |
Ok, then I don't understand the violation |
I might have chosen my words poorly and this good come across incorrectly: If the vioalation is not that collector is still 0.x, can someone explain to me what this might actually mean and what we need to do to unblock it? |
My interpretation of
Is that you can't just have a tarball that does not have any version: the upstream project needs to decide on the version and clearly label artifacts with said version, Homebrew will not do that for a project. By "stable" I believe they mean that the association between version and artifact does not change (which is what they thought happened with the Collector) |
thanks for clarification @mx-psi, this makes sense. |
This is a follow up issue to #5680 & #5689 by @jpeach (and maybe other similar requests to release ocb and collectro to homebrew)
Is your feature request related to a problem? Please describe.
Many MacOS users make use of homebrew, "the missing package manager for macOS", and many OSS projects are represented there. By adding ocb & otel collector there as well, we can make it easier for end-users to install both tools and make use of them.
Describe the solution you'd like
For my day job I am currently investigating homebrew, how it works, etc., so it came naturally to me to try out if I can get the collector (and ocb) packed into a formula. Here are the results:
I worked through the requirements to publish both on homebrew-core and both are more or less ready to be pushed via a PR.
Before doing that I wanted to do a sanity check with the collector community. @open-telemetry/collector-approvers / @open-telemetry/collector-maintainers shall I move forward with those two PRs or are there any concerns I might need to look into upfront?
Describe alternatives you've considered
As discussed in #5680 the OpenTelemetry community could host their own tap, but actually having the packages put into homebrew-core is much better: no own infrastructure is needed and more end-users are reached since they get access to the packages without the need of adding a 3rd party repository
The text was updated successfully, but these errors were encountered: