Skip to content

Commit

Permalink
cleanup and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Feb 28, 2024
1 parent 30e1914 commit 58226ad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
10 changes: 0 additions & 10 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,6 @@ CLI:
duckdb -unsigned
```

Python:
```python
con = duckdb.connect(':memory:', config={'allow_unsigned_extensions' : 'true'})
```

NodeJS:
```js
db = new duckdb.Database(':memory:', {"allow_unsigned_extensions": "true"});
```

Secondly, you will need to set the repository endpoint in DuckDB to the HTTP url of your bucket + version of the extension
you want to install. To do this run the following SQL query in DuckDB:
```sql
Expand Down
12 changes: 12 additions & 0 deletions docs/UPDATING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Extension updating
When cloning this template, the target version of DuckDB should be the latest stable release of DuckDB. However, there
will inevitably come a time when a new DuckDB is released and the extension repository needs updating. This process goes
as follows:

- Bump submodules
- `./duckdb` should be set to latest tagged release
- `./extension-ci-tools` should be set to updated branch corresponding to latest DuckDB release
- Bump versions in `./github/workflows`
- `duckdb_version` input in `MainDistributionPipeline.yml` should be set to latest tagged release
- reusable workflow `_extension_distribution.yml` should be set to updated branch corresponding to latest DuckDB release

2 changes: 1 addition & 1 deletion extension_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ duckdb_extension_load(quack
LOAD_TESTS
)

# Any extra extensions
# Any extra extensions that should be built
# e.g.: duckdb_extension_load(json)

0 comments on commit 58226ad

Please sign in to comment.