Make the MIT license detectable by GitHub - #70
Merged
Merged
Conversation
The LICENSE carried an inserted "Special Note" paragraph disclaiming third party assets. GitHub's licensee gem matches a license by comparing the body against the SPDX text at a 98% similarity threshold, and that paragraph put this file at roughly 83% - so the repository reported NOASSERTION / "Other" rather than MIT, and any badge or API consumer read it as unlicensed. Remove the paragraph so the grant is verbatim SPDX MIT, and carry its wording into a README License section, which still tells readers what they need to know without breaking detection. The permission grant itself is untouched and the copyright year is unchanged; the only other edit is writing the copyright line in the conventional "Copyright (c) <year>" form. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
GitHub reported this repo as
NOASSERTION/ "Other" rather than MIT.Cause: the
LICENSEcarried an inserted "Special Note" paragraph disclaiming third party assets. GitHub's licensee gem matches a license by comparing the body against the SPDX text at a 98% similarity threshold, and that paragraph put this file at 82.65% — so the license field, the license badge, and anything else consuming it read the repo as unlicensed.Fix: remove the paragraph so the grant is verbatim SPDX MIT (verified at 100%), and carry its wording into a README
## Licensesection so the disclaimer still reaches readers.The permission grant is untouched and the copyright year is unchanged — the only other edit is the conventional
Copyright (c) <year>form.Part of a sweep across the repos reporting NOASSERTION; all carried the identical boilerplate.
🤖 Generated with Claude Code