From 12df21e403afffddcaef4ac7a7aca415e9d8b259 Mon Sep 17 00:00:00 2001 From: "chen, suyue" Date: Fri, 10 May 2024 11:19:56 +0800 Subject: [PATCH] update license template (#37) Signed-off-by: chensuyue Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/license_template.txt | 15 ++------------- .github/workflows/code-scan.yml | 15 ++------------- .github/workflows/embeddings-comp-test.yml | 15 ++------------- .github/workflows/llms-comp-test.yml | 15 ++------------- .github/workflows/mega-test.yaml | 15 ++------------- .github/workflows/trellix.yml | 15 ++------------- comps/vectorstores/langchain/qdrant/__init__.py | 15 ++------------- setup.py | 15 ++------------- 8 files changed, 16 insertions(+), 104 deletions(-) diff --git a/.github/license_template.txt b/.github/license_template.txt index 498754910..b43bb9dc8 100644 --- a/.github/license_template.txt +++ b/.github/license_template.txt @@ -1,13 +1,2 @@ -Copyright (c) 2024 Intel Corporation - -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. \ No newline at end of file +Copyright (C) 2024 Intel Corporation +SPDX-License-Identifier: Apache-2.0 \ No newline at end of file diff --git a/.github/workflows/code-scan.yml b/.github/workflows/code-scan.yml index 07c8b737d..6d37fe43b 100644 --- a/.github/workflows/code-scan.yml +++ b/.github/workflows/code-scan.yml @@ -1,16 +1,5 @@ -# Copyright (c) 2024 Intel Corporation -# -# 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. +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 name: Code Scan diff --git a/.github/workflows/embeddings-comp-test.yml b/.github/workflows/embeddings-comp-test.yml index 4f46e27a9..05d0cf2ee 100644 --- a/.github/workflows/embeddings-comp-test.yml +++ b/.github/workflows/embeddings-comp-test.yml @@ -1,16 +1,5 @@ -# Copyright (c) 2024 Intel Corporation -# -# 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. +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 name: EmbeddingsMicroService-test diff --git a/.github/workflows/llms-comp-test.yml b/.github/workflows/llms-comp-test.yml index a49a0a685..67369707a 100644 --- a/.github/workflows/llms-comp-test.yml +++ b/.github/workflows/llms-comp-test.yml @@ -1,16 +1,5 @@ -# Copyright (c) 2024 Intel Corporation -# -# 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. +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 name: LLMsMicroService-test diff --git a/.github/workflows/mega-test.yaml b/.github/workflows/mega-test.yaml index c0e40f66c..f486187d9 100644 --- a/.github/workflows/mega-test.yaml +++ b/.github/workflows/mega-test.yaml @@ -1,16 +1,5 @@ -# Copyright (c) 2024 Intel Corporation -# -# 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. +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 name: MegaService-test diff --git a/.github/workflows/trellix.yml b/.github/workflows/trellix.yml index ddc848079..8779f3b9a 100644 --- a/.github/workflows/trellix.yml +++ b/.github/workflows/trellix.yml @@ -1,16 +1,5 @@ -# Copyright (c) 2024 Intel Corporation -# -# 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. +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 name: Trellix Command Line Scanner diff --git a/comps/vectorstores/langchain/qdrant/__init__.py b/comps/vectorstores/langchain/qdrant/__init__.py index 28f108cb6..916f3a44b 100644 --- a/comps/vectorstores/langchain/qdrant/__init__.py +++ b/comps/vectorstores/langchain/qdrant/__init__.py @@ -1,13 +1,2 @@ -# Copyright (c) 2024 Intel Corporation -# -# 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. +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 diff --git a/setup.py b/setup.py index aede967fe..4983183d4 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,5 @@ -# Copyright (c) 2024 Intel Corporation -# -# 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. +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 import re import subprocess