aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-04-24 22:10:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-04-24 22:10:57 +0300
commit99dc5d7463236ee9c094736dfbcb56641e782335 (patch)
tree5734d5611b24e30346331a33a1d8cf247bcd673d /libbpkg/manifest.hxx
parentbba520774fd6185f62a6bf52c61b98104a826f5f (diff)
Add fragment manifest value
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index f3223b6..3716670 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -405,6 +405,7 @@ namespace bpkg
//
butl::optional<butl::path> location;
butl::optional<std::string> sha256sum;
+ butl::optional<std::string> fragment;
public:
package_manifest () = default; // VC export.
@@ -893,6 +894,11 @@ namespace bpkg
butl::optional<std::string> description;
butl::optional<std::string> certificate;
+ // The repository fragment id this repository belongs to (may only be
+ // present for multi-fragment repositories).
+ //
+ butl::optional<std::string> fragment;
+
// Return the effective role of the repository. If the role is not
// explicitly specified (see the role member above), then calculate
// the role based on the location. Specifically, if the location is