Skip to content

Commit

Permalink
Update copyright headers
Browse files Browse the repository at this point in the history
Signed-off-by: Ronny Orot <[email protected]>
  • Loading branch information
Evi1Pumpkin committed Dec 25, 2024
1 parent d5e3d71 commit 5709166
Show file tree
Hide file tree
Showing 338 changed files with 678 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ schema_version = 1
project {
license = "MPL-2.0"

# (OPTIONAL) Represents the copyright holder used in all statements
# Default: HashiCorp, Inc.
copyright_holder = "The OpenTofu Authors\nSPDX-License-Identifier: MPL-2.0\nCopyright (c) HashiCorp, Inc."

# (OPTIONAL) A list of globs that should not have copyright/license headers.
# Supports doublestar glob patterns for more flexibility in defining which
# files or folders should be ignored
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Copyright (c) The OpenTofu Authors
Copyright (c) 2020 HashiCorp, Inc.

Mozilla Public License, version 2.0
Expand Down
2 changes: 2 additions & 0 deletions algolia.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/algolia/algolia.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/cmd/commands.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/cmd/serve_command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/cmd/version_command.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/codelens/reference_count.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/context/context.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/context/errors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/context/signal_cancel.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/decoder/decoder.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/decoder/path_reader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/change.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/change_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/dir_handle.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/dir_handle_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/document.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/errors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/handle.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/handle_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/position.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/document/range.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/eventbus/bus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/eventbus/did_change.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/eventbus/did_change_watched.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/eventbus/did_open.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/eventbus/discover.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/eventbus/lockfile_change.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/eventbus/manifest_change.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/ast/module.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/ast/module_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/decoder/decoder_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/decoder/functions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/decoder/module_context.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/decoder/module_schema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/decoder/path_reader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/decoder/validators.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/events.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/hooks/hooks.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/hooks/module_source_local.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/hooks/module_source_local_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/hooks/module_source_registry.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/hooks/module_version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/hooks/module_version_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/builtin_references.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/metadata.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/parse.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/parse_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/references.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/schema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/schema_mock_responses.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/schema_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/validation.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/jobs/validation_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/modules_feature.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/parser/module.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/parser/module_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/state/module_ids.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/state/module_metadata.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/features/modules/state/module_record.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
Loading

0 comments on commit 5709166

Please sign in to comment.