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
[windows] Use curl with msys2 #75
Conversation
Curl handles SSL and timeout issues better than pacman
It looks like it passes the azure and jenkins builds. The patch get applied and after the silent curl output the files do get installed.
|
It still doesn't handle all the cases for users.
Maybe the issue is reliable mirrors. |
Reliability of mirrors is definitely a factor. |
Have you tried adding |
I could add that but I keep ending up back at http://ftp.halifax.rwth-aachen.de/ which currently reports it is having problems. At least I've been able to figure out a patch to use local files and another patch to use manually specified mirrors. |
Do you think we could blacklist that one mirror and then make that the default? The main issue with this being unreliable is for release builds. It's very annoying when users complain that the add-on is not available. The less than happens the better. |
I think blacklisting or removing that site until it is back working would be good. It is not clear to me my Kodi ffmpeg builds are not an issue but ffmpegdirect builds fail regularly. curl may be better but it doesn't give as much output in the build logs |
http://ftp.halifax.rwth-aachen.de/ is (the) one of our core mirrors and usually very stable. It was down a couple of days due to a hardware issue, but it's back for a while now. edit: blacklisting this mirror is not a proper solution |
We used to use the msys2 mirror but they have since stopped serving the older version of msys2 that we require so had to switch to our mirrors. It's not a problem specifically with this mirror it's just we don't deal with unreliable mirrors well. So we need to keep re-running the Jenkins build until we get good results across 7 targets (2 windows Jenkins and 5 azure pipelines). |
Patch pacman.conf to use curl whichl handles SSL and timeout issues better than pacman. Options used are -k (insecure) -L (follow redirects) and -s (silent) When -s is not used there is curl progress output when the 47 files are downloaded but the filename is still not shown.