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

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