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

Add stable URL:s to the latest releases #710

Open
NiklasBr opened this issue Aug 9, 2023 · 0 comments
Open

Add stable URL:s to the latest releases #710

NiklasBr opened this issue Aug 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@NiklasBr
Copy link
Contributor

NiklasBr commented Aug 9, 2023

Summary

Releases at https://download.newrelic.com/php_agent/release/ are tagged with their versions in the URL, which in many ways is nice, but it also makes it very hard to write a script which can automatically fetch the latest version.

You either have to download the HTML and grep through the HTML as text hoping to find what you need, or do client-side DOM parsing.

Desired Behavior

What if there was a symlink (or equivalent) to the latest version kind of like this:

image

Additional context

Got the idea while trying to resolve a suggestion in #706 .

For example ImageMagick does this: https://imagemagick.org/script/mirror.php or Redis which has https://download.redis.io/redis-stable.tar.gz as a consistently relevant URL.

@NiklasBr NiklasBr added the enhancement New feature or request label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant