Update new-updates-sync to not skip EPEL 10

Signed-off-by: james02135 <james02135@hotmail.com>

Include epel10 in the RELEASES dict

Signed-off-by: james02135 <james02135@hotmail.com>

Remove dict updates until composes are turned back on

Signed-off-by: james02135 <james02135@hotmail.com>
This commit is contained in:
james02135 2024-10-22 14:19:54 +01:00 committed by kevin
parent cee2700942
commit 614ce12a0f

View file

@ -467,7 +467,7 @@ def update_epel_release_latest(releases):
releases (dict): contains similar information of global variable RELEASES
"""
for release in releases:
if 'epel' in release and '10' not in RELEASES[release]['repos']['epel']['to'][0]['dest']:
if 'epel' in release:
if 'next' in RELEASES[release]['repos']['epel']['to'][0]['dest']:
dest = '/pub/epel/epel-next-release-latest-' + release[4] + '.noarch.rpm'
# For next's epel release, use the subpackage rpm from epel repo instead of