Skip to content

Make the MIT license detectable by GitHub - #70

Merged
mitchallen merged 1 commit into
mainfrom
license-detect
Aug 6, 2026
Merged

Make the MIT license detectable by GitHub#70
mitchallen merged 1 commit into
mainfrom
license-detect

Conversation

@mitchallen

Copy link
Copy Markdown
Owner

GitHub reported this repo as NOASSERTION / "Other" rather than MIT.

Cause: 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 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 ## License section 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

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>
@mitchallen
mitchallen merged commit ab9da02 into main Aug 6, 2026
3 checks passed
@mitchallen
mitchallen deleted the license-detect branch August 6, 2026 10:53
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.

1 participant