From 76f9ceeafb41aa30cdeafa260cf1e42b63111610 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 24 May 2018 00:03:03 +0300 Subject: Adapt to inventing package_name type --- libbbot/manifest.hxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libbbot/manifest.hxx') diff --git a/libbbot/manifest.hxx b/libbbot/manifest.hxx index fcb1056..163c75e 100644 --- a/libbbot/manifest.hxx +++ b/libbbot/manifest.hxx @@ -14,7 +14,8 @@ #include #include -#include // version, repository_location +#include // version, repository_location +#include #include #include @@ -107,8 +108,8 @@ namespace bbot public: // Package to build. // - std::string name; - bpkg::version version; + bpkg::package_name name; + bpkg::version version; bpkg::repository_location repository; // Remote or absolute. // The SHA256 repositories certificates fingerprints to trust. The special @@ -139,7 +140,7 @@ namespace bbot strings unquoted_warning_regex () const; - task_manifest (std::string nm, + task_manifest (bpkg::package_name nm, bpkg::version vr, bpkg::repository_location rl, strings tr, @@ -264,7 +265,7 @@ namespace bbot // by the worker to signal abnormal termination before being able to // obtain the package name/version. // - std::string name; + bpkg::package_name name; bpkg::version version; result_status status; @@ -275,7 +276,7 @@ namespace bbot // operation_results results; - result_manifest (std::string n, + result_manifest (bpkg::package_name n, bpkg::version v, result_status s, operation_results r) -- cgit v1.1