aboutsummaryrefslogtreecommitdiff
path: root/bpkg/system-package-manager-fedora.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-02-10 14:04:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-02-10 14:04:27 +0300
commit4887f43d983898e48feaffc467327bc7fc4e1180 (patch)
tree755e24995452ae20fbddf657e582819de8b27e25 /bpkg/system-package-manager-fedora.hxx
parente1c36d138fb38cfe46cb236b87f092810075ef20 (diff)
Add support for fetch timeout to system package managers
Diffstat (limited to 'bpkg/system-package-manager-fedora.hxx')
-rw-r--r--bpkg/system-package-manager-fedora.hxx6
1 files changed, 5 insertions, 1 deletions
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<bool> progress,
+ optional<size_t> 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<cstrings, const process_path&>
- dnf_common (const char*);
+ dnf_common (const char*,
+ optional<size_t> fetch_timeout,
+ strings& args_storage);
static package_status
parse_name_value (const package_name&, const string&, bool, bool, bool);