astronomer / astronomer-airflow-version-check

Plugin to check if new version of Astronomer Certified Airflow is available
Apache License 2.0
1 stars 2 forks source link

Show available updates in a better way #30

Closed ephraimbuddy closed 2 years ago

ephraimbuddy commented 2 years ago

This PR improves how we display available updates. If a user has image 2.2.1-2 and there're releases 2.2.1-3 and 2.2.3-4, we want to show 2.2.1-3 to the user. Until the user upgrades to 2.2.1-3 he cannot see 2.2.3-4.

Also, versions that are approaching end of life in less than 4 months displays warning to the user

Closes: https://github.com/astronomer/issues-airflow/issues/154

ephraimbuddy commented 2 years ago

I have not been able to figure out why this is not building. cc @kaxil

kaxil commented 2 years ago

@ephraimbuddy Can you pair with @jedcunningham and see if you’ll can figure it out

kaxil commented 2 years ago

Any updates on this @ephraimbuddy ?

ephraimbuddy commented 2 years ago

Any updates on this @ephraimbuddy ?

I plan to add tests for update_check.py. It's not currently tested. Then I can pair with @jedcunningham for this build error