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
Switch to cohttp(lwt) instead of curl #57
Conversation
Hey @tatchi! Welcome 👋 looks very good. I have actually did used
If you add
AFAIK,
I'm not really sure that |
Yes, I already tried to use
Good news, I will try to test it on windows once I've finished the other remaining points. Thanks for your support 👌 |
Hi @Schniz, Do you have any idea with the build fails? Seems to work locally on my computer. |
Hey! I'll take a look. Looks it happens only on Linux (works on Mac), so maybe that's something with the static linking |
It seems (on my machine, running A weird option is to have MacOS use |
By the way, I tried adding |
Hi, Thanks for your help 😊 I added I pushed this change to check the CI but don't know why it's stuck on the |
I have just ran it manually: https://dev.azure.com/galstar0385/fnm/_build/results?buildId=209 |
Hi @Schniz, Thanks for the manual build. Unfortunately, this one has failed as well 😞 However (and if I understand correctly), I'm not sure the build has been executed with ma latest commit that changed the Also, I checked the log and again don't see my latest changes:
In my latest commit I've added the Did I make something wrong ? |
weh maybe try to push an empty commit? 🤷♂️ |
By the way, thanks for the efforts 🏆 I hope we can make it pass eventually |
You can remove the "replace curl" todo list instead of making an empty commit (we'll need to remove it anyway when this is merged 😄) |
Dit it but apparently it has not triggered a build. I also set my PR as ready to review just to check that it was because this was a draft PR. Could it be due to permission issue? See the comment at the end of this thread: |
weeeeeeeird |
conflicts? |
Yes, when I switched my PR as ready to review, I saw that there was a conflict. I merged from master, resolved the conflict and pushed. Now the build as triggered. Sorry for my ignorance 😬 |
I don't believe it's ignorance - I haven't seen the "there are conflicts" panel on the bottom of the page too. Maybe that's something we can report to GitHub? |
There's a failing test, which I think may relate to redirects:
The Chinese Node.js mirror stores stuff differently but returns a redirection to match https://nodejs.org/dist structure, so we might need to follow redirects on every |
Indeed, that's was not indicated when the PR was in draft status. But that's probably intended (I don't know).
Thx for the help, I will look at that but probably not today as I won't have time. Anyway, I'm happy that the compilation succeded 😄 |
the little things that make us happy! thanks again for all the hard (and amazing) work! |
woohoooooooooo it worksssss! sorry for making the conflicts - but I was sad that #64 failed although it didn't change any source code, and didn't want to leave it as it is |
I guess it's ok 😃 |
👏 👏 👏 🏆 🏆 🌮 Again, thank you so much for that! |
Hello,
This is my attempts (and still in progress) to replace
curl
withcohttp
as proposed in #18Currently, only the
makeRequest
function to fetch node version has been changed. Furthermore, I still need to figure out how to use it withhttps
(so currently I usedhttp
urls).Also, I used the `cohttp_lwt_unix' so I guess it would not work on windows. But I assume that was already the case.
Here's a list of todos:
Please don't hesitate to propose any improvements or even to guide me since I'm new to the Ocaml/ReasonML world :)