Skip to content

Commit 7dea232

Browse files
authored
[chore] Simplify the license header (open-telemetry#4987)
1 parent 1d1ecbc commit 7dea232

File tree

760 files changed

+764
-9130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

760 files changed

+764
-9130
lines changed

Diff for: .github/workflows/scripts/dependabot-pr.sh

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
#!/bin/zsh -ex
22

33
# Copyright The OpenTelemetry Authors
4-
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
4+
# SPDX-License-Identifier: Apache-2.0
165

176
git config user.name opentelemetrybot
187
git config user.email [email protected]

Diff for: Makefile

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
# Copyright The OpenTelemetry Authors
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
2+
# SPDX-License-Identifier: Apache-2.0
143

154
TOOLS_MOD_DIR := ./internal/tools
165

Diff for: attribute/benchmark_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute_test
165

Diff for: attribute/doc.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
// Package attribute provides key and value attributes.
165
package attribute // import "go.opentelemetry.io/otel/attribute"

Diff for: attribute/encoder.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute // import "go.opentelemetry.io/otel/attribute"
165

Diff for: attribute/filter.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute // import "go.opentelemetry.io/otel/attribute"
165

Diff for: attribute/filter_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute
165

Diff for: attribute/iterator.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute // import "go.opentelemetry.io/otel/attribute"
165

Diff for: attribute/iterator_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute_test
165

Diff for: attribute/key.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute // import "go.opentelemetry.io/otel/attribute"
165

Diff for: attribute/key_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute_test
165

Diff for: attribute/kv.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute // import "go.opentelemetry.io/otel/attribute"
165

Diff for: attribute/kv_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute_test
165

Diff for: attribute/set.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute // import "go.opentelemetry.io/otel/attribute"
165

Diff for: attribute/set_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute_test
165

Diff for: attribute/value.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute // import "go.opentelemetry.io/otel/attribute"
165

Diff for: attribute/value_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package attribute_test
165

Diff for: baggage/baggage.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package baggage // import "go.opentelemetry.io/otel/baggage"
165

Diff for: baggage/baggage_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package baggage
165

Diff for: baggage/context.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package baggage // import "go.opentelemetry.io/otel/baggage"
165

Diff for: baggage/context_test.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
package baggage
165

Diff for: baggage/doc.go

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
// Copyright The OpenTelemetry Authors
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
2+
// SPDX-License-Identifier: Apache-2.0
143

154
/*
165
Package baggage provides functionality for storing and retrieving

0 commit comments

Comments
 (0)