Skip to content

chore: relicense to GPL-3.0-only - #48

Merged
Kinflou merged 1 commit into
masterfrom
chore/relicense-gpl3
Sep 1, 2026
Merged

chore: relicense to GPL-3.0-only#48
Kinflou merged 1 commit into
masterfrom
chore/relicense-gpl3

Conversation

@Kinflou

@Kinflou Kinflou commented Sep 1, 2026

Copy link
Copy Markdown
Member

Part of the project-wide relicensing (see docs/design/licensing.md, landing separately).

Comline's toolchain — the compiler and code generators, i.e. everything that links comline-core (core, generation, comline-rust, comline-typescript, cli) — moves from MIT OR Apache-2.0 to GPL-3.0-only.

Why: a company can fork Comline (that's fine) but can't take the fork closed — a distributed fork of the toolchain must be GPL. This does not reach applications built with Comline: running the generator no more licenses your program than compiling it with GCC does, and generated code links only comline-runtime, which stays permissive-ish (MPL-2.0, separate PR).

  • LICENSE + core/LICENSE: GNU GPL v3 text (replaces LICENSE-APACHE / LICENSE-MIT at both spots).
  • core/Cargo.toml, core_stdlib/Cargo.toml: license = "GPL-3.0-only".
  • core/README.md: License + Contribution sections rewritten.

-only, not -or-later: adopting a future GPL stays a deliberate choice, not automatic delegation to the FSF.

Sole copyright holder, so no contributor sign-offs needed. Code already distributed under MIT/Apache remains usable under those terms by anyone who has it; every release from here is GPL-3.0-only.

Comline's toolchain (the compiler + code generators — everything that
links comline-core) moves from MIT/Apache-2.0 to GPL-3.0-only. A
distributed fork of the toolchain must now be GPL; this does not touch
applications built *with* Comline (running the generator no more licenses
your program than GCC does; generated code links only comline-runtime,
which is MPL-2.0).

- LICENSE / core/LICENSE: GNU GPL v3 text (replaces LICENSE-APACHE /
  LICENSE-MIT at both locations).
- core/Cargo.toml, core_stdlib/Cargo.toml: license = "GPL-3.0-only".
- core/README.md: rewritten License + Contribution sections.

`GPL-3.0-only` (not -or-later): future GPL revisions are a deliberate
opt-in, not automatic. Full rationale + the per-repo split land in
docs/design/licensing.md.
@Kinflou
Kinflou merged commit 60db64b into master Sep 1, 2026
6 checks passed
@Kinflou
Kinflou deleted the chore/relicense-gpl3 branch September 1, 2026 20:18
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