Skip to content

Commit

Permalink
Make proto-public license MPL (#18531)
Browse files Browse the repository at this point in the history
* Make proto-public license MPL

* Add proto-public dir to exclusion list in .copywrite.hcl
  • Loading branch information
analogue authored Aug 21, 2023
1 parent eab88bf commit e5842cd
Show file tree
Hide file tree
Showing 92 changed files with 457 additions and 90 deletions.
2 changes: 2 additions & 0 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ project {
"agent/proxycfg/proxycfg.deepcopy.go",
"agent/grpc-middleware/rate_limit_mappings.gen.go",
"agent/uiserver/dist/**",

# licensed under MPL - ignoring for now until the copywrite tool can support
# multiple licenses per repo.
"sdk/**",
"api/**",
"proto-public/**",
]
}
365 changes: 365 additions & 0 deletions proto-public/LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion proto-public/annotations/ratelimit/ratelimit.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/annotations/ratelimit/ratelimit.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
# SPDX-License-Identifier: MPL-2.0

version: v1
managed:
Expand Down
2 changes: 1 addition & 1 deletion proto-public/buf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
# SPDX-License-Identifier: MPL-2.0

version: v1
name: buf.build/hashicorp/consul
Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbacl/acl.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbacl/acl.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/dns.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/dns.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/failover_policy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/failover_policy.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/failover_policy_extras.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

package catalogv1alpha1

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

package catalogv1alpha1

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/health.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/health.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/node.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/node.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/protocol.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/protocol.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/selector.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/selector.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/service.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/service_endpoints.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/service_endpoints.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/vip.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/vip.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/workload.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbcatalog/v1alpha1/workload.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbconnectca/ca.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbconnectca/ca.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbdataplane/dataplane.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbdataplane/dataplane.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

// Package dataplane provides a service on Consul servers for the Consul Dataplane

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbdns/dns.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbdns/dns.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/common.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/computed_routes.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/computed_routes.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/connection.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/connection.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/destination_policy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/destination_policy.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/expose.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/expose.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/grpc_route.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/grpc_route.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/http_route.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/http_route.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/http_route_retries.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/http_route_retries.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/http_route_timeouts.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/http_route_timeouts.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: MPL-2.0

syntax = "proto3";

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

syntax = "proto3";

Expand Down
2 changes: 1 addition & 1 deletion proto-public/pbmesh/v1alpha1/pbproxystate/address.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e5842cd

Please sign in to comment.