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

check for new CARTA release #1852

Closed
kswang1029 opened this issue May 14, 2022 · 1 comment · Fixed by #1927
Closed

check for new CARTA release #1852

kswang1029 opened this issue May 14, 2022 · 1 comment · Fixed by #1927
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@kswang1029
Copy link
Collaborator

kswang1029 commented May 14, 2022

This is considered as a good way to notify existing users that there is a new CARTA release. Mostly useful for UDM I guess.

  • the frontend checks regularly (daily?) if there is a new CARTA release. Maybe there is a way by checking Github using curl? If there is a new version available, show a popup and guide users where to get it.
  • in the Help manual, add an option as "Check for update" so users can trigger the check manually anytime too.
@kswang1029 kswang1029 added the enhancement New feature or request label May 14, 2022
@kswang1029
Copy link
Collaborator Author

kswang1029 commented May 19, 2022

doing
curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/CARTAvis/carta/releases
can retrieve all releases info in json format.

Screen Shot 2022-05-19 at 20 00 13

The first one is the latest one with "tag_name": "v3.0.0-beta.3" so I guess we can compare the frontend tag and if they are not identical, there is a new release on GitHub. Not sure if it is that simple? @veggiesaurus @YuHsuan-Hwang

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

Successfully merging a pull request may close this issue.

3 participants