Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COMPLIANCE] License changes #18443

Merged
merged 19 commits into from
Aug 11, 2023
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
17fdae4
Adding explicit MPL license for sub-package
hashicorp-copywrite[bot] Aug 10, 2023
6026733
Adding explicit MPL license for sub-package
hashicorp-copywrite[bot] Aug 10, 2023
4956cf0
Updating the license from MPL to Business Source License
hashicorp-copywrite[bot] Aug 10, 2023
078a0be
add missing license headers
hashicorp-copywrite[bot] Aug 10, 2023
bda6e8a
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
478723b
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
96006ee
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
81cddb1
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
96eb3f7
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
36ae681
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
7f99f66
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
4cbec60
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
4d0ade0
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
2d36075
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
5d2c642
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
29f1874
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
763c1b3
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
b4084ae
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
78683b4
Update copyright file headers to BUSL-1.1
hashicorp-copywrite[bot] Aug 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add missing license headers
  • Loading branch information
hashicorp-copywrite[bot] authored Aug 10, 2023
commit 078a0be1a7164b9d1c2f3923c8f2876448e584c0
6 changes: 4 additions & 2 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
schema_version = 1

project {
license = "MPL-2.0"
copyright_year = 2013
license = "BUSL-1.1"
copyright_year = 2023

# (OPTIONAL) A list of globs that should not have copyright/license headers.
# Supports doublestar glob patterns for more flexibility in defining which
@@ -25,5 +25,7 @@ project {
"agent/proxycfg/proxycfg.deepcopy.go",
"agent/grpc-middleware/rate_limit_mappings.gen.go",
"agent/uiserver/dist/**",
"sdk/**",
"api/**",
]
}
3 changes: 3 additions & 0 deletions .release/docker/docker-entrypoint-windows.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/dumb-init /bin/sh
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

set -e

# Note above that we run dumb-init as PID 1 in order to reap zombie processes
3 changes: 3 additions & 0 deletions agent/blockingquery/blockingquery.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package blockingquery

import (
3 changes: 3 additions & 0 deletions agent/blockingquery/blockingquery_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package blockingquery

// TODO: move tests from the consul package, rpc_test.go, TestServer_blockingQuery
3 changes: 3 additions & 0 deletions agent/configentry/compare.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package configentry

import (
3 changes: 3 additions & 0 deletions agent/configentry/compare_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package configentry

import (
3 changes: 3 additions & 0 deletions agent/consul/config_cloud.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package consul

type CloudConfig struct {
3 changes: 3 additions & 0 deletions agent/consul/state/catalog_schema.deepcopy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

// generated by deep-copy -pointer-receiver -o ./catalog_schema.deepcopy.go -type upstreamDownstream ./; DO NOT EDIT.

package state
3 changes: 3 additions & 0 deletions agent/consul/state/config_entry_sameness_group.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package state

import (
3 changes: 3 additions & 0 deletions agent/consul/state/deep-copy.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: BUSL-1.1


readonly PACKAGE_DIR="$(dirname "${BASH_SOURCE[0]}")"
cd $PACKAGE_DIR
3 changes: 3 additions & 0 deletions agent/consul/type_registry.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package consul

import (
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package propertyoverride

import (
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package propertyoverride

import (
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package propertyoverride

import (
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package propertyoverride

import (
3 changes: 3 additions & 0 deletions agent/grpc-external/querymeta.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package external

import (
3 changes: 3 additions & 0 deletions agent/grpc-external/querymeta_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package external

import (
3 changes: 3 additions & 0 deletions agent/grpc-external/services/resource/testing/testing.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package testing

import (
3 changes: 3 additions & 0 deletions agent/grpc-internal/resolver/resolver_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package resolver

import (
3 changes: 3 additions & 0 deletions agent/hcp/bootstrap/bootstrap_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package bootstrap

import (
3 changes: 3 additions & 0 deletions agent/hcp/client/client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package client

import (
3 changes: 3 additions & 0 deletions agent/hcp/client/metrics_client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package client

import (
3 changes: 3 additions & 0 deletions agent/hcp/client/metrics_client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package client

import (
3 changes: 3 additions & 0 deletions agent/hcp/client/mock_CloudConfig.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package client

import (
3 changes: 3 additions & 0 deletions agent/hcp/client/telemetry_config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package client

import (
3 changes: 3 additions & 0 deletions agent/hcp/client/telemetry_config_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package client

import (
3 changes: 3 additions & 0 deletions agent/hcp/deps_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package hcp

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/custom_metrics.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

// Keys for custom Go Metrics metrics emitted only for the OTEL
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

// Package telemetry implements functionality to collect, aggregate, convert and export
// telemetry data in OpenTelemetry Protocol (OTLP) format.
//
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/gauge_store.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/gauge_store_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/otel_exporter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/otel_exporter_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/otel_sink.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/otel_sink_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/otlp_transform.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry/otlp_transform_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package telemetry

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry_provider.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package hcp

import (
3 changes: 3 additions & 0 deletions agent/hcp/telemetry_provider_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package hcp

import (
3 changes: 3 additions & 0 deletions agent/leafcert/cached_roots.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/cert.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/generate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/leafcert.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/leafcert_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/roots.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/signer_netrpc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/signer_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/structs.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/structs_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/util.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/util_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/leafcert/watch.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package leafcert

import (
3 changes: 3 additions & 0 deletions agent/proxycfg-glue/health_blocking_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package proxycfgglue

import (
3 changes: 3 additions & 0 deletions build-support/windows/build-consul-dev-image.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: BUSL-1.1


cd ../../
rm -rf dist
Loading