From c25e1c22b594297790204ef5aae8118c56f28236 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Tue, 9 Dec 2025 19:21:26 -0500 Subject: [PATCH 01/20] Migrate from copywrite to copyplop v0.2.0 - Update GitHub workflow to use copyplop check instead of copywrite headers - Update Makefile copyright target to use copyplop check - Add copyright-fix target for local development - Add automatic copyplop installation to both targets - Configure copyplop for services a-d and t-z in .copyplop.yaml --- .copyplop.yaml | 49 +++++++++++++++++++++++++++++++++ .github/workflows/copyright.yml | 8 +++--- GNUmakefile | 10 +++++-- 3 files changed, 61 insertions(+), 6 deletions(-) create mode 100644 .copyplop.yaml diff --git a/.copyplop.yaml b/.copyplop.yaml new file mode 100644 index 000000000000..f6b65ac0bf2c --- /dev/null +++ b/.copyplop.yaml @@ -0,0 +1,49 @@ +# Example configuration for IBM project +copyright: + holder: "IBM Corp." + start_year: 2014 + current_year: 2025 + format: "Copyright {{.Holder}} {{.StartYear}}, {{.CurrentYear}}" + +license: + enabled: true + identifier: "MPL-2.0" + format: "SPDX-License-Identifier: {{.Identifier}}" + +files: + include_paths: + - "internal/service/[a-d]**" + - "internal/service/[t-z]**" + extensions: + - ".go" + + comment_styles: + go: "//" + sh: "#" + py: "#" + hcl: "#" + tf: "#" + yml: "#" + yaml: "#" + md: "