From b5dfc431a252ba88b7b2c6fc8d25d165f9cb5b18 Mon Sep 17 00:00:00 2001 From: Rahul Singhal Date: Tue, 24 Nov 2026 00:27:22 +0000 Subject: [PATCH 1/6] docs: keep Apache license text canonical Signed-off-by: Rahul Singhal --- LICENSE | 8 -------- NOTICE.txt | 5 +++++ adbc/LICENSE | 8 -------- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/LICENSE b/LICENSE index 61fd3863..d6456956 100644 --- a/LICENSE +++ b/LICENSE @@ -200,11 +200,3 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - --------------------------------------------------------------------------------- - -This project includes code from Apache Arrow ADBC. - -Copyright: 2022 The Apache Software Foundation. -Home page: https://arrow.apache.org/ -License: http://www.apache.org/licenses/LICENSE-2.0 diff --git a/NOTICE.txt b/NOTICE.txt index 0bce900d..f90bda87 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -184,6 +184,11 @@ Apache License 2.0 This Software contains code from the following open source projects, licensed under the apache license 2.0 (https://www.apache.org/licenses/LICENSE-2.0). +Package: Apache Arrow ADBC +Project URL: https://arrow.apache.org/adbc/ +Copyright: Copyright 2022 The Apache Software Foundation + + Package: arrow-array Project URL: https://github.com/apache/arrow-rs Copyright: Copyright 2016-2026 The Apache Software Foundation diff --git a/adbc/LICENSE b/adbc/LICENSE index 61fd3863..d6456956 100644 --- a/adbc/LICENSE +++ b/adbc/LICENSE @@ -200,11 +200,3 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - --------------------------------------------------------------------------------- - -This project includes code from Apache Arrow ADBC. - -Copyright: 2022 The Apache Software Foundation. -Home page: https://arrow.apache.org/ -License: http://www.apache.org/licenses/LICENSE-2.0 From f4aedc101f3b1da94e881977ed068af1e7653cee Mon Sep 17 00:00:00 2001 From: Rahul Singhal Date: Tue, 24 Nov 2026 00:47:48 +0000 Subject: [PATCH 2/6] docs(adbc): include notice in crate package Signed-off-by: Rahul Singhal --- adbc/Cargo.toml | 1 + adbc/NOTICE.txt | 253 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 254 insertions(+) create mode 100644 adbc/NOTICE.txt diff --git a/adbc/Cargo.toml b/adbc/Cargo.toml index 546974a8..f0ffb19a 100644 --- a/adbc/Cargo.toml +++ b/adbc/Cargo.toml @@ -16,6 +16,7 @@ include = [ "/examples/**", "/README.md", "/LICENSE", + "/NOTICE.txt", "/PACKAGING.md", ] # Keep disabled while this implementation is experimental. Publication requires diff --git a/adbc/NOTICE.txt b/adbc/NOTICE.txt new file mode 100644 index 00000000..f90bda87 --- /dev/null +++ b/adbc/NOTICE.txt @@ -0,0 +1,253 @@ +Copyright (2026) Databricks, Inc. +This Software includes software developed at Databricks (https://www.databricks.com/) and its use is subject to the included LICENSE file. + + +Dependencies are grouped below by license. The full text of each license is available via the link in the section header. +MIT License +This Software contains code from the following open source projects, licensed under the mit license (https://opensource.org/licenses/MIT). + + +Package: aes +Project URL: https://github.com/RustCrypto/block-ciphers +Copyright: Copyright (c) 2018-2024 The RustCrypto Project Developers; Copyright (c) 2018 Artyom Pavlov + + +Package: async-trait +Project URL: https://github.com/dtolnay/async-trait +Copyright: Copyright async-trait Authors. + + +Package: base64 +Project URL: https://github.com/marshallpierce/rust-base64 +Copyright: Copyright (c) 2025 Alice Maz, Marshall Pierce + + +Package: cbc +Project URL: https://github.com/RustCrypto/block-modes +Copyright: Copyright (c) 2018-2022 RustCrypto Developers; Copyright (c) 2018 Artyom Pavlov + + +Package: chrono +Project URL: https://github.com/chronotope/chrono +Copyright: Copyright (c) 2014--2026, Kang Seonghoon and contributors; Copyright (c) 2014, Kang Seonghoon + + +Package: dashmap +Project URL: https://github.com/xacrimon/dashmap +Copyright: Copyright (c) 2025 Joel Wejdenstål + + +Package: dirs +Project URL: https://github.com/soc/dirs-rs +Copyright: Copyright (c) 2018-2019 dirs-rs contributors + + +Package: futures +Project URL: https://github.com/rust-lang/futures-rs +Copyright: Copyright (c) 2016 Alex Crichton; Copyright (c) 2017 The Tokio Authors + + +Package: geo-traits +Project URL: https://github.com/georust/geo +Copyright: Copyright (c) 2017 The GeoRust Project Developers + + +Package: hex +Project URL: https://github.com/KokaKiwi/rust-hex +Copyright: Copyright (c) 2013-2014 The Rust Project Developers; Copyright (c) 2015-2020 The rust-hex Developers + + +Package: hmac +Project URL: https://github.com/RustCrypto/MACs +Copyright: Copyright (c) 2017 Artyom Pavlov + + +Package: jsonwebtoken +Project URL: https://github.com/Keats/jsonwebtoken +Copyright: Copyright (c) 2015 Vincent Prouillet + + +Package: log +Project URL: https://github.com/rust-lang/log +Copyright: Copyright (c) 2014 The Rust Project Developers + + +Package: lz4_flex +Project URL: https://github.com/pseitz/lz4_flex +Copyright: Copyright (c) 2020 Pascal Seitz + + +Package: napi +Project URL: https://github.com/napi-rs/napi-rs +Copyright: Copyright (c) 2020-present LongYinan + + +Package: napi-derive +Project URL: https://github.com/napi-rs/napi-rs +Copyright: Copyright (c) 2020-present LongYinan + + +Package: oauth2 +Project URL: https://github.com/ramosbugs/oauth2-rs +Copyright: Copyright (c) 2014 Alex Crichton + + +Package: once_cell +Project URL: https://github.com/matklad/once_cell +Copyright: Copyright once_cell Authors. + + +Package: open +Project URL: https://github.com/Byron/open-rs +Copyright: Copyright © 2015 Sebastian Thiel + + +Package: pbkdf2 +Project URL: https://github.com/RustCrypto/password-hashes +Copyright: Copyright (c) 2017 Artyom Pavlov; Copyright (c) 2018-2023 The RustCrypto Project Developers + + +Package: pkcs8 +Project URL: https://github.com/RustCrypto/formats/tree/master/pkcs8 +Copyright: Copyright (c) 2020-2023 The RustCrypto Project Developers + + +Package: pyo3 +Project URL: https://github.com/pyo3/pyo3 +Copyright: Copyright (c) 2023-present PyO3 Project and Contributors + + +Package: pyo3-log +Project URL: https://github.com/vorner/pyo3-log +Copyright: Copyright pyo3-log Authors. + + +Package: rand +Project URL: https://github.com/rust-random/rand +Copyright: Copyright 2018 Developers of the Rand project; Copyright (c) 2014 The Rust Project Developers + + +Package: reqwest +Project URL: https://github.com/seanmonstar/reqwest +Copyright: Copyright (c) 2016-2026 Sean McArthur + + +Package: serde +Project URL: https://github.com/serde-rs/serde +Copyright: Copyright serde Authors. + + +Package: serde_json +Project URL: https://github.com/serde-rs/json +Copyright: Copyright serde_json Authors. + + +Package: thiserror +Project URL: https://github.com/dtolnay/thiserror +Copyright: Copyright thiserror Authors. + + +Package: tokio +Project URL: https://github.com/tokio-rs/tokio +Copyright: Copyright (c) Tokio Contributors + + +Package: tokio-util +Project URL: https://github.com/tokio-rs/tokio +Copyright: Copyright (c) Tokio Contributors + + +Package: tracing +Project URL: https://github.com/tokio-rs/tracing +Copyright: Copyright (c) 2019 Tokio Contributors + + +Package: tracing-subscriber +Project URL: https://github.com/tokio-rs/tracing +Copyright: Copyright (c) 2019 Tokio Contributors + + +Package: wkb +Project URL: https://github.com/georust/wkb +Copyright: Copyright (c) 2024 The GeoRust Project Developers + + +Package: wkt +Project URL: https://github.com/georust/wkt +Copyright: Copyright (c) 2017 The GeoRust Project Developers + + +Package: zeroize +Project URL: https://github.com/RustCrypto/utils +Copyright: Copyright (c) 2018-2026 The RustCrypto Project Developers +Apache License 2.0 +This Software contains code from the following open source projects, licensed under the apache license 2.0 (https://www.apache.org/licenses/LICENSE-2.0). + + +Package: Apache Arrow ADBC +Project URL: https://arrow.apache.org/adbc/ +Copyright: Copyright 2022 The Apache Software Foundation + + +Package: arrow-array +Project URL: https://github.com/apache/arrow-rs +Copyright: Copyright 2016-2026 The Apache Software Foundation + + +Package: arrow-buffer +Project URL: https://github.com/apache/arrow-rs +Copyright: Copyright 2016-2026 The Apache Software Foundation + + +Package: arrow-cast +Project URL: https://github.com/apache/arrow-rs +Copyright: Copyright 2016-2026 The Apache Software Foundation + + +Package: arrow-ipc +Project URL: https://github.com/apache/arrow-rs +Copyright: Copyright 2016-2026 The Apache Software Foundation + + +Package: arrow-ord +Project URL: https://github.com/apache/arrow-rs +Copyright: Copyright 2016-2026 The Apache Software Foundation + + +Package: arrow-pyarrow +Project URL: https://github.com/apache/arrow-rs +Copyright: Copyright 2016-2026 The Apache Software Foundation + + +Package: arrow-schema +Project URL: https://github.com/apache/arrow-rs +Copyright: Copyright 2016-2026 The Apache Software Foundation + + +Package: arrow-select +Project URL: https://github.com/apache/arrow-rs +Copyright: Copyright 2016-2026 The Apache Software Foundation + + +Package: moka +Project URL: https://github.com/moka-rs/moka +Copyright: Copyright (c) 2020 - 2026 Tatsuya Kawano + + +Package: pyarrow +Project URL: https://github.com/apache/arrow +Copyright: Copyright 2016-2026 The Apache Software Foundation +ISC License +This Software contains code from the following open source projects, licensed under the isc license (https://opensource.org/licenses/ISC). + + +Package: rustls-webpki +Project URL: https://github.com/rustls/webpki +Copyright: Copyright 2015 Brian Smith +CDLA-Permissive-2.0 +This Software contains code from the following open source projects, licensed under the cdla-permissive-2.0 (https://cdla.dev/permissive-2-0/). + + +Package: webpki-roots +Project URL: https://github.com/rustls/webpki-roots +Copyright: Copyright webpki-roots Authors. From b20200fba5d20622510b197c3b42b4b5b6a1883b Mon Sep 17 00:00:00 2001 From: Rahul Singhal Date: Tue, 24 Nov 2026 02:17:21 +0000 Subject: [PATCH 3/6] docs: preserve upstream ADBC notice text Signed-off-by: Rahul Singhal --- NOTICE.txt | 8 +++++--- adbc/NOTICE.txt | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/NOTICE.txt b/NOTICE.txt index f90bda87..7cda1ab7 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -184,9 +184,11 @@ Apache License 2.0 This Software contains code from the following open source projects, licensed under the apache license 2.0 (https://www.apache.org/licenses/LICENSE-2.0). -Package: Apache Arrow ADBC -Project URL: https://arrow.apache.org/adbc/ -Copyright: Copyright 2022 The Apache Software Foundation +Apache Arrow ADBC +Copyright 2022-2026 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). Package: arrow-array diff --git a/adbc/NOTICE.txt b/adbc/NOTICE.txt index f90bda87..7cda1ab7 100644 --- a/adbc/NOTICE.txt +++ b/adbc/NOTICE.txt @@ -184,9 +184,11 @@ Apache License 2.0 This Software contains code from the following open source projects, licensed under the apache license 2.0 (https://www.apache.org/licenses/LICENSE-2.0). -Package: Apache Arrow ADBC -Project URL: https://arrow.apache.org/adbc/ -Copyright: Copyright 2022 The Apache Software Foundation +Apache Arrow ADBC +Copyright 2022-2026 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). Package: arrow-array From 8dae191559b903ee9985817c383ec4a426ff4e63 Mon Sep 17 00:00:00 2001 From: Rahul Singhal Date: Tue, 24 Nov 2026 02:19:08 +0000 Subject: [PATCH 4/6] docs: use conventional NOTICE filenames Signed-off-by: Rahul Singhal --- NOTICE.txt => NOTICE | 0 README.md | 2 +- adbc/Cargo.toml | 2 +- adbc/{NOTICE.txt => NOTICE} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename NOTICE.txt => NOTICE (100%) rename adbc/{NOTICE.txt => NOTICE} (100%) diff --git a/NOTICE.txt b/NOTICE similarity index 100% rename from NOTICE.txt rename to NOTICE diff --git a/README.md b/README.md index 2bff9a60..ba83c9f1 100644 --- a/README.md +++ b/README.md @@ -68,4 +68,4 @@ and security vulnerabilities should be reported according to ## License -Apache 2.0. See [LICENSE](LICENSE) and [NOTICE.txt](NOTICE.txt). +Apache 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE). diff --git a/adbc/Cargo.toml b/adbc/Cargo.toml index f0ffb19a..69380384 100644 --- a/adbc/Cargo.toml +++ b/adbc/Cargo.toml @@ -16,7 +16,7 @@ include = [ "/examples/**", "/README.md", "/LICENSE", - "/NOTICE.txt", + "/NOTICE", "/PACKAGING.md", ] # Keep disabled while this implementation is experimental. Publication requires diff --git a/adbc/NOTICE.txt b/adbc/NOTICE similarity index 100% rename from adbc/NOTICE.txt rename to adbc/NOTICE From 21f6e9722365be3c77d1e3af02f46154c97a5478 Mon Sep 17 00:00:00 2001 From: Rahul Singhal Date: Tue, 24 Nov 2026 02:24:09 +0000 Subject: [PATCH 5/6] ci: prevent legal file drift Signed-off-by: Rahul Singhal --- .github/workflows/license-check.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index 2bfcea4a..16d25f59 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -32,6 +32,10 @@ on: - "Cargo.lock" - "adbc/Cargo.toml" - "adbc/Cargo.lock" + - "LICENSE" + - "NOTICE" + - "adbc/LICENSE" + - "adbc/NOTICE" - "deny.toml" # napi/ is a standalone workspace with its own lockfile; its # dependency graph is invisible to a root `cargo deny` run, so @@ -48,6 +52,10 @@ on: - "Cargo.lock" - "adbc/Cargo.toml" - "adbc/Cargo.lock" + - "LICENSE" + - "NOTICE" + - "adbc/LICENSE" + - "adbc/NOTICE" - "deny.toml" - "napi/Cargo.toml" - "napi/Cargo.lock" @@ -77,6 +85,9 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Check ADBC legal files match repository copies + run: cmp LICENSE adbc/LICENSE && cmp NOTICE adbc/NOTICE + - uses: ./.github/actions/setup-public-package-proxies with: cargo: "true" From ac0b8b56b8fb8042d9758bb14b471e835f75acd2 Mon Sep 17 00:00:00 2001 From: Rahul Singhal Date: Tue, 24 Nov 2026 18:51:33 +0000 Subject: [PATCH 6/6] fix: include notice in published packages Signed-off-by: Rahul Singhal --- .github/workflows/license-check.yml | 5 +++++ Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index 16d25f59..42fa4e95 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -94,6 +94,11 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0 + - name: Check NOTICE files are included in packages + run: | + cargo package --list --allow-dirty | grep -qx NOTICE + cargo package --list --allow-dirty --manifest-path adbc/Cargo.toml | grep -qx NOTICE + - name: Install cargo-deny uses: taiki-e/install-action@41049aa56687c35e0afa74eed4f09cec4f9afabf # v2.85.2 with: diff --git a/Cargo.toml b/Cargo.toml index 96fca350..5a53e72c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ include = [ "/CHANGELOG.md", "/CONNECTION_PARAMETERS.md", "/LICENSE", - "/NOTICE.txt", + "/NOTICE", ] [dependencies]