diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-03-07 19:11:31 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-03-09 16:22:06 +0300 |
commit | ed0dd177c63bb7758e8633ffe26de2a8bc315d1b (patch) | |
tree | 0d4c9b987ef79a96e1509bceb98e8d254bd99669 /brep/package | |
parent | b72424fca7a6af6ff7921101c450850fef875152 (diff) |
Display sha256sum on the package version details page
Diffstat (limited to 'brep/package')
-rw-r--r-- | brep/package | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/brep/package b/brep/package index fa129f3..67f0e31 100644 --- a/brep/package +++ b/brep/package @@ -132,7 +132,7 @@ namespace brep std::chrono::nanoseconds::period>::value, "The following timestamp ODB mapping is invalid"); - // As it pointed out in butl/timestamp we will overflow in year 2262 but + // As it pointed out in butl/timestamp we will overflow in year 2262, but // by that time some larger basic type will be available for mapping. // #pragma db map type(timestamp) as(uint64_t) \ @@ -470,6 +470,7 @@ namespace brep dependencies_type, requirements_type, optional<path> location, + optional<string> sha256sum, shared_ptr<repository_type>); // Create external package object. @@ -506,6 +507,10 @@ namespace brep // optional<path> location; + // Present only for internal packages. + // + optional<string> sha256sum; + vector<lazy_shared_ptr<repository_type>> other_repositories; // Database mapping. |