diff options
Diffstat (limited to 'bpkg/rep-fetch.hxx')
-rw-r--r-- | bpkg/rep-fetch.hxx | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/bpkg/rep-fetch.hxx b/bpkg/rep-fetch.hxx index 9a9a18e..a26eba3 100644 --- a/bpkg/rep-fetch.hxx +++ b/bpkg/rep-fetch.hxx @@ -37,7 +37,8 @@ namespace bpkg // Empty if the build2 project info is not available for the packages. // Currently we only retrieve it for the directory and version control - // based repositories. + // based repositories, but only if the current build2 version is + // satisfactory for all the repository packages. // vector<package_info> package_infos; }; @@ -50,18 +51,24 @@ namespace bpkg shared_ptr<const bpkg::certificate> certificate; // Authenticated. }; - // If requested, expand the file-referencing package manifest values - // (description, changes, etc), setting them to the contents of files they - // refer to and set the potentially absent description-type value to the - // effective description type (see libbpkg/manifest.hxx). Note that for pkg - // repositories such values are expanded at the repository creation time. + // If requested, verify that all manifest entries are recognized and the + // packages are compatible with the current toolchain. Also, if requested, + // expand the file-referencing package manifest values (description, + // changes, etc), setting them to the contents of files they refer to and + // set the potentially absent description-type value to the effective + // description type (see libbpkg/manifest.hxx) and load the bootstrap, root, + // and config/*.build buildfiles into the respective *-build values. Note + // that for pkg repositories such values are expanded/loaded at the + // repository creation time. // rep_fetch_data rep_fetch (const common_options&, const dir_path* configuration, const repository_location&, bool ignore_unknown, - bool expand_values); + bool ignore_toolchain, + bool expand_values, + bool load_buildfiles); // Add (or update) repository locations to the configuration and fetch // them. If shallow is true, then don't fetch their prerequisite and/or |