From fad62fd770129d79e370fc95323543581473cad8 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 29 Jan 2019 16:12:21 +0300 Subject: Fix package dependency constraint completions that could end up with latest snapshot --- bpkg/pkg-verify.hxx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'bpkg/pkg-verify.hxx') diff --git a/bpkg/pkg-verify.hxx b/bpkg/pkg-verify.hxx index 3741467..f3a7c01 100644 --- a/bpkg/pkg-verify.hxx +++ b/bpkg/pkg-verify.hxx @@ -33,11 +33,16 @@ namespace bpkg bool diag = true); // Similar to the above but verifies that a source directory is a valid - // package. Note that it doesn't enforce the - form for the - // directory itself. + // package. Always translates the package version and completes dependency + // constraints but doesn't expand the file-referencing manifest values. Note + // that it doesn't enforce the - form for the directory + // itself. // package_manifest - pkg_verify (const dir_path& source, bool ignore_unknown, bool diag = true); + pkg_verify (const dir_path& source, + bool ignore_unknown, + const function&, + bool diag = true); } #endif // BPKG_PKG_VERIFY_HXX -- cgit v1.1