openshift-tools-installer icon indicating copy to clipboard operation
openshift-tools-installer copied to clipboard

Download from actual location with mirror

Open X-dark opened this issue 1 year ago • 1 comments

Description

File location is not always in the same location as the directory. Fetch real url from dir listing when using mirror.

Related Issue(s)

#113 and probably #99

Checklist

  • [X] This PR does not need a documentation change

  • [X] This PR's changes are already tested

  • [X] This change is not user-facing
  • [X] This change is a patch change

Changes made

  • created new function getFileURL to obtain mirror URL for a given file
  • used it to generate file location for archive and hash

X-dark avatar Dec 13 '24 11:12 X-dark

Thanks for the submission. I believe this should be fixed, however - there was a broken redirect that should now be working.

komish avatar Dec 13 '24 14:12 komish