287 words
1 minutes
005: π HOWTO Query data from endoflife.date info with the norwegianblue CLI
I am a big fan of endoflife.date for finding out when a particular version of an OS, progrramming language DBMS or cloud service will go end-of-life or stop getting support.
uv tool run --from norwegianblue eol python
Output Formats
The eol tool provided by the norwegianblue package supports a range of output formats including Markdown:
uv tool run --from norwegianblue eol gitlab --md | head -n8
| cycle | release | latest | latest release | support | eol |
| :-----| :--------: | :--------| :------------: | :--------: | :--------: |
| 17.8 | 2025-01-16 | 17.8.1 | 2025-01-22 | 2025-02-20 | 2025-04-17 |
| 17.7 | 2024-12-19 | 17.7.3 | 2025-01-22 | 2025-01-16 | 2025-03-20 |
| 17.6 | 2024-11-21 | 17.6.4 | 2025-01-22 | 2024-12-19 | 2025-02-20 |
| 17.5 | 2024-10-17 | 17.5.5 | 2025-01-08 | 2024-11-21 | 2025-01-16 |
| 17.4 | 2024-09-19 | 17.4.6 | 2024-12-10 | 2024-10-17 | 2024-12-19 |
| 17.3 | 2024-08-15 | 17.3.7 | 2024-11-12 | 2024-09-19 | 2024-11-21 |
β¦and YAML:
# uv tool run --with pyyaml --from norwegianblue eol ruby --yaml
β¦and JSON:
Print the version and release date of every version of nginx that is not EOL:
# uv tool run --from norwegianblue eol nginx --json | \
jq '.[] | select(.eol == false) | {cycle, releaseDate}'
{
"cycle": "1.27",
"releaseDate": "2024-05-28"
}
{
"cycle": "1.26",
"releaseDate": "2024-04-23"
}
For a version that is EOL:
# NGINX_VERSION="1.10"
# uv tool run --from norwegianblue eol nginx \
--json | jq --arg version "$NGINX_VERSION" \
'.[] | select(.cycle == $version) | .eol'
"2017-04-12"
Versions that are still getting support will look like this:
# NGINX_VERSION="1.27"
# uv tool run --from norwegianblue eol nginx \
--json | jq --arg version "$NGINX_VERSION" \
'.[] | select(.cycle == $version) | .eol'
false
005: π HOWTO Query data from endoflife.date info with the norwegianblue CLI
https://brie.ninja/posts/005/