From f8aab152490824e517c346b6afff11522b76e4d5 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Wed, 15 Nov 2023 09:00:56 +0800 Subject: [PATCH] fix: fix the license check (#826) Signed-off-by: Patrick Zheng --- internal/trace/context.go | 13 +++++++++++++ internal/trace/context_test.go | 13 +++++++++++++ internal/trace/transport.go | 13 +++++++++++++ internal/trace/transport_test.go | 13 +++++++++++++ test/e2e/internal/utils/exec.go | 13 +++++++++++++ 5 files changed, 65 insertions(+) diff --git a/internal/trace/context.go b/internal/trace/context.go index 50d59a26a..8563d73ee 100644 --- a/internal/trace/context.go +++ b/internal/trace/context.go @@ -1,3 +1,16 @@ +// Copyright The Notary Project Authors. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Copied and adapted from oras (https://github.com/oras-project/oras) /* Copyright The ORAS Authors. diff --git a/internal/trace/context_test.go b/internal/trace/context_test.go index 3d640b968..14e35976d 100644 --- a/internal/trace/context_test.go +++ b/internal/trace/context_test.go @@ -1,3 +1,16 @@ +// Copyright The Notary Project Authors. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Copied and adapted from oras (https://github.com/oras-project/oras) /* Copyright The ORAS Authors. diff --git a/internal/trace/transport.go b/internal/trace/transport.go index ec386bcd7..e75d334d0 100644 --- a/internal/trace/transport.go +++ b/internal/trace/transport.go @@ -1,3 +1,16 @@ +// Copyright The Notary Project Authors. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Copied and adapted from oras (https://github.com/oras-project/oras) /* Copyright The ORAS Authors. diff --git a/internal/trace/transport_test.go b/internal/trace/transport_test.go index 601f93072..58e6dfbc2 100644 --- a/internal/trace/transport_test.go +++ b/internal/trace/transport_test.go @@ -1,3 +1,16 @@ +// Copyright The Notary Project Authors. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Copied and adapted from oras (https://github.com/oras-project/oras) /* Copyright The ORAS Authors. diff --git a/test/e2e/internal/utils/exec.go b/test/e2e/internal/utils/exec.go index df1e2ca94..32307377a 100644 --- a/test/e2e/internal/utils/exec.go +++ b/test/e2e/internal/utils/exec.go @@ -1,3 +1,16 @@ +// Copyright The Notary Project Authors. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // copied and adopted from https://github.com/oras-project/oras with // modification /*