From e4c39168c75cccedd5f6a6242204fe010d2a9861 Mon Sep 17 00:00:00 2001 From: Rusty Conover Date: Fri, 5 Jul 2024 16:34:51 -0400 Subject: [PATCH 1/3] fix: add evalexpr_rhai --- extensions/evalexpr_rhai/description.yml | 13 +++++++++++++ extensions/evalexpr_rhai/function_descriptions.csv | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 extensions/evalexpr_rhai/description.yml create mode 100644 extensions/evalexpr_rhai/function_descriptions.csv diff --git a/extensions/evalexpr_rhai/description.yml b/extensions/evalexpr_rhai/description.yml new file mode 100644 index 0000000..52f0246 --- /dev/null +++ b/extensions/evalexpr_rhai/description.yml @@ -0,0 +1,13 @@ +extension: + name: evalexpr_rhai + description: Evaluate the Rhai scripting language in DuckDB. + version: 1.0.0 + language: C++ + build: cmake + license: Apache-2.0 + maintainers: + - rustyconover + +repo: + github: rustyconover/duckdb-evalexpr-rhai-extension + ref: a7ac6b2a1bb127b6603b6fce6b4020167b459f27 diff --git a/extensions/evalexpr_rhai/function_descriptions.csv b/extensions/evalexpr_rhai/function_descriptions.csv new file mode 100644 index 0000000..6e6c254 --- /dev/null +++ b/extensions/evalexpr_rhai/function_descriptions.csv @@ -0,0 +1,2 @@ +function,description,comment,example +evalexpr_rhai,Evaluate a Rhai expression,The function evaluates a Rhai expression and returns the result. Optionally the caller and provide a context to pass to the expression.,"select evalexpr_rhai("1 + 2");" \ No newline at end of file From 14cbcb7b5a105729e3ad821c4e525ff5a6bc3108 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Sun, 7 Jul 2024 19:15:24 +0200 Subject: [PATCH 2/3] Move to main workflow --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1973e04..a4e4d00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: build: needs: prepare - uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@v1.0.0 + uses: duckdb/extension-ci-tools/.github/workflows/_extension_distribution.yml@main if: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_NAME != '' }} with: duckdb_version: v1.0.0 From e92db02f8f0051f11e64c2252176eb2bbc7edde0 Mon Sep 17 00:00:00 2001 From: Rusty Conover Date: Mon, 8 Jul 2024 11:41:44 -0400 Subject: [PATCH 3/3] Bump extension version disable windows platforms due to linking error. --- extensions/evalexpr_rhai/description.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/evalexpr_rhai/description.yml b/extensions/evalexpr_rhai/description.yml index 52f0246..e6ab222 100644 --- a/extensions/evalexpr_rhai/description.yml +++ b/extensions/evalexpr_rhai/description.yml @@ -7,7 +7,8 @@ extension: license: Apache-2.0 maintainers: - rustyconover + excluded_platforms: "windows_amd64_rtools;windows_amd64" repo: github: rustyconover/duckdb-evalexpr-rhai-extension - ref: a7ac6b2a1bb127b6603b6fce6b4020167b459f27 + ref: 4acdf799b1b72d43af4c50659a2c859814140b33