From f84c4e6182a063c40fee10437c080dcc87aeaa5a Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Fri, 3 Feb 2023 14:05:04 -0500 Subject: [PATCH] copywrite: setup configuration for licensing Copywrite is a tool developed internally at Hashicorp in order to maintain our source code up-to-date in terms of license headers. Since this will be monitored soon, we are preparing for this by adding the configuration for files to ignore. --- .copywrite.hcl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .copywrite.hcl diff --git a/.copywrite.hcl b/.copywrite.hcl new file mode 100644 index 000000000..2c6f279b0 --- /dev/null +++ b/.copywrite.hcl @@ -0,0 +1,13 @@ +project { + license = "MPL-2.0" + copyright_year = 2013 + header_ignore = [ + "*.hcl2spec.go", # generated code specs, since they'll be wiped out until we support adding the headers at generation-time + "hcl2template/testdata/**", + "test/**", + "**/test-fixtures/**", + "examples/**", + "hcl2template/fixtures/**", + "website/**" # candidates for copyright are coming from external sources, so we should not handle those in Packer + ] +}