Skip to content

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

@xparq

Description

@xparq

(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)!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions