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

Support downloading an installer with a semantic version expression #119

Open
isc-tleavitt opened this issue Dec 18, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@isc-tleavitt
Copy link
Contributor

Key motivating use case:

s version="latest" s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/"_version_"/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")

This is right if you want to download and install the latest version. It's dead wrong for CI because the latest version might have an incompatible semantic version with what you expect.

Rather than pinning to a specific version, it would be nice if we could set version="^0.9.0" to pick up backwards-compatible changes to version 0.9.0.

If it's easy to extend this to other endpoints that would be fine too, but the IPM installer is really the most important for this (as most of the time you'll be going through the IPM client otherwise).

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