-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
remove amber recipe to unblock crystal-lang #31159
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
Conversation
|
Would it be a complete nightmare to vendor an older version of I don't necessarily have an objection to this but I think that's worth a discussion, perhaps. |
|
It's been 10 days with no activity on merging the amber pull request to update to 0.26.0, and no response from any amber maintainers on any PR in that time, let's just call amber unmaintained and remove it. |
|
It's extremely weird to see a language recipe blocked by a framework, which might or might not support every new version, and does it in timely manner. How that happenned in the first place? |
Because Homebrew is a very large project policed by a relatively very small team of people who do this entirely in what spare time we can find each day and we don't always have the time to get into deep philosophical debates about the long-term implications of packaging or not packing a specific piece of software? It passed the notability check, it passed CI, the person who submitted the formula was responsive on making requested changes and it built against the version of Let's try and keep the discussion here based around resolving the issue, ideally in a way that works for as many people as possible. |
|
@DomT4 The Amber project (of which I am now the most available maintainer and core team member) is going to put up a Tap to replace this formula hopefully this weekend. Notable or not, the Amber project is currently very undermaintained. |
|
@robacarp Thanks, that's a helpful answer. Is there value in waiting for the weekend and that tap creation so we can formally migrate the formula over to you, rather than leave a bunch of users with essentially a dead (in the sense that their installed |
|
@DomT4 that’s a great idea, I will make that happen today. Can you point me to any documentation on how to make that happen to speed up the process? |
|
If someone has access to the docs maybe they could make a tap and add it to the docs before removing from hombrew core?
If it helps here’s the tap for Lucky https://github.com/luckyframework/homebrew-lucky
There is a bin/generate script you can use that helps a lot
… On Aug 17, 2018, at 8:22 AM, Dominyk Tiller ***@***.***> wrote:
@robacarp Thanks, that's a helpful answer.
Is there value in waiting for the weekend and that tap creation so we can formally migrate the formula over to you, rather than leave a bunch of users with essentially a dead (in the sense that their installed amber will no longer work against the new crystal with no obvious recourse for fixing that) formula installed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
There's some advice here. In your case can more or less be summarised as: Create a GitHub repository called something like (I appreciate most of that is wildly obvious but figure that's more helpful than being vague). Existing users should roll over to you automatically and anyone who types |
|
@DomT4 thanks for the super quick responses and for home brew I think @sijas question was more about the reasoning behind packages blocking other packages. In other words, why Amber is stopping Crystal from being updated. Is there a way around that in case it happens again? Like a way to force update Crystal even if other packages don’t work with it? I realize that would be bad for those other packages, but it would be beneficial to everyone else using crystal so sometimes it might be worth doing. |
|
@DomT4 thanks for the instructions. I have (re)created a amber community maintained tap and updated this pull to include the redirect json. I was able to I cannot emphasize enough how much time homebrew has saved me in the last decade, and I appreciate the project and the attitude of the maintainers and volunteers greatly. Thank you for your time, effort, and kindness. |
@paulcsmith That's because the homebrew ci checks the reverse dependencies of a package and tries to rebuild them all with the new version to make sure the updated formula doesn't break any other packages. For most cases that's a good approach, it just doesn't work well with crystal because it still breaks backwards compatibility a lot due to the pre-1.0 stage. |
|
You are tagging the wrong person here. @Sija is the right user. |
Thank you both for the kind words ❤️. We definitely appreciate your willingness to contribute, without which Homebrew would rapidly grind to a halt.
I apologise if I did misinterpret @Sija's tone on that and consequently gave them an undeservedly tetchy reply. @felixbuenemann's comment does a perfect job of explaining the technical reasoning behind CI red flagging the other PR repeatedly (Thanks for that Felix!). It's been a while since we've done a cross-tap migration so my memory is a little suboptimal on this but IIRC this shouldn't be an issue once this PR is merged. Homebrew should treat them as the same formula that still lives in the same prefix and therefore can overwrite the links it already "owns". |
|
@DomT4 thanks! Full disclosure, I believe the symlink issue was because the link was pointed to a local build of amber, not the brew-core version. |
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?fixes amberframework/amber#928
unblocks #31086
The Amber project is going to back out of brew for now to let the crystal-lang community run faster. To support brew, amber will need to create its own tap again.
I wish brew had a way around this, but that's a discussion for the maintainers of brew and not me. If there's a misconfiguration in the way the Amber recipe is defined, let me know and I'll sort that out instead.
cc @drujensen @elorest @eliasjpr @paulcsmith @asterite