From 96281a6c4f818311a6df90c0d8b8f537a61e1090 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 12 Nov 2015 17:25:36 +0200 Subject: Add url, email, summary, description members to the repository class --- brep/package | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'brep/package') diff --git a/brep/package b/brep/package index 8fc6a43..f56906a 100644 --- a/brep/package +++ b/brep/package @@ -14,6 +14,7 @@ #include // size_t #include // move() #include // uint16 +#include #include #include // database @@ -261,6 +262,9 @@ namespace brep #pragma db member(package) column("") not_null }; + std::ostream& + operator<< (std::ostream&, const dependency&); + #pragma db value class dependency_alternatives: public std::vector { @@ -310,6 +314,14 @@ namespace brep repository_location location; std::string display_name; + optional url; + + // Set only for internal repositories. + // + optional email; + optional summary; + optional description; + // Non empty for internal repositories and external ones with a filesystem // path location. // @@ -428,8 +440,7 @@ namespace brep requirements_type requirements; odb::lazy_shared_ptr internal_repository; - // Path to the package file. Set only for packages present in internal - // repository. + // Path to the package file. Set only for internal packages. // optional location; -- cgit v1.1