dirsql 0.3.93__tar.gz → 0.3.94__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dirsql-0.3.93 → dirsql-0.3.94}/Cargo.lock +1 -1
- {dirsql-0.3.93 → dirsql-0.3.94}/PKG-INFO +1 -1
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/Cargo.toml +1 -1
- dirsql-0.3.94/packages/python/e2e-attestations/claude-open-issues-review-le8hm5-red-553.json +7 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/lib.rs +12 -8
- dirsql-0.3.93/packages/python/e2e-attestations/claude-tackle-540-iju1yi.json +0 -7
- {dirsql-0.3.93 → dirsql-0.3.94}/Cargo.toml +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/README.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/__init__.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/_async.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/_dirsql.pyi +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/cli/__init__.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/cli/binary_path.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/cli/is_windows.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/cli/main.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/cli/resolve_config_extensions.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/py.typed +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/resolve_config_extensions.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/dirsql/resolve_extension.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/.claude/CLAUDE.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/.vitepress/config.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/.vitepress/theme/index.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/.vitepress/theme/lang.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/AGENTS.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/explanation.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/getting-started.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/columns-from-paths.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/define-tables.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/embed.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/extract-from-contents.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/load-extension.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/persist.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/react-to-changes.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/search-by-meaning.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/howto/skip-files.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/index.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/migrations.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/package.json +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/playwright.config.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/pnpm-lock.yaml +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/pnpm-workspace.yaml +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/reference/cli.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/reference/columns.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/reference/config.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/reference/hooks.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/reference/http-api.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/reference/sdk.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/tests/integration/home.spec.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/tests/integration/language-flag.spec.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/tests/integration/sidebar.spec.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/tests/unit/config.test.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/tests/unit/lang.test.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/docs/vitest.config.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/README.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/conftest.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/.claude/CLAUDE.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/.vitepress/config.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/.vitepress/theme/index.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/.vitepress/theme/lang.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/AGENTS.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/explanation.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/getting-started.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/columns-from-paths.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/define-tables.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/embed.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/extract-from-contents.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/load-extension.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/persist.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/react-to-changes.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/search-by-meaning.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/howto/skip-files.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/index.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/migrations.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/package.json +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/playwright.config.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/pnpm-lock.yaml +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/pnpm-workspace.yaml +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/reference/cli.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/reference/columns.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/reference/config.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/reference/hooks.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/reference/http-api.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/reference/sdk.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/tests/integration/home.spec.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/tests/integration/language-flag.spec.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/tests/integration/sidebar.spec.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/tests/unit/config.test.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/tests/unit/lang.test.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/vitest.config.ts +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/src/lib.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/tests/__init__.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/tests/conftest.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/tests/e2e/__init__.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/tests/integration/__init__.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/tests/integration/binding/__init__.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/python/tests/integration/hermetic/__init__.py +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/Cargo.toml +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/README.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/benches/db_bench.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/benches/differ_bench.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/benches/matcher_bench.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/benches/scanner_bench.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/explanation.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/getting-started.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/columns-from-paths.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/define-tables.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/embed.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/extract-from-contents.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/load-extension.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/persist.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/react-to-changes.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/search-by-meaning.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/howto/skip-files.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/index.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/migrations.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/reference/cli.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/reference/columns.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/reference/config.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/reference/hooks.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/reference/http-api.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/docs/reference/sdk.md +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/bin/dirsql.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/cli/execute.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/cli/init.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/cli/mod.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/cli/router.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/cli/serialize.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/cli/server.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/command.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/config.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/db.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/default_config.toml +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/differ.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/matcher.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/persist.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/scanner.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/packages/rust/src/watcher.rs +0 -0
- {dirsql-0.3.93 → dirsql-0.3.94}/pyproject.toml +0 -0
|
@@ -4,7 +4,7 @@ name = "dirsql-py-ext"
|
|
|
4
4
|
# pypi/maturin handler can rewrite it via `write-version` before
|
|
5
5
|
# `maturin build`. `pyproject.toml` declares `dynamic = ["version"]`
|
|
6
6
|
# and maturin reads this field. Mirrors `packages/rust/Cargo.toml`.
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.94"
|
|
8
8
|
# abi3 note: the `abi3-py311` pyo3 feature (below) builds ONE stable-ABI
|
|
9
9
|
# `cp311-abi3` wheel per platform that loads on every CPython >= 3.11
|
|
10
10
|
# (matching `pyproject.toml`'s `requires-python = ">=3.11"`), instead of
|
|
@@ -856,7 +856,7 @@ pub struct DirSQLBuilder {
|
|
|
856
856
|
tables: Vec<Table>,
|
|
857
857
|
ignore: Vec<String>,
|
|
858
858
|
extensions: Vec<Extension>,
|
|
859
|
-
|
|
859
|
+
config_paths: Vec<PathBuf>,
|
|
860
860
|
suppress_config_extensions: bool,
|
|
861
861
|
persist: bool,
|
|
862
862
|
persist_path: Option<PathBuf>,
|
|
@@ -921,8 +921,13 @@ impl DirSQLBuilder {
|
|
|
921
921
|
/// index root: with no explicit [`root`](Self::root), the index roots at the
|
|
922
922
|
/// process cwd. Relative `persist_path` / `[[dirsql.extension]]` paths still
|
|
923
923
|
/// resolve against the config's parent directory.
|
|
924
|
+
///
|
|
925
|
+
/// Call repeatedly to load several configs: their `[[table]]`, `ignore`, and
|
|
926
|
+
/// `[[dirsql.extension]]` entries accumulate in call order, and each config's
|
|
927
|
+
/// `on-file` hooks run from that config file's own directory under its own
|
|
928
|
+
/// `[dirsql].hook-timeout`. A single call is identical to before.
|
|
924
929
|
pub fn config(mut self, config_path: impl Into<PathBuf>) -> Self {
|
|
925
|
-
self.
|
|
930
|
+
self.config_paths.push(config_path.into());
|
|
926
931
|
self
|
|
927
932
|
}
|
|
928
933
|
|
|
@@ -968,7 +973,7 @@ impl DirSQLBuilder {
|
|
|
968
973
|
mut tables,
|
|
969
974
|
mut ignore,
|
|
970
975
|
mut extensions,
|
|
971
|
-
|
|
976
|
+
config_paths,
|
|
972
977
|
suppress_config_extensions,
|
|
973
978
|
persist,
|
|
974
979
|
persist_path,
|
|
@@ -985,12 +990,11 @@ impl DirSQLBuilder {
|
|
|
985
990
|
|
|
986
991
|
// The config layer is an ordered list of entries, each carrying its
|
|
987
992
|
// loaded `config`, its `config_dir` (where `on-file` hooks run and the
|
|
988
|
-
// base for extension path resolution), and its `hook_timeout`.
|
|
989
|
-
//
|
|
990
|
-
//
|
|
991
|
-
// pass.
|
|
993
|
+
// base for extension path resolution), and its `hook_timeout`. Configs
|
|
994
|
+
// accumulate in `.config()` call order; a single entry makes the in-order
|
|
995
|
+
// merge below byte-for-byte identical to a single pass.
|
|
992
996
|
let mut config_entries: Vec<ResolvedConfigEntry> = Vec::new();
|
|
993
|
-
|
|
997
|
+
for cfg_path in &config_paths {
|
|
994
998
|
let cfg = config::load_config(cfg_path).map_err(DirSqlError::config)?;
|
|
995
999
|
|
|
996
1000
|
let cfg_parent = cfg_path
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dirsql-0.3.93 → dirsql-0.3.94}/packages/python/docs/tests/integration/language-flag.spec.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|