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

Notify users of updated versions #70

Closed
mike-gangl opened this issue May 10, 2022 · 1 comment · Fixed by #117
Closed

Notify users of updated versions #70

mike-gangl opened this issue May 10, 2022 · 1 comment · Fixed by #117
Milestone

Comments

@mike-gangl
Copy link
Contributor

Users may not be using the awesome new functionality of the subscriber! let them know that a new version exists when applicable. Will require a user to grab the version with this capability before they get notified...

Assumptions
release tags will always use semantic versioning: 1.7.0, 1.7.1, 1.9.0, etc

Github releases API
curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/podaac/data-subscriber/releases

Semantic versioning comparison
as seen here: https://stackoverflow.com/questions/11887762/how-do-i-compare-version-numbers-in-python

>>> from packaging import version
>>> version.parse("2.3.1") < version.parse("10.1.2")
@mike-gangl mike-gangl linked a pull request Jan 31, 2023 that will close this issue
@mike-gangl mike-gangl added this to the 1.13.0 milestone Mar 15, 2023
@mike-gangl
Copy link
Contributor Author

Merged into develop. Will be available with 1.13.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

1 participant