hugovk / norwegianblue

CLI to show end-of-life dates for a number of products.
https://endoflife.date
MIT License
76 stars 4 forks source link

Show EOLs for multiple products #67

Closed hugovk closed 2 years ago

hugovk commented 2 years ago

We can now get the EOLs for several products at once.

Before

$  eol centos
| cycle           | latest   |  release   |  support   |    eol     | link                                                      |
|:----------------|:---------|:----------:|:----------:|:----------:|:----------------------------------------------------------|
| CentOS 6        | 6.10     | 2011-07-10 | 2017-05-10 | 2020-11-30 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.10   |
| CentOS Linux 7  | 7 (2009) | 2014-07-07 | 2020-08-06 | 2024-06-30 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7.2009 |
| CentOS Linux 8  | 8 (2111) | 2019-09-24 | 2021-12-31 | 2021-12-31 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS8.2111 |
| CentOS Stream 8 | 8        | 2019-09-24 | 2024-05-31 | 2024-05-31 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOSStream |
| CentOS Stream 9 | 9        | 2021-09-15 |    True    |   False    | https://wiki.centos.org/Manuals/ReleaseNotes/CentOSStream |
$ eol fedora
| cycle | latest |  release   |    eol     |
|:------|:-------|:----------:|:----------:|
| 35    | 35     | 2021-11-02 | 2022-12-07 |
| 34    | 34     | 2021-04-27 | 2022-05-17 |
| 33    | 33     | 2020-10-27 | 2021-11-30 |
| 32    | 32     | 2020-04-28 | 2021-05-25 |
| 31    | 31     | 2019-10-29 | 2020-11-30 |
| 30    | 30     | 2019-05-07 | 2020-05-26 |
| 29    | 29     | 2018-10-30 | 2019-11-26 |
| 28    | 28     | 2018-05-01 | 2019-05-28 |
$ eol centos fedora
usage: eol [-h] [-f {html,json,markdown,rst,tsv}] [-c {yes,no,auto}] [--clear-cache] [-v] [-V] [product]
eol: error: unrecognized arguments: fedora

After

$ eol centos
| cycle           | latest   |  release   |  support   |    eol     | link                                                      |
|:----------------|:---------|:----------:|:----------:|:----------:|:----------------------------------------------------------|
| CentOS 6        | 6.10     | 2011-07-10 | 2017-05-10 | 2020-11-30 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.10   |
| CentOS Linux 7  | 7 (2009) | 2014-07-07 | 2020-08-06 | 2024-06-30 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7.2009 |
| CentOS Linux 8  | 8 (2111) | 2019-09-24 | 2021-12-31 | 2021-12-31 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS8.2111 |
| CentOS Stream 8 | 8        | 2019-09-24 | 2024-05-31 | 2024-05-31 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOSStream |
| CentOS Stream 9 | 9        | 2021-09-15 |    True    |   False    | https://wiki.centos.org/Manuals/ReleaseNotes/CentOSStream |
$ eol fedora
| cycle | latest |  release   |    eol     |
|:------|:-------|:----------:|:----------:|
| 35    | 35     | 2021-11-02 | 2022-12-07 |
| 34    | 34     | 2021-04-27 | 2022-05-17 |
| 33    | 33     | 2020-10-27 | 2021-11-30 |
| 32    | 32     | 2020-04-28 | 2021-05-25 |
| 31    | 31     | 2019-10-29 | 2020-11-30 |
| 30    | 30     | 2019-05-07 | 2020-05-26 |
| 29    | 29     | 2018-10-30 | 2019-11-26 |
| 28    | 28     | 2018-05-01 | 2019-05-28 |
$ eol centos fedora
| cycle           | latest   |  release   |  support   |    eol     | link                                                      |
|:----------------|:---------|:----------:|:----------:|:----------:|:----------------------------------------------------------|
| CentOS 6        | 6.10     | 2011-07-10 | 2017-05-10 | 2020-11-30 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.10   |
| CentOS Linux 7  | 7 (2009) | 2014-07-07 | 2020-08-06 | 2024-06-30 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7.2009 |
| CentOS Linux 8  | 8 (2111) | 2019-09-24 | 2021-12-31 | 2021-12-31 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOS8.2111 |
| CentOS Stream 8 | 8        | 2019-09-24 | 2024-05-31 | 2024-05-31 | https://wiki.centos.org/Manuals/ReleaseNotes/CentOSStream |
| CentOS Stream 9 | 9        | 2021-09-15 |    True    |   False    | https://wiki.centos.org/Manuals/ReleaseNotes/CentOSStream |

| cycle | latest |  release   |    eol     |
|:------|:-------|:----------:|:----------:|
| 35    | 35     | 2021-11-02 | 2022-12-07 |
| 34    | 34     | 2021-04-27 | 2022-05-17 |
| 33    | 33     | 2020-10-27 | 2021-11-30 |
| 32    | 32     | 2020-04-28 | 2021-05-25 |
| 31    | 31     | 2019-10-29 | 2020-11-30 |
| 30    | 30     | 2019-05-07 | 2020-05-26 |
| 29    | 29     | 2018-10-30 | 2019-11-26 |
| 28    | 28     | 2018-05-01 | 2019-05-28 |
codecov[bot] commented 2 years ago

Codecov Report

Merging #67 (f9ecc93) into main (7f6efd5) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   96.69%   96.69%           
=======================================
  Files           8        8           
  Lines         363      363           
=======================================
  Hits          351      351           
  Misses         12       12           
Flag Coverage Δ
GHA_Ubuntu 96.69% <ø> (ø)
GHA_Windows 96.69% <ø> (ø)
GHA_macOS 96.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/norwegianblue/cli.py 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7f6efd5...f9ecc93. Read the comment docs.