Skip to content

Commit c68c559

Browse files
committed
license: change many BSL go file headers to use the CSL
Change the file headers for the remainder of the go files licensed only under the BSL license to use the CockroachDB Software License (CSL) instead. Part of RE-658 Release note (general change): Change the license cockroach is distributed under to the new CockroachDB Software License (CSL).
1 parent 6121b09 commit c68c559

File tree

1,936 files changed

+3872
-13552
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,936 files changed

+3872
-13552
lines changed

build/bazelutil/whereis/main.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2022 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105
package main
116

127
import (

pkg/acceptance/adapter_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package acceptance
127

pkg/acceptance/cli_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2023 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package acceptance
127

pkg/acceptance/cluster/certs.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2018 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package cluster
127

pkg/acceptance/cluster/cluster.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package cluster
127

pkg/acceptance/cluster/docker.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package cluster
127

pkg/acceptance/cluster/dockercluster.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package cluster
127

pkg/acceptance/cluster/http.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package cluster
127

pkg/acceptance/cluster/testconfig.proto

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2016 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
syntax = "proto2";
127
package cockroach.acceptance.cluster;

pkg/acceptance/compose/gss/psql/empty.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package gss
127

pkg/acceptance/compose/gss/psql/gss_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
// "make test" would normally test this file, but it should only be tested
127
// within docker compose. We also can't use just "gss" here because that

pkg/acceptance/compose_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package acceptance
127

pkg/acceptance/debug_remote_test.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package acceptance
127

pkg/acceptance/flags.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package acceptance
127

pkg/acceptance/localcluster/cluster.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2016 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package localcluster
127

pkg/acceptance/localcluster/localcluster.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package localcluster
127

pkg/acceptance/localcluster/tc/tc.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2017 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
// Package tc contains utility methods for using the Linux tc (traffic control)
127
// command to mess with the network links between cockroach nodes running on

pkg/acceptance/test_acceptance.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package acceptance
127

pkg/acceptance/testdata/node/base-test.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
const fs = require('fs');
127
const assert = require('assert');

pkg/acceptance/testdata/node/client.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
const pg = require('pg');
127
const fs = require('fs');

pkg/acceptance/testdata/node/json-test.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
const assert = require('assert');
127
const client = require('./client');

pkg/acceptance/testdata/node/rejects-with-pg-error.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
const assert = require('assert');
127
const errorCodes = require('pg-error-codes');

pkg/acceptance/testdata/node/sequelize-test.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2019 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
const assert = require('assert');
127
const fs = require('fs');

pkg/acceptance/util_cluster.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package acceptance
127

pkg/acceptance/util_docker.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2015 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package acceptance
127

pkg/base/addr_validation.go

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
// Copyright 2018 The Cockroach Authors.
22
//
3-
// Use of this software is governed by the Business Source License
4-
// included in the file licenses/BSL.txt.
5-
//
6-
// As of the Change Date specified in that file, in accordance with
7-
// the Business Source License, use of this software will be governed
8-
// by the Apache License, Version 2.0, included in the file
9-
// licenses/APL.txt.
3+
// Use of this software is governed by the CockroachDB Software License
4+
// included in the /LICENSE file.
105

116
package base
127

0 commit comments

Comments
 (0)