aboutsummaryrefslogtreecommitdiff
path: root/libbbot/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-24 00:03:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-24 00:03:03 +0300
commit76f9ceeafb41aa30cdeafa260cf1e42b63111610 (patch)
treeab2a2fcd2ceed38a02ce14e4f2ab4db633c16a91 /libbbot/manifest.hxx
parent6782634f4e4606a1a934dfda5cf52543f74f78cc (diff)
Adapt to inventing package_name type
Diffstat (limited to 'libbbot/manifest.hxx')
-rw-r--r--libbbot/manifest.hxx13
1 files changed, 7 insertions, 6 deletions
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 <libbutl/standard-version.mxx>
#include <libbutl/manifest-forward.hxx>
-#include <libbpkg/manifest.hxx> // version, repository_location
+#include <libbpkg/manifest.hxx> // version, repository_location
+#include <libbpkg/package-name.hxx>
#include <libbbot/export.hxx>
#include <libbbot/version.hxx>
@@ -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)