From b34f699adbbb4190c2afebcbe114cd6e1b37ea98 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Fri, 8 Mar 2024 12:19:12 +0200 Subject: [PATCH] Add SPDX license identifiers to each source file Signed-off-by: Povilas Kanapickas --- podman_compose.py | 1 + pytests/test_can_merge_build.py | 2 ++ pytests/test_can_merge_cmd_ent.py | 2 ++ pytests/test_normalize_final_build.py | 1 + pytests/test_volumes.py | 1 + setup.py | 2 ++ tests/test_podman_compose.py | 2 ++ tests/test_podman_compose_config.py | 2 ++ tests/test_podman_compose_include.py | 2 ++ tests/test_podman_compose_tests.py | 2 ++ tests/test_podman_compose_up_down.py | 2 ++ 11 files changed, 19 insertions(+) diff --git a/podman_compose.py b/podman_compose.py index 956148e8..e41008a8 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- +# SPDX-License-Identifier: GPL-2.0 # https://docs.docker.com/compose/compose-file/#service-configuration-reference # https://docs.docker.com/samples/ # https://docs.docker.com/compose/gettingstarted/ diff --git a/pytests/test_can_merge_build.py b/pytests/test_can_merge_build.py index 600dc427..86a019bb 100644 --- a/pytests/test_can_merge_build.py +++ b/pytests/test_can_merge_build.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + import copy import os import argparse diff --git a/pytests/test_can_merge_cmd_ent.py b/pytests/test_can_merge_cmd_ent.py index 6080945f..2a3295de 100644 --- a/pytests/test_can_merge_cmd_ent.py +++ b/pytests/test_can_merge_cmd_ent.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + import copy import os import argparse diff --git a/pytests/test_normalize_final_build.py b/pytests/test_normalize_final_build.py index 4f0db343..6915bbe3 100644 --- a/pytests/test_normalize_final_build.py +++ b/pytests/test_normalize_final_build.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # pylint: disable=protected-access import argparse diff --git a/pytests/test_volumes.py b/pytests/test_volumes.py index 81079239..4c6a366d 100644 --- a/pytests/test_volumes.py +++ b/pytests/test_volumes.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # pylint: disable=redefined-outer-name import unittest diff --git a/setup.py b/setup.py index f350a03b..56082e0d 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + import os from setuptools import setup diff --git a/tests/test_podman_compose.py b/tests/test_podman_compose.py index ed4dcacf..e5718051 100644 --- a/tests/test_podman_compose.py +++ b/tests/test_podman_compose.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + from pathlib import Path import subprocess import os diff --git a/tests/test_podman_compose_config.py b/tests/test_podman_compose_config.py index d04899bb..dfeddce9 100644 --- a/tests/test_podman_compose_config.py +++ b/tests/test_podman_compose_config.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + """ test_podman_compose_config.py diff --git a/tests/test_podman_compose_include.py b/tests/test_podman_compose_include.py index b40e5ab3..c09df321 100644 --- a/tests/test_podman_compose_include.py +++ b/tests/test_podman_compose_include.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + from pathlib import Path import subprocess import unittest diff --git a/tests/test_podman_compose_tests.py b/tests/test_podman_compose_tests.py index 2a09a75d..575c90ab 100644 --- a/tests/test_podman_compose_tests.py +++ b/tests/test_podman_compose_tests.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + """ test_podman_compose_up_down.py diff --git a/tests/test_podman_compose_up_down.py b/tests/test_podman_compose_up_down.py index 46091963..4e7bba79 100644 --- a/tests/test_podman_compose_up_down.py +++ b/tests/test_podman_compose_up_down.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + """ test_podman_compose_up_down.py