aboutsummaryrefslogtreecommitdiff
path: root/libbrep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-29 22:38:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-29 22:38:55 +0300
commit33153c6816c65c96a083c6f5b5e85418c444f929 (patch)
treed48dff79ef36668b50a5f912aa98a75cce1ed823 /libbrep
parentbb4daf280cbae9f37a44d3b8893a3b933134cddc (diff)
Add support for src-url and doc-url package manifest values
Diffstat (limited to 'libbrep')
-rw-r--r--libbrep/package.cxx4
-rw-r--r--libbrep/package.hxx4
-rw-r--r--libbrep/package.xml4
3 files changed, 12 insertions, 0 deletions
diff --git a/libbrep/package.cxx b/libbrep/package.cxx
index e14b15a..af63c82 100644
--- a/libbrep/package.cxx
+++ b/libbrep/package.cxx
@@ -56,6 +56,8 @@ namespace brep
optional<string> ds,
string ch,
url_type ur,
+ optional<url_type> du,
+ optional<url_type> su,
optional<url_type> pu,
email_type em,
optional<email_type> pe,
@@ -75,6 +77,8 @@ namespace brep
description (move (ds)),
changes (move (ch)),
url (move (ur)),
+ doc_url (move (du)),
+ src_url (move (su)),
package_url (move (pu)),
email (move (em)),
package_email (move (pe)),
diff --git a/libbrep/package.hxx b/libbrep/package.hxx
index d3e3e00..d59d633 100644
--- a/libbrep/package.hxx
+++ b/libbrep/package.hxx
@@ -307,6 +307,8 @@ namespace brep
optional<string> description,
string changes,
url_type,
+ optional<url_type> doc_url,
+ optional<url_type> src_url,
optional<url_type> package_url,
email_type,
optional<email_type> package_email,
@@ -341,6 +343,8 @@ namespace brep
optional<string> description;
string changes;
url_type url;
+ optional<url_type> doc_url;
+ optional<url_type> src_url;
optional<url_type> package_url;
email_type email;
optional<email_type> package_email;
diff --git a/libbrep/package.xml b/libbrep/package.xml
index 0947d6f..1c85e49 100644
--- a/libbrep/package.xml
+++ b/libbrep/package.xml
@@ -84,6 +84,10 @@
<column name="changes" type="TEXT" null="false"/>
<column name="url" type="TEXT" null="false"/>
<column name="url_comment" type="TEXT" null="false"/>
+ <column name="doc_url" type="TEXT" null="true"/>
+ <column name="doc_url_comment" type="TEXT" null="true"/>
+ <column name="src_url" type="TEXT" null="true"/>
+ <column name="src_url_comment" type="TEXT" null="true"/>
<column name="package_url" type="TEXT" null="true"/>
<column name="package_url_comment" type="TEXT" null="true"/>
<column name="email" type="TEXT" null="false"/>