-
-
Notifications
You must be signed in to change notification settings - Fork 238
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
Update relx up to v3.23.0 #677
Conversation
Erlang.mk can build relx, don't need rebar3. That said, I was thinking of having a solution that doesn't make us too dependent on upstreams. There's a few options, the most sensible probably to add relx to BUILD_DEPS ( Another option is to build and bundle it ourselves, but I'm not looking forward to doing that. The automatic approach is probably better (and could allow users to define a specific version or repository of Relx they want, even if it's not a tag). |
I tried with v3.22.3 (which has a relx file) but |
Problem disappeared, I think my environment was just fucked up. I'll update it now. |
Nevermind I was running the wrong test. |
3.22.0 also has the issue. Seems there's a dependency on |
Hey, sorry for a delay. I asked guy who releases relx to add binaries. |
Yeah but that doesn't solve the fact that most recent Relx broke release upgrades, at least for us. |
Do you mean |
Try "make check c=relx-relup V=3" after changing the relx version to v3.22.3 and you'll see what I mean. |
I did, It failed. Seems that |
It says OK because this is just the noop that succeeded, I haven't enabled the tests on this PR. |
I think I found out the root cause. I'm updating testcases. Will share it soon. BTW, I checked your approach with |
1d28b2e
to
929de48
Compare
I talked with the guy who releases |
Just fetching the binary for now should do. |
I see you added compiler to the relx.config template. That's mad. Why would release upgrades require the compiler? Release upgrades (without relx) only require sasl. Relx should be fixed to not require it instead. |
Sent a patch to relx. Will wait for it to be merged before merging this PR. erlware/relx#589 |
Ops. That's my bad. I compared it with a |
You are not the one mad here. The madness was probably accidental on their part too. The PR has been merged there so it's just a matter of waiting for the next version now. |
Relx 3.23 has just been released, can you update your PR with it? Shouldn't need compiler anymore. |
Sure, no problem |
929de48
to
ad0eec9
Compare
It's done + rebased. |
Merged locally, will push soon. Thanks! |
cool, thanks |
Some relx release contain
relx
escript some of them do not.I think common approach would be to whether to clone the repository or whether to get packed sources and build
relx
withrebar3
.