diff options
| author | Shulhan <ms@kilabit.info> | 2025-12-29 15:08:08 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-12-29 15:08:08 +0700 |
| commit | 76df394598f5953a2cba14ca0f95c4d9e52e9469 (patch) | |
| tree | 3df469aeb67ab5320aa20bb3e12383663cc71f17 /internal/cmd | |
| parent | 4654d45c96f86133bc0258d67c919dea7884fc46 (diff) | |
| download | haminer-76df394598f5953a2cba14ca0f95c4d9e52e9469.tar.xz | |
all: add missing SPDX license to all files
Convert the old ".reuse/dep5" format to REUSE.toml format using
"reuse convert-dep5" command.
For generated files, add the ".license" file.
Using "reuse annotate ..." it automatically add empty line after
"SPDX-FileCopyrightText:", and it also put "SPDX-FileCopyrightText" above
the "SPDX-License-Identifier".
Now, this project is compliant with version 3.3 of the REUSE
Specification.
Diffstat (limited to 'internal/cmd')
| -rw-r--r-- | internal/cmd/gocheck/main.go | 3 | ||||
| -rw-r--r-- | internal/cmd/haminer-dummy-backend/main.go | 1 | ||||
| -rw-r--r-- | internal/cmd/memfs/main.go | 14 |
3 files changed, 17 insertions, 1 deletions
diff --git a/internal/cmd/gocheck/main.go b/internal/cmd/gocheck/main.go index 112c08a..956e790 100644 --- a/internal/cmd/gocheck/main.go +++ b/internal/cmd/gocheck/main.go @@ -1,5 +1,6 @@ -// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: GPL-3.0-or-later // Program gocheck implement go static analysis using [Analyzer] that are not // included in the default go vet. diff --git a/internal/cmd/haminer-dummy-backend/main.go b/internal/cmd/haminer-dummy-backend/main.go index 5c6517e..1fd39ef 100644 --- a/internal/cmd/haminer-dummy-backend/main.go +++ b/internal/cmd/haminer-dummy-backend/main.go @@ -1,4 +1,5 @@ // SPDX-FileCopyrightText: 2024 Shulhan <ms@kilabit.info> +// // SPDX-License-Identifier: GPL-3.0-or-later package main diff --git a/internal/cmd/memfs/main.go b/internal/cmd/memfs/main.go index 341fd98..fe69c78 100644 --- a/internal/cmd/memfs/main.go +++ b/internal/cmd/memfs/main.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: GPL-3.0-or-later + package main import ( @@ -18,6 +22,11 @@ func embedDatabase() { PackageName: `haminer`, VarName: `memfsDatabase`, GoFileName: `memfs_database.go`, + CommentHeader: `// SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: GPL-3.0-or-later + +`, }, Root: `_database`, Includes: []string{ @@ -47,6 +56,11 @@ func embedWui() { PackageName: `haminer`, VarName: `memfsWUI`, GoFileName: `memfs_wui.go`, + CommentHeader: `// SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info> +// +// SPDX-License-Identifier: GPL-3.0-or-later + +`, }, Root: `_wui`, Includes: []string{ |
