aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-12 19:47:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-12 20:11:46 +0300
commitb1becabe15972d3ddc7cf14e7840e03766ea9600 (patch)
treecd8d1b93432220a0541a87311851729732cfdd75 /bpkg/package.hxx
parent94bd8f38d5cbecd479e26928ca110f0bf1f64519 (diff)
Adapt to butl::b_info() API change
Diffstat (limited to 'bpkg/package.hxx')
-rw-r--r--bpkg/package.hxx19
1 files changed, 10 insertions, 9 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx
index 51f7219..4f4f16b 100644
--- a/bpkg/package.hxx
+++ b/bpkg/package.hxx
@@ -1361,21 +1361,22 @@ namespace bpkg
//
// Pass the build2 project info for the package, if available, to speed up
// the call and NULL otherwise (in which case it will be queried by the
- // implementation).
+ // implementation). In the former case it is assumed that the package info
+ // has been retrieved with the b_info_flags::subprojects flag.
//
// Notes:
//
// - The package directory is considered an iteration of the package if this
// upstream version and revision is already present (selected) in the
// configuration and has a source directory. If that's the case, then the
- // specified directory path and the checksum of the manifest file it
- // contains are compared to the ones of the package present in the
- // configuration. If both match, then the present package version
- // (including its iteration, if any) is returned. Otherwise (the package
- // has moved and/or the packaging information has changed), the present
- // package version with the incremented iteration number is returned. Note
- // that the directory path is matched only for the external selected
- // packages.
+ // specified directory path and the package checksum (see
+ // package_checksum() for details) are compared to the ones of the package
+ // present in the configuration. If both match, then the present package
+ // version (including its iteration, if any) is returned. Otherwise (the
+ // package has moved and/or the package information has changed), the
+ // present package version with the incremented iteration number is
+ // returned. Note that the directory path is matched only for the external
+ // selected packages.
//
// - Only a single package iteration is valid per version in the
// configuration. This, in particular, means that a package of the