diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2025-07-01 11:36:08 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2025-07-01 11:36:08 +0200 |
| commit | 0d070f55ee330213015b1682ea13442d74a79654 (patch) | |
| tree | a7109a938daf9c1e1909a8195ba34c15b21eb218 | |
| parent | 22d78bbb8d417325d8122139d62fea8c52a996ed (diff) | |
| download | go-gg-0d070f55ee330213015b1682ea13442d74a79654.tar.gz | |
REUSE compliance
| -rw-r--r-- | .github/workflows/checks.yaml | 2 | ||||
| -rw-r--r-- | .golangci.yaml | 3 | ||||
| -rw-r--r-- | CHANGELOG.md | 5 | ||||
| -rw-r--r-- | CONTRIBUTING.md | 5 | ||||
| -rw-r--r-- | LICENSES/Apache-2.0.txt (renamed from LICENSE) | 2 | ||||
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | REUSE.toml | 12 | ||||
| -rw-r--r-- | option/option.go | 7 | ||||
| -rw-r--r-- | option/option_test.go | 7 | ||||
| -rw-r--r-- | options/options.go | 7 | ||||
| -rw-r--r-- | options/options_test.go | 7 |
11 files changed, 41 insertions, 21 deletions
diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index c406d98..8541806 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -35,6 +35,8 @@ jobs: uses: golangci/golangci-lint-action@v8 with: version: latest + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v5 #################### # Test Suite diff --git a/.golangci.yaml b/.golangci.yaml index cbe64b9..291e557 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +# SPDX-License-Identifier: Apache-2.0 + version: "2" run: modules-download-mode: vendor diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f0f297..4281ebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +<!-- +SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +SPDX-License-Identifier: Apache-2.0 +--> + # v1.1.0 (2025-04-24) Changes: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 21fa275..8f45d7b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,8 @@ +<!-- +SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +SPDX-License-Identifier: Apache-2.0 +--> + # Notes for contributors This repository accepts contributions as follows: diff --git a/LICENSE b/LICENSES/Apache-2.0.txt index 9aa42a3..137069b 100644 --- a/LICENSE +++ b/LICENSES/Apache-2.0.txt @@ -58,7 +58,7 @@ APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. -Copyright 2025 stefan +Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -1,3 +1,8 @@ +<!-- +SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +SPDX-License-Identifier: Apache-2.0 +--> + # gg (Generic Generics) A Go library for the generic types that should be in the standard library, but aren't. diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..8555114 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,12 @@ +# SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +# SPDX-License-Identifier: Apache-2.0 +version = 1 +SPDX-PackageName = "gg" +SPDX-PackageDownloadLocation = "https://github.com/majewsky/gg" + +[[annotations]] +path = [ + "go.mod", +] +SPDX-FileCopyrightText = "Stefan Majewsky <majewsky@gmx.net>" +SPDX-License-Identifier = "Apache-2.0" diff --git a/option/option.go b/option/option.go index 39fc56d..5efae9c 100644 --- a/option/option.go +++ b/option/option.go @@ -1,8 +1,5 @@ -/******************************************************************************* -* Copyright 2025 Stefan Majewsky <majewsky@gmx.net> -* SPDX-License-Identifier: Apache-2.0 -* Refer to the file "LICENSE" for details. -*******************************************************************************/ +// SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 // Package optional provides an Option type for Go. // A value of the Option type will be in one of two states: "Some" (containing a value) or "None" (containing no value). diff --git a/option/option_test.go b/option/option_test.go index 28e6d49..cc1396f 100644 --- a/option/option_test.go +++ b/option/option_test.go @@ -1,8 +1,5 @@ -/******************************************************************************* -* Copyright 2025 Stefan Majewsky <majewsky@gmx.net> -* SPDX-License-Identifier: Apache-2.0 -* Refer to the file "LICENSE" for details. -*******************************************************************************/ +// SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package option diff --git a/options/options.go b/options/options.go index 110b212..22d645d 100644 --- a/options/options.go +++ b/options/options.go @@ -1,8 +1,5 @@ -/******************************************************************************* -* Copyright 2025 Stefan Majewsky <majewsky@gmx.net> -* SPDX-License-Identifier: Apache-2.0 -* Refer to the file "LICENSE" for details. -*******************************************************************************/ +// SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 // Package options provides additional functions for type option.Option // that cannot be expressed as methods on the Option type itself. diff --git a/options/options_test.go b/options/options_test.go index 84a61da..fc9861f 100644 --- a/options/options_test.go +++ b/options/options_test.go @@ -1,8 +1,5 @@ -/******************************************************************************* -* Copyright 2025 Stefan Majewsky <majewsky@gmx.net> -* SPDX-License-Identifier: Apache-2.0 -* Refer to the file "LICENSE" for details. -*******************************************************************************/ +// SPDX-FileCopyrightText: 2025 Stefan Majewsky <majewsky@gmx.net> +// SPDX-License-Identifier: Apache-2.0 package options |
