Skip to content

Commit 9784b7c

Browse files
author
Feanil Patel
authored
Merge pull request #553 from openedx/feanil/update_bar_calendar
feat: Add more dates to the bar calendar.
2 parents 77753f3 + 53e49ae commit 9784b7c

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

barcalendar.py

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def parse_version_name(line):
412412
"MySQL": parse_version_number(versions['DOCKER_IMAGE_MYSQL']),
413413
"Elasticsearch": parse_version_number(versions['DOCKER_IMAGE_ELASTICSEARCH']),
414414
"Redis": parse_version_number(versions['DOCKER_IMAGE_REDIS']),
415-
"Ruby": "3.0",
415+
"Ruby": "3.3",
416416
}
417417

418418
EDX = {
@@ -497,13 +497,17 @@ def parse_version_name(line):
497497
# ('1.11', 2017, 4, True),
498498
# ('2.0', 2018, 1, False),
499499
# ('2.1', 2018, 8, False),
500-
('2.2', 2019, 4, True),
500+
# ('2.2', 2019, 4, True),
501501
# ('3.0', 2020, 1, False),
502502
# ('3.1', 2020, 8, False),
503503
('3.2', 2021, 4, True),
504504
('4.0', 2021, 12, False),
505505
('4.1', 2022, 8, False),
506506
('4.2', 2023, 4, True, "Django 4.2 work is being tracked in https://github.com/openedx/platform-roadmap/issues/269"),
507+
('5.0', 2023, 12, False),
508+
('5.1', 2024, 8, False),
509+
('5.2', 2025, 4, True),
510+
507511
]
508512
for name, year, month, lts, *more in django_releases:
509513
year, month = validate_version_date("Django", name, year, month, check_start=True)
@@ -553,6 +557,7 @@ def parse_version_name(line):
553557
'18.04': 'Bionic Beaver',
554558
'20.04': 'Focal Fossa',
555559
'22.04': 'Jammy Jellyfish',
560+
'24.04': 'Noble Numbat',
556561
}
557562

558563
for year, month in itertools.product(range(START_YEAR % 100, END_YEAR % 100), [4, 10]):
@@ -588,6 +593,7 @@ def parse_version_name(line):
588593
('16', 2021, 4, 2023, 9), # https://nodejs.org/en/blog/announcements/nodejs16-eol/
589594
('18', 2022, 4, 2025, 4),
590595
('20', 2023, 4, 2026, 4),
596+
('22', 2024, 4, 2027, 4),
591597
]
592598
for name, syear, smonth, eyear, emonth in node_releases:
593599
eyear, emonth = validate_version_date("NodeJS", name, eyear, emonth)
@@ -613,6 +619,7 @@ def parse_version_name(line):
613619
('4.2', 2019, 8, 2023, 4),
614620
('4.4', 2020, 7, 2024, 2),
615621
('5.0', 2021, 7, 2024, 10),
622+
('7.0', 2023, 8, 2026, 8),
616623
]
617624
for name, syear, smonth, eyear, emonth in mongo_releases:
618625
eyear, emonth = validate_version_date("mongo", name, eyear, emonth)
@@ -633,6 +640,8 @@ def parse_version_name(line):
633640
('5.7', 2015, 10, 2023, 10),
634641
('8.0', 2018, 4, 2026, 4),
635642
('8.1', 2023, 6, 2023, 10),
643+
('8.4', 2024, 4, 2032, 4),
644+
('9.0', 2024, 7, 2025, 7),
636645
]
637646
for name, syear, smonth, eyear, emonth in mysql_releases:
638647
eyear, emonth = validate_version_date("MySQL", name, eyear, emonth)
@@ -678,8 +687,10 @@ def parse_version_name(line):
678687
# https://endoflife.date/redis
679688
redis_releases = [
680689
('6.0', 2020, 5, 2023, 8),
681-
('6.2', 2021, 8, 2024, 4),
682-
('7.0', 2022, 4, 2025, 4),
690+
('6.2', 2021, 8, 2024, 8),
691+
('7.0', 2022, 4, 2024, 7),
692+
('7.2', 2023, 8, 2024, 8),
693+
('7.4', 2024, 7, 2025, 7),
683694
]
684695
for name, syear, smonth, eyear, emonth in redis_releases:
685696
eyear, emonth = validate_version_date("Redis", name, eyear, emonth)
@@ -699,11 +710,13 @@ def parse_version_name(line):
699710
ruby_releases = [
700711
#('2.3', 2015, 12, 2019, 3),
701712
#('2.4', 2016, 12, 2020, 3),
702-
('2.5', 2017, 12, 2021, 3),
703-
('2.6', 2018, 12, 2022, 3),
713+
#('2.5', 2017, 12, 2021, 3),
714+
#('2.6', 2018, 12, 2022, 3),
704715
('2.7', 2019, 12, 2023, 3),
705716
('3.0', 2020, 12, 2024, 3),
706717
('3.1', 2021, 12, 2025, 3),
718+
('3.2', 2022, 12, 2026, 3),
719+
('3.3', 2023, 12, 2027, 3),
707720
]
708721
for name, syear, smonth, eyear, emonth, *more in ruby_releases:
709722
eyear, emonth = validate_version_date("Ruby", name, eyear, emonth)

0 commit comments

Comments
 (0)