Skip to content

feat(endoflifedate.py): add offline data for MongoDB - #505

Open
NavidSassan wants to merge 1 commit into
mainfrom
feat/endoflifedate-mongodb
Open

NavidSassan wants to merge 1 commit into
mainfrom
feat/endoflifedate-mongodb

Conversation

@NavidSassan

Copy link
Copy Markdown
Member

mongodb-version in the monitoring plugins (Linuxfabrik/monitoring-plugins, branch feat/mongodb-version) checks against https://endoflife.date/api/mongodb.json. Without a bundled copy, check_eol() has no fallback when endoflife.date is unreachable and the cache is empty, so the plugin cannot judge the end of life at all, unlike every other *-version check.

This adds the product to tools/update-endoflifedate and regenerates endoflifedate.py with it (33 MongoDB cycles). The other products are refreshed along the way, as the scheduled refresh would do; that part of the diff is data only.

Checks: the pre-commit hooks passed. mongodb-version with endoflife.date unreachable and an empty cache reports MongoDB v7.0.48 (EOL 2027-08-31 -30d, major 9.0.8 available, endoflife.date unreachable, using bundled data). The lib unit tests did not run.

mongodb-version in the monitoring plugins checks against
https://endoflife.date/api/mongodb.json. Without a bundled copy,
check_eol() has no fallback when endoflife.date is unreachable and the
cache is empty, so the plugin cannot judge the end of life at all,
unlike every other *-version check.

Add the product to tools/update-endoflifedate and regenerate
endoflifedate.py with it; the other products are refreshed along the
way, as the scheduled refresh would do.

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant