Blame SOURCES/0005-reposync-Use-fail_fastFalse-when-downloading-packages-RhBug2009894.patch

0e2001
From b60f27006cdbdd14fb480aa22610fcd32bfe41e5 Mon Sep 17 00:00:00 2001
0e2001
From: Marek Blaha <mblaha@redhat.com>
0e2001
Date: Wed, 6 Oct 2021 13:40:55 +0200
0e2001
Subject: [PATCH] reposync: Use fail_fast=False when downloading packages (RhBug:2009894)
0e2001
0e2001
= changelog =
0e2001
msg:           Reposync does not stop downloading packages on the first error
0e2001
type:          bugfix
0e2001
resolves:      https://bugzilla.redhat.com/show_bug.cgi?id=2009894
0e2001
---
0e2001
 dnf-plugins-core.spec | 2 +-
0e2001
 plugins/reposync.py   | 2 +-
0e2001
 2 files changed, 2 insertions(+), 2 deletions(-)
0e2001
0e2001
diff --git a/dnf-plugins-core.spec b/dnf-plugins-core.spec
0e2001
index 83ae6ae..cef836f 100644
0e2001
--- a/dnf-plugins-core.spec
0e2001
+++ b/dnf-plugins-core.spec
0e2001
@@ -1,4 +1,4 @@
0e2001
-%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.2.22}
0e2001
+%{?!dnf_lowest_compatible: %global dnf_lowest_compatible 4.9.2}
0e2001
 %global dnf_plugins_extra 2.0.0
0e2001
 %global hawkey_version 0.46.1
0e2001
 %global yum_utils_subpackage_name dnf-utils
0e2001
diff --git a/plugins/reposync.py b/plugins/reposync.py
0e2001
index 66c76a7..0ff936f 100644
0e2001
--- a/plugins/reposync.py
0e2001
+++ b/plugins/reposync.py
0e2001
@@ -303,7 +303,7 @@ class RepoSyncCommand(dnf.cli.Command):
0e2001
                                   progress, 0)
0e2001
         payloads = [RPMPayloadLocation(pkg, progress, self.pkg_download_path(pkg))
0e2001
                     for pkg in pkglist]
0e2001
-        base._download_remote_payloads(payloads, drpm, progress, None)
0e2001
+        base._download_remote_payloads(payloads, drpm, progress, None, False)
0e2001
 
0e2001
     def print_urls(self, pkglist):
0e2001
         for pkg in pkglist:
0e2001
--
0e2001
libgit2 1.0.1
0e2001