Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian 10: Add EoL date #137

Merged
merged 1 commit into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/puppet_metadata/operatingsystem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ class OperatingSystem
'4' => '2012-02-29',
'3' => '2010-10-30',
},
# https://endoflife.software/operating-systems/linux/debian
# https://wiki.debian.org/DebianReleases
'Debian' => {
# TODO: EOL is standard support, not the extended life cycle
'12' => nil, # '~2026',
'11' => nil, # '~2024',
Comment on lines 34 to 35
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://endoflife.date/debian has exact dates and I just learned Debian 11 standard support ends in 2 months.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The official debian site doesn't list an EoL date yet, so I didn't update it.

'10' => nil, # '~2022',
'10' => '2022-09-10',
'9' => '2020-07-06',
'8' => '2018-06-17',
'7' => '2016-04-26',
Expand Down
4 changes: 2 additions & 2 deletions spec/operatingsystem_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
context 'with Debian' do
let(:os) { 'Debian' }

it 'returns 10, 11, 12' do
expect(described_class.supported_releases(os)).to match_array(%w[10 11 12])
it 'returns 11, 12' do
expect(described_class.supported_releases(os)).to match_array(%w[11 12])
end

it 'the last entry matches latest_release' do
Expand Down