Skip to content
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

Download from actual location with mirror #114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

X-dark
Copy link

@X-dark X-dark commented Dec 13, 2024

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

  • This PR does not need a documentation change

  • This PR's changes are already tested

  • This change is not user-facing
  • 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

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

Fixes redhat-actions#113

Fixes redhat-actions#99
@komish
Copy link
Contributor

komish commented Dec 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants