Repository navigation
docs(license): restore root LICENSE (MPL-2.0) for GitHub license detection - #8
Merged
Merged
Conversation
The final commit of #7 dropped the root LICENSE and kept only LICENSES/MPL-2.0.txt. GitHub's license detection reads only the repo root, so tiwcg showed no license. Add a root LICENSE byte-identical to LICENSES/MPL-2.0.txt (the official MPL-2.0 text).
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cause
#7 (merged 2026-09-27 09:25 PT) at first added a root
LICENSE, but its final commit ("drop root LICENSE, keep LICENSES/MPL-2.0.txt") removed it before the squash merge. That leftLICENSES/MPL-2.0.txtas the only copy. GitHub's license detection reads only the repo root, so tiwcg shows no license (gh api repos/The-Interdependency/tiwcg --jq .licensereturnsnull). The locallicenseein #7 still found MPL-2.0 because it also scansLICENSES/, which GitHub doesn't.Fix
Add a root
LICENSEthat is byte-identical toLICENSES/MPL-2.0.txt. Nothing else changes. The README link toLICENSES/MPL-2.0.txtstill works, so I left it as is.REUSE.tomlis unchanged.Verification
cmp LICENSE LICENSES/MPL-2.0.txt: identical3f3d9e0024b1921b067d6f7f88deb4a60cbe7a78e76c64e3f1d7fc3b779b9d04, the same as the official text at https://www.mozilla.org/media/MPL/2.0/index.txtreuse lint: output is byte-identical to main, exit 1 both times. This is non-compliant on purpose: 46/146 files are licensed, the only used license is MPL-2.0, and there are no bad, missing or unused licenses.licensee detect .:MPL-2.0, andLICENSEmatches exactly at 100%compileallpasses, engine has 50 tests OK, render has 4 tests OKhmmm: the REUSE layout and GitHub's root-only detection want different places for the same text, so the text now lives in both.