From 4acf32d3ddf3e42c83cf1e666f186ae82e106208 Mon Sep 17 00:00:00 2001 From: sebthom Date: Sun, 15 Oct 2023 18:00:45 +0200 Subject: [PATCH] update copyright notice --- .github/workflows/build.yml | 3 ++- .github/workflows/update-python-deps.yml | 5 +++-- docker/build-image.sh | 5 ++--- docker/image/Dockerfile | 3 ++- docker/image/run.sh | 5 ++--- kleinanzeigen_bot/__init__.py | 3 ++- kleinanzeigen_bot/__main__.py | 3 ++- kleinanzeigen_bot/extract.py | 3 ++- kleinanzeigen_bot/selenium_mixin.py | 3 ++- kleinanzeigen_bot/utils.py | 3 ++- pyinstaller.spec | 3 ++- pyproject.toml | 6 ++++++ tests/__init__.py | 3 ++- tests/test_selenium_mixin.py | 3 ++- tests/test_utils.py | 3 ++- 15 files changed, 35 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4fa2e4..9ff3446 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,6 @@ -# Copyright (C) 2022 Sebastian Thomschke and contributors +# SPDX-FileCopyrightText: © Sebastian Thomschke and contributors # SPDX-License-Identifier: AGPL-3.0-or-later +# SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ # # https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions name: Build diff --git a/.github/workflows/update-python-deps.yml b/.github/workflows/update-python-deps.yml index d15107b..893096f 100644 --- a/.github/workflows/update-python-deps.yml +++ b/.github/workflows/update-python-deps.yml @@ -1,7 +1,8 @@ -# Copyright (C) 2022 Sebastian Thomschke and contributors +# SPDX-FileCopyrightText: © Sebastian Thomschke and contributors # SPDX-License-Identifier: AGPL-3.0-or-later +# SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ # -# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions name: Update Python Dependencies on: diff --git a/docker/build-image.sh b/docker/build-image.sh index 43d5105..56fed6b 100644 --- a/docker/build-image.sh +++ b/docker/build-image.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash -# -# Copyright (C) 2022 Sebastian Thomschke and contributors +# SPDX-FileCopyrightText: © Sebastian Thomschke and contributors # SPDX-License-Identifier: AGPL-3.0-or-later -# +# SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ set -eu diff --git a/docker/image/Dockerfile b/docker/image/Dockerfile index a493384..9548cc6 100644 --- a/docker/image/Dockerfile +++ b/docker/image/Dockerfile @@ -3,8 +3,9 @@ # see https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/reference.md#syntax # see https://docs.docker.com/engine/reference/builder/#syntax # -# Copyright (C) 2022 Sebastian Thomschke and contributors +# SPDX-FileCopyrightText: © Sebastian Thomschke and contributors # SPDX-License-Identifier: AGPL-3.0-or-later +# SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ # ###################### diff --git a/docker/image/run.sh b/docker/image/run.sh index bf23438..f5385f7 100644 --- a/docker/image/run.sh +++ b/docker/image/run.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash -# -# Copyright (C) 2022 Sebastian Thomschke and contributors +# SPDX-FileCopyrightText: © Sebastian Thomschke and contributors # SPDX-License-Identifier: AGPL-3.0-or-later -# +# SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ set -e -u diff --git a/kleinanzeigen_bot/__init__.py b/kleinanzeigen_bot/__init__.py index 80e0e87..9fc7d4f 100644 --- a/kleinanzeigen_bot/__init__.py +++ b/kleinanzeigen_bot/__init__.py @@ -1,6 +1,7 @@ """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ """ import atexit, copy, getopt, importlib.metadata, json, logging, os, re, signal, shutil, sys, textwrap, time, urllib from collections.abc import Iterable diff --git a/kleinanzeigen_bot/__main__.py b/kleinanzeigen_bot/__main__.py index b756170..68d54fe 100644 --- a/kleinanzeigen_bot/__main__.py +++ b/kleinanzeigen_bot/__main__.py @@ -1,6 +1,7 @@ """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ """ import sys import kleinanzeigen_bot diff --git a/kleinanzeigen_bot/extract.py b/kleinanzeigen_bot/extract.py index 1c40422..24b50ae 100644 --- a/kleinanzeigen_bot/extract.py +++ b/kleinanzeigen_bot/extract.py @@ -1,6 +1,7 @@ """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ """ import json from decimal import DecimalException diff --git a/kleinanzeigen_bot/selenium_mixin.py b/kleinanzeigen_bot/selenium_mixin.py index 0422aca..fb533d8 100644 --- a/kleinanzeigen_bot/selenium_mixin.py +++ b/kleinanzeigen_bot/selenium_mixin.py @@ -1,6 +1,7 @@ """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ """ import logging, os, shutil, time from collections.abc import Callable, Iterable diff --git a/kleinanzeigen_bot/utils.py b/kleinanzeigen_bot/utils.py index d5c5a90..cef0df8 100644 --- a/kleinanzeigen_bot/utils.py +++ b/kleinanzeigen_bot/utils.py @@ -1,6 +1,7 @@ """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ """ import copy, decimal, json, logging, os, re, secrets, sys, traceback, time from importlib.resources import read_text as get_resource_as_string diff --git a/pyinstaller.spec b/pyinstaller.spec index eff011e..104d376 100644 --- a/pyinstaller.spec +++ b/pyinstaller.spec @@ -1,7 +1,8 @@ # -*- mode: python ; coding: utf-8 -*- """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ PyInstaller config file, see https://pyinstaller.readthedocs.io/en/stable/spec-files.html """ diff --git a/pyproject.toml b/pyproject.toml index c93f4a3..21c63ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,10 @@ # https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/ +# +# SPDX-FileCopyrightText: © Sebastian Thomschke and contributors +# SPDX-License-Identifier: AGPL-3.0-or-later +# SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ +# + [build-system] requires = ["pdm-pep517"] build-backend = "pdm.pep517.api" diff --git a/tests/__init__.py b/tests/__init__.py index 2ad9e25..4f752ed 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,6 +1,7 @@ """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ """ import logging from typing import Final diff --git a/tests/test_selenium_mixin.py b/tests/test_selenium_mixin.py index 048f76a..7ca7bc2 100644 --- a/tests/test_selenium_mixin.py +++ b/tests/test_selenium_mixin.py @@ -1,6 +1,7 @@ """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ """ import pytest diff --git a/tests/test_utils.py b/tests/test_utils.py index fa0c13f..e6c943e 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,6 +1,7 @@ """ -Copyright (C) 2022 Sebastian Thomschke and contributors +SPDX-FileCopyrightText: © Sebastian Thomschke and contributors SPDX-License-Identifier: AGPL-3.0-or-later +SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/ """ import os, sys, time import pytest