-
Notifications
You must be signed in to change notification settings - Fork 50
Labels
priority-1-criticalA bad bug or work that is holding up a lot of other important features or fixesA bad bug or work that is holding up a lot of other important features or fixesstatus:in-progressSomeone is working on implementationSomeone is working on implementationtype:bugBug fix of existing functionalityBug fix of existing functionality
Description
please support redirect/replace
https://dl.google.com/go
in some company intranet,unable to accessdl.google.comdirectlyalready supported
As I understand it- the new tools(v2) are downloading Golang from https://github.com/containerbase/ -
and if it has the chance to hit the get_from_url function, the typescript code will replace the urls, but file_exists
base_url="https://github.com/containerbase/${name}-prebuild/releases/download" which comes before it uses curl directly
checksum_exists=$(file_exists "${base_url}/${version}/${name}-${version}-${arch}.tar.xz.sha512") and will fail the download. Do I need to write a new bug report about this or it could be handled in this bug? And what is the best way to resolve it - for now I just replaced the line with get_from_url and the check with -f on the filebase/src/usr/local/containerbase/utils/cache.sh
Lines 300 to 302 in da910b7
function file_exists () { curl -sSLIo /dev/null -w "%{http_code}" "${1}" }
Metadata
Metadata
Assignees
Labels
priority-1-criticalA bad bug or work that is holding up a lot of other important features or fixesA bad bug or work that is holding up a lot of other important features or fixesstatus:in-progressSomeone is working on implementationSomeone is working on implementationtype:bugBug fix of existing functionalityBug fix of existing functionality