From 5e850fa337cbdbacfdfa6bcfa3d19c6aa1b17959 Mon Sep 17 00:00:00 2001 From: hoangtungdinh <11166240+hoangtungdinh@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:24:48 +0100 Subject: [PATCH 1/3] Update main license file Signed-off-by: hoangtungdinh <11166240+hoangtungdinh@users.noreply.github.com> --- LICENSE | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LICENSE b/LICENSE index a612ad9..ca9b8a0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,9 @@ Mozilla Public License Version 2.0 ================================== +Copyright (C) 2023 CARIAD +Copyright (C) 2024 ASAM e.V. + 1. Definitions -------------- From 0a67cce2219b7a5660912761c85d37220644a388 Mon Sep 17 00:00:00 2001 From: hoangtungdinh <11166240+hoangtungdinh@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:52:32 +0100 Subject: [PATCH 2/3] Add SPDX License Identifier Signed-off-by: hoangtungdinh <11166240+hoangtungdinh@users.noreply.github.com> --- examples/json_validator/json_validator.py | 6 ++++++ examples/report_module_text/report_format_text.py | 1 + qc_baselib/__init__.py | 1 + qc_baselib/configuration.py | 1 + qc_baselib/models/__init__.py | 6 ++++++ qc_baselib/models/common.py | 1 + qc_baselib/models/config.py | 1 + qc_baselib/models/result.py | 1 + qc_baselib/result.py | 1 + tests/__init__.py | 1 + tests/test_configuration.py | 1 + tests/test_models.py | 1 + tests/test_result.py | 6 ++++++ 13 files changed, 28 insertions(+) diff --git a/examples/json_validator/json_validator.py b/examples/json_validator/json_validator.py index 950a105..40dc7bc 100644 --- a/examples/json_validator/json_validator.py +++ b/examples/json_validator/json_validator.py @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: MPL-2.0 +# Copyright 2024, ASAM e.V. +# This Source Code Form is subject to the terms of the Mozilla +# Public License, v. 2.0. If a copy of the MPL was not distributed +# with this file, You can obtain one at https://mozilla.org/MPL/2.0/. + from pathlib import Path import argparse import logging diff --git a/examples/report_module_text/report_format_text.py b/examples/report_module_text/report_format_text.py index 905de5c..079e22b 100644 --- a/examples/report_module_text/report_format_text.py +++ b/examples/report_module_text/report_format_text.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/qc_baselib/__init__.py b/qc_baselib/__init__.py index 05ce5de..031e7c8 100644 --- a/qc_baselib/__init__.py +++ b/qc_baselib/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/qc_baselib/configuration.py b/qc_baselib/configuration.py index 373ef71..2bc9f9c 100644 --- a/qc_baselib/configuration.py +++ b/qc_baselib/configuration.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/qc_baselib/models/__init__.py b/qc_baselib/models/__init__.py index 08cf31d..9f3c2c0 100644 --- a/qc_baselib/models/__init__.py +++ b/qc_baselib/models/__init__.py @@ -1,2 +1,8 @@ +# SPDX-License-Identifier: MPL-2.0 +# Copyright 2024, ASAM e.V. +# This Source Code Form is subject to the terms of the Mozilla +# Public License, v. 2.0. If a copy of the MPL was not distributed +# with this file, You can obtain one at https://mozilla.org/MPL/2.0/. + from .common import IssueSeverity as IssueSeverity from .result import StatusType as StatusType diff --git a/qc_baselib/models/common.py b/qc_baselib/models/common.py index 297dded..e8207f1 100644 --- a/qc_baselib/models/common.py +++ b/qc_baselib/models/common.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/qc_baselib/models/config.py b/qc_baselib/models/config.py index bc60bfc..b14ca17 100644 --- a/qc_baselib/models/config.py +++ b/qc_baselib/models/config.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/qc_baselib/models/result.py b/qc_baselib/models/result.py index 1dff5da..cfd67af 100644 --- a/qc_baselib/models/result.py +++ b/qc_baselib/models/result.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/qc_baselib/result.py b/qc_baselib/result.py index 51a2eca..8e3221d 100644 --- a/qc_baselib/result.py +++ b/qc_baselib/result.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/tests/__init__.py b/tests/__init__.py index 093437a..d230334 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/tests/test_configuration.py b/tests/test_configuration.py index f086c1d..32e49a7 100644 --- a/tests/test_configuration.py +++ b/tests/test_configuration.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/tests/test_models.py b/tests/test_models.py index 8297df3..e03e4fc 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MPL-2.0 # Copyright 2024, ASAM e.V. # This Source Code Form is subject to the terms of the Mozilla # Public License, v. 2.0. If a copy of the MPL was not distributed diff --git a/tests/test_result.py b/tests/test_result.py index 3c15890..6e3c61d 100644 --- a/tests/test_result.py +++ b/tests/test_result.py @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: MPL-2.0 +# Copyright 2024, ASAM e.V. +# This Source Code Form is subject to the terms of the Mozilla +# Public License, v. 2.0. If a copy of the MPL was not distributed +# with this file, You can obtain one at https://mozilla.org/MPL/2.0/. + import os import pytest from lxml import etree From a614abd336651d425b089650ef16be1ad613b594 Mon Sep 17 00:00:00 2001 From: Hoang Tung Dinh Date: Tue, 29 Oct 2024 09:21:37 +0100 Subject: [PATCH 3/3] Update LICENSE Signed-off-by: Hoang Tung Dinh Co-authored-by: Andreas Kern --- LICENSE | 1 - 1 file changed, 1 deletion(-) diff --git a/LICENSE b/LICENSE index ca9b8a0..d42a0d9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,6 @@ Mozilla Public License Version 2.0 ================================== -Copyright (C) 2023 CARIAD Copyright (C) 2024 ASAM e.V. 1. Definitions