Skip to content

chore: replace LICENSE with Apache-2.0; add NOTICE#2377

Open
tilo-14 wants to merge 1 commit into
mainfrom
chore/license-apache2
Open

chore: replace LICENSE with Apache-2.0; add NOTICE#2377
tilo-14 wants to merge 1 commit into
mainfrom
chore/license-apache2

Conversation

@tilo-14
Copy link
Copy Markdown
Member

@tilo-14 tilo-14 commented May 8, 2026

Replaces the root LICENSE (which contained GPL-3.0 text inherited from
the Light Protocol v1 codebase) with the standard Apache-2.0 license
text. Adds a NOTICE file explaining the historical inconsistency and
acknowledging third-party components.

Also normalizes per-crate licensing for consistency:

  • Flips three crates from MIT to Apache-2.0 (program-test,
    token-interface, compressible)
  • Adds license = "Apache-2.0" to Cargo.toml files in forester, xtask,
    and the program-tests/sdk-tests test crates that were missing the
    field

prover/server/ (Worldcoin MIT) and program-libs/aligned-sized/
(Light Protocol Labs MIT) keep their per-directory LICENSE files; both
are acknowledged in NOTICE.

This brings the root in line with what the published Cargo crates and
npm packages already declare.


Open in Devin Review

Summary by CodeRabbit

  • Chores
    • Updated project license metadata across multiple packages.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 8, 2026

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a8588b86-c9b8-4ac2-877c-dd7408b206c2

📥 Commits

Reviewing files that changed from the base of the PR and between 0687860 and b793640.

⛔ Files ignored due to path filters (21)
  • LICENSE is excluded by !LICENSE and included by none
  • NOTICE is excluded by none and included by none
  • program-tests/account-compression-test/Cargo.toml is excluded by none and included by none
  • program-tests/compressed-token-test/Cargo.toml is excluded by none and included by none
  • program-tests/e2e-test/Cargo.toml is excluded by none and included by none
  • program-tests/registry-test/Cargo.toml is excluded by none and included by none
  • program-tests/system-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/anchor-manual-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/anchor-semi-manual-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test-sdk/Cargo.toml is excluded by none and included by none
  • sdk-tests/csdk-anchor-full-derived-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/pinocchio-light-program-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/pinocchio-manual-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/sdk-light-token-pinocchio/Cargo.toml is excluded by none and included by none
  • sdk-tests/sdk-light-token-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/single-account-loader-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/single-ata-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/single-mint-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/single-pda-test/Cargo.toml is excluded by none and included by none
  • sdk-tests/single-token-test/Cargo.toml is excluded by none and included by none
  • xtask/Cargo.toml is excluded by none and included by none
📒 Files selected for processing (4)
  • forester/Cargo.toml
  • program-libs/compressible/Cargo.toml
  • program-libs/token-interface/Cargo.toml
  • sdk-libs/program-test/Cargo.toml

📝 Walkthrough

Walkthrough

This PR harmonizes the license metadata across four Rust workspace crates. The forester crate gains an Apache-2.0 license declaration, while compressible, token-interface, and program-test crates migrate their license identifiers from MIT to Apache-2.0.

Changes

License Standardization

Layer / File(s) Summary
Package Licenses
forester/Cargo.toml, program-libs/compressible/Cargo.toml, program-libs/token-interface/Cargo.toml, sdk-libs/program-test/Cargo.toml
License fields in [package] metadata unified to Apache-2.0 across all four crates.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

📜 Apache's banner flies so true,
Four crates align in legal view,
MIT → 2.0, the licenses grow,
Unified clarity steals the show! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main objective: replacing the repository LICENSE with Apache-2.0 and adding a NOTICE file, which aligns with the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/license-apache2

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants