endoflife-date / release-data

Common Release Data for various projects in a consumable format, automatically updated.
MIT License
100 stars 36 forks source link

Fix releasedata.py #308

Closed marcwrobel closed 4 months ago

marcwrobel commented 4 months ago

Release data were not loaded in the ProductData#__enter__ method. Data would be lost for auto configuration declaring an auto method updating releases followed by an auto method updating versions.

Also raise an error when product data are completely empty after the update, preventing the product data to be updated at all. This does not catch all types of errors (what if the second script silently fails completely ?), but that's a start.

marcwrobel commented 4 months ago

LGTM, confluence.py and jira.py marked as failed as expected.