From 4887f43d983898e48feaffc467327bc7fc4e1180 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 10 Feb 2023 14:04:27 +0300 Subject: Add support for fetch timeout to system package managers --- bpkg/system-package-manager-fedora.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bpkg/system-package-manager-fedora.hxx') diff --git a/bpkg/system-package-manager-fedora.hxx b/bpkg/system-package-manager-fedora.hxx index df2e765..6c72b81 100644 --- a/bpkg/system-package-manager-fedora.hxx +++ b/bpkg/system-package-manager-fedora.hxx @@ -211,6 +211,7 @@ namespace bpkg const target_triplet& h, string a, optional progress, + optional fetch_timeout, bool install, bool fetch, bool yes, @@ -219,6 +220,7 @@ namespace bpkg h, a.empty () ? arch_from_target (h) : move (a), progress, + fetch_timeout, install, fetch, yes, @@ -256,7 +258,9 @@ namespace bpkg dnf_mark_install (const strings&); pair - dnf_common (const char*); + dnf_common (const char*, + optional fetch_timeout, + strings& args_storage); static package_status parse_name_value (const package_name&, const string&, bool, bool, bool); -- cgit v1.1