From 5ba9ae26179074d8d52d836e51d3886cccc00f42 Mon Sep 17 00:00:00 2001 From: Antonia Trifonova Date: Fri, 9 Sep 2022 12:48:25 +0300 Subject: [PATCH] Update all copyright headers in the source files (#55) [#52] Apply the new Eclipse Kanto project license scheme Signed-off-by: Trifonova Antonia --- client/duration.go | 5 +++-- client/edge.go | 5 +++-- client/fileupload.go | 5 +++-- client/fileupload_test.go | 5 +++-- client/mode.go | 5 +++-- client/ring_buffer.go | 5 +++-- client/ring_buffer_test.go | 5 +++-- client/status_events.go | 5 +++-- client/status_events_test.go | 5 +++-- client/timer.go | 5 +++-- client/timer_test.go | 5 +++-- client/uploadable.go | 5 +++-- client/uploads.go | 5 +++-- client/uploads_azure_test.go | 5 +++-- client/uploads_test.go | 5 +++-- client/xtime.go | 5 +++-- flagparse/flags.go | 5 +++-- flagparse/flags_test.go | 5 +++-- flagparsetest/flags_testutil.go | 5 +++-- logger/logger.go | 5 +++-- logger/logger_test.go | 5 +++-- main.go | 5 +++-- uploaders/aws.go | 5 +++-- uploaders/aws_test.go | 5 +++-- uploaders/azure.go | 5 +++-- uploaders/azure_sas_test_util.go | 5 +++-- uploaders/azure_test.go | 5 +++-- uploaders/common.go | 5 +++-- uploaders/common_test.go | 5 +++-- 29 files changed, 87 insertions(+), 58 deletions(-) diff --git a/client/duration.go b/client/duration.go index 246e9c7..8ce6f32 100644 --- a/client/duration.go +++ b/client/duration.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/edge.go b/client/edge.go index f65c567..11b9878 100644 --- a/client/edge.go +++ b/client/edge.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/fileupload.go b/client/fileupload.go index 3aa65ca..5c04f51 100644 --- a/client/fileupload.go +++ b/client/fileupload.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/fileupload_test.go b/client/fileupload_test.go index 217d335..8a92853 100644 --- a/client/fileupload_test.go +++ b/client/fileupload_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/mode.go b/client/mode.go index 140368c..46c4a9d 100644 --- a/client/mode.go +++ b/client/mode.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/ring_buffer.go b/client/ring_buffer.go index 1668434..58247d2 100644 --- a/client/ring_buffer.go +++ b/client/ring_buffer.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/ring_buffer_test.go b/client/ring_buffer_test.go index 25dac13..fc4c2f0 100644 --- a/client/ring_buffer_test.go +++ b/client/ring_buffer_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/status_events.go b/client/status_events.go index db920a3..8e99b2e 100644 --- a/client/status_events.go +++ b/client/status_events.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/status_events_test.go b/client/status_events_test.go index 1ceaf6a..f0594f0 100644 --- a/client/status_events_test.go +++ b/client/status_events_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/timer.go b/client/timer.go index d682e5f..de77357 100644 --- a/client/timer.go +++ b/client/timer.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/timer_test.go b/client/timer_test.go index 292b48f..cd8410f 100644 --- a/client/timer_test.go +++ b/client/timer_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/uploadable.go b/client/uploadable.go index 652424a..0d65cef 100644 --- a/client/uploadable.go +++ b/client/uploadable.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/uploads.go b/client/uploads.go index 557f184..f362292 100644 --- a/client/uploads.go +++ b/client/uploads.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/uploads_azure_test.go b/client/uploads_azure_test.go index cb27a8f..53f8308 100644 --- a/client/uploads_azure_test.go +++ b/client/uploads_azure_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/uploads_test.go b/client/uploads_test.go index 49011bb..44ec633 100644 --- a/client/uploads_test.go +++ b/client/uploads_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/client/xtime.go b/client/xtime.go index 8e8fd52..bff16c2 100644 --- a/client/xtime.go +++ b/client/xtime.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package client diff --git a/flagparse/flags.go b/flagparse/flags.go index e5cacaa..229b8b3 100644 --- a/flagparse/flags.go +++ b/flagparse/flags.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package flags diff --git a/flagparse/flags_test.go b/flagparse/flags_test.go index 063c7b1..df3f7f5 100644 --- a/flagparse/flags_test.go +++ b/flagparse/flags_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package flags_test diff --git a/flagparsetest/flags_testutil.go b/flagparsetest/flags_testutil.go index 4137749..dff0584 100644 --- a/flagparsetest/flags_testutil.go +++ b/flagparsetest/flags_testutil.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package flagstestutil diff --git a/logger/logger.go b/logger/logger.go index 455b7f1..0043415 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package logger diff --git a/logger/logger_test.go b/logger/logger_test.go index bc6782a..9cd94ef 100644 --- a/logger/logger_test.go +++ b/logger/logger_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package logger diff --git a/main.go b/main.go index 0f57310..5d3b33f 100644 --- a/main.go +++ b/main.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package main diff --git a/uploaders/aws.go b/uploaders/aws.go index 7e459b6..d9a84f3 100644 --- a/uploaders/aws.go +++ b/uploaders/aws.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package uploaders diff --git a/uploaders/aws_test.go b/uploaders/aws_test.go index 154a434..d482f36 100644 --- a/uploaders/aws_test.go +++ b/uploaders/aws_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package uploaders diff --git a/uploaders/azure.go b/uploaders/azure.go index 1a0f9d1..b4e14df 100644 --- a/uploaders/azure.go +++ b/uploaders/azure.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package uploaders diff --git a/uploaders/azure_sas_test_util.go b/uploaders/azure_sas_test_util.go index 7bb6e2c..34f40b7 100644 --- a/uploaders/azure_sas_test_util.go +++ b/uploaders/azure_sas_test_util.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package uploaders diff --git a/uploaders/azure_test.go b/uploaders/azure_test.go index 9e8906c..dcd90e2 100644 --- a/uploaders/azure_test.go +++ b/uploaders/azure_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package uploaders diff --git a/uploaders/common.go b/uploaders/common.go index f5bf68a..65f91b9 100644 --- a/uploaders/common.go +++ b/uploaders/common.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package uploaders diff --git a/uploaders/common_test.go b/uploaders/common_test.go index bdce1cc..e86a5ea 100644 --- a/uploaders/common_test.go +++ b/uploaders/common_test.go @@ -5,9 +5,10 @@ // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at -// http://www.eclipse.org/legal/epl-2.0 +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. // -// SPDX-License-Identifier: EPL-2.0 +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 package uploaders