Skip to content

Commit b112ab1

Browse files
committed
chore(nodedb-physical): relicense to Apache-2.0
nodedb-physical is a shared crate used by both Origin and NodeDB-Lite. Align its license with the other shared engine crates (nodedb-graph, nodedb-vector, nodedb-sql, etc.) by switching from BUSL-1.1 to Apache-2.0. Update SPDX headers in all source files and the Cargo.toml license field accordingly. Also correct two nodedb-graph source files (params.rs, traversal_options.rs) that were incorrectly carrying BUSL-1.1 headers.
1 parent b95c612 commit b112ab1

30 files changed

Lines changed: 48 additions & 29 deletions

nodedb-graph/src/params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: BUSL-1.1
1+
// SPDX-License-Identifier: Apache-2.0
22

33
//! Graph algorithm enum and parameter bag.
44
//!

nodedb-graph/src/traversal_options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: BUSL-1.1
1+
// SPDX-License-Identifier: Apache-2.0
22

33
//! Per-query graph traversal configuration.
44
//!

nodedb-physical/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "nodedb-physical"
33
version.workspace = true
44
edition.workspace = true
55
rust-version.workspace = true
6-
license = "BUSL-1.1"
6+
license = "Apache-2.0"
77
readme = "README.md"
88
repository.workspace = true
99
homepage.workspace = true

nodedb-physical/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# `nodedb-physical`
2+
3+
> Shared PhysicalTask IR and `SqlPlan``PhysicalPlan` converter
4+
5+
The physical-plan intermediate representation shared by NodeDB Origin and
6+
Lite. Holds the `PhysicalPlan` / `PhysicalTask` types and the converter that
7+
lowers a planned `SqlPlan` into engine-dispatchable physical operations, so
8+
the server and the embedded engine execute from one definition.
9+
10+
## Status
11+
12+
Pre-1.0. APIs may change between minor versions until 1.0. See the
13+
workspace [`README.md`](../README.md) for the full project overview and
14+
the GitHub [release notes](https://github.com/NodeDB-Lab/nodedb/releases)
15+
for per-version changes.
16+
17+
## License
18+
19+
Licensed under the Apache License, Version 2.0 ([`LICENSE-APACHE`](../LICENSE.APACHE-2.0)).

nodedb-physical/src/convert_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: BUSL-1.1
1+
// SPDX-License-Identifier: Apache-2.0
22

33
//! Deployment-neutral context threaded through the shared `SqlPlan →
44
//! PhysicalPlan` converter helpers in `crate::convert`.

nodedb-physical/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: BUSL-1.1
1+
// SPDX-License-Identifier: Apache-2.0
22

33
//! Error type for the shared SqlPlan → PhysicalPlan converter helpers.
44
//!

nodedb-physical/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: BUSL-1.1
1+
// SPDX-License-Identifier: Apache-2.0
22

33
//! Shared physical-plan layer for NodeDB.
44
//!

nodedb-physical/src/physical_plan/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: BUSL-1.1
1+
// SPDX-License-Identifier: Apache-2.0
22

33
//! Array engine operations dispatched to the Data Plane.
44
//!

nodedb-physical/src/physical_plan/cluster_array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: BUSL-1.1
1+
// SPDX-License-Identifier: Apache-2.0
22

33
//! Control-Plane cluster array operations.
44
//!

nodedb-physical/src/physical_plan/columnar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: BUSL-1.1
1+
// SPDX-License-Identifier: Apache-2.0
22

33
//! Columnar engine base operations dispatched to the Data Plane.
44
//!

0 commit comments

Comments
 (0)