From 9d7a6d8ea44e5ae1f9b52fda943832136f19f858 Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Sat, 17 Jun 2023 16:27:10 +0200 Subject: [PATCH] Add copyright headers --- src/importer/importer.py | 20 ++++++++++++++++++++ src/importer/sources/bottles_source.py | 20 ++++++++++++++++++++ src/importer/sources/heroic_source.py | 20 ++++++++++++++++++++ src/importer/sources/itch_source.py | 20 ++++++++++++++++++++ src/importer/sources/legendary_source.py | 19 +++++++++++++++++++ src/importer/sources/lutris_source.py | 20 ++++++++++++++++++++ src/importer/sources/source.py | 19 +++++++++++++++++++ src/importer/sources/steam_source.py | 20 ++++++++++++++++++++ src/logging/color_log_formatter.py | 19 +++++++++++++++++++ src/logging/session_file_handler.py | 19 +++++++++++++++++++ src/logging/setup.py | 19 +++++++++++++++++++ src/store/managers/async_manager.py | 19 +++++++++++++++++++ src/store/managers/display_manager.py | 19 +++++++++++++++++++ src/store/managers/file_manager.py | 19 +++++++++++++++++++ src/store/managers/local_cover_manager.py | 19 +++++++++++++++++++ src/store/managers/manager.py | 19 +++++++++++++++++++ src/store/managers/online_cover_manager.py | 19 +++++++++++++++++++ src/store/managers/sgdb_manager.py | 19 +++++++++++++++++++ src/store/managers/steam_api_manager.py | 19 +++++++++++++++++++ src/store/pipeline.py | 19 +++++++++++++++++++ src/store/store.py | 19 +++++++++++++++++++ src/utils/decorators.py | 21 ++++++++++++++++++++- src/utils/rate_limiter.py | 19 +++++++++++++++++++ src/utils/sqlite.py | 20 ++++++++++++++++++++ src/utils/steam.py | 20 ++++++++++++++++++++ src/utils/steamgriddb.py | 20 ++++++++++++++++++++ src/utils/task.py | 19 +++++++++++++++++++ 27 files changed, 523 insertions(+), 1 deletion(-) diff --git a/src/importer/importer.py b/src/importer/importer.py index adfc23b..fa15ff6 100644 --- a/src/importer/importer.py +++ b/src/importer/importer.py @@ -1,3 +1,23 @@ +# importer.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import logging from gi.repository import Adw, Gtk, GLib diff --git a/src/importer/sources/bottles_source.py b/src/importer/sources/bottles_source.py index 5ce598d..410ed3e 100644 --- a/src/importer/sources/bottles_source.py +++ b/src/importer/sources/bottles_source.py @@ -1,3 +1,23 @@ +# bottles_source.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from pathlib import Path from time import time diff --git a/src/importer/sources/heroic_source.py b/src/importer/sources/heroic_source.py index adcf34d..cfbf09c 100644 --- a/src/importer/sources/heroic_source.py +++ b/src/importer/sources/heroic_source.py @@ -1,3 +1,23 @@ +# heroic_source.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import json import logging from hashlib import sha256 diff --git a/src/importer/sources/itch_source.py b/src/importer/sources/itch_source.py index 43e546c..098ca87 100644 --- a/src/importer/sources/itch_source.py +++ b/src/importer/sources/itch_source.py @@ -1,3 +1,23 @@ +# itch_source.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from pathlib import Path from shutil import rmtree from sqlite3 import connect diff --git a/src/importer/sources/legendary_source.py b/src/importer/sources/legendary_source.py index 87f1f05..08c3446 100644 --- a/src/importer/sources/legendary_source.py +++ b/src/importer/sources/legendary_source.py @@ -1,3 +1,22 @@ +# legendary_source.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import json import logging from json import JSONDecodeError diff --git a/src/importer/sources/lutris_source.py b/src/importer/sources/lutris_source.py index 0da9b87..4d191d5 100644 --- a/src/importer/sources/lutris_source.py +++ b/src/importer/sources/lutris_source.py @@ -1,3 +1,23 @@ +# lutris_source.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from shutil import rmtree from sqlite3 import connect from time import time diff --git a/src/importer/sources/source.py b/src/importer/sources/source.py index 73b3874..c0c6d6d 100644 --- a/src/importer/sources/source.py +++ b/src/importer/sources/source.py @@ -1,3 +1,22 @@ +# source.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import sys from abc import abstractmethod from collections.abc import Iterable, Iterator diff --git a/src/importer/sources/steam_source.py b/src/importer/sources/steam_source.py index c275dc7..97d9aac 100644 --- a/src/importer/sources/steam_source.py +++ b/src/importer/sources/steam_source.py @@ -1,3 +1,23 @@ +# steam_source.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import re from pathlib import Path from time import time diff --git a/src/logging/color_log_formatter.py b/src/logging/color_log_formatter.py index 54a873b..53fe261 100644 --- a/src/logging/color_log_formatter.py +++ b/src/logging/color_log_formatter.py @@ -1,3 +1,22 @@ +# color_log_formatter.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from logging import Formatter, LogRecord diff --git a/src/logging/session_file_handler.py b/src/logging/session_file_handler.py index 03bf174..156be71 100644 --- a/src/logging/session_file_handler.py +++ b/src/logging/session_file_handler.py @@ -1,3 +1,22 @@ +# session_file_handler.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import lzma from io import StringIO from logging import StreamHandler diff --git a/src/logging/setup.py b/src/logging/setup.py index 73df738..122681c 100644 --- a/src/logging/setup.py +++ b/src/logging/setup.py @@ -1,3 +1,22 @@ +# setup.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import logging import logging.config as logging_dot_config import os diff --git a/src/store/managers/async_manager.py b/src/store/managers/async_manager.py index 373d51f..153ce82 100644 --- a/src/store/managers/async_manager.py +++ b/src/store/managers/async_manager.py @@ -1,3 +1,22 @@ +# async_manager.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from typing import Callable, Any from gi.repository import Gio diff --git a/src/store/managers/display_manager.py b/src/store/managers/display_manager.py index 847bdfb..f6f1749 100644 --- a/src/store/managers/display_manager.py +++ b/src/store/managers/display_manager.py @@ -1,3 +1,22 @@ +# display_manager.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from src import shared # pylint: disable=no-name-in-module from src.game import Game from src.game_cover import GameCover diff --git a/src/store/managers/file_manager.py b/src/store/managers/file_manager.py index 13d492f..80d448a 100644 --- a/src/store/managers/file_manager.py +++ b/src/store/managers/file_manager.py @@ -1,3 +1,22 @@ +# file_manager.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import json from src import shared # pylint: disable=no-name-in-module diff --git a/src/store/managers/local_cover_manager.py b/src/store/managers/local_cover_manager.py index eba3abc..9aa8703 100644 --- a/src/store/managers/local_cover_manager.py +++ b/src/store/managers/local_cover_manager.py @@ -1,3 +1,22 @@ +# local_cover_manager.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from pathlib import Path from src.game import Game diff --git a/src/store/managers/manager.py b/src/store/managers/manager.py index 1124d55..c6b8ea9 100644 --- a/src/store/managers/manager.py +++ b/src/store/managers/manager.py @@ -1,3 +1,22 @@ +# manager.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import logging from abc import abstractmethod from threading import Lock diff --git a/src/store/managers/online_cover_manager.py b/src/store/managers/online_cover_manager.py index fa82d06..7398169 100644 --- a/src/store/managers/online_cover_manager.py +++ b/src/store/managers/online_cover_manager.py @@ -1,3 +1,22 @@ +# online_cover_manager.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import logging from pathlib import Path diff --git a/src/store/managers/sgdb_manager.py b/src/store/managers/sgdb_manager.py index a3a5811..ac59592 100644 --- a/src/store/managers/sgdb_manager.py +++ b/src/store/managers/sgdb_manager.py @@ -1,3 +1,22 @@ +# sgdb_manager.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from json import JSONDecodeError from requests.exceptions import HTTPError, SSLError diff --git a/src/store/managers/steam_api_manager.py b/src/store/managers/steam_api_manager.py index efe82e2..75fa416 100644 --- a/src/store/managers/steam_api_manager.py +++ b/src/store/managers/steam_api_manager.py @@ -1,3 +1,22 @@ +# steam_api_manager.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from requests.exceptions import HTTPError, SSLError from src.game import Game diff --git a/src/store/pipeline.py b/src/store/pipeline.py index 4799fd2..f3f2883 100644 --- a/src/store/pipeline.py +++ b/src/store/pipeline.py @@ -1,3 +1,22 @@ +# pipeline.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import logging from typing import Iterable diff --git a/src/store/store.py b/src/store/store.py index 86e623b..8639625 100644 --- a/src/store/store.py +++ b/src/store/store.py @@ -1,3 +1,22 @@ +# store.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import logging from src import shared # pylint: disable=no-name-in-module diff --git a/src/utils/decorators.py b/src/utils/decorators.py index be572ec..af37523 100644 --- a/src/utils/decorators.py +++ b/src/utils/decorators.py @@ -1,5 +1,24 @@ +# decorators.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from pathlib import Path -from os import PathLike, environ +from os import PathLike from functools import wraps from src import shared # pylint: disable=no-name-in-module diff --git a/src/utils/rate_limiter.py b/src/utils/rate_limiter.py index d0f1e29..09b17a9 100644 --- a/src/utils/rate_limiter.py +++ b/src/utils/rate_limiter.py @@ -1,3 +1,22 @@ +# rate_limiter.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from typing import Optional, Sized from threading import Lock, Thread, BoundedSemaphore from time import sleep, time diff --git a/src/utils/sqlite.py b/src/utils/sqlite.py index 9661c2a..c605dff 100644 --- a/src/utils/sqlite.py +++ b/src/utils/sqlite.py @@ -1,3 +1,23 @@ +# sqlite.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from glob import escape from pathlib import Path from shutil import copyfile diff --git a/src/utils/steam.py b/src/utils/steam.py index 703b315..76305d3 100644 --- a/src/utils/steam.py +++ b/src/utils/steam.py @@ -1,3 +1,23 @@ +# steam.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import json import logging import re diff --git a/src/utils/steamgriddb.py b/src/utils/steamgriddb.py index db31c6c..674d019 100644 --- a/src/utils/steamgriddb.py +++ b/src/utils/steamgriddb.py @@ -1,3 +1,23 @@ +# steamgriddb.py +# +# Copyright 2022-2023 kramo +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + import logging from pathlib import Path diff --git a/src/utils/task.py b/src/utils/task.py index c6b7076..190d7c4 100644 --- a/src/utils/task.py +++ b/src/utils/task.py @@ -1,3 +1,22 @@ +# task.py +# +# Copyright 2023 Geoffrey Coulaud +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# SPDX-License-Identifier: GPL-3.0-or-later + from functools import wraps from gi.repository import Gio