From 642008d67be92641ce7c96475261669da4f88c5d Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Fri, 7 Oct 2022 10:08:44 +0200 Subject: [PATCH] chore change license things --- LICENSE | 1 + Makefile | 4 ++-- doc.go | 17 +++++++++++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 29ebfa5..ba923ab 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,6 @@ GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 + AGPL-3.0-or-later Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies diff --git a/Makefile b/Makefile index 423c46b..c149982 100644 --- a/Makefile +++ b/Makefile @@ -139,7 +139,7 @@ endif .PHONY: fetch-licenses ## Fetch licenses for all modules fetch-licenses: - go-licenses save $(GO_CURRENT_MODULE) --ignore gitlab.schukai.com --force --save_path $(PROJECT_ROOT)licenses/ ; cd - + go-licenses save $(GO_CURRENT_MODULE) --ignore gitlab.schukai.com --force --save_path $(PROJECT_ROOT)licenses/ # https://spdx.github.io/spdx-spec/v2.3/SPDX-license-list/ ADDLICENSE_BIN ?= addlicense @@ -151,7 +151,7 @@ endif .PHONY: add-licenses ## Add license headers to all go files add-licenses: - addlicense -c "schukai GmbH" -s -l "AGPL-3.0-or-later" ./*.go + addlicense -c "schukai GmbH" -s -l "AGPL-3.0" ./*.go diff --git a/doc.go b/doc.go index 69bd673..01eada3 100644 --- a/doc.go +++ b/doc.go @@ -1,7 +1,20 @@ +// This package provides a simple way to create a CLI application +// with subcommands. It is based on the flags package from + // Copyright 2022 schukai GmbH // SPDX-License-Identifier: AGPL-3.0-or-later -// This package provides a simple way to create a CLI application -// with subcommands. It is based on the flags package from +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <https://www.gnu.org/licenses/>. package xflags -- GitLab