Skip to content

Commit 51684b7

Browse files
PMM-7 Update skywalking eyes, tune license headers (#2492)
* Bump github.com/apache/skywalking-eyes from 0.4.0 to 0.5.0 in /tools Bumps [github.com/apache/skywalking-eyes](https://github.com/apache/skywalking-eyes) from 0.4.0 to 0.5.0. - [Release notes](https://github.com/apache/skywalking-eyes/releases) - [Changelog](https://github.com/apache/skywalking-eyes/blob/main/CHANGES.md) - [Commits](apache/skywalking-eyes@v0.4.0...v0.5.0) --- updated-dependencies: - dependency-name: github.com/apache/skywalking-eyes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Tune .licencerc.yaml, update licence headers * Update copyright year * PMM-7 Fix go.mod * Update .licenserc.yaml * PMM-7 Fix * PMM-7 Fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 744ed52 commit 51684b7

File tree

728 files changed

+814
-817
lines changed

Some content is hidden

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

728 files changed

+814
-817
lines changed

.licenserc.yaml

+11-50
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ header:
22
- paths:
33
- "**/*.go"
44
paths-ignore:
5-
- "**/agent/**"
6-
- "**/admin/**"
5+
- "agent/**"
6+
- "admin/**"
77
- "**/mock_*"
88
- "**/*.pb.go"
99
- "**/*.pb.gw.go"
@@ -12,62 +12,23 @@ header:
1212
- "**/json/client/**"
1313
- "**/amclient/**"
1414
- "**/ammodels/**"
15-
- "qan-api2/migrations/"
15+
- "qan-api2/migrations/**"
1616
- "managed/services/dbaas/kubernetes/client/kubeclient_interface.go"
1717
- "managed/services/dbaas/olm/operator_service_interface.go"
1818
- "managed/services/dbaas/kubernetes/operator_service_interface.go"
1919
license:
20-
spdx-id: AGPL-3.0
21-
content: |
22-
// Copyright (C) 2019 Percona LLC
23-
//
24-
// This program is free software: you can redistribute it and/or modify
25-
// it under the terms of the GNU Affero General Public License as published by
26-
// the Free Software Foundation, either version 3 of the License, or
27-
// (at your option) any later version.
28-
//
29-
// This program is distributed in the hope that it will be useful,
30-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
// GNU Affero General Public License for more details.
33-
//
34-
// You should have received a copy of the GNU Affero General Public License
35-
// along with this program. If not, see <https://www.gnu.org/licenses/>.
20+
spdx-id: AGPL-3.0-or-later
21+
copyright-owner: Percona LLC
22+
copyright-year: 2023
3623

3724
- paths:
38-
- "./agent/**/*.go"
39-
- "./admin/**/.go"
25+
- "agent/**/*.go"
26+
- "admin/**/*.go"
4027
paths-ignore:
4128
- "**/*_reform.go"
4229
- "**/mock_*"
4330
- "**/json/client/**"
4431
license:
45-
content: |
46-
// Copyright (C) 2019 Percona LLC
47-
//
48-
// Licensed under the Apache License, Version 2.0 (the "License");
49-
// you may not use this file except in compliance with the License.
50-
// You may obtain a copy of the License at
51-
//
52-
// http://www.apache.org/licenses/LICENSE-2.0
53-
//
54-
// Unless required by applicable law or agreed to in writing, software
55-
// distributed under the License is distributed on an "AS IS" BASIS,
56-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
57-
// See the License for the specific language governing permissions and
58-
// limitations under the License.
59-
60-
pattern: |
61-
// Copyright \(C\) 20\d{2} Percona LLC
62-
//
63-
// Licensed under the Apache License, Version 2.0 \(the "License"\);
64-
// you may not use this file except in compliance with the License.
65-
// You may obtain a copy of the License at
66-
//
67-
// http://www.apache.org/licenses/LICENSE-2.0
68-
//
69-
// Unless required by applicable law or agreed to in writing, software
70-
// distributed under the License is distributed on an "AS IS" BASIS,
71-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
72-
// See the License for the specific language governing permissions and
73-
// limitations under the License.
32+
spdx-id: Apache-2.0
33+
copyright-owner: Percona LLC
34+
copyright-year: 2023

admin/agentlocal/agentlocal.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/cli/cli.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/cli/flags/global.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/cmd/bootstrap.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/cmd/pmm-admin/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/cmd/pmm-admin/main_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/cmd/pmm/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/annotation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/base.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/base/setup.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/base_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/completion.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_external_exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_mongodb_exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_mysqld_exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_mysqld_exporter_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_node_exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_pmm_agent.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_postgres_exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_postgres_exporter_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_proxysql_exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_qan_mongodb_profiler_agent.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_qan_mysql_perfschema_agent.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_qan_mysql_slowlog_agent.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_qan_postgres_pgstatements_agent.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_qan_postgres_pgstatmonitor_agent.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_agent_rds_exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_node_container.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_node_generic.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_node_remote.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_node_remote_rds.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_node_remote_rds_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_external.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_external_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_haproxy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_haproxy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_mongodb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_mongodb_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_mysql.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_mysql_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_postgres_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_postgresql.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_proxysql.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/add_service_proxysql_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/inventory.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/list_agents.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/list_nodes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/list_services.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/remove_agent.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

admin/commands/inventory/remove_node.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Percona LLC
1+
// Copyright (C) 2023 Percona LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)