Skip to content

Commit c7ad437

Browse files
authored
Merge pull request #45542 from hashicorp/td-skaff-generators-etc
Copyright updates phase 2: skaff, generators
2 parents 92660de + 1608c1f commit c7ad437

File tree

1,716 files changed

+5126
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,716 files changed

+5126
-27
lines changed

.ci/.semgrep-caps-aws-ec2.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
25
rules:
36
- id: aws-in-func-name

.ci/.semgrep-configs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
25
rules:
36
- id: test-config-funcs-correct-form

.ci/.semgrep-constants.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/attrconsts/main.go; DO NOT EDIT.
25

36
rules:

.ci/.semgrep-service-name0.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
25
rules:
36
- id: accessanalyzer-in-func-name

.ci/.semgrep-service-name1.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
25
rules:
36
- id: configservice-in-var-name

.ci/.semgrep-service-name2.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
25
rules:
36
- id: ivs-in-const-name

.ci/.semgrep-service-name3.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/servicesemgrep/main.go; DO NOT EDIT.
25
rules:
36
- id: rdsdataservice-in-const-name

.ci/.semgrep-test-constants.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/acctestconsts/main.go; DO NOT EDIT.
25
rules:
36
- id: literal-12Digit-string-test-constant

.copyplop.yaml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Example configuration for IBM project
1+
# Terraform AWS Provider Copyplop Configuration
22
copyright:
33
holder: "IBM Corp."
44
start_year: 2014
@@ -10,9 +10,12 @@ license:
1010
identifier: "MPL-2.0"
1111
format: "SPDX-License-Identifier: {{.Identifier}}"
1212

13+
# see breakdown of file types below
1314
files:
1415
include_paths:
1516
- "internal/**"
17+
exclude_paths:
18+
- "**/when_string_test.go" # standard library generated files
1619
extensions:
1720
- ".go"
1821

@@ -32,7 +35,7 @@ files:
3235
- ".html.markdown"
3336

3437
detection:
35-
skip_generated: true
38+
skip_generated: false
3639
generated_patterns:
3740
- "Code generated"
3841
- "DO NOT EDIT"
@@ -46,3 +49,33 @@ third_party:
4649
action: "above"
4750
patterns:
4851
- "Copyright.*[a-zA-Z0-9].*"
52+
53+
# Breakdown of file types in the repository (23,516 files, 2025)
54+
# these account for 99.9% of files
55+
# Count Ext Pct Should (c)?
56+
# 7984 go 34.0% y
57+
# 6780 markdown 28.8% y
58+
# 5043 txt 21.4% n (mostly changelogs, config)
59+
# 2206 tf 9.4% y
60+
# 512 gtpl 2.2% n (a few needed but not all, many non-header pieces of templates)
61+
# 312 md 1.3% y
62+
# 233 golden 1.0% n
63+
# 110 yml 0.5% y
64+
# 62 zip 0.3% n (binary)
65+
# 42 hcl 0.2% y
66+
# 32 json 0.1% y
67+
# 25 sh 0.1% y
68+
# 24 tmpl 0.1% n (non-header pieces of templates)
69+
# 17 tfvars 0.1% n
70+
# 15 mod 0.1% n
71+
# 13 js 0.1% n
72+
# 12 png 0.1% n (binary)
73+
# 10 csv 0.0% n
74+
# 9 sum 0.0% n
75+
# 8 yaml 0.0% y
76+
# 8 pem 0.0% n
77+
# 6 tpl 0.0% n (xml templates)
78+
# 6 py 0.0% y
79+
# 5 xml 0.0% n
80+
# 5 gitignore 0.0% n
81+
# 3 svg 0.0% n

.github/labeler-issue-triage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright IBM Corp. 2014, 2025
2+
# "SPDX-License-Identifier: MPL-2.0"
3+
14
# Generated by internal/generate/issuelabels/main.go; DO NOT EDIT.
25
bug:
36
# Bug Issue Template:

0 commit comments

Comments
 (0)