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

Install Script - URL For latest core #1634

Open
terrypacker opened this issue Aug 24, 2020 · 9 comments
Open

Install Script - URL For latest core #1634

terrypacker opened this issue Aug 24, 2020 · 9 comments
Assignees

Comments

@terrypacker
Copy link
Contributor

There are 2 new endpoints for the store at:

/free-m2m2-core-latest.zip
/enterprise-m2m2-core-latest.zip

We can change the behavior but currently this will return the latest version including non-production cores. The logic is contained in the store class LatestBundleDownloadServlet

@jazdw jazdw self-assigned this Sep 1, 2020
@jazdw
Copy link
Contributor

jazdw commented Sep 1, 2020

@terrypacker did we add a URL that returns the latest release version number?

@terrypacker
Copy link
Contributor Author

@jazdw I did not but I noticed these were committed some time ago and is now live on the store after my last update:

https://store.infiniteautomation.com/enterprise-m2m2-core-latest.zip
https://store.infiniteautomation.com/free-m2m2-core-latest.zip

@jazdw
Copy link
Contributor

jazdw commented Sep 1, 2020

OK well the script is going to be a bit crappy still in that it will only give you the option to download the "latest" release. It will not be able to tell you "latest (4.0.0)" for example.

@terrypacker
Copy link
Contributor Author

I'm not sure if we want to use them or not. The "latest" bundles can now be pre release versions so currently that will get you the 4.0.0-beta.1.

It won't be hard to add an endpoint, which I can do. I suspect we should incorporate some sort of classifier on the request to determine what channel you want to use?

@jazdw
Copy link
Contributor

jazdw commented Sep 1, 2020

I'm not sure if we want to use them or not. The "latest" bundles can now be pre release versions so currently that will get you the 4.0.0-beta.1.

Do not want. I just want a link for the latest actual released version.

It won't be hard to add an endpoint, which I can do. I suspect we should incorporate some sort of classifier on the request to determine what channel you want to use?

No this is not needed either. If they want a particular version they can still enter a string.

@terrypacker
Copy link
Contributor Author

Can you be specific on exactly what you want from the endpoint in the situation there is a non production release available? So currently you would either want:

4.0.0-beta.1 or 4.0.0

@jazdw
Copy link
Contributor

jazdw commented Sep 1, 2020

Also URLs should be under downloads/fullCores as per https://store.infiniteautomation.com/downloads/fullCores/${MA_BUNDLE_TYPE}-m2m2-core-${MA_VERSION}.zip"

@jazdw
Copy link
Contributor

jazdw commented Sep 1, 2020

Can you be specific on exactly what you want from the endpoint in the situation there is a non production release available? So currently you would either want:

I want the current released Mango version. Right now that would be 3.7.7

@terrypacker terrypacker self-assigned this Sep 1, 2020
@terrypacker
Copy link
Contributor Author

See infiniteautomation/m2m2Store#33

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

2 participants