Skip to content

Commit

Permalink
Set EoL dates for openmandriva (#1430)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Sep 23, 2024
1 parent f3add2c commit 189a954
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions repos.d/rpm/openmandriva.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
family: openmandriva
ruleset: [openmandriva, rpm]
color: '045e9d'
valid_till: 2020-03-01
minpackages: 10000
sources:
# XXX: unsupported/updates is some 450MB file instead of repository directory, so excluded from here
Expand All @@ -30,7 +31,7 @@
url: 'https://raw.githubusercontent.com/OpenMandrivaAssociation/{srcname}/4.0/{srcname}.spec'
groups: [ all, production, openmandriva, rpm ]

{% macro openmandriva(version, minpackages, archived=False) %}
{% macro openmandriva(version, minpackages, valid_till=Null, archived=False) %}
{% set subdir = 'release_archives/' if archived else '' %}
- name: openmandriva_{{version|replace('.', '_')}}
type: repository
Expand All @@ -39,6 +40,9 @@
family: openmandriva
ruleset: [openmandriva, rpm]
color: '045e9d'
{% if valid_till %}
valid_till: {{valid_till}}
{% endif %}
minpackages: {{minpackages}}
sources:
{% for sub1 in ['main', 'non-free', 'restricted', 'unsupported'] %}
Expand All @@ -65,9 +69,12 @@
groups: [ all, production, openmandriva, rpm ]
{% endmacro %}

{{ openmandriva("4.1", archived=True, minpackages=10000) }}
{{ openmandriva("4.2", archived=True, minpackages=11000) }}
{{ openmandriva("4.3", minpackages=11000) }}
# valid_till's according to https://en.wikipedia.org/wiki/OpenMandriva_Lx#Stable_branch
# each release is supported for 1 month after the next release comes out, so we can
# immediately set valid_till when we add new releases here
{{ openmandriva("4.1", valid_till="2021-03-12", archived=True, minpackages=10000) }}
{{ openmandriva("4.2", valid_till="2022-03-07", archived=True, minpackages=11000) }}
{{ openmandriva("4.3", valid_till="2023-12-25", minpackages=11000) }}
{{ openmandriva("5.0", minpackages=11000) }}

- name: openmandriva_rolling
Expand Down

0 comments on commit 189a954

Please sign in to comment.