Skip to content

chore: split LICENSE into LICENSE-MIT and LICENSE-APACHE - #4783

Merged
max-sixty merged 1 commit into
mainfrom
license-files
Nov 14, 2026
Merged

max-sixty merged 1 commit into
mainfrom
license-files

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

GitHub shows Worktrunk's license as "Other" (NOASSERTION in the API) because its license detection reads one license per file, and LICENSE holds both. This splits it into LICENSE-MIT and LICENSE-APACHE, the layout serde, bat and cargo-dist use, which GitHub recognizes.

Release archives keep both texts: cargo-dist auto-includes LICENSE* (its own archive ships exactly these two files). The AUR package installs both, and the docs footer now links each ("MIT OR Apache-2.0", checked in the dev server's rendered HTML). The texts are unchanged.

Requested by max-sixty after the weekly feedback digest's dry run flagged the detection.

This was written by Claude Code on behalf of max-sixty

GitHub's license detection reads one license per file, so the combined
dual-license file showed the repo's license as "Other" (`NOASSERTION` in the
API). With one file per license, GitHub recognizes them, as it does for serde,
bat and cargo-dist, which use the same layout.

cargo-dist auto-includes files named `LICENSE*`, so release archives carry
both files; the AUR package installs both, and the docs footer links each.
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