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

Damn, #5 only works for manual downloads (browsers)... Find a script-friendly alternative! #6

Open
2 tasks
xparq opened this issue Dec 2, 2023 · 0 comments

Comments

@xparq
Copy link
Member

xparq commented Dec 2, 2023

(Follow-up of xparq/sfw2#4)

Quoting from xparq/sfw2#353:

Unfortunately, as it turns out, neither wget nor curl can be convinced to parse the downloaded file for HTML META REFRESH redirects, so I had to do that manually! :-/
-> This also means that practically no one else would be able to use that "canonical latest" URL redirector on GitHub! :-/

  • Phew, https://github.com/x1ab/SFML-staticCRT-build/releases/latest is a thing!
    That could be a viable starting point, albeit the "canonical" URLs based off of that would look horrible:

    https://github.com/x1ab/SFML-staticCRT-build/releases/download/latest/SFML-master-64-dllCRT.zip

    • Also, the filename tagging must be abandoned then, and the commit hash should go into the package
      (just like how the SFML guys do it, but not as the root dir, only a (sibling) version tag file)!
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

No branches or pull requests

1 participant