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

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