-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
protobuf 3.19.1 #85282
protobuf 3.19.1 #85282
Conversation
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
The removal of |
|
Can we accelerate this PR by changing dependencies of broken upstream formulas from |
The best option is to make upstream pull requests, the second best is upstream issues. If upstream says they won't fix it we can always switch to an older protobuf, but that should be a last resort. |
Making PRs to update the upstreams makes sense to me - but it also seems like having a tree of blockers on other projects like this will cause delays in making protobuf 3.18.0 available to folks (eg it's already been 2 weeks). To me - these delays seem unnecessary. For example - we can invert the sequencing and release protobuf 3.18.0 and fix the upstreams w/ PRs to follow. I'm here to learn - so please let me know if there's some hole in my reasoning or something I'm not considering that's important here. |
History has taught us that if we point projects to older versions of dependencies, we are then stuck with the older version forever. I don't think I've ever seen a PR by someone who went to upstream to fix compatibility with newer versions if they weren't somehow forced to. For reference you can read the discussions in the PRs about Go 1.17, Go 1.16, Go 1.15 and probably every Go version since Homebrew started packaging Go. |
|
For zbackup - there's a PR here to fix zbackup/zbackup#158 and zbackup/zbackup#159. It appears zbackup doesn't build on mac off of master ( |
871e9ad
to
02cdf7f
Compare
That's understandable, but for things like Is there a threshold of "out-of-date-ness" whereby a dependency is considered "abandoned" and shouldn't be relied upon to be updated? |
Looks like zbackup is being deprecated #87727 It's a delicate balance. It's great to have dependency updates happen quickly on release, but you really don't want a priority inversion where an update to an important project (eg protobuf) is blocked on an update to a less important project (eg zbackup). Need both a carrot and a stick. The carrot (incentive) of "upgrade dependencies ASAP - it's blocking us from adopting" is really nice for providing a community incentive for timely dependency upgrade - especially for the trivial fixes. Means homebrew is less likely to be holding onto tons of old versions. The corresponding stick would be - "we're leaving you behind if you don't update". Eg. if X weeks goes by after a release and a dependent project is dragging its feet, then we gotta drop it from homebrew (or pin to old version and hang onto the old version). I feel like there's a potential for a best of both worlds solution. Straw man of solution (using this case as example)
This strategy carries the risk of getting soft with "X". Picking some value of X (eg 4 weeks) and being serious about it takes diligence. Have to really enforce the stick and deprecate things that are dragging their feet w/ dependency changes. Good tooling and up front honesty about timelines help. X would probably have to be bigger for more major changes (eg new version of go). |
That would be great if we had the amount of people that it takes to do that, or people actually got paid to do it, until then we're going to stick with the approach that works for homebrew. |
Additionally, instead of coming up with new patch management schemes for homebrew it would be more beneficial to send patches to the blocking upstream projects or deprecate their homebrew Formula. |
Yeah - that makes sense. There's definitely additional maintenance to something like that. |
Totally agree and understand that. What is the current policy or procedure that works for homebrew? Is it made explicit somewhere? |
We upgrade everything as soon as we can. No special cases, no caveats. If something doesn't build we work with the community to fix it. If we can't fix it we disable/deprecate it. |
02cdf7f
to
70255c2
Compare
afbd934
to
ad1d9e5
Compare
Fixed the alias (it was still named |
Done. I'll check what is going on with |
Thanks all! Appreciate the effort of all involved! |
Created with
brew bump-formula-pr
.