Skip to content

Commit 7f78378

Browse files
authored
license: relicense source headers to GPL-3.0-or-later (#14)
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>
1 parent 1bd9c84 commit 7f78378

32 files changed

Lines changed: 33 additions & 31 deletions

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ fallback (`com.github.meshtastic:kzstd`). Releases are tag-driven — see
7878

7979
- Commits are **signed off** (DCO): `git commit -s`. The repo owner prefers to be
8080
the commit author — do **not** add `Co-Authored-By` trailers.
81-
- Source files carry an `SPDX-License-Identifier: GPL-3.0-only` header.
81+
- Source files carry an `SPDX-License-Identifier: GPL-3.0-or-later` header.
8282
- Commit messages: imperative mood, with a body explaining what + why.
8383
- Do not auto-commit; stage changes and describe what you did.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Dependency and toolchain refresh — no codec or public-API changes.
1212

1313
### Changed
1414

15+
- Relicensed source SPDX headers from GPL-3.0-only to GPL-3.0-or-later
16+
(aligns with the Meshtastic org standard; the LICENSE file is unchanged).
1517
- Built with Kotlin 2.4.10 (was 2.4.0).
1618
- junit-framework (JVM test suite only) updated to 6.1.2.
1719

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ and `explicitApi()`. After an **intentional** public-API change, run
6666
## Reusing code from sibling Meshtastic-org projects
6767

6868
kzstd is GPL-3.0, the same license as the other Meshtastic projects, so lifting
69-
code from them is allowed. When you do: keep the `SPDX-License-Identifier: GPL-3.0-only`
69+
code from them is allowed. When you do: keep the `SPDX-License-Identifier: GPL-3.0-or-later`
7070
header, add a copyright line crediting the source repo, and note the origin in the
7171
commit message (`Origin: <repo>/<path> @ <sha>`).
7272

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-3.0-only
1+
// SPDX-License-Identifier: GPL-3.0-or-later
22
import org.gradle.api.tasks.bundling.AbstractArchiveTask
33
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
44

scripts/train_test_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# SPDX-License-Identifier: GPL-3.0-only
2+
# SPDX-License-Identifier: GPL-3.0-or-later
33
"""Generate a small, TAK-free TRAINED zstd dictionary for kzstd's test suite.
44
55
Deterministic: a fixed RNG seed produces the same synthetic corpus, so the

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-3.0-only
1+
// SPDX-License-Identifier: GPL-3.0-or-later
22
pluginManagement {
33
repositories {
44
gradlePluginPortal()

src/commonMain/kotlin/org/meshtastic/kzstd/Zstd.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-3.0-only
1+
// SPDX-License-Identifier: GPL-3.0-or-later
22
package org.meshtastic.kzstd
33

44
import org.meshtastic.kzstd.internal.PureZstdDecoder

src/commonMain/kotlin/org/meshtastic/kzstd/ZstdDictionary.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-3.0-only
1+
// SPDX-License-Identifier: GPL-3.0-or-later
22
package org.meshtastic.kzstd
33

44
import org.meshtastic.kzstd.internal.MatchIndex

src/commonMain/kotlin/org/meshtastic/kzstd/ZstdException.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-3.0-only
1+
// SPDX-License-Identifier: GPL-3.0-or-later
22
package org.meshtastic.kzstd
33

44
/**

src/commonMain/kotlin/org/meshtastic/kzstd/internal/BitReader.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-3.0-only
1+
// SPDX-License-Identifier: GPL-3.0-or-later
22
package org.meshtastic.kzstd.internal
33

44
import org.meshtastic.kzstd.ZstdException

0 commit comments

Comments
 (0)