diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-02-15 11:39:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-02-21 04:46:55 +0200 |
commit | 8166e873c0cad830001ff84a15450cd9a7958c19 (patch) | |
tree | 298acca1cb08d147522cd4cdabc546f76f7b223a /bpkg/system-package-manager.hxx | |
parent | 112428df3d899af280aca6f03c721bc7065bb787 (diff) |
WIP
Diffstat (limited to 'bpkg/system-package-manager.hxx')
-rw-r--r-- | bpkg/system-package-manager.hxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/bpkg/system-package-manager.hxx b/bpkg/system-package-manager.hxx index 91f9a49..ad41174 100644 --- a/bpkg/system-package-manager.hxx +++ b/bpkg/system-package-manager.hxx @@ -4,9 +4,6 @@ #ifndef BPKG_SYSTEM_PACKAGE_MANAGER_HXX #define BPKG_SYSTEM_PACKAGE_MANAGER_HXX -#include <libbpkg/manifest.hxx> // version -#include <libbpkg/package-name.hxx> - #include <bpkg/types.hxx> #include <bpkg/utility.hxx> @@ -161,6 +158,10 @@ namespace bpkg // all the packages in deps. For non-system packages there is always a // single available package that corresponds to the selected package. // + // The passed package manifest corresponds to the first package in pkgs + // (normally used as a source of additional package metadata such as + // summary, emails, urls, etc). + // // See the pkg-bindist(1) man page and the pkg_bindist() function // implementation for background and details. // @@ -170,9 +171,10 @@ namespace bpkg enum class recursive_mode {auto_, full}; virtual void - generate (packages&& pkgs, - packages&& deps, - strings&& vars, + generate (const packages& pkgs, + const packages& deps, + const strings& vars, + const package_manifest&, const dir_path& out, optional<recursive_mode>) = 0; |