diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-31 18:27:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-02 13:43:02 +0300 |
commit | c77d65b4472ef0e2734ffde5556e279e62bb964a (patch) | |
tree | e24d4b47690c6a9e8649ef8cfe7a85a57499635d /bpkg | |
parent | c835121db614efa56093dde7a1557372a43ab09b (diff) |
Add support for enable clause in tests package manifest value
Diffstat (limited to 'bpkg')
-rw-r--r-- | bpkg/package.hxx | 2 | ||||
-rw-r--r-- | bpkg/package.xml | 6 | ||||
-rw-r--r-- | bpkg/rep-fetch.cxx | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx index 8f4b46c..6577b18 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -32,7 +32,7 @@ // #define DB_SCHEMA_VERSION_BASE 12 -#pragma db model version(DB_SCHEMA_VERSION_BASE, 25, closed) +#pragma db model version(DB_SCHEMA_VERSION_BASE, 26, closed) namespace bpkg { diff --git a/bpkg/package.xml b/bpkg/package.xml index 07595af..8020ff3 100644 --- a/bpkg/package.xml +++ b/bpkg/package.xml @@ -1,4 +1,10 @@ <changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="sqlite" version="1"> + <changeset version="26"> + <alter-table name="main.available_package_tests"> + <add-column name="test_enable" type="TEXT" null="true"/> + </alter-table> + </changeset> + <changeset version="25"> <alter-table name="main.selected_package_prerequisites"> <drop-column name="config_dependency_index"/> diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index d7f4cc6..4f7dbcc 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -1707,7 +1707,7 @@ namespace bpkg << package_string (p->id.name, p->version); } - dependency_alternative da (nullopt /* enable */, + dependency_alternative da (td.enable, td.reflect, nullopt /* prefer */, nullopt /* accept */, |