chore: add a root LICENSE, and relicense genkit_flutter_gemma to MIT - #503
Merged
Conversation
Two licensing gaps, found while checking why the site footer says MIT. There is no LICENSE at the repository root — only inside each `packages/*/`. GitHub therefore reports the repository's licence as `null`, so the repo page carries no licence badge and any automated scanner reads the project as "no licence stated". For a package people pull into production that is the signal that makes a legal review say no. pub.dev was never affected: it reads the file from inside each published archive. `genkit_flutter_gemma` was BSD-3-Clause while the other eleven packages are MIT. It arrived that way with the import in #331 — `genkit_hybrid` came in the same commit and is MIT, so this looks like drift rather than a decision. Relicensed to MIT, keeping its own copyright line. MIT is strictly more permissive than BSD-3-Clause (it drops the no-endorsement clause), so nobody already using the package loses a right; versions already on pub.dev stay BSD-3-Clause, and MIT applies from 0.6.1. Version pins are deliberately untouched. `^0.6.0` already admits 0.6.1, and the codelabs under `codelabs/` carry real `pubspec.yaml` files — naming `^0.6.1` there before it is published would break resolution for anyone following the tutorial. Not changed, worth knowing: the copyright years differ across packages (2024 / 2025 / 2026), which is the year each was first published, and two files differ from the canonical text only by a trailing newline.
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.
Two licensing gaps, found while checking why the site footer says MIT.
No LICENSE at the repository root
Licence files exist only inside each
packages/*/. GitHub therefore reports the repository's licence asnull:So the repo page shows no licence badge, and automated scanners — including the corporate ones used to vet dependencies — read the project as "no licence stated". For a package people pull into production that is the signal that makes a legal review say no.
pub.dev was never affected: it reads the file from inside each published archive, and every package has one.
Added a root
LICENSEwith the same MIT text the packages use.genkit_flutter_gemmawas BSD-3-ClauseEleven packages are MIT; this one was not. Verified against the published archives, not the pub.dev page:
It arrived that way with the import in #331 —
genkit_hybridcame in the same commit and is MIT — so this reads as drift rather than a decision. Its copyright line names Flutter Berlin / Sasha Denisov, not Google, so it is not a leftover from a Genkit template either.Relicensed to MIT, keeping its own copyright line. MIT is strictly more permissive than BSD-3-Clause (it drops the no-endorsement clause), so nobody already using the package loses a right. Versions already on pub.dev stay BSD-3-Clause; MIT applies from 0.6.1, which this PR bumps —
LICENSEships inside the archive, so without a release the change reaches nobody.Pins deliberately untouched
^0.6.0already admits 0.6.1, and the codelabs undercodelabs/carry realpubspec.yamlfiles. Naming^0.6.1there before it is published would break resolution for anyone following the tutorial — the same trap as a satellite floor naming an unpublished core.Noted, not changed
flutter_gemma_onnxandgenkit_hybriddiffer from the canonical text only by a trailing newline and anMIT Licenseheader line.