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

Rename headers: `releaseDate`->`release`, `latestReleaseDate`->`latest` release #83

Closed hugovk closed 2 years ago

hugovk commented 2 years ago

Before

$ eol python
| cycle | releaseDate | latest | latestReleaseDate |    eol     |
|:------|:-----------:|:-------|:-----------------:|:----------:|
| 3.10  |  2021-10-04 | 3.10.5 |     2022-06-06    | 2026-10-04 |
| 3.9   |  2020-10-05 | 3.9.13 |     2022-05-17    | 2025-10-05 |
| 3.8   |  2019-10-14 | 3.8.13 |     2022-03-16    | 2024-10-14 |
| 3.7   |  2018-06-26 | 3.7.13 |     2022-03-16    | 2023-06-27 |
| 3.6   |  2016-12-22 | 3.6.15 |     2021-09-03    | 2021-12-23 |
| 3.5   |  2015-09-12 | 3.5.10 |     2020-09-05    | 2020-09-13 |
| 3.4   |  2014-03-15 | 3.4.10 |     2019-03-18    | 2019-03-18 |
| 3.3   |  2012-09-29 | 3.3.7  |     2017-09-19    | 2017-09-29 |
| 2.7   |  2010-07-03 | 2.7.18 |     2020-04-19    | 2020-01-01 |

After

$ eol python
| cycle |  release   | latest | latest release |    eol     |
|:------|:----------:|:-------|:--------------:|:----------:|
| 3.10  | 2021-10-04 | 3.10.5 |   2022-06-06   | 2026-10-04 |
| 3.9   | 2020-10-05 | 3.9.13 |   2022-05-17   | 2025-10-05 |
| 3.8   | 2019-10-14 | 3.8.13 |   2022-03-16   | 2024-10-14 |
| 3.7   | 2018-06-26 | 3.7.13 |   2022-03-16   | 2023-06-27 |
| 3.6   | 2016-12-22 | 3.6.15 |   2021-09-03   | 2021-12-23 |
| 3.5   | 2015-09-12 | 3.5.10 |   2020-09-05   | 2020-09-13 |
| 3.4   | 2014-03-15 | 3.4.10 |   2019-03-18   | 2019-03-18 |
| 3.3   | 2012-09-29 | 3.3.7  |   2017-09-19   | 2017-09-29 |
| 2.7   | 2010-07-03 | 2.7.18 |   2020-04-19   | 2020-01-01 |
codecov[bot] commented 2 years ago

Codecov Report

Merging #83 (495b4e5) into main (c0f4587) will increase coverage by 0.49%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
+ Coverage   95.45%   95.94%   +0.49%     
==========================================
  Files           8        9       +1     
  Lines         352      370      +18     
==========================================
+ Hits          336      355      +19     
+ Misses         16       15       -1     
Flag Coverage Δ
macos-latest 95.94% <100.00%> (+0.49%) :arrow_up:
ubuntu-latest 95.94% <100.00%> (+0.49%) :arrow_up:
windows-latest 95.94% <100.00%> (+0.49%) :arrow_up:

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

Impacted Files Coverage Δ
src/norwegianblue/__init__.py 98.50% <100.00%> (+0.83%) :arrow_up:
tests/data/expected_output.py 100.00% <100.00%> (ø)
tests/data/sample_response.py 100.00% <100.00%> (ø)
tests/test_norwegianblue.py 100.00% <100.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 c0f4587...495b4e5. Read the comment docs.