fix: align composer.json license with LICENSE (MPL-2.0)#443
Merged
Conversation
…age/support
The repository ships under the Mozilla Public License 2.0 (see `LICENSE`)
but `composer.json` still declared `proprietary` — wrong for a published
open-source project and contradicts the bundled license file. Switching to
the SPDX identifier `MPL-2.0` aligns the package metadata with reality.
Also fills in two adjacent fields that downstream tooling (Composer,
Packagist, GitHub dependency graph, SBOM generators) expects on a public
project:
- `homepage` — points at the canonical repo
- `support.issues` / `support.source` — the GitHub issue tracker and
source URL, used by `composer support` and surfaced in dependency
listings
`authors` and `keywords` are intentionally left out — both want input on
who/what to list and were not the immediate gap.
Verified with `composer validate --strict` (green) and `composer normalize
--dry-run` (already normalised).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
tuj
approved these changes
May 7, 2026
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.
Summary
composer.jsonlicensetoMPL-2.0, matching theLICENSEfile shipped at the repo root. Was incorrectlyproprietary— wrong for a public open-source project and contradicting the bundled license terms.homepage(canonical repo URL) andsupport.issues/support.source(issue tracker + source URL). Used bycomposer support, GitHub's dependency graph, SBOM generators, and Packagist.Other meta — left to your call
These are also missing but I held off because they need input rather than a clear-cut fix. Worth a follow-up commit on this branch (or a separate PR) if you'd like:
authors— array of{ name, email }for credited contributors. ITK Dev / OS2Display org? Specific maintainers?keywords— searchable tags. Optional fortype: projectprojects; useful if this ever ends up on Packagist.description— currently "Api backend for OS2display". The repo now houses the full project (admin + client + templates perUPGRADE.md), so something like "OS2Display" or "OS2Display digital signage platform" would be more accurate. I left it alone to keep the PR scope minimal.Happy to push any of these once you decide.
Test plan
composer validate --strict→ greencomposer normalize --dry-run→ already normalised🤖 Generated with Claude Code