diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-05-01 18:08:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-05-01 18:08:26 +0300 |
commit | 96511bdc00c2e4c17517b0cc3fce50a08683b2a4 (patch) | |
tree | 8625f9160100afb205f2dd31a39a9be1a40c4133 /libbrep/package.hxx | |
parent | e326eacee55d5bff5fd18aefece07cd7f7daacee (diff) |
Adapt to renaming bpkg::url class to bpkg::manifest_url
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r-- | libbrep/package.hxx | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx index 59ee589..0ab8413 100644 --- a/libbrep/package.hxx +++ b/libbrep/package.hxx @@ -59,14 +59,14 @@ namespace brep to((?) ? to_string (*(?)) : brep::optional_string ()) \ from((?) ? brep::to_text_type (*(?)) : brep::optional_text_type ()) - // url + // manifest_url // - using bpkg::url; + using bpkg::manifest_url; - #pragma db value(url) definition - #pragma db member(url::value) virtual(string) before \ - get(this.string ()) \ - set(this = brep::url ((?), "" /* comment */)) \ + #pragma db value(manifest_url) definition + #pragma db member(manifest_url::value) virtual(string) before \ + get(this.string ()) \ + set(this = brep::manifest_url ((?), "" /* comment */)) \ column("") // email @@ -356,7 +356,6 @@ namespace brep using upstream_version_type = brep::upstream_version; using priority_type = brep::priority; using license_alternatives_type = brep::license_alternatives; - using url_type = brep::url; using email_type = brep::email; using dependencies_type = brep::dependencies; using requirements_type = brep::requirements; @@ -376,10 +375,10 @@ namespace brep optional<string> description, optional<text_type> description_type, string changes, - optional<url_type>, - optional<url_type> doc_url, - optional<url_type> src_url, - optional<url_type> package_url, + optional<manifest_url> url, + optional<manifest_url> doc_url, + optional<manifest_url> src_url, + optional<manifest_url> package_url, optional<email_type>, optional<email_type> package_email, optional<email_type> build_email, @@ -449,10 +448,10 @@ namespace brep optional<string> description; // Absent if type is unknown. optional<text_type> description_type; // Present if description is present. string changes; - optional<url_type> url; - optional<url_type> doc_url; - optional<url_type> src_url; - optional<url_type> package_url; + optional<manifest_url> url; + optional<manifest_url> doc_url; + optional<manifest_url> src_url; + optional<manifest_url> package_url; optional<email_type> email; optional<email_type> package_email; optional<email_type> build_email; |