From 00a83b2ab6ca84776dfb5bec1679863c1896a813 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 25 Aug 2021 20:24:57 +0300 Subject: Consider repository information from ultimate dependent databases rather then from just main database --- bpkg/pkg-fetch.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-fetch.hxx') diff --git a/bpkg/pkg-fetch.hxx b/bpkg/pkg-fetch.hxx index 9dd53f6..5d698d5 100644 --- a/bpkg/pkg-fetch.hxx +++ b/bpkg/pkg-fetch.hxx @@ -34,9 +34,13 @@ namespace bpkg // transaction. Return the selected package object which may replace the // existing one. // + // Note that both package and repository information configurations need to + // be passed. + // shared_ptr pkg_fetch (const common_options&, - database&, + database& pdb, + database& rdb, transaction&, package_name, version, -- cgit v1.1