-
Notifications
You must be signed in to change notification settings - Fork 162
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
CI/Windows: fix sourceforge download timeout #896
Conversation
Using netcologne already resulted in a redirect to the automatic mirror selection. It was the automatic mirror selection that had the SSL handshake timeout. Can we make the powershell builtin output the progress? |
You mean like a progress bar for the download? |
|
Edit: didn't make a difference |
If I remember correctly, it is common practice to not use the sourceforege mirror-selector, but instead pin it to a mirror which you prefer, because otherwise you rather often get random fails. |
But the netcologne mirror doesn't have the file we want and redirects us to the mirror selector: |
According to https://www.youtube.com/watch?v=JwMJ35QEvSY the progress output of Invoke-WebRequest is temporarily drawn on top of previous output. I'd be surprised if this is done with escape sequences. It is probably directly manipulating the console contents, which doesn't work when the output is redirected to a logfile. I think I prefer wget if Invoke-WebRequest is completely silent. Downloading with wget works even from downloads.sourceforge.net when raising the timeouts with |
db418e6
to
cb423e9
Compare
Un-silence newpascal download and extraction. Use sourceforge's automatic mirror selection.
cb423e9
to
23ca4b9
Compare
Changed this back to wget with increased timeout as well as changed progress bar like you suggested. |
7895829
into
UltraStar-Deluxe:master
Un-silence newpascal download and extraction.
Use sourceforge's automatic mirror selection.
See #894