-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix test run #16
Fix test run #16
Conversation
While adding "the My initial commit, in this pull request (828beb4) shows what I did so the failure was not silent. Very simply, I made sure My second commit, in this pull request (132746f) shows the changes I made for the tests to pass, but introduces changes not only to the code but the tests themselves. Let's first take a closer look at Since I have no previous knowledge of implementation requirements I'm kind of forced to guess the implementor's intention, but wait... If we also look at https://repo.hex.pm/builds/otp/ubuntu-18.04/builds.txt we might find the only exceptions to
for which we have no tests, at the moment. |
Does this reasoning/fix make sense? |
And are these supposed to work? If so, we'd need to change
to
Edit: ... but since that function is (in the current version I'm pull requesting from) only affecting the way we get Elixir for installation, I'm not sure it's required at all. |
If no change is required in this pull request, and it would eventually be accepted as-is, I'd propose to simply close it, since it mirrors something already done in #9. It was just segregated to make it easier to reason on. |
There's a problem in your change, I believe, but I'm perplexed why the integration tests aren't failing. Specifically, as the code was before The alternative path is I see a lot of room for improvement in all this (not your PR, just the code in general). Example :
Well, that variable name is misnomer. We don't return the otpMajor version, we return Also,
^ that makes sense to me, but I'd like to see what happens if you make that change just in the tests without the rest of the code changes. If only we could write github actions in erlang or elixir 😁 |
Look at |
Yes, we "kinda" depend on it. If it's |
Yeah, so I'm pretty sure @ericmj would be in favor of only supporting back to elixir 1.0 and OTP 17. If so, we can ditch that. We'll need to refactor to check for a few things in the main entry point (i.e., we should be a bit defensive on the way in, so we don't have to do guess work and string mangling later on). Thoughts? |
I prefer to trim stuff on the way in, too. That way I can easily control the innards. All that adding and removing |
I'm closing this since I still think my fix is correct, as per what I explain in #9. |
I want to do this one separate so I isolate a problem and describe how I fixed it. Whatever comes out of this might affect #9.