Skip to content

Commit

Permalink
[COMPLIANCE] Add Copyright and License Headers
Browse files Browse the repository at this point in the history
  • Loading branch information
hashicorp-copywrite[bot] committed Apr 10, 2023
1 parent 005ecf2 commit 7c32b05
Show file tree
Hide file tree
Showing 53 changed files with 159 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/NOTES-20230303-102348.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

kind: NOTES
body: This Go module has been updated to Go 1.19 per the [Go support policy](https://golang.org/doc/devel/release.html#policy).
Any consumers building on earlier Go versions may experience errors.
Expand Down
3 changes: 3 additions & 0 deletions .changie.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

changesDir: .changes
unreleasedDir: unreleased
changelogPath: CHANGELOG.md
Expand Down
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

blank_issues_enabled: false
contact_links:
- name: Terraform Language or Workflow Feedback and Questions
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

issues:
max-per-linter: 0
max-same-issues: 0
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

project_name: terraform-plugin-log
builds:
- skip: true
Expand Down
3 changes: 3 additions & 0 deletions internal/fieldutils/field_maps.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package fieldutils

// MergeFieldMaps takes a slice of field maps,
Expand Down
3 changes: 3 additions & 0 deletions internal/fieldutils/field_maps_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package fieldutils_test

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/hclogutils/args.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package hclogutils

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/hclogutils/args_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package hclogutils_test

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/hclogutils/logger_options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package hclogutils

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/loggertest/json_decode.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package loggertest

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/loggertest/provider.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package loggertest

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/loggertest/sdk.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package loggertest

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/logging/filtering.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/logging/filtering_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package logging_test

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/logging/log.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/logging/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/logging/options_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package logging_test

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/logging/provider.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/logging/sdk.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/logging/sink.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions tflog/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package tflog provides helper functions for writing log output and creating
// loggers for Terraform plugins.
//
Expand Down
3 changes: 3 additions & 0 deletions tflog/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflog

import (
Expand Down
3 changes: 3 additions & 0 deletions tflog/options_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflog_test

import (
Expand Down
3 changes: 3 additions & 0 deletions tflog/provider.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflog

import (
Expand Down
3 changes: 3 additions & 0 deletions tflog/provider_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflog

import (
Expand Down
3 changes: 3 additions & 0 deletions tflog/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflog_test

import (
Expand Down
3 changes: 3 additions & 0 deletions tflog/subsystem.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflog

import (
Expand Down
3 changes: 3 additions & 0 deletions tflog/subsystem_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflog

import (
Expand Down
3 changes: 3 additions & 0 deletions tflog/subsystem_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflog_test

import (
Expand Down
3 changes: 3 additions & 0 deletions tflogtest/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package tflogtest provides functionality for unit testing of provider
// logging.
package tflogtest
3 changes: 3 additions & 0 deletions tflogtest/json_decode.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflogtest

import (
Expand Down
3 changes: 3 additions & 0 deletions tflogtest/json_decode_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflogtest

import (
Expand Down
3 changes: 3 additions & 0 deletions tflogtest/root_logger.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflogtest

import (
Expand Down
3 changes: 3 additions & 0 deletions tflogtest/root_logger_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tflogtest

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package tfsdklog provides helper functions for logging from SDKs and
// frameworks for building Terraform plugins.
//
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/options_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog_test

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/sdk.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/sdk_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/sdk_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog_test

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/sink.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/subsystem.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/subsystem_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklog/subsystem_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklog_test

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklogtest/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package tfsdklogtest provides functionality for unit testing of SDK
// logging. Provider developers should use the tflogtest package.
package tfsdklogtest
3 changes: 3 additions & 0 deletions tfsdklogtest/json_decode.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklogtest

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklogtest/json_decode_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklogtest

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklogtest/root_logger.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklogtest

import (
Expand Down
3 changes: 3 additions & 0 deletions tfsdklogtest/root_logger_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package tfsdklogtest

import (
Expand Down
3 changes: 3 additions & 0 deletions website/scripts/should-build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0


######################################################
# NOTE: This file is managed by the Digital Team's #
Expand Down
3 changes: 3 additions & 0 deletions website/scripts/website-build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

######################################################
# NOTE: This file is managed by the Digital Team's #
# Terraform configuration @ hashicorp/mktg-terraform #
Expand Down
3 changes: 3 additions & 0 deletions website/scripts/website-start.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

######################################################
# NOTE: This file is managed by the Digital Team's #
# Terraform configuration @ hashicorp/mktg-terraform #
Expand Down

0 comments on commit 7c32b05

Please sign in to comment.