From 4e2e57591de98a63e780b5855d3f1e25c5716882 Mon Sep 17 00:00:00 2001 From: Mirko Boehm Date: Mon, 2 Mar 2026 10:38:20 +0100 Subject: [PATCH 1/2] Update or add license information Closes #59 --- cmd/shelldoc/cmd/cmd_test.go | 2 +- pkg/junitxml/writer.go | 4 ++++ pkg/junitxml/writer_test.go | 4 ++++ pkg/run/context.go | 4 ++++ pkg/run/interactions.go | 4 ++++ pkg/version/version.go | 2 +- 6 files changed, 18 insertions(+), 2 deletions(-) diff --git a/cmd/shelldoc/cmd/cmd_test.go b/cmd/shelldoc/cmd/cmd_test.go index 0c11207..05356af 100644 --- a/cmd/shelldoc/cmd/cmd_test.go +++ b/cmd/shelldoc/cmd/cmd_test.go @@ -1,6 +1,6 @@ // This file is part of shelldoc. // © 2023, Mirko Boehm and the shelldoc contributors -// SPDX-License-Identifier: GPL-3.0 +// SPDX-License-Identifier: Apache-2.0 package cmd diff --git a/pkg/junitxml/writer.go b/pkg/junitxml/writer.go index 24dd019..c4509fa 100644 --- a/pkg/junitxml/writer.go +++ b/pkg/junitxml/writer.go @@ -1,3 +1,7 @@ +// This file is part of shelldoc. +// © 2023, Mirko Boehm and the shelldoc contributors +// SPDX-License-Identifier: LGPL-3.0 + package junitxml import ( diff --git a/pkg/junitxml/writer_test.go b/pkg/junitxml/writer_test.go index 1cf3a08..09f360d 100644 --- a/pkg/junitxml/writer_test.go +++ b/pkg/junitxml/writer_test.go @@ -1,3 +1,7 @@ +// This file is part of shelldoc. +// © 2023, Mirko Boehm and the shelldoc contributors +// SPDX-License-Identifier: Apache-2.0 + package junitxml import ( diff --git a/pkg/run/context.go b/pkg/run/context.go index 3023630..a15a26b 100644 --- a/pkg/run/context.go +++ b/pkg/run/context.go @@ -1,3 +1,7 @@ +// This file is part of shelldoc. +// © 2023, Mirko Boehm and the shelldoc contributors +// SPDX-License-Identifier: LGPL-3.0 + package run import ( diff --git a/pkg/run/interactions.go b/pkg/run/interactions.go index a026399..5955cc9 100644 --- a/pkg/run/interactions.go +++ b/pkg/run/interactions.go @@ -1,3 +1,7 @@ +// This file is part of shelldoc. +// © 2023, Mirko Boehm and the shelldoc contributors +// SPDX-License-Identifier: LGPL-3.0 + package run import ( diff --git a/pkg/version/version.go b/pkg/version/version.go index fa84489..58c647f 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,6 +1,6 @@ // This file is part of shelldoc. // © 2023, Mirko Boehm and the shelldoc contributors -// SPDX-License-Identifier: GPL-3.0 +// SPDX-License-Identifier: LGPL-3.0 package version From 488069c65a7d8cc84bb16085996e27831d563718 Mon Sep 17 00:00:00 2001 From: Mirko Boehm Date: Mon, 2 Mar 2026 10:45:08 +0100 Subject: [PATCH 2/2] Make sure VERSION does not match pkg/version Case in-sensitive file systems are bonkers. --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 71f1ada..06393d3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,6 @@ debug.test # VS Code configuration .vscode/ # The generated VERSION file -VERSION +/VERSION cmd/shelldoc/shelldoc results.xml