From 0b59de0fecf5f97c740c597df8a7fd5466b017fe Mon Sep 17 00:00:00 2001 From: Kirill Pushkarev Date: Fri, 6 Sep 2024 18:08:33 +0700 Subject: [PATCH 1/2] Add a replacement with slash for EPEL URLs --- pleskdistup/common/src/leapp_configs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pleskdistup/common/src/leapp_configs.py b/pleskdistup/common/src/leapp_configs.py index 0182668..6c15455 100644 --- a/pleskdistup/common/src/leapp_configs.py +++ b/pleskdistup/common/src/leapp_configs.py @@ -133,6 +133,7 @@ def _do_url_replacement(url: typing.Optional[str]) -> typing.Optional[str]: lambda to_change: to_change.replace("CloudLinux-7", "CloudLinux-8"), lambda to_change: to_change.replace("cloudlinux/7", "cloudlinux/8"), lambda to_change: to_change.replace("epel-7", "epel-8"), + lambda to_change: to_change.replace("epel/7", "epel/8"), lambda to_change: to_change.replace("epel-debug-7", "epel-debug-8"), lambda to_change: to_change.replace("epel-source-7", "epel-source-8"), lambda to_change: to_change.replace("centos7", "centos8"), From cd58008c9b18f624525142c63469ab66ee14e85c Mon Sep 17 00:00:00 2001 From: Kirill Pushkarev Date: Mon, 9 Sep 2024 12:38:29 +0700 Subject: [PATCH 2/2] Replace the archive URL of EPEL 7 --- pleskdistup/common/src/leapp_configs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pleskdistup/common/src/leapp_configs.py b/pleskdistup/common/src/leapp_configs.py index 6c15455..53861d3 100644 --- a/pleskdistup/common/src/leapp_configs.py +++ b/pleskdistup/common/src/leapp_configs.py @@ -129,6 +129,7 @@ def _do_url_replacement(url: typing.Optional[str]) -> typing.Optional[str]: _fix_mariadb_repository, _fix_postgresql_official_repository, _fix_rackspace_epel_repository, + lambda to_change: to_change.replace("archives.fedoraproject.org/pub/archive/epel/7", "dl.fedoraproject.org/pub/epel/8/Everything"), lambda to_change: to_change.replace("rpm-CentOS-7", "rpm-RedHat-el8"), lambda to_change: to_change.replace("CloudLinux-7", "CloudLinux-8"), lambda to_change: to_change.replace("cloudlinux/7", "cloudlinux/8"),