diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-29 16:12:21 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-30 15:54:59 +0300 |
commit | fad62fd770129d79e370fc95323543581473cad8 (patch) | |
tree | c12dc09c0bfead4ed606c4c23702426c2737d41b /bpkg/pkg-verify.hxx | |
parent | d5e755ebe85271e65d69afb38d6548d33e55e79e (diff) |
Fix package dependency constraint completions that could end up with latest snapshot
Diffstat (limited to 'bpkg/pkg-verify.hxx')
-rw-r--r-- | bpkg/pkg-verify.hxx | 11 |
1 files changed, 8 insertions, 3 deletions
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 <name>-<version> 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 <name>-<version> 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<package_manifest::translate_function>&, + bool diag = true); } #endif // BPKG_PKG_VERIFY_HXX |