aboutsummaryrefslogtreecommitdiff
path: root/bbot/manifest
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/manifest')
-rw-r--r--bbot/manifest16
1 files changed, 5 insertions, 11 deletions
diff --git a/bbot/manifest b/bbot/manifest
index bf0471e..2cedbb6 100644
--- a/bbot/manifest
+++ b/bbot/manifest
@@ -26,15 +26,14 @@ namespace bbot
class LIBBBOT_EXPORT machine_manifest
{
public:
+ // A "machine header".
+ //
std::string id;
std::string name;
+ std::string summary;
- // Absent if inside task_request_manifest.
- //
butl::optional<machine_type> type;
- std::string summary;
-
machine_manifest (std::string i, std::string n, std::string s)
: id (std::move (i)), name (std::move (n)), summary (std::move (s)) {}
@@ -43,16 +42,11 @@ namespace bbot
machine_manifest (butl::manifest_parser&, bool ignore_unknown = false);
machine_manifest (butl::manifest_parser&,
butl::manifest_name_value start,
+ bool header_only = false,
bool ignore_unknown = false);
void
serialize (butl::manifest_serializer&) const;
-
- private:
- machine_manifest (butl::manifest_parser&,
- butl::manifest_name_value start,
- bool in_list,
- bool ignore_unknown);
};
using machine_manifests = std::vector<machine_manifest>;
@@ -72,7 +66,7 @@ namespace bbot
//
std::string fingerprint;
- machine_manifests machines;
+ machine_manifests machines; // Only machine headers.
public:
task_request_manifest () = default; // VC export.