From b5d657afd0f752646db11d5a240ad338763d9351 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Thu, 3 Feb 2022 21:14:30 +0100 Subject: Clarify licensing through REUSE annotations. - Manual: GFDL-1.3-or-later - Library: LGPL-3.0-or-later - Examples: GPL-3.0-or-later Change-Id: I1d1bfede7ba51c4043f8d7e572aa88b42cc8bacf --- .../src/main/java/eu/mulk/jgvariant/ostree/ByteString.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/Checksum.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/Commit.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/DeltaFallback.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/DeltaMetaEntry.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/DeltaOperation.java | 4 ++++ .../main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java | 4 ++++ .../main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java | 4 ++++ .../main/java/eu/mulk/jgvariant/ostree/DeltaSuperblock.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/DirMeta.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/DirTree.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/FileMeta.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/Metadata.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/ObjectType.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/SignedDelta.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/Summary.java | 4 ++++ .../main/java/eu/mulk/jgvariant/ostree/SummarySignature.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/Xattr.java | 4 ++++ .../src/main/java/eu/mulk/jgvariant/ostree/package-info.java | 10 +++++++--- jgvariant-ostree/src/main/java/module-info.java | 4 ++++ .../src/test/java/eu/mulk/jgvariant/ostree/ByteStringTest.java | 4 ++++ .../test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java | 4 ++++ 22 files changed, 91 insertions(+), 3 deletions(-) (limited to 'jgvariant-ostree/src') diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java index bb8cbb6..3a8185c 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Checksum.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Checksum.java index 94a728c..261e2be 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Checksum.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Checksum.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Commit.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Commit.java index a250937..209827d 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Commit.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Commit.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaFallback.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaFallback.java index 0967043..57c8fc5 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaFallback.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaFallback.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaMetaEntry.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaMetaEntry.java index 7269a80..8c6fd19 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaMetaEntry.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaMetaEntry.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperation.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperation.java index 73cb67c..6edf217 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperation.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperation.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import java.nio.ByteBuffer; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java index ac2056c..b489cf0 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaOperationType.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; enum DeltaOperationType { diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java index 4e2587f..f89d414 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaPartPayload.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaSuperblock.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaSuperblock.java index 10b1661..52b970f 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaSuperblock.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DeltaSuperblock.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DirMeta.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DirMeta.java index 35c5212..1a9230f 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DirMeta.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DirMeta.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DirTree.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DirTree.java index ef7d05f..dc38b1b 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DirTree.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/DirTree.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/FileMeta.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/FileMeta.java index 2786ce9..bf292fd 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/FileMeta.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/FileMeta.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Metadata.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Metadata.java index fd8df28..6e1f820 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Metadata.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Metadata.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ObjectType.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ObjectType.java index 721d857..6453838 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ObjectType.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ObjectType.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import static org.apiguardian.api.API.Status.STABLE; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/SignedDelta.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/SignedDelta.java index 0077cb4..e1fcd53 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/SignedDelta.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/SignedDelta.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Summary.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Summary.java index bc94436..150ab00 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Summary.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Summary.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/SummarySignature.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/SummarySignature.java index efa48c3..c878955 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/SummarySignature.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/SummarySignature.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Xattr.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Xattr.java index 7f05cf6..6748f0e 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Xattr.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/Xattr.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import eu.mulk.jgvariant.core.Decoder; diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java index 7ff12f7..8a4d3cc 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + /** * Provides record classes describing the elements of OSTree repositories and factory methods to create @@ -45,17 +49,17 @@ *
{@code {ext}} *
the {@link eu.mulk.jgvariant.ostree.ObjectType#fileExtension()} of the object type * - *
{@code objects/{μ₀μ₁}/{μ₂μ₃μ₄μ₅...}.{ext}}/superblock + *
{@code objects/{ν₀ν₁}/{ν₂ν₃ν₄ν₅...}.{ext}}/superblock *
*

A {@link eu.mulk.jgvariant.ostree.DeltaSuperblock} to get from nothing (an empty commit) * to the commit named by the checksum encoded in the path. *

The individual parts of the file path are defined as follows: *

- *
{@code {μ₀μ₁}} + *
{@code {ν₀ν₁}} *
the first two characters of {@link * eu.mulk.jgvariant.ostree.Checksum#modifiedBase64()} of the target commit the delta * ends at - *
{@code {μ₂μ₃μ₄μ₅...}} + *
{@code {ν₂ν₃ν₄ν₅...}} *
the substring of {@link eu.mulk.jgvariant.ostree.Checksum#modifiedBase64()} of the * target commit the delta ends at starting from the 3rd character *
diff --git a/jgvariant-ostree/src/main/java/module-info.java b/jgvariant-ostree/src/main/java/module-info.java index 7a95ac1..6e6018e 100644 --- a/jgvariant-ostree/src/main/java/module-info.java +++ b/jgvariant-ostree/src/main/java/module-info.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + /** * {@link eu.mulk.jgvariant.core.Decoder} instances for OSTree repositories. * diff --git a/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/ByteStringTest.java b/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/ByteStringTest.java index a5fa2b4..1d3d84d 100644 --- a/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/ByteStringTest.java +++ b/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/ByteStringTest.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import static org.junit.jupiter.api.Assertions.assertEquals; diff --git a/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java b/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java index 031b1cd..5c1dd79 100644 --- a/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java +++ b/jgvariant-ostree/src/test/java/eu/mulk/jgvariant/ostree/OstreeDecoderTest.java @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard +// +// SPDX-License-Identifier: LGPL-3.0-or-later + package eu.mulk.jgvariant.ostree; import static org.junit.jupiter.api.Assertions.assertAll; -- cgit v1.2.3