From 84bbfce6581d44a376f5bfb993db15ed7c6c0543 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Thu, 18 Dec 2025 10:47:44 -0600 Subject: [PATCH 01/11] add copyplop config --- .copyplop.yaml | 57 ++++++++++++++++++++++++++++++++ GNUmakefile | 1 + tools/go.mod | 40 +++++++++++------------ tools/go.sum | 88 ++++++++++++++++++++++++++------------------------ tools/main.go | 2 ++ 5 files changed, 125 insertions(+), 63 deletions(-) create mode 100644 .copyplop.yaml diff --git a/.copyplop.yaml b/.copyplop.yaml new file mode 100644 index 0000000000..0799f60edf --- /dev/null +++ b/.copyplop.yaml @@ -0,0 +1,57 @@ +# Copyright IBM Corp. 2014, 2025 +# "SPDX-License-Identifier: MPL-2.0" + +# Terraform AWS Provider Copyplop Configuration +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}}" + +# see breakdown of file types below +files: + exclude_paths: + - "**/when_string_test.go" # standard library generated files + - "CHANGELOG.md" + - "**/import_examples_gen.json" + extensions: + - ".go" + - ".yml" + - ".yaml" + - ".md" + + comment_styles: + go: "//" + sh: "#" + py: "#" + hcl: "#" + tf: "#" + yml: "#" + yaml: "#" + md: "