-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print the mirror redirected to for easier debugging of of mirror issues
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
de42ae8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me this commit breaks downloading dependencies from some mirrors like https://ftp.acc.umu.se/mirror/xbmc.org/ because it does not send the
Location
header in the response. Furthermore you also breakERRORLEVEL
which is evaluated further down becauseERRORLEVEL
is now the result offindstr
instead ofwget
.de42ae8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried 8 different mirrors now and 2 of them returned the
Location
header but the other 6 didn't so they all fail when I explicitly set them usingKODI_MIRROR
.de42ae8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, I've seen a lot of failures as well but never looked into it. That's a really good catch.
You planning to PR it or should I do it?
de42ae8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if I'll get to it this weekend so if you beat me to it be my guest.
de42ae8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK looks like I beat you to it (after the weekend): #17231