Skip to content

docs: add a root LICENSE pointing to LICENSE-MIT/LICENSE-APACHE - #56

Merged
Navi Bot (project-navi-bot) merged 1 commit into
mainfrom
docs/root-license-pointer
May 25, 2026
Merged

docs: add a root LICENSE pointing to LICENSE-MIT/LICENSE-APACHE#56
Navi Bot (project-navi-bot) merged 1 commit into
mainfrom
docs/root-license-pointer

Conversation

@Fieldnote-Echo

Copy link
Copy Markdown
Member

Adds a root LICENSE that states the MIT OR Apache-2.0 dual license and points to LICENSE-MIT and LICENSE-APACHE.

Why: license-file auto-detectors (OpenSSF Best Practices license_location, GitHub's licensee, etc.) look for a single LICENSE/COPYING at the repo root and don't recognize the hyphenated Rust dual-license naming, so they report "no license file found" even though both license texts are present at the root. This makes the licensing discoverable to those tools.

No change to the actual terms: Cargo.toml license = "MIT OR Apache-2.0" is unchanged, and LICENSE-MIT / LICENSE-APACHE remain the authoritative texts. The new file is a pointer/notice.

Once merged, the OpenSSF Best Practices license_location criterion auto-detects Met (it currently keeps reverting our manual Met because the robot re-runs detection on save).

License-file auto-detectors (OpenSSF Best Practices license_location, GitHub's
licensee, etc.) look for a single LICENSE/COPYING at the repo root and do not
recognize the hyphenated Rust dual-license naming (LICENSE-MIT + LICENSE-APACHE),
so they reported no license file despite both texts being present. Add a root
LICENSE stating the MIT OR Apache-2.0 dual license and pointing to both files.

No change to the actual terms: Cargo.toml license = "MIT OR Apache-2.0" is
unchanged, and LICENSE-MIT / LICENSE-APACHE remain the authoritative texts.
@qodo-code-review

Copy link
Copy Markdown

Review Summary by Qodo

Add root LICENSE file for dual-license auto-detection

📝 Documentation

Grey Divider

Walkthroughs

Description
• Adds root LICENSE file for license auto-detector compatibility
• Declares dual MIT OR Apache-2.0 licensing with pointers
• Improves licensing discoverability for OpenSSF and GitHub tools
• No change to actual license terms or Cargo.toml
Diagram
flowchart LR
  A["LICENSE-MIT<br/>LICENSE-APACHE<br/>Authoritative texts"] -->|"Pointed to by"| B["New root LICENSE<br/>MIT OR Apache-2.0"]
  B -->|"Discovered by"| C["License auto-detectors<br/>OpenSSF, GitHub licensee"]

Loading

File Changes

1. LICENSE 📝 Documentation +20/-0

Add root LICENSE dual-license pointer file

• Creates new root LICENSE file with dual-license declaration
• States MIT OR Apache-2.0 licensing with SPDX identifier
• Points to LICENSE-MIT and LICENSE-APACHE as authoritative texts
• Includes contributor license agreement clause for Apache-2.0

LICENSE


Grey Divider

Qodo Logo

@qodo-code-review

qodo-code-review Bot commented May 25, 2026

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Qodo Logo

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds a LICENSE file specifying dual-licensing under either the Apache License, Version 2.0 or the MIT license. There are no review comments to address.

@project-navi-bot
Navi Bot (project-navi-bot) merged commit 8c54076 into main May 25, 2026
18 checks passed
@project-navi-bot
Navi Bot (project-navi-bot) deleted the docs/root-license-pointer branch May 25, 2026 19:07
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