Repository navigation
[Kernel OSS Readiness] Canonicalize license and notice files - #502
Conversation
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Low
Mostly fine, with 1 medium concern. The root crate ships NOTICE.txt by default, so its attribution is preserved. The standalone adbc/ package ships no NOTICE file, so this change drops the Apache Arrow ADBC attribution from it.
Other findings
- 🔵 Low — The Arrow ADBC attribution moved from adbc/LICENSE to the root NOTICE.txt. The
databricks-adbccrate has no NOTICE and itsincludelist ships only/LICENSE, so a packaged crate no longer carries that credit. This is low severity becausepublish = falseand the attribution still exists at the repo root. Add anadbc/NOTICE.txtand list/NOTICE.txtininclude, or document that release tooling adds the notice. (Found by Claude Opus 5.5 · confirmed by the judge)
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Low · 1 Nit
Mostly fine: 2 low-severity concerns, both about legal files. The LICENSE files are now canonical Apache 2.0, and the ADBC package now ships a NOTICE file. Neither concern affects runtime behaviour.
Other findings
- ⚪ Nit — adbc/NOTICE.txt is a hand copy of the root NOTICE.txt. Nothing keeps the two in sync, and the copy leaves out the crate's own Apache-2.0 dependencies adbc_core and adbc_ffi. Add a CI check (for example
cmp NOTICE.txt adbc/NOTICE.txt) or generate the file from one source, and list the adbc_* crates. (Found by Claude Opus 5.5 · the judge couldn't confirm it)
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Low
Looks good — 1 low concern. The LICENSE text is now canonical, the ADBC attribution moved into NOTICE correctly, and both the root crate (no include list) and the ADBC crate package NOTICE.
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
✅ No issues identified.
🔀 1 finding considered and dismissed by the judge
- 🔵 Low
NOTICE:188— The new Apache Arrow ADBC block says 'Copyright 2022-2026'. The removed LICENSE footer said 2022, and as far as I recall upstream arrow-adbc's NOTICE.txt also s
Judge's evidence:Copyright 2022-2026 The Apache Software Foundation
aakash-saravanan-db
left a comment
There was a problem hiding this comment.
Blocking: this branch predates #496, which added an include allowlist to the root Cargo.toml with "/NOTICE.txt" (line 37 on main). This PR renames the file but doesn't touch that entry, and it merges cleanly, so after merge the root crate ships without a NOTICE. Per #496, maturin applies the same allowlist to the Python sdist, so that loses it too.
I checked with cargo package --list on main merged with this branch (f1bd6aa):
- root crate:
LICENSE, noNOTICE, and cargo prints no warning adbc/crate:LICENSEandNOTICE, as expected
Fix: rebase onto main and change "/NOTICE.txt" to "/NOTICE" in the root Cargo.toml.
The new cmp step catches the two copies drifting apart, but not a file missing from a package, which is what happens here. A step after setup-rust-toolchain (it needs the registry) would catch that:
cargo package --list --allow-dirty | grep -qx NOTICE
cargo package --list --allow-dirty --manifest-path adbc/Cargo.toml | grep -qx NOTICESigned-off-by: Rahul Singhal <rahul.singhal@databricks.com>
Signed-off-by: Rahul Singhal <rahul.singhal@databricks.com>
Signed-off-by: Rahul Singhal <rahul.singhal@databricks.com>
Signed-off-by: Rahul Singhal <rahul.singhal@databricks.com>
Signed-off-by: Rahul Singhal <rahul.singhal@databricks.com>
Signed-off-by: Rahul Singhal <rahul.singhal@databricks.com>
f1bd6aa to
ac0b8b5
Compare
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Nit
Looks good, with one low-severity gap: the new CI step checks that NOTICE is packaged but not LICENSE. The legal files and include lists are consistent, and no NOTICE.txt references remain in the repo.
Other findings
- ⚪ Nit — The new packaging guard only greps for NOTICE, so dropping /LICENSE from either crate's include list would still pass CI. This gap was there before the PR and is optional hardening. Capture the package list once per crate and grep for both LICENSE and NOTICE. (Found by Claude Opus 5.5 · confirmed by the judge)
Description
Keep the repository's Apache 2.0 license text canonical and place project-specific attribution where downstream consumers expect it. This removes the Apache Arrow ADBC footer from both distributed
LICENSEcopies, records the upstream attribution in conventionalNOTICEfiles, includes matching legal files in the root and standalone ADBC crate packages, and adds CI protection against content drift and package omission.Testing
mainand repeated a hidden-file, case-insensitive search; noNOTICE.txtcallsites remain.LICENSEfiles byte-match/usr/share/common-licenses/Apache-2.0and each other.NOTICEfiles match.cargo package --list --allow-dirtyincludesLICENSEandNOTICEfor both the root and ADBC crates.cmp LICENSE adbc/LICENSE && cmp NOTICE adbc/NOTICE.git diff --check.Additional notes
No runtime behavior changes.