diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-11-05 23:21:47 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-11-06 13:10:07 +0300 |
commit | 9a9261c467eae0f9ca7b1aea050964dd19ea2efb (patch) | |
tree | e9d049886361fc6452abb70be7d716df6b04919a /libbrep | |
parent | 41328940bc7dc640d5777f86e048c13d6fce7f29 (diff) |
Add support for build-warning-email and build-error-email package manifest values
Diffstat (limited to 'libbrep')
-rw-r--r-- | libbrep/package.cxx | 4 | ||||
-rw-r--r-- | libbrep/package.hxx | 6 | ||||
-rw-r--r-- | libbrep/package.xml | 9 |
3 files changed, 18 insertions, 1 deletions
diff --git a/libbrep/package.cxx b/libbrep/package.cxx index d10186c..0a711ba 100644 --- a/libbrep/package.cxx +++ b/libbrep/package.cxx @@ -66,6 +66,8 @@ namespace brep optional<email_type> em, optional<email_type> pe, optional<email_type> be, + optional<email_type> bwe, + optional<email_type> bee, dependencies_type dp, requirements_type rq, build_constraints_type bc, @@ -91,6 +93,8 @@ namespace brep email (move (em)), package_email (move (pe)), build_email (move (be)), + build_warning_email (move (bwe)), + build_error_email (move (bee)), dependencies (move (dp)), requirements (move (rq)), build_constraints (version.compare (wildcard_version, true) != 0 diff --git a/libbrep/package.hxx b/libbrep/package.hxx index fb44bf3..97ea864 100644 --- a/libbrep/package.hxx +++ b/libbrep/package.hxx @@ -21,7 +21,7 @@ // #define LIBBREP_PACKAGE_SCHEMA_VERSION_BASE 7 -#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 9, open) +#pragma db model version(LIBBREP_PACKAGE_SCHEMA_VERSION_BASE, 10, open) namespace brep { @@ -372,6 +372,8 @@ namespace brep optional<email_type>, optional<email_type> package_email, optional<email_type> build_email, + optional<email_type> build_warning_email, + optional<email_type> build_error_email, dependencies_type, requirements_type, build_constraints_type, @@ -418,6 +420,8 @@ namespace brep optional<email_type> email; optional<email_type> package_email; optional<email_type> build_email; + optional<email_type> build_warning_email; + optional<email_type> build_error_email; dependencies_type dependencies; requirements_type requirements; diff --git a/libbrep/package.xml b/libbrep/package.xml index 2b9ebab..dff6a47 100644 --- a/libbrep/package.xml +++ b/libbrep/package.xml @@ -1,4 +1,13 @@ <changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="pgsql" schema-name="package" version="1"> + <changeset version="10"> + <alter-table name="package"> + <add-column name="build_warning_email" type="TEXT" null="true"/> + <add-column name="build_warning_email_comment" type="TEXT" null="true"/> + <add-column name="build_error_email" type="TEXT" null="true"/> + <add-column name="build_error_email_comment" type="TEXT" null="true"/> + </alter-table> + </changeset> + <changeset version="9"> <add-table name="tenant" kind="object"> <column name="id" type="TEXT" null="false"/> |