renaming part of extension build refactor PR #7926
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR
this pr contains some makefile renames and file renames that are required for #7735
this is pr-ed separately into master to prevent causing lots of merge conflicts while having master and feature separate.
and a bit of ✂️🦬
This PR also contains some yak shaving in the form of introducing a "poor mans mono-repo" feature. It is achieved through the
.github/patches
mechanism that @carlopi and me thought of yesterday. The idea is that when a change is made to duckdb that breaks compatibility with duckdb-wasm, we can still have duckdb CI pass by adding the required changes to duckdb-wasm as a patch file.This creates a natural flow for making changes to duckdb that looks like this:
.github/patches/duckdb-wasm
with descriptive name..github/workflows/WebAssembly.yml
along with the removal of the applied patches in.github/patches/duckdb-wasm
The nice thing is that CI will be able to pass during every step of this flow. Also, since wasm has its own versions and duckdb's version pinned applying the patch(es) to wasm does not need to happen for every breaking change, only when bumping the duckdb version in duckdb-wasm (though these patches should probably be rare and not be allowed to accumulate too much anyway).
@Mytherin interested to hear your thoughts! we could also apply a similar approach to out of tree extensions that are built using DuckDB's main CI, thought it is slightly different as deployment is then done through duckdb ci creating a bit more potential to "forget" to apply patches.