Skip to content

license: relicense source headers to GPL-3.0-or-later - #14

Merged
jamesarich merged 1 commit into
mainfrom
docs/license-or-later
Jul 21, 2026
Merged

jamesarich merged 1 commit into
mainfrom
docs/license-or-later

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

Summary

Relicenses kzstd's source headers from GPL-3.0-only to GPL-3.0-or-later, aligning with the Meshtastic org standard. The other first-party repos (and meshtastic-sdk's ADR-004) use -or-later, which is also what the flagship repos' stock FSF GPLv3 notice implies; kzstd was the outlier at -only.

What changed

  • SPDX-License-Identifier: GPL-3.0-only → GPL-3.0-or-later in 31 files (all src/** Kotlin, build.gradle.kts, settings.gradle.kts, scripts/train_test_dict.py).
  • Two doc references updated to match (AGENTS.md, CONTRIBUTING.md).
  • The LICENSE file (stock GPLv3 text, identical for -only/-or-later) is unchanged.

Note

-only → -or-later broadens the license grant. As the copyright holder, Meshtastic is entitled to make this change; it's an intentional standardization, not a narrowing. Requested by the repo owner as part of the org KMP standard-alignment effort.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@jamesarich, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 52 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4994887e-cf28-4b70-ae34-269e9a85ddcd

📥 Commits

Reviewing files that changed from the base of the PR and between ec388b7 and 3b5dbec.

📒 Files selected for processing (32)
  • AGENTS.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • build.gradle.kts
  • scripts/train_test_dict.py
  • settings.gradle.kts
  • src/commonMain/kotlin/org/meshtastic/kzstd/Zstd.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/ZstdDictionary.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/ZstdException.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/BitReader.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/BitWriter.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/Fse.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/FseEncoder.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/Huffman.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/MatchIndex.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/OutputBuffer.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/ParsedDictionary.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/SequenceTables.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/ZstdDecoder.kt
  • src/commonMain/kotlin/org/meshtastic/kzstd/internal/ZstdEncoder.kt
  • src/commonTest/kotlin/org/meshtastic/kzstd/DictEntropyDecodeTest.kt
  • src/commonTest/kotlin/org/meshtastic/kzstd/DictEntropyGuardTest.kt
  • src/commonTest/kotlin/org/meshtastic/kzstd/EncoderBlockLimitTest.kt
  • src/commonTest/kotlin/org/meshtastic/kzstd/MaxSizeGuardTest.kt
  • src/commonTest/kotlin/org/meshtastic/kzstd/TestVectors.kt
  • src/commonTest/kotlin/org/meshtastic/kzstd/ZstdDecoderMalformedTest.kt
  • src/commonTest/kotlin/org/meshtastic/kzstd/ZstdRoundTripTest.kt
  • src/jvmTest/kotlin/org/meshtastic/kzstd/ByteIdenticalRegressionTest.kt
  • src/jvmTest/kotlin/org/meshtastic/kzstd/ConcurrencyTest.kt
  • src/jvmTest/kotlin/org/meshtastic/kzstd/KzstdLibzstdInteropTest.kt
  • src/nativeTest/kotlin/org/meshtastic/kzstd/NativeConcurrencyTest.kt
  • src/wasmWasiTest/kotlin/org/meshtastic/kzstd/WasmWasiCodecTest.kt

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jamesarich
jamesarich marked this pull request as ready for review July 21, 2026 17:48
Change every SPDX-License-Identifier from GPL-3.0-only to
GPL-3.0-or-later (31 files: source, build scripts, train_test_dict.py)
plus the two documentation references (AGENTS.md, CONTRIBUTING.md).

This aligns kzstd with the Meshtastic org license standard: first-party
repos use GPL-3.0-or-later, matching the FSF stock notice the flagship
repos ship and the meshtastic-sdk ADR-004 decision. As the copyright
holder, Meshtastic can broaden the grant from -only to -or-later; the
LICENSE file (stock GPLv3 text) is unchanged.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich
jamesarich force-pushed the docs/license-or-later branch from d6d278e to 3b5dbec Compare July 21, 2026 17:55
@jamesarich
jamesarich added this pull request to the merge queue Jul 21, 2026
Merged via the queue into main with commit 7f78378 Jul 21, 2026
2 checks passed
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