bodhi / backend / new_updates_sync: don't try and link epel-release for 10 yet

We don't have a stable repo, so skip the epel-release 'latest' link for
epel10 for now. Since we don't have any modular stuff left, we can just
reuse that conditional. ;)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-08-16 10:16:21 -07:00
parent 274c43db48
commit a45066e671

View file

@ -481,7 +481,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 'Modular' not in RELEASES[release]['repos']['epel']['to'][0]['dest']:
if 'epel' in release and '10' not in RELEASES[release]['repos']['epel']['to'][0]['dest']:
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