From 32653a65eddefa07046f288309ca5b209a41d884 Mon Sep 17 00:00:00 2001 From: PhoneDroid <73050054+PhoneDroid@users.noreply.github.com> Date: Sun, 1 Feb 2026 02:33:56 -0500 Subject: [PATCH 1/5] Add SPDX file notices + missing --- .github/workflows/codeql.yml | 4 ++++ .github/workflows/qt5-tests.yml | 4 ++++ .github/workflows/qt6-tests.yml | 4 ++++ .github/workflows/sync_dev_to_main.yml | 4 ++++ .gitignore | 4 +++- .pre-commit-config.yaml | 2 ++ ALLOWED_PYTHON_PACKAGES.txt | 3 +++ Addon.py | 5 +++-- AddonCatalog.py | 5 +++-- AddonCatalogCacheCreator.py | 5 +++-- AddonManager.py | 5 +++-- AddonManagerOptions.py | 5 +++-- AddonManagerTest/__init__.py | 2 ++ AddonManagerTest/app/__init__.py | 2 ++ AddonManagerTest/app/mocks.py | 5 +++-- AddonManagerTest/app/test_addon.py | 5 +++-- AddonManagerTest/app/test_addon_catalog_cache_creator.py | 5 +++-- AddonManagerTest/app/test_addoncatalog.py | 2 ++ AddonManagerTest/app/test_dependency_installer.py | 5 +++-- AddonManagerTest/app/test_freecad_interface.py | 5 +++-- AddonManagerTest/app/test_git.py | 5 +++-- AddonManagerTest/app/test_installation_manifest.py | 5 +++-- AddonManagerTest/app/test_installer.py | 5 +++-- AddonManagerTest/app/test_licenses.py | 5 +++-- AddonManagerTest/app/test_macro.py | 5 +++-- AddonManagerTest/app/test_macro_cache_creator.py | 5 +++-- AddonManagerTest/app/test_macro_parser.py | 5 +++-- AddonManagerTest/app/test_metadata.py | 2 ++ AddonManagerTest/app/test_python_deps.py | 5 +++-- AddonManagerTest/app/test_uninstaller.py | 5 +++-- AddonManagerTest/app/test_utilities.py | 5 +++-- AddonManagerTest/app/test_workers_startup.py | 5 +++-- AddonManagerTest/data/__init__.py | 2 ++ AddonManagerTest/gui/__init__.py | 2 ++ AddonManagerTest/gui/gui_mocks.py | 5 +++-- AddonManagerTest/gui/test_icon_utilities.py | 2 ++ AddonManagerTest/gui/test_installer_gui.py | 5 +++-- AddonManagerTest/gui/test_python_deps_gui.py | 3 +++ AddonManagerTest/gui/test_toolbar_adapter.py | 5 +++-- AddonManagerTest/gui/test_uninstaller_gui.py | 5 +++-- AddonManagerTest/gui/test_update_all_gui.py | 5 +++-- AddonManagerTest/gui/test_widget_addon_buttons.py | 2 ++ AddonManagerTest/gui/test_widget_filter_selector.py | 2 ++ AddonManagerTest/gui/test_widget_global_buttons.py | 2 ++ AddonManagerTest/gui/test_widget_package_details_view.py | 2 ++ AddonManagerTest/gui/test_widget_progress_bar.py | 5 +++-- AddonManagerTest/gui/test_widget_readme_browser.py | 2 ++ AddonManagerTest/gui/test_widget_search.py | 2 ++ AddonManagerTest/gui/test_widget_view_control_bar.py | 2 ++ AddonManagerTest/gui/test_widget_view_selector.py | 2 ++ AddonManagerTest/gui/test_workers_utility.py | 5 +++-- AddonManagerTest/run_app_tests.py | 1 + AddonManagerTest/run_gui_tests.py | 1 + AddonStats.py | 3 +-- CMakeLists.txt | 3 +++ Init.py | 1 + InitGui.py | 1 + MacroCacheCreator.py | 5 +++-- NetworkManager.py | 5 +++-- PySideWrapper.py | 5 +++-- Resources/CMakeLists.txt | 4 ++++ Resources/licenses/CMakeLists.txt | 4 ++++ TestAddonManagerApp.py | 5 +++-- TestAddonManagerGui.py | 5 +++-- Widgets/CMakeLists.txt | 4 ++++ Widgets/__init__.py | 2 ++ Widgets/addonmanager_colors.py | 5 +++-- Widgets/addonmanager_utility_dialogs.py | 5 +++-- Widgets/addonmanager_widget_addon_buttons.py | 5 +++-- Widgets/addonmanager_widget_filter_selector.py | 2 ++ Widgets/addonmanager_widget_global_buttons.py | 5 +++-- Widgets/addonmanager_widget_package_details_view.py | 5 +++-- Widgets/addonmanager_widget_progress_bar.py | 5 +++-- Widgets/addonmanager_widget_readme_browser.py | 5 +++-- Widgets/addonmanager_widget_search.py | 5 +++-- Widgets/addonmanager_widget_view_control_bar.py | 5 +++-- Widgets/addonmanager_widget_view_selector.py | 5 +++-- Widgets/spinner.py | 5 +++-- __init__.py | 2 ++ addonmanager_connection_checker.py | 5 +++-- addonmanager_dependency_installer.py | 5 +++-- addonmanager_firstrun.py | 5 +++-- addonmanager_freecad_interface.py | 5 +++-- addonmanager_git.py | 5 +++-- addonmanager_icon_utilities.py | 5 +++-- addonmanager_installation_manifest.py | 5 +++-- addonmanager_installer.py | 5 +++-- addonmanager_installer_gui.py | 5 +++-- addonmanager_licenses.py | 5 +++-- addonmanager_macro.py | 5 +++-- addonmanager_macro_parser.py | 5 +++-- addonmanager_metadata.py | 5 +++-- addonmanager_package_details_controller.py | 5 +++-- addonmanager_preferences_migrations.py | 5 +++-- addonmanager_python_deps.py | 5 +++-- addonmanager_python_deps_gui.py | 5 +++-- addonmanager_readme_controller.py | 5 +++-- addonmanager_toolbar_adapter.py | 2 ++ addonmanager_uninstaller.py | 5 +++-- addonmanager_uninstaller_gui.py | 5 +++-- addonmanager_update_all_gui.py | 5 +++-- addonmanager_utilities.py | 5 +++-- addonmanager_workers_startup.py | 5 +++-- addonmanager_workers_utility.py | 5 +++-- compact_view.py | 3 +++ composite_view.py | 5 +++-- expanded_view.py | 3 +++ main.py | 5 +++-- package_list.py | 5 +++-- 109 files changed, 304 insertions(+), 145 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index dea105c9..fe834a96 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + + # For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # diff --git a/.github/workflows/qt5-tests.yml b/.github/workflows/qt5-tests.yml index 189bd849..263c1cb7 100644 --- a/.github/workflows/qt5-tests.yml +++ b/.github/workflows/qt5-tests.yml @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + + name: Run Qt5 tests on: diff --git a/.github/workflows/qt6-tests.yml b/.github/workflows/qt6-tests.yml index c939f706..75b5d134 100644 --- a/.github/workflows/qt6-tests.yml +++ b/.github/workflows/qt6-tests.yml @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + + name: Run Qt6 tests on: diff --git a/.github/workflows/sync_dev_to_main.yml b/.github/workflows/sync_dev_to_main.yml index 0601eca6..881a71c8 100644 --- a/.github/workflows/sync_dev_to_main.yml +++ b/.github/workflows/sync_dev_to_main.yml @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + + name: Take a PR from dev to main on: diff --git a/.gitignore b/.gitignore index e2da82b5..5540125a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ -# SPDX License ID: LGPL-2.1 +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + .idea __pycache* .DS_Store diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 837fad8d..18e23974 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + exclude: | (?x)^( diff --git a/ALLOWED_PYTHON_PACKAGES.txt b/ALLOWED_PYTHON_PACKAGES.txt index fb9b5684..f4404a3d 100644 --- a/ALLOWED_PYTHON_PACKAGES.txt +++ b/ALLOWED_PYTHON_PACKAGES.txt @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # This file is a backup copy of the allow-list for python packages. The primary copy is downloaded on each run of the # Addon Manager from https://github.com/FreeCAD/FreeCAD-Addons. This copy is only used in the event that the online # version is not available. diff --git a/Addon.py b/Addon.py index 9383ff85..8a788108 100644 --- a/Addon.py +++ b/Addon.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonCatalog.py b/AddonCatalog.py index 5af6ae5d..189f9a3a 100644 --- a/AddonCatalog.py +++ b/AddonCatalog.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonCatalogCacheCreator.py b/AddonCatalogCacheCreator.py index 2a048cf2..c8fcbcc9 100644 --- a/AddonCatalogCacheCreator.py +++ b/AddonCatalogCacheCreator.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManager.py b/AddonManager.py index e592ce59..cba65f4d 100644 --- a/AddonManager.py +++ b/AddonManager.py @@ -1,11 +1,12 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 The FreeCAD project association AISBL * # * Copyright (c) 2015 Yorik van Havre * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerOptions.py b/AddonManagerOptions.py index dacb1d1d..26d33cb6 100644 --- a/AddonManagerOptions.py +++ b/AddonManagerOptions.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/__init__.py b/AddonManagerTest/__init__.py index e69de29b..7463e04c 100644 --- a/AddonManagerTest/__init__.py +++ b/AddonManagerTest/__init__.py @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. diff --git a/AddonManagerTest/app/__init__.py b/AddonManagerTest/app/__init__.py index e69de29b..7463e04c 100644 --- a/AddonManagerTest/app/__init__.py +++ b/AddonManagerTest/app/__init__.py @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. diff --git a/AddonManagerTest/app/mocks.py b/AddonManagerTest/app/mocks.py index 384c7c6c..7061c37a 100644 --- a/AddonManagerTest/app/mocks.py +++ b/AddonManagerTest/app/mocks.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_addon.py b/AddonManagerTest/app/test_addon.py index ad8dc985..8e59673b 100644 --- a/AddonManagerTest/app/test_addon.py +++ b/AddonManagerTest/app/test_addon.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_addon_catalog_cache_creator.py b/AddonManagerTest/app/test_addon_catalog_cache_creator.py index eb42cc1f..99c1e81f 100644 --- a/AddonManagerTest/app/test_addon_catalog_cache_creator.py +++ b/AddonManagerTest/app/test_addon_catalog_cache_creator.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_addoncatalog.py b/AddonManagerTest/app/test_addoncatalog.py index 6dd202cf..0b21a2c4 100644 --- a/AddonManagerTest/app/test_addoncatalog.py +++ b/AddonManagerTest/app/test_addoncatalog.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # pylint: import-outside-toplevel, diff --git a/AddonManagerTest/app/test_dependency_installer.py b/AddonManagerTest/app/test_dependency_installer.py index c70e0849..76477892 100644 --- a/AddonManagerTest/app/test_dependency_installer.py +++ b/AddonManagerTest/app/test_dependency_installer.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_freecad_interface.py b/AddonManagerTest/app/test_freecad_interface.py index 82056233..581b365c 100644 --- a/AddonManagerTest/app/test_freecad_interface.py +++ b/AddonManagerTest/app/test_freecad_interface.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_git.py b/AddonManagerTest/app/test_git.py index 81ffcc24..f12d4c23 100644 --- a/AddonManagerTest/app/test_git.py +++ b/AddonManagerTest/app/test_git.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_installation_manifest.py b/AddonManagerTest/app/test_installation_manifest.py index 9e6c5bd3..98499efa 100644 --- a/AddonManagerTest/app/test_installation_manifest.py +++ b/AddonManagerTest/app/test_installation_manifest.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_installer.py b/AddonManagerTest/app/test_installer.py index bd77cc12..975f6cb6 100644 --- a/AddonManagerTest/app/test_installer.py +++ b/AddonManagerTest/app/test_installer.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_licenses.py b/AddonManagerTest/app/test_licenses.py index 92616ae1..840c1606 100644 --- a/AddonManagerTest/app/test_licenses.py +++ b/AddonManagerTest/app/test_licenses.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_macro.py b/AddonManagerTest/app/test_macro.py index 8ac290e0..5c5414d5 100644 --- a/AddonManagerTest/app/test_macro.py +++ b/AddonManagerTest/app/test_macro.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_macro_cache_creator.py b/AddonManagerTest/app/test_macro_cache_creator.py index 46e4a050..63e71fbc 100644 --- a/AddonManagerTest/app/test_macro_cache_creator.py +++ b/AddonManagerTest/app/test_macro_cache_creator.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_macro_parser.py b/AddonManagerTest/app/test_macro_parser.py index 3dbc308d..415cf92b 100644 --- a/AddonManagerTest/app/test_macro_parser.py +++ b/AddonManagerTest/app/test_macro_parser.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_metadata.py b/AddonManagerTest/app/test_metadata.py index 57081250..641ec74a 100644 --- a/AddonManagerTest/app/test_metadata.py +++ b/AddonManagerTest/app/test_metadata.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2023-2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/app/test_python_deps.py b/AddonManagerTest/app/test_python_deps.py index 0de846c1..69c7fc0a 100644 --- a/AddonManagerTest/app/test_python_deps.py +++ b/AddonManagerTest/app/test_python_deps.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_uninstaller.py b/AddonManagerTest/app/test_uninstaller.py index 1d496cd5..4c2ead01 100644 --- a/AddonManagerTest/app/test_uninstaller.py +++ b/AddonManagerTest/app/test_uninstaller.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_utilities.py b/AddonManagerTest/app/test_utilities.py index 59dfd93d..ec889d16 100644 --- a/AddonManagerTest/app/test_utilities.py +++ b/AddonManagerTest/app/test_utilities.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_workers_startup.py b/AddonManagerTest/app/test_workers_startup.py index 79c29688..72e9c59c 100644 --- a/AddonManagerTest/app/test_workers_startup.py +++ b/AddonManagerTest/app/test_workers_startup.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/data/__init__.py b/AddonManagerTest/data/__init__.py index e69de29b..7463e04c 100644 --- a/AddonManagerTest/data/__init__.py +++ b/AddonManagerTest/data/__init__.py @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. diff --git a/AddonManagerTest/gui/__init__.py b/AddonManagerTest/gui/__init__.py index e69de29b..7463e04c 100644 --- a/AddonManagerTest/gui/__init__.py +++ b/AddonManagerTest/gui/__init__.py @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. diff --git a/AddonManagerTest/gui/gui_mocks.py b/AddonManagerTest/gui/gui_mocks.py index 3edd8c7e..3afd3467 100644 --- a/AddonManagerTest/gui/gui_mocks.py +++ b/AddonManagerTest/gui/gui_mocks.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_icon_utilities.py b/AddonManagerTest/gui/test_icon_utilities.py index 750f0a49..ceacee8d 100644 --- a/AddonManagerTest/gui/test_icon_utilities.py +++ b/AddonManagerTest/gui/test_icon_utilities.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + import gzip import io import unittest diff --git a/AddonManagerTest/gui/test_installer_gui.py b/AddonManagerTest/gui/test_installer_gui.py index 40dc2da9..c0362d99 100644 --- a/AddonManagerTest/gui/test_installer_gui.py +++ b/AddonManagerTest/gui/test_installer_gui.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_python_deps_gui.py b/AddonManagerTest/gui/test_python_deps_gui.py index 5b6def42..8dfbae59 100644 --- a/AddonManagerTest/gui/test_python_deps_gui.py +++ b/AddonManagerTest/gui/test_python_deps_gui.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + import sys import unittest diff --git a/AddonManagerTest/gui/test_toolbar_adapter.py b/AddonManagerTest/gui/test_toolbar_adapter.py index 0d89f172..a1c14287 100644 --- a/AddonManagerTest/gui/test_toolbar_adapter.py +++ b/AddonManagerTest/gui/test_toolbar_adapter.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_uninstaller_gui.py b/AddonManagerTest/gui/test_uninstaller_gui.py index 8c1c35fa..d247383a 100644 --- a/AddonManagerTest/gui/test_uninstaller_gui.py +++ b/AddonManagerTest/gui/test_uninstaller_gui.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_update_all_gui.py b/AddonManagerTest/gui/test_update_all_gui.py index f13e504c..d4707f65 100644 --- a/AddonManagerTest/gui/test_update_all_gui.py +++ b/AddonManagerTest/gui/test_update_all_gui.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_addon_buttons.py b/AddonManagerTest/gui/test_widget_addon_buttons.py index e14f60e5..1a3e2be8 100644 --- a/AddonManagerTest/gui/test_widget_addon_buttons.py +++ b/AddonManagerTest/gui/test_widget_addon_buttons.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/gui/test_widget_filter_selector.py b/AddonManagerTest/gui/test_widget_filter_selector.py index c2d32809..5505e98f 100644 --- a/AddonManagerTest/gui/test_widget_filter_selector.py +++ b/AddonManagerTest/gui/test_widget_filter_selector.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/gui/test_widget_global_buttons.py b/AddonManagerTest/gui/test_widget_global_buttons.py index 969248dd..7108180b 100644 --- a/AddonManagerTest/gui/test_widget_global_buttons.py +++ b/AddonManagerTest/gui/test_widget_global_buttons.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/gui/test_widget_package_details_view.py b/AddonManagerTest/gui/test_widget_package_details_view.py index de8293ec..71ce1d6f 100644 --- a/AddonManagerTest/gui/test_widget_package_details_view.py +++ b/AddonManagerTest/gui/test_widget_package_details_view.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/gui/test_widget_progress_bar.py b/AddonManagerTest/gui/test_widget_progress_bar.py index 1e6dca06..e2110246 100644 --- a/AddonManagerTest/gui/test_widget_progress_bar.py +++ b/AddonManagerTest/gui/test_widget_progress_bar.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_readme_browser.py b/AddonManagerTest/gui/test_widget_readme_browser.py index fb2e3fec..3443f8ad 100644 --- a/AddonManagerTest/gui/test_widget_readme_browser.py +++ b/AddonManagerTest/gui/test_widget_readme_browser.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/gui/test_widget_search.py b/AddonManagerTest/gui/test_widget_search.py index 27434c50..10356bf5 100644 --- a/AddonManagerTest/gui/test_widget_search.py +++ b/AddonManagerTest/gui/test_widget_search.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/gui/test_widget_view_control_bar.py b/AddonManagerTest/gui/test_widget_view_control_bar.py index 1d09764c..9f05dd3d 100644 --- a/AddonManagerTest/gui/test_widget_view_control_bar.py +++ b/AddonManagerTest/gui/test_widget_view_control_bar.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/gui/test_widget_view_selector.py b/AddonManagerTest/gui/test_widget_view_selector.py index ae3664e0..eb889d0f 100644 --- a/AddonManagerTest/gui/test_widget_view_selector.py +++ b/AddonManagerTest/gui/test_widget_view_selector.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * diff --git a/AddonManagerTest/gui/test_workers_utility.py b/AddonManagerTest/gui/test_workers_utility.py index 9f11a6b4..61969566 100644 --- a/AddonManagerTest/gui/test_workers_utility.py +++ b/AddonManagerTest/gui/test_workers_utility.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/run_app_tests.py b/AddonManagerTest/run_app_tests.py index 27f3722f..0bfdf891 100644 --- a/AddonManagerTest/run_app_tests.py +++ b/AddonManagerTest/run_app_tests.py @@ -1,4 +1,5 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. import os import sys diff --git a/AddonManagerTest/run_gui_tests.py b/AddonManagerTest/run_gui_tests.py index 2770de93..e9f8c071 100644 --- a/AddonManagerTest/run_gui_tests.py +++ b/AddonManagerTest/run_gui_tests.py @@ -1,4 +1,5 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. import os import sys diff --git a/AddonStats.py b/AddonStats.py index 47dc3067..7a73d379 100644 --- a/AddonStats.py +++ b/AddonStats.py @@ -3,8 +3,7 @@ # * * # * Copyright (c) 2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/CMakeLists.txt b/CMakeLists.txt index 926b335d..9138c1d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + IF (BUILD_GUI) add_subdirectory(Widgets) ENDIF (BUILD_GUI) diff --git a/Init.py b/Init.py index df456d97..5c65b2e0 100644 --- a/Init.py +++ b/Init.py @@ -1,3 +1,4 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. # Nothing required diff --git a/InitGui.py b/InitGui.py index ad9945ad..5e468662 100644 --- a/InitGui.py +++ b/InitGui.py @@ -1,4 +1,5 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. # FreeCAD runs InitGui.py automatically during the GUI initialization process by reading the # file into memory and running `exec` on its contents (so __file__ is not defined directly). diff --git a/MacroCacheCreator.py b/MacroCacheCreator.py index a3074565..47153f20 100644 --- a/MacroCacheCreator.py +++ b/MacroCacheCreator.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/NetworkManager.py b/NetworkManager.py index 9700111c..1dbdb5a4 100644 --- a/NetworkManager.py +++ b/NetworkManager.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/PySideWrapper.py b/PySideWrapper.py index 44176b98..144cb3fb 100644 --- a/PySideWrapper.py +++ b/PySideWrapper.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Resources/CMakeLists.txt b/Resources/CMakeLists.txt index 485f68d8..bed356c8 100644 --- a/Resources/CMakeLists.txt +++ b/Resources/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + + add_subdirectory(icons) add_subdirectory(licenses) add_subdirectory(translations) diff --git a/Resources/licenses/CMakeLists.txt b/Resources/licenses/CMakeLists.txt index e17bfbcb..81bb2161 100644 --- a/Resources/licenses/CMakeLists.txt +++ b/Resources/licenses/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + + SET(AddonManagerResourceFilesLicenses Apache-2.0.txt BSD-2-Clause.txt diff --git a/TestAddonManagerApp.py b/TestAddonManagerApp.py index 4aba8392..28d65046 100644 --- a/TestAddonManagerApp.py +++ b/TestAddonManagerApp.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/TestAddonManagerGui.py b/TestAddonManagerGui.py index d55f2260..749a2ec4 100644 --- a/TestAddonManagerGui.py +++ b/TestAddonManagerGui.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/CMakeLists.txt b/Widgets/CMakeLists.txt index 0877c801..b0b4033f 100644 --- a/Widgets/CMakeLists.txt +++ b/Widgets/CMakeLists.txt @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + + SET(AddonManagerWidget_SRCS __init__.py addonmanager_colors.py diff --git a/Widgets/__init__.py b/Widgets/__init__.py index e69de29b..7463e04c 100644 --- a/Widgets/__init__.py +++ b/Widgets/__init__.py @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. diff --git a/Widgets/addonmanager_colors.py b/Widgets/addonmanager_colors.py index f4448ac4..33be60ac 100644 --- a/Widgets/addonmanager_colors.py +++ b/Widgets/addonmanager_colors.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_utility_dialogs.py b/Widgets/addonmanager_utility_dialogs.py index 18027c8d..98d97fee 100644 --- a/Widgets/addonmanager_utility_dialogs.py +++ b/Widgets/addonmanager_utility_dialogs.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_addon_buttons.py b/Widgets/addonmanager_widget_addon_buttons.py index 22784325..adbbe6b5 100644 --- a/Widgets/addonmanager_widget_addon_buttons.py +++ b/Widgets/addonmanager_widget_addon_buttons.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_filter_selector.py b/Widgets/addonmanager_widget_filter_selector.py index e3754d74..fe6081aa 100644 --- a/Widgets/addonmanager_widget_filter_selector.py +++ b/Widgets/addonmanager_widget_filter_selector.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 The FreeCAD project association AISBL * diff --git a/Widgets/addonmanager_widget_global_buttons.py b/Widgets/addonmanager_widget_global_buttons.py index 251f967f..a7bb552a 100644 --- a/Widgets/addonmanager_widget_global_buttons.py +++ b/Widgets/addonmanager_widget_global_buttons.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_package_details_view.py b/Widgets/addonmanager_widget_package_details_view.py index b45eb6d7..ee871056 100644 --- a/Widgets/addonmanager_widget_package_details_view.py +++ b/Widgets/addonmanager_widget_package_details_view.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2024 The FreeCAD Project Association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_progress_bar.py b/Widgets/addonmanager_widget_progress_bar.py index ad40e36f..8b4a2985 100644 --- a/Widgets/addonmanager_widget_progress_bar.py +++ b/Widgets/addonmanager_widget_progress_bar.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_readme_browser.py b/Widgets/addonmanager_widget_readme_browser.py index f4a2392f..a3802ad9 100644 --- a/Widgets/addonmanager_widget_readme_browser.py +++ b/Widgets/addonmanager_widget_readme_browser.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2024 The FreeCAD Project Association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_search.py b/Widgets/addonmanager_widget_search.py index e50186f1..ea384a56 100644 --- a/Widgets/addonmanager_widget_search.py +++ b/Widgets/addonmanager_widget_search.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_view_control_bar.py b/Widgets/addonmanager_widget_view_control_bar.py index e266823d..ce63c54f 100644 --- a/Widgets/addonmanager_widget_view_control_bar.py +++ b/Widgets/addonmanager_widget_view_control_bar.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_view_selector.py b/Widgets/addonmanager_widget_view_selector.py index 5c24c845..37e1b9e4 100644 --- a/Widgets/addonmanager_widget_view_selector.py +++ b/Widgets/addonmanager_widget_view_selector.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/spinner.py b/Widgets/spinner.py index 8ab8ec81..e0ccbceb 100644 --- a/Widgets/spinner.py +++ b/Widgets/spinner.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/__init__.py b/__init__.py index e69de29b..7463e04c 100644 --- a/__init__.py +++ b/__init__.py @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. diff --git a/addonmanager_connection_checker.py b/addonmanager_connection_checker.py index a440933a..c1ba951e 100644 --- a/addonmanager_connection_checker.py +++ b/addonmanager_connection_checker.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_dependency_installer.py b/addonmanager_dependency_installer.py index 0f276b66..ff7c6c0d 100644 --- a/addonmanager_dependency_installer.py +++ b/addonmanager_dependency_installer.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_firstrun.py b/addonmanager_firstrun.py index bbe31e5e..6b60b0a4 100644 --- a/addonmanager_firstrun.py +++ b/addonmanager_firstrun.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_freecad_interface.py b/addonmanager_freecad_interface.py index ec10e72d..a2ccee55 100644 --- a/addonmanager_freecad_interface.py +++ b/addonmanager_freecad_interface.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_git.py b/addonmanager_git.py index c48b85ab..0a130314 100644 --- a/addonmanager_git.py +++ b/addonmanager_git.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_icon_utilities.py b/addonmanager_icon_utilities.py index 201cad27..977c461c 100644 --- a/addonmanager_icon_utilities.py +++ b/addonmanager_icon_utilities.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_installation_manifest.py b/addonmanager_installation_manifest.py index a347c5a7..3b01c6d2 100644 --- a/addonmanager_installation_manifest.py +++ b/addonmanager_installation_manifest.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_installer.py b/addonmanager_installer.py index 3da22ae4..77ec94e9 100644 --- a/addonmanager_installer.py +++ b/addonmanager_installer.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_installer_gui.py b/addonmanager_installer_gui.py index bd737758..73c9b088 100644 --- a/addonmanager_installer_gui.py +++ b/addonmanager_installer_gui.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_licenses.py b/addonmanager_licenses.py index b40b5275..f070845f 100644 --- a/addonmanager_licenses.py +++ b/addonmanager_licenses.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2024 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_macro.py b/addonmanager_macro.py index 0d1c7935..8883388c 100644 --- a/addonmanager_macro.py +++ b/addonmanager_macro.py @@ -1,11 +1,12 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * Copyright (c) 2018 Gaël Écorchard * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_macro_parser.py b/addonmanager_macro_parser.py index c2d2177e..acc1432a 100644 --- a/addonmanager_macro_parser.py +++ b/addonmanager_macro_parser.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_metadata.py b/addonmanager_metadata.py index b5cb0f49..d80a447d 100644 --- a/addonmanager_metadata.py +++ b/addonmanager_metadata.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_package_details_controller.py b/addonmanager_package_details_controller.py index 0a9eda08..e02c884c 100644 --- a/addonmanager_package_details_controller.py +++ b/addonmanager_package_details_controller.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2024 The FreeCAD Project Association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_preferences_migrations.py b/addonmanager_preferences_migrations.py index 14fe92e4..cb540e26 100644 --- a/addonmanager_preferences_migrations.py +++ b/addonmanager_preferences_migrations.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_python_deps.py b/addonmanager_python_deps.py index 5188b4d8..79848650 100644 --- a/addonmanager_python_deps.py +++ b/addonmanager_python_deps.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 FreeCAD Project Association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_python_deps_gui.py b/addonmanager_python_deps_gui.py index 533616e5..2246d22f 100644 --- a/addonmanager_python_deps_gui.py +++ b/addonmanager_python_deps_gui.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 FreeCAD Project Association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_readme_controller.py b/addonmanager_readme_controller.py index ab01ce54..e35c2cca 100644 --- a/addonmanager_readme_controller.py +++ b/addonmanager_readme_controller.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2024 The FreeCAD Project Association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_toolbar_adapter.py b/addonmanager_toolbar_adapter.py index 751e0cf9..56f093d0 100644 --- a/addonmanager_toolbar_adapter.py +++ b/addonmanager_toolbar_adapter.py @@ -1,4 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + import addonmanager_freecad_interface as fci diff --git a/addonmanager_uninstaller.py b/addonmanager_uninstaller.py index 98d2062f..0ef2ee6a 100644 --- a/addonmanager_uninstaller.py +++ b/addonmanager_uninstaller.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_uninstaller_gui.py b/addonmanager_uninstaller_gui.py index 816cd452..760aa1ec 100644 --- a/addonmanager_uninstaller_gui.py +++ b/addonmanager_uninstaller_gui.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_update_all_gui.py b/addonmanager_update_all_gui.py index 8acfae71..949909db 100644 --- a/addonmanager_update_all_gui.py +++ b/addonmanager_update_all_gui.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2025 FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_utilities.py b/addonmanager_utilities.py index 218e95b3..a0c70eae 100644 --- a/addonmanager_utilities.py +++ b/addonmanager_utilities.py @@ -1,11 +1,12 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * Copyright (c) 2018 Gaël Écorchard * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_workers_startup.py b/addonmanager_workers_startup.py index 08d1550d..5636f915 100644 --- a/addonmanager_workers_startup.py +++ b/addonmanager_workers_startup.py @@ -1,11 +1,12 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * Copyright (c) 2019 Yorik van Havre * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_workers_utility.py b/addonmanager_workers_utility.py index 4d617a94..ffbbbf00 100644 --- a/addonmanager_workers_utility.py +++ b/addonmanager_workers_utility.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/compact_view.py b/compact_view.py index fb4b85af..6ec3099d 100644 --- a/compact_view.py +++ b/compact_view.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # -*- coding: utf-8 -*- ################################################################################ diff --git a/composite_view.py b/composite_view.py index 7e7a96ae..cc5fa7a3 100644 --- a/composite_view.py +++ b/composite_view.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2024 The FreeCAD Project Association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/expanded_view.py b/expanded_view.py index 9e12887b..3390fa13 100644 --- a/expanded_view.py +++ b/expanded_view.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # -*- coding: utf-8 -*- ################################################################################ diff --git a/main.py b/main.py index cc13a627..de1ad818 100644 --- a/main.py +++ b/main.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2025 The FreeCAD project association AISBL * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/package_list.py b/package_list.py index cb2a0c8a..32c5187b 100644 --- a/package_list.py +++ b/package_list.py @@ -1,10 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileNotice: Part of the AddonManager. + # *************************************************************************** # * * # * Copyright (c) 2022-2023 FreeCAD Project Association * # * * -# * This file is part of FreeCAD. * -# * * + # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * From c5c95c3cf33bc05ce2c58fc93f272257004eee44 Mon Sep 17 00:00:00 2001 From: PhoneDroid <73050054+PhoneDroid@users.noreply.github.com> Date: Sun, 1 Feb 2026 02:35:26 -0500 Subject: [PATCH 2/5] Use txt version of license --- LICENSE | 504 ++++++++++++++++++++++++++++++++++++++++++++++++++++ LICENSE.md | 502 --------------------------------------------------- package.xml | 2 +- 3 files changed, 505 insertions(+), 503 deletions(-) create mode 100644 LICENSE delete mode 100644 LICENSE.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..8000a6fa --- /dev/null +++ b/LICENSE @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random + Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 2a1ef2fc..00000000 --- a/LICENSE.md +++ /dev/null @@ -1,502 +0,0 @@ -# GNU LESSER GENERAL PUBLIC LICENSE - -Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - - - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - [This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - -## Preamble - -The licenses for most software are designed to take away your freedom -to share and change it. By contrast, the GNU General Public Licenses -are intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. - -This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations -below. - -When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - -To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - -For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - -We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - -To protect each distributor, we want to make it very clear that there -is no warranty for the free library. Also, if the library is modified -by someone else and passed on, the recipients should know that what -they have is not the original version, so that the original author's -reputation will not be affected by problems that might be introduced -by others. - -Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - -Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - -When a program is linked with a library, whether statically or using a -shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - -We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - -For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it -becomes a de-facto standard. To achieve this, non-free programs must -be allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - -In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - -Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - -The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - -## TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - -**0.** This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). Each -licensee is addressed as "you". - -A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - -The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - -"Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control -compilation and installation of the library. - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does and -what the program that uses the Library does. - -**1.** You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a -fee. - -**2.** You may modify your copy or copies of the Library or any -portion of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - -- **a)** The modified work must itself be a software library. -- **b)** You must cause the files modified to carry prominent - notices stating that you changed the files and the date of - any change. -- **c)** You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. -- **d)** If a facility in the modified Library refers to a function - or a table of data to be supplied by an application program that - uses the facility, other than as an argument passed when the - facility is invoked, then you must make a good faith effort to - ensure that, in the event an application does not supply such - function or table, the facility still operates, and performs - whatever part of its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of - the application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - -**3.** You may opt to apply the terms of the ordinary GNU General -Public License instead of this License to a given copy of the Library. -To do this, you must alter all the notices that refer to this License, -so that they refer to the ordinary GNU General Public License, version -2, instead of to this License. (If a newer version than version 2 of -the ordinary GNU General Public License has appeared, then you can -specify that version instead if you wish.) Do not make any other -change in these notices. - -Once this change is made in a given copy, it is irreversible for that -copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - -This option is useful when you wish to copy part of the code of the -Library into a program that is not a library. - -**4.** You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - -If distribution of object code is made by offering access to copy from -a designated place, then offering equivalent access to copy the source -code from the same place satisfies the requirement to distribute the -source code, even though third parties are not compelled to copy the -source along with the object code. - -**5.** A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a work, -in isolation, is not a derivative work of the Library, and therefore -falls outside the scope of this License. - -However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. Section -6 states terms for distribution of such executables. - -When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - -If such an object file uses only numerical parameters, data structure -layouts and accessors, and small macros and small inline functions -(ten lines or less in length), then the use of the object file is -unrestricted, regardless of whether it is legally a derivative work. -(Executables containing this object code plus portions of the Library -will still fall under Section 6.) - -Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - -**6.** As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a work -containing portions of the Library, and distribute that work under -terms of your choice, provided that the terms permit modification of -the work for the customer's own use and reverse engineering for -debugging such modifications. - -You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - -- **a)** Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood that - the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) -- **b)** Use a suitable shared library mechanism for linking with - the Library. A suitable mechanism is one that (1) uses at run time - a copy of the library already present on the user's computer - system, rather than copying library functions into the executable, - and (2) will operate properly with a modified version of the - library, if the user installs one, as long as the modified version - is interface-compatible with the version that the work was - made with. -- **c)** Accompany the work with a written offer, valid for at least - three years, to give the same user the materials specified in - Subsection 6a, above, for a charge no more than the cost of - performing this distribution. -- **d)** If distribution of the work is made by offering access to - copy from a designated place, offer equivalent access to copy the - above specified materials from the same place. -- **e)** Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - -For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - -It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - -**7.** You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - -- **a)** Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other - library facilities. This must be distributed under the terms of - the Sections above. -- **b)** Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - -**8.** You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - -**9.** You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - -**10.** Each time you redistribute the Library (or any work based on -the Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - -**11.** If, as a consequence of a court judgment or allegation of -patent infringement or for any other reason (not limited to patent -issues), conditions are imposed on you (whether by court order, -agreement or otherwise) that contradict the conditions of this -License, they do not excuse you from the conditions of this License. -If you cannot distribute so as to satisfy simultaneously your -obligations under this License and any other pertinent obligations, -then as a consequence you may not distribute the Library at all. For -example, if a patent license would not permit royalty-free -redistribution of the Library by all those who receive copies directly -or indirectly through you, then the only way you could satisfy both it -and this License would be to refrain entirely from distribution of the -Library. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply, and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - -**12.** If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - -**13.** The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. Such -new versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - -**14.** If you wish to incorporate parts of the Library into other -free programs whose distribution conditions are incompatible with -these, write to the author to ask for permission. For software which -is copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - -**NO WARRANTY** - -**15.** BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -**16.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - -END OF TERMS AND CONDITIONS - -## How to Apply These Terms to Your New Libraries - -If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms -of the ordinary General Public License). - -To apply these terms, attach the following notices to the library. It -is safest to attach them to the start of each source file to most -effectively convey the exclusion of warranty; and each file should -have at least the "copyright" line and a pointer to where the full -notice is found. - - one line to give the library's name and an idea of what it does. - Copyright (C) year name of author - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, see . - -Also add information on how to contact you by electronic and paper -mail. - -You should also get your employer (if you work as a programmer) or -your school, if any, to sign a "copyright disclaimer" for the library, -if necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in - the library `Frob' (a library for tweaking knobs) written - by James Random Hacker. - - signature of Moe Ghoul, 1 April 1990 - Moe Ghoul, President of Vice - -That's all there is to it! diff --git a/package.xml b/package.xml index 814d52bb..f1b22745 100644 --- a/package.xml +++ b/package.xml @@ -11,7 +11,7 @@ Yorik van Havre Jonathan Wiedemann Kurt Kremitzki - LGPL-2.1-or-later + LGPL-2.1-or-later https://github.com/FreeCAD/AddonManager https://github.com/FreeCAD/AddonManager/issues https://github.com/FreeCAD/AddonManager/blob/dev/README.md From b74592ee21a80e5865219fa44dbc1803dfd2c9ec Mon Sep 17 00:00:00 2001 From: PhoneDroid <73050054+PhoneDroid@users.noreply.github.com> Date: Sun, 1 Feb 2026 02:57:39 -0500 Subject: [PATCH 3/5] Use corrected SPDX file copyright text --- Addon.py | 5 +---- AddonCatalog.py | 5 +---- AddonCatalogCacheCreator.py | 5 +---- AddonManager.py | 7 ++----- AddonManagerOptions.py | 6 +----- AddonManagerTest/app/test_addon_catalog_cache_creator.py | 5 +---- AddonManagerTest/app/test_dependency_installer.py | 4 +--- AddonManagerTest/app/test_freecad_interface.py | 4 +--- AddonManagerTest/app/test_git.py | 4 +--- AddonManagerTest/app/test_installation_manifest.py | 4 +--- AddonManagerTest/app/test_installer.py | 4 +--- AddonManagerTest/app/test_licenses.py | 4 +--- AddonManagerTest/app/test_macro.py | 4 +--- AddonManagerTest/app/test_macro_cache_creator.py | 4 +--- AddonManagerTest/app/test_macro_parser.py | 4 +--- AddonManagerTest/app/test_metadata.py | 5 +---- AddonManagerTest/app/test_python_deps.py | 5 +---- AddonManagerTest/app/test_uninstaller.py | 4 +--- AddonManagerTest/app/test_utilities.py | 4 +--- AddonManagerTest/app/test_workers_startup.py | 4 +--- AddonManagerTest/gui/gui_mocks.py | 4 +--- AddonManagerTest/gui/test_installer_gui.py | 5 +---- AddonManagerTest/gui/test_toolbar_adapter.py | 4 +--- AddonManagerTest/gui/test_uninstaller_gui.py | 4 +--- AddonManagerTest/gui/test_update_all_gui.py | 5 +---- AddonManagerTest/gui/test_widget_addon_buttons.py | 5 +---- AddonManagerTest/gui/test_widget_filter_selector.py | 5 +---- AddonManagerTest/gui/test_widget_global_buttons.py | 5 +---- AddonManagerTest/gui/test_widget_package_details_view.py | 5 +---- AddonManagerTest/gui/test_widget_progress_bar.py | 5 +---- AddonManagerTest/gui/test_widget_readme_browser.py | 5 +---- AddonManagerTest/gui/test_widget_search.py | 5 +---- AddonManagerTest/gui/test_widget_view_control_bar.py | 5 +---- AddonManagerTest/gui/test_widget_view_selector.py | 5 +---- AddonManagerTest/gui/test_workers_utility.py | 5 +---- AddonStats.py | 5 ++--- MacroCacheCreator.py | 6 +----- NetworkManager.py | 6 +----- PySideWrapper.py | 6 +----- TestAddonManagerApp.py | 6 +----- TestAddonManagerGui.py | 6 +----- Widgets/addonmanager_colors.py | 4 +--- Widgets/addonmanager_utility_dialogs.py | 5 +---- Widgets/addonmanager_widget_addon_buttons.py | 4 +--- Widgets/addonmanager_widget_filter_selector.py | 4 +--- Widgets/addonmanager_widget_global_buttons.py | 5 +---- Widgets/addonmanager_widget_package_details_view.py | 5 +---- Widgets/addonmanager_widget_progress_bar.py | 5 +---- Widgets/addonmanager_widget_readme_browser.py | 5 +---- Widgets/addonmanager_widget_search.py | 5 +---- Widgets/addonmanager_widget_view_control_bar.py | 5 +---- Widgets/addonmanager_widget_view_selector.py | 5 +---- Widgets/spinner.py | 5 +---- addonmanager_connection_checker.py | 5 +---- addonmanager_dependency_installer.py | 5 +---- addonmanager_firstrun.py | 4 +--- addonmanager_freecad_interface.py | 5 +---- addonmanager_git.py | 5 +---- addonmanager_icon_utilities.py | 5 +---- addonmanager_installation_manifest.py | 5 +---- addonmanager_installer.py | 5 +---- addonmanager_installer_gui.py | 5 +---- addonmanager_licenses.py | 5 +---- addonmanager_macro.py | 7 ++----- addonmanager_macro_parser.py | 5 +---- addonmanager_metadata.py | 5 +---- addonmanager_package_details_controller.py | 5 +---- addonmanager_preferences_migrations.py | 5 +---- addonmanager_python_deps.py | 4 +--- addonmanager_python_deps_gui.py | 5 +---- addonmanager_readme_controller.py | 5 +---- addonmanager_uninstaller.py | 5 +---- addonmanager_uninstaller_gui.py | 5 +---- addonmanager_update_all_gui.py | 5 +---- addonmanager_utilities.py | 6 ++---- addonmanager_workers_startup.py | 6 ++---- addonmanager_workers_utility.py | 5 +---- composite_view.py | 6 +----- main.py | 6 +----- package_list.py | 6 +----- 80 files changed, 85 insertions(+), 310 deletions(-) diff --git a/Addon.py b/Addon.py index 8a788108..89a0ef0e 100644 --- a/Addon.py +++ b/Addon.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonCatalog.py b/AddonCatalog.py index 189f9a3a..e13e8814 100644 --- a/AddonCatalog.py +++ b/AddonCatalog.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonCatalogCacheCreator.py b/AddonCatalogCacheCreator.py index c8fcbcc9..35b210a5 100644 --- a/AddonCatalogCacheCreator.py +++ b/AddonCatalogCacheCreator.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManager.py b/AddonManager.py index cba65f4d..bc19f3d1 100644 --- a/AddonManager.py +++ b/AddonManager.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2015 Yorik van Havre +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 The FreeCAD project association AISBL * -# * Copyright (c) 2015 Yorik van Havre * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerOptions.py b/AddonManagerOptions.py index 26d33cb6..f7d40374 100644 --- a/AddonManagerOptions.py +++ b/AddonManagerOptions.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_addon_catalog_cache_creator.py b/AddonManagerTest/app/test_addon_catalog_cache_creator.py index 99c1e81f..a9659e1e 100644 --- a/AddonManagerTest/app/test_addon_catalog_cache_creator.py +++ b/AddonManagerTest/app/test_addon_catalog_cache_creator.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_dependency_installer.py b/AddonManagerTest/app/test_dependency_installer.py index 76477892..e14b0f95 100644 --- a/AddonManagerTest/app/test_dependency_installer.py +++ b/AddonManagerTest/app/test_dependency_installer.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/app/test_freecad_interface.py b/AddonManagerTest/app/test_freecad_interface.py index 581b365c..89bc3373 100644 --- a/AddonManagerTest/app/test_freecad_interface.py +++ b/AddonManagerTest/app/test_freecad_interface.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2023 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/app/test_git.py b/AddonManagerTest/app/test_git.py index f12d4c23..7e8aa6ad 100644 --- a/AddonManagerTest/app/test_git.py +++ b/AddonManagerTest/app/test_git.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/app/test_installation_manifest.py b/AddonManagerTest/app/test_installation_manifest.py index 98499efa..e1c1ccee 100644 --- a/AddonManagerTest/app/test_installation_manifest.py +++ b/AddonManagerTest/app/test_installation_manifest.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/app/test_installer.py b/AddonManagerTest/app/test_installer.py index 975f6cb6..71afec3c 100644 --- a/AddonManagerTest/app/test_installer.py +++ b/AddonManagerTest/app/test_installer.py @@ -1,11 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_licenses.py b/AddonManagerTest/app/test_licenses.py index 840c1606..66d57557 100644 --- a/AddonManagerTest/app/test_licenses.py +++ b/AddonManagerTest/app/test_licenses.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2023 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/app/test_macro.py b/AddonManagerTest/app/test_macro.py index 5c5414d5..a59646e6 100644 --- a/AddonManagerTest/app/test_macro.py +++ b/AddonManagerTest/app/test_macro.py @@ -1,11 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_macro_cache_creator.py b/AddonManagerTest/app/test_macro_cache_creator.py index 63e71fbc..a6c18c44 100644 --- a/AddonManagerTest/app/test_macro_cache_creator.py +++ b/AddonManagerTest/app/test_macro_cache_creator.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/app/test_macro_parser.py b/AddonManagerTest/app/test_macro_parser.py index 415cf92b..58d8269b 100644 --- a/AddonManagerTest/app/test_macro_parser.py +++ b/AddonManagerTest/app/test_macro_parser.py @@ -1,11 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_metadata.py b/AddonManagerTest/app/test_metadata.py index 641ec74a..c3d0ce71 100644 --- a/AddonManagerTest/app/test_metadata.py +++ b/AddonManagerTest/app/test_metadata.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2023-2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_python_deps.py b/AddonManagerTest/app/test_python_deps.py index 69c7fc0a..5248eefa 100644 --- a/AddonManagerTest/app/test_python_deps.py +++ b/AddonManagerTest/app/test_python_deps.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_uninstaller.py b/AddonManagerTest/app/test_uninstaller.py index 4c2ead01..8ea1c278 100644 --- a/AddonManagerTest/app/test_uninstaller.py +++ b/AddonManagerTest/app/test_uninstaller.py @@ -1,11 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_utilities.py b/AddonManagerTest/app/test_utilities.py index ec889d16..6d936b05 100644 --- a/AddonManagerTest/app/test_utilities.py +++ b/AddonManagerTest/app/test_utilities.py @@ -1,11 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/app/test_workers_startup.py b/AddonManagerTest/app/test_workers_startup.py index 72e9c59c..dc14ca8f 100644 --- a/AddonManagerTest/app/test_workers_startup.py +++ b/AddonManagerTest/app/test_workers_startup.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/gui/gui_mocks.py b/AddonManagerTest/gui/gui_mocks.py index 3afd3467..438195d3 100644 --- a/AddonManagerTest/gui/gui_mocks.py +++ b/AddonManagerTest/gui/gui_mocks.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/gui/test_installer_gui.py b/AddonManagerTest/gui/test_installer_gui.py index c0362d99..c573b546 100644 --- a/AddonManagerTest/gui/test_installer_gui.py +++ b/AddonManagerTest/gui/test_installer_gui.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_toolbar_adapter.py b/AddonManagerTest/gui/test_toolbar_adapter.py index a1c14287..637f1a8f 100644 --- a/AddonManagerTest/gui/test_toolbar_adapter.py +++ b/AddonManagerTest/gui/test_toolbar_adapter.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/AddonManagerTest/gui/test_uninstaller_gui.py b/AddonManagerTest/gui/test_uninstaller_gui.py index d247383a..ad9bec4d 100644 --- a/AddonManagerTest/gui/test_uninstaller_gui.py +++ b/AddonManagerTest/gui/test_uninstaller_gui.py @@ -1,11 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_update_all_gui.py b/AddonManagerTest/gui/test_update_all_gui.py index d4707f65..f0ebecb4 100644 --- a/AddonManagerTest/gui/test_update_all_gui.py +++ b/AddonManagerTest/gui/test_update_all_gui.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_addon_buttons.py b/AddonManagerTest/gui/test_widget_addon_buttons.py index 1a3e2be8..dea45bce 100644 --- a/AddonManagerTest/gui/test_widget_addon_buttons.py +++ b/AddonManagerTest/gui/test_widget_addon_buttons.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_filter_selector.py b/AddonManagerTest/gui/test_widget_filter_selector.py index 5505e98f..14721e10 100644 --- a/AddonManagerTest/gui/test_widget_filter_selector.py +++ b/AddonManagerTest/gui/test_widget_filter_selector.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_global_buttons.py b/AddonManagerTest/gui/test_widget_global_buttons.py index 7108180b..da522f6a 100644 --- a/AddonManagerTest/gui/test_widget_global_buttons.py +++ b/AddonManagerTest/gui/test_widget_global_buttons.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_package_details_view.py b/AddonManagerTest/gui/test_widget_package_details_view.py index 71ce1d6f..60de135a 100644 --- a/AddonManagerTest/gui/test_widget_package_details_view.py +++ b/AddonManagerTest/gui/test_widget_package_details_view.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_progress_bar.py b/AddonManagerTest/gui/test_widget_progress_bar.py index e2110246..0b55a992 100644 --- a/AddonManagerTest/gui/test_widget_progress_bar.py +++ b/AddonManagerTest/gui/test_widget_progress_bar.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_readme_browser.py b/AddonManagerTest/gui/test_widget_readme_browser.py index 3443f8ad..fa0d71ff 100644 --- a/AddonManagerTest/gui/test_widget_readme_browser.py +++ b/AddonManagerTest/gui/test_widget_readme_browser.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_search.py b/AddonManagerTest/gui/test_widget_search.py index 10356bf5..519647d7 100644 --- a/AddonManagerTest/gui/test_widget_search.py +++ b/AddonManagerTest/gui/test_widget_search.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_view_control_bar.py b/AddonManagerTest/gui/test_widget_view_control_bar.py index 9f05dd3d..e6f4d181 100644 --- a/AddonManagerTest/gui/test_widget_view_control_bar.py +++ b/AddonManagerTest/gui/test_widget_view_control_bar.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_widget_view_selector.py b/AddonManagerTest/gui/test_widget_view_selector.py index eb889d0f..c3bacce6 100644 --- a/AddonManagerTest/gui/test_widget_view_selector.py +++ b/AddonManagerTest/gui/test_widget_view_selector.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * -# * This file is part of the FreeCAD Addon Manager. * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonManagerTest/gui/test_workers_utility.py b/AddonManagerTest/gui/test_workers_utility.py index 61969566..54666703 100644 --- a/AddonManagerTest/gui/test_workers_utility.py +++ b/AddonManagerTest/gui/test_workers_utility.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/AddonStats.py b/AddonStats.py index 7a73d379..8e253348 100644 --- a/AddonStats.py +++ b/AddonStats.py @@ -1,9 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2024 FreeCAD Project Association +# SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** # * * -# * Copyright (c) 2024 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/MacroCacheCreator.py b/MacroCacheCreator.py index 47153f20..b6a33fa4 100644 --- a/MacroCacheCreator.py +++ b/MacroCacheCreator.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/NetworkManager.py b/NetworkManager.py index 1dbdb5a4..bdb8f842 100644 --- a/NetworkManager.py +++ b/NetworkManager.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/PySideWrapper.py b/PySideWrapper.py index 144cb3fb..3a28b0ea 100644 --- a/PySideWrapper.py +++ b/PySideWrapper.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/TestAddonManagerApp.py b/TestAddonManagerApp.py index 28d65046..86c33b05 100644 --- a/TestAddonManagerApp.py +++ b/TestAddonManagerApp.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/TestAddonManagerGui.py b/TestAddonManagerGui.py index 749a2ec4..32710aec 100644 --- a/TestAddonManagerGui.py +++ b/TestAddonManagerGui.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_colors.py b/Widgets/addonmanager_colors.py index 33be60ac..180f045f 100644 --- a/Widgets/addonmanager_colors.py +++ b/Widgets/addonmanager_colors.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2024 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/Widgets/addonmanager_utility_dialogs.py b/Widgets/addonmanager_utility_dialogs.py index 98d97fee..7708a84f 100644 --- a/Widgets/addonmanager_utility_dialogs.py +++ b/Widgets/addonmanager_utility_dialogs.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_addon_buttons.py b/Widgets/addonmanager_widget_addon_buttons.py index adbbe6b5..fdef9ffd 100644 --- a/Widgets/addonmanager_widget_addon_buttons.py +++ b/Widgets/addonmanager_widget_addon_buttons.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2024 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/Widgets/addonmanager_widget_filter_selector.py b/Widgets/addonmanager_widget_filter_selector.py index fe6081aa..326eb300 100644 --- a/Widgets/addonmanager_widget_filter_selector.py +++ b/Widgets/addonmanager_widget_filter_selector.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 The FreeCAD project association AISBL * -# * * # * This file is part of the FreeCAD Addon Manager. * # * * # * FreeCAD is free software: you can redistribute it and/or modify it * diff --git a/Widgets/addonmanager_widget_global_buttons.py b/Widgets/addonmanager_widget_global_buttons.py index a7bb552a..1bbe5a78 100644 --- a/Widgets/addonmanager_widget_global_buttons.py +++ b/Widgets/addonmanager_widget_global_buttons.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2024 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_package_details_view.py b/Widgets/addonmanager_widget_package_details_view.py index ee871056..b42ffadd 100644 --- a/Widgets/addonmanager_widget_package_details_view.py +++ b/Widgets/addonmanager_widget_package_details_view.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2024 The FreeCAD Project Association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_progress_bar.py b/Widgets/addonmanager_widget_progress_bar.py index 8b4a2985..18ace3a0 100644 --- a/Widgets/addonmanager_widget_progress_bar.py +++ b/Widgets/addonmanager_widget_progress_bar.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2024 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_readme_browser.py b/Widgets/addonmanager_widget_readme_browser.py index a3802ad9..5e7f5352 100644 --- a/Widgets/addonmanager_widget_readme_browser.py +++ b/Widgets/addonmanager_widget_readme_browser.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2024 The FreeCAD Project Association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_search.py b/Widgets/addonmanager_widget_search.py index ea384a56..ef0efccf 100644 --- a/Widgets/addonmanager_widget_search.py +++ b/Widgets/addonmanager_widget_search.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2024 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_view_control_bar.py b/Widgets/addonmanager_widget_view_control_bar.py index ce63c54f..844d63b8 100644 --- a/Widgets/addonmanager_widget_view_control_bar.py +++ b/Widgets/addonmanager_widget_view_control_bar.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2024 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/addonmanager_widget_view_selector.py b/Widgets/addonmanager_widget_view_selector.py index 37e1b9e4..3c2607b0 100644 --- a/Widgets/addonmanager_widget_view_selector.py +++ b/Widgets/addonmanager_widget_view_selector.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2024 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/Widgets/spinner.py b/Widgets/spinner.py index e0ccbceb..c0a2daf6 100644 --- a/Widgets/spinner.py +++ b/Widgets/spinner.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_connection_checker.py b/addonmanager_connection_checker.py index c1ba951e..2ffcf047 100644 --- a/addonmanager_connection_checker.py +++ b/addonmanager_connection_checker.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_dependency_installer.py b/addonmanager_dependency_installer.py index ff7c6c0d..292ae1ac 100644 --- a/addonmanager_dependency_installer.py +++ b/addonmanager_dependency_installer.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_firstrun.py b/addonmanager_firstrun.py index 6b60b0a4..7b4a707c 100644 --- a/addonmanager_firstrun.py +++ b/addonmanager_firstrun.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/addonmanager_freecad_interface.py b/addonmanager_freecad_interface.py index a2ccee55..468e9c5b 100644 --- a/addonmanager_freecad_interface.py +++ b/addonmanager_freecad_interface.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_git.py b/addonmanager_git.py index 0a130314..641eab33 100644 --- a/addonmanager_git.py +++ b/addonmanager_git.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_icon_utilities.py b/addonmanager_icon_utilities.py index 977c461c..f6098049 100644 --- a/addonmanager_icon_utilities.py +++ b/addonmanager_icon_utilities.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_installation_manifest.py b/addonmanager_installation_manifest.py index 3b01c6d2..bcdd0b23 100644 --- a/addonmanager_installation_manifest.py +++ b/addonmanager_installation_manifest.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_installer.py b/addonmanager_installer.py index 77ec94e9..d4f6467d 100644 --- a/addonmanager_installer.py +++ b/addonmanager_installer.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_installer_gui.py b/addonmanager_installer_gui.py index 73c9b088..d7e1dd8e 100644 --- a/addonmanager_installer_gui.py +++ b/addonmanager_installer_gui.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_licenses.py b/addonmanager_licenses.py index f070845f..19e35ac9 100644 --- a/addonmanager_licenses.py +++ b/addonmanager_licenses.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2024 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_macro.py b/addonmanager_macro.py index 8883388c..b89db425 100644 --- a/addonmanager_macro.py +++ b/addonmanager_macro.py @@ -1,12 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2018 Gaël Écorchard +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * Copyright (c) 2018 Gaël Écorchard * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_macro_parser.py b/addonmanager_macro_parser.py index acc1432a..449f6934 100644 --- a/addonmanager_macro_parser.py +++ b/addonmanager_macro_parser.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_metadata.py b/addonmanager_metadata.py index d80a447d..09e4aa7a 100644 --- a/addonmanager_metadata.py +++ b/addonmanager_metadata.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_package_details_controller.py b/addonmanager_package_details_controller.py index e02c884c..95b29bdb 100644 --- a/addonmanager_package_details_controller.py +++ b/addonmanager_package_details_controller.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2024 The FreeCAD Project Association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_preferences_migrations.py b/addonmanager_preferences_migrations.py index cb540e26..429bc2da 100644 --- a/addonmanager_preferences_migrations.py +++ b/addonmanager_preferences_migrations.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_python_deps.py b/addonmanager_python_deps.py index 79848650..6912f9b0 100644 --- a/addonmanager_python_deps.py +++ b/addonmanager_python_deps.py @@ -1,10 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 FreeCAD Project Association AISBL * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/addonmanager_python_deps_gui.py b/addonmanager_python_deps_gui.py index 2246d22f..88915bcb 100644 --- a/addonmanager_python_deps_gui.py +++ b/addonmanager_python_deps_gui.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 FreeCAD Project Association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_readme_controller.py b/addonmanager_readme_controller.py index e35c2cca..40ef5fc1 100644 --- a/addonmanager_readme_controller.py +++ b/addonmanager_readme_controller.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2024 The FreeCAD Project Association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_uninstaller.py b/addonmanager_uninstaller.py index 0ef2ee6a..c60b5f0e 100644 --- a/addonmanager_uninstaller.py +++ b/addonmanager_uninstaller.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_uninstaller_gui.py b/addonmanager_uninstaller_gui.py index 760aa1ec..7df7f0ac 100644 --- a/addonmanager_uninstaller_gui.py +++ b/addonmanager_uninstaller_gui.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_update_all_gui.py b/addonmanager_update_all_gui.py index 949909db..58c41897 100644 --- a/addonmanager_update_all_gui.py +++ b/addonmanager_update_all_gui.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2025 FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/addonmanager_utilities.py b/addonmanager_utilities.py index a0c70eae..1e1dab39 100644 --- a/addonmanager_utilities.py +++ b/addonmanager_utilities.py @@ -1,11 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2018 Gaël Écorchard +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * Copyright (c) 2018 Gaël Écorchard * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/addonmanager_workers_startup.py b/addonmanager_workers_startup.py index 5636f915..2a33f3eb 100644 --- a/addonmanager_workers_startup.py +++ b/addonmanager_workers_startup.py @@ -1,11 +1,9 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2019 Yorik van Havre +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * Copyright (c) 2019 Yorik van Havre * -# * * # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * diff --git a/addonmanager_workers_utility.py b/addonmanager_workers_utility.py index ffbbbf00..e4f5a39e 100644 --- a/addonmanager_workers_utility.py +++ b/addonmanager_workers_utility.py @@ -1,11 +1,8 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/composite_view.py b/composite_view.py index cc5fa7a3..14f2db34 100644 --- a/composite_view.py +++ b/composite_view.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2022-2024 The FreeCAD Project Association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/main.py b/main.py index de1ad818..e69c1af7 100644 --- a/main.py +++ b/main.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2025 The FreeCAD project association AISBL * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * diff --git a/package_list.py b/package_list.py index 32c5187b..b06465f9 100644 --- a/package_list.py +++ b/package_list.py @@ -1,11 +1,7 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. - # *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - # * FreeCAD is free software: you can redistribute it and/or modify it * # * under the terms of the GNU Lesser General Public License as * # * published by the Free Software Foundation, either version 2.1 of the * From a9b243e9bb446bef1ed0653b901a60f3f9609843 Mon Sep 17 00:00:00 2001 From: PhoneDroid <73050054+PhoneDroid@users.noreply.github.com> Date: Sun, 1 Feb 2026 03:04:45 -0500 Subject: [PATCH 4/5] Update copyright headers --- Addon.py | 32 ++++++++-------- AddonCatalog.py | 32 ++++++++-------- AddonCatalogCacheCreator.py | 32 ++++++++-------- AddonManager.py | 32 ++++++++-------- AddonManagerOptions.py | 33 +++++++++-------- AddonManagerTest/app/mocks.py | 37 +++++++++---------- AddonManagerTest/app/test_addon.py | 37 +++++++++---------- .../app/test_addon_catalog_cache_creator.py | 32 ++++++++-------- .../app/test_dependency_installer.py | 33 ++++++++--------- .../app/test_freecad_interface.py | 33 ++++++++--------- AddonManagerTest/app/test_git.py | 33 ++++++++--------- .../app/test_installation_manifest.py | 33 ++++++++--------- AddonManagerTest/app/test_installer.py | 33 ++++++++--------- AddonManagerTest/app/test_licenses.py | 33 ++++++++--------- AddonManagerTest/app/test_macro.py | 34 ++++++++--------- .../app/test_macro_cache_creator.py | 33 ++++++++--------- AddonManagerTest/app/test_macro_parser.py | 33 ++++++++--------- AddonManagerTest/app/test_metadata.py | 34 ++++++++--------- AddonManagerTest/app/test_python_deps.py | 33 +++++++++-------- AddonManagerTest/app/test_uninstaller.py | 33 ++++++++--------- AddonManagerTest/app/test_utilities.py | 33 ++++++++--------- AddonManagerTest/app/test_workers_startup.py | 34 ++++++++--------- AddonManagerTest/gui/gui_mocks.py | 33 ++++++++--------- AddonManagerTest/gui/test_installer_gui.py | 33 +++++++++-------- AddonManagerTest/gui/test_toolbar_adapter.py | 33 ++++++++--------- AddonManagerTest/gui/test_uninstaller_gui.py | 33 ++++++++--------- AddonManagerTest/gui/test_update_all_gui.py | 32 ++++++++-------- .../gui/test_widget_addon_buttons.py | 33 ++++++++--------- .../gui/test_widget_filter_selector.py | 33 ++++++++--------- .../gui/test_widget_global_buttons.py | 33 ++++++++--------- .../gui/test_widget_package_details_view.py | 33 ++++++++--------- .../gui/test_widget_progress_bar.py | 32 ++++++++-------- .../gui/test_widget_readme_browser.py | 33 ++++++++--------- AddonManagerTest/gui/test_widget_search.py | 33 ++++++++--------- .../gui/test_widget_view_control_bar.py | 34 ++++++++--------- .../gui/test_widget_view_selector.py | 34 ++++++++--------- AddonManagerTest/gui/test_workers_utility.py | 32 ++++++++-------- AddonStats.py | 34 ++++++++--------- MacroCacheCreator.py | 33 +++++++++-------- NetworkManager.py | 33 +++++++++-------- PySideWrapper.py | 33 +++++++++-------- TestAddonManagerApp.py | 33 +++++++++-------- TestAddonManagerGui.py | 33 +++++++++-------- Widgets/addonmanager_colors.py | 33 ++++++++--------- Widgets/addonmanager_utility_dialogs.py | 32 ++++++++-------- Widgets/addonmanager_widget_addon_buttons.py | 33 ++++++++--------- .../addonmanager_widget_filter_selector.py | 34 ++++++++--------- Widgets/addonmanager_widget_global_buttons.py | 32 ++++++++-------- ...ddonmanager_widget_package_details_view.py | 32 ++++++++-------- Widgets/addonmanager_widget_readme_browser.py | 33 +++++++++-------- Widgets/addonmanager_widget_search.py | 32 ++++++++-------- .../addonmanager_widget_view_control_bar.py | 32 ++++++++-------- Widgets/addonmanager_widget_view_selector.py | 32 ++++++++-------- Widgets/spinner.py | 33 +++++++++-------- addonmanager_connection_checker.py | 32 ++++++++-------- addonmanager_dependency_installer.py | 32 ++++++++-------- addonmanager_firstrun.py | 33 ++++++++--------- addonmanager_freecad_interface.py | 32 ++++++++-------- addonmanager_git.py | 32 ++++++++-------- addonmanager_icon_utilities.py | 32 ++++++++-------- addonmanager_installation_manifest.py | 33 +++++++++-------- addonmanager_installer.py | 32 ++++++++-------- addonmanager_installer_gui.py | 32 ++++++++-------- addonmanager_licenses.py | 32 ++++++++-------- addonmanager_macro.py | 32 ++++++++-------- addonmanager_macro_parser.py | 32 ++++++++-------- addonmanager_metadata.py | 32 ++++++++-------- addonmanager_package_details_controller.py | 32 ++++++++-------- addonmanager_preferences_migrations.py | 32 ++++++++-------- addonmanager_python_deps.py | 33 ++++++++--------- addonmanager_python_deps_gui.py | 32 ++++++++-------- addonmanager_readme_controller.py | 32 ++++++++-------- addonmanager_uninstaller.py | 32 ++++++++-------- addonmanager_uninstaller_gui.py | 32 ++++++++-------- addonmanager_update_all_gui.py | 32 ++++++++-------- addonmanager_utilities.py | 33 ++++++++--------- addonmanager_workers_startup.py | 33 ++++++++--------- addonmanager_workers_utility.py | 32 ++++++++-------- composite_view.py | 33 +++++++++-------- main.py | 33 +++++++++-------- package_list.py | 33 +++++++++-------- 81 files changed, 1318 insertions(+), 1337 deletions(-) diff --git a/Addon.py b/Addon.py index 89a0ef0e..5b7f6716 100644 --- a/Addon.py +++ b/Addon.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Defines the Addon class to encapsulate information about FreeCAD Addons""" diff --git a/AddonCatalog.py b/AddonCatalog.py index e13e8814..f8e8171a 100644 --- a/AddonCatalog.py +++ b/AddonCatalog.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """The Addon Catalog is the main list of all Addons along with their various sources and compatible versions. Added in FreeCAD 1.1 to replace .gitmodules.""" diff --git a/AddonCatalogCacheCreator.py b/AddonCatalogCacheCreator.py index 35b210a5..ed706486 100644 --- a/AddonCatalogCacheCreator.py +++ b/AddonCatalogCacheCreator.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Classes and utility functions to generate a remotely hosted cache of all addon catalog entries. Intended to be run by a server-side systemd timer to generate a file that is then loaded by the diff --git a/AddonManager.py b/AddonManager.py index bc19f3d1..d34affaa 100644 --- a/AddonManager.py +++ b/AddonManager.py @@ -3,22 +3,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import os import functools diff --git a/AddonManagerOptions.py b/AddonManagerOptions.py index f7d40374..a592bfda 100644 --- a/AddonManagerOptions.py +++ b/AddonManagerOptions.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Contains the Addon Manager's preferences dialog management class""" diff --git a/AddonManagerTest/app/mocks.py b/AddonManagerTest/app/mocks.py index 7061c37a..0da8e255 100644 --- a/AddonManagerTest/app/mocks.py +++ b/AddonManagerTest/app/mocks.py @@ -1,26 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Mock objects for use when testing the addon manager non-GUI code.""" diff --git a/AddonManagerTest/app/test_addon.py b/AddonManagerTest/app/test_addon.py index 8e59673b..ab3d2c7d 100644 --- a/AddonManagerTest/app/test_addon.py +++ b/AddonManagerTest/app/test_addon.py @@ -1,26 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * Copyright (c) 2022-2023 FreeCAD Project Association * -# * * - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import os import tempfile import unittest diff --git a/AddonManagerTest/app/test_addon_catalog_cache_creator.py b/AddonManagerTest/app/test_addon_catalog_cache_creator.py index a9659e1e..623380e5 100644 --- a/AddonManagerTest/app/test_addon_catalog_cache_creator.py +++ b/AddonManagerTest/app/test_addon_catalog_cache_creator.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """The AddonCatalogCacheCreator is an independent script that is run server-side to generate a cache of the addon metadata and icons. These tests verify the functionality of its methods.""" diff --git a/AddonManagerTest/app/test_dependency_installer.py b/AddonManagerTest/app/test_dependency_installer.py index e14b0f95..5f145e69 100644 --- a/AddonManagerTest/app/test_dependency_installer.py +++ b/AddonManagerTest/app/test_dependency_installer.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import functools import os diff --git a/AddonManagerTest/app/test_freecad_interface.py b/AddonManagerTest/app/test_freecad_interface.py index 89bc3373..2088bab1 100644 --- a/AddonManagerTest/app/test_freecad_interface.py +++ b/AddonManagerTest/app/test_freecad_interface.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Tests for the Addon Manager's FreeCAD interface classes.""" diff --git a/AddonManagerTest/app/test_git.py b/AddonManagerTest/app/test_git.py index 7e8aa6ad..008c541c 100644 --- a/AddonManagerTest/app/test_git.py +++ b/AddonManagerTest/app/test_git.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest diff --git a/AddonManagerTest/app/test_installation_manifest.py b/AddonManagerTest/app/test_installation_manifest.py index e1c1ccee..63f914d8 100644 --- a/AddonManagerTest/app/test_installation_manifest.py +++ b/AddonManagerTest/app/test_installation_manifest.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import datetime import json diff --git a/AddonManagerTest/app/test_installer.py b/AddonManagerTest/app/test_installer.py index 71afec3c..bc1512e8 100644 --- a/AddonManagerTest/app/test_installer.py +++ b/AddonManagerTest/app/test_installer.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Contains the unit test class for addonmanager_installer.py non-GUI functionality.""" diff --git a/AddonManagerTest/app/test_licenses.py b/AddonManagerTest/app/test_licenses.py index 66d57557..cdd9255d 100644 --- a/AddonManagerTest/app/test_licenses.py +++ b/AddonManagerTest/app/test_licenses.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest import unittest.mock as mock diff --git a/AddonManagerTest/app/test_macro.py b/AddonManagerTest/app/test_macro.py index a59646e6..9e2c635f 100644 --- a/AddonManagerTest/app/test_macro.py +++ b/AddonManagerTest/app/test_macro.py @@ -2,23 +2,23 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import base64 import os import tempfile diff --git a/AddonManagerTest/app/test_macro_cache_creator.py b/AddonManagerTest/app/test_macro_cache_creator.py index a6c18c44..9d01638d 100644 --- a/AddonManagerTest/app/test_macro_cache_creator.py +++ b/AddonManagerTest/app/test_macro_cache_creator.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest from unittest.mock import patch, MagicMock diff --git a/AddonManagerTest/app/test_macro_parser.py b/AddonManagerTest/app/test_macro_parser.py index 58d8269b..5215721a 100644 --- a/AddonManagerTest/app/test_macro_parser.py +++ b/AddonManagerTest/app/test_macro_parser.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Tests for the MacroParser class""" diff --git a/AddonManagerTest/app/test_metadata.py b/AddonManagerTest/app/test_metadata.py index c3d0ce71..911e770d 100644 --- a/AddonManagerTest/app/test_metadata.py +++ b/AddonManagerTest/app/test_metadata.py @@ -2,23 +2,23 @@ # SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import os import tempfile import unittest diff --git a/AddonManagerTest/app/test_python_deps.py b/AddonManagerTest/app/test_python_deps.py index 5248eefa..fe2b1777 100644 --- a/AddonManagerTest/app/test_python_deps.py +++ b/AddonManagerTest/app/test_python_deps.py @@ -2,22 +2,23 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import os import subprocess import unittest diff --git a/AddonManagerTest/app/test_uninstaller.py b/AddonManagerTest/app/test_uninstaller.py index 8ea1c278..588541a5 100644 --- a/AddonManagerTest/app/test_uninstaller.py +++ b/AddonManagerTest/app/test_uninstaller.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Contains the unit test class for addonmanager_uninstaller.py non-GUI functionality.""" diff --git a/AddonManagerTest/app/test_utilities.py b/AddonManagerTest/app/test_utilities.py index 6d936b05..dff372ab 100644 --- a/AddonManagerTest/app/test_utilities.py +++ b/AddonManagerTest/app/test_utilities.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ from datetime import datetime import unittest diff --git a/AddonManagerTest/app/test_workers_startup.py b/AddonManagerTest/app/test_workers_startup.py index dc14ca8f..13097a4d 100644 --- a/AddonManagerTest/app/test_workers_startup.py +++ b/AddonManagerTest/app/test_workers_startup.py @@ -2,23 +2,23 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import json import unittest from unittest.mock import patch, MagicMock diff --git a/AddonManagerTest/gui/gui_mocks.py b/AddonManagerTest/gui/gui_mocks.py index 438195d3..763fa03b 100644 --- a/AddonManagerTest/gui/gui_mocks.py +++ b/AddonManagerTest/gui/gui_mocks.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import sys from typing import Optional diff --git a/AddonManagerTest/gui/test_installer_gui.py b/AddonManagerTest/gui/test_installer_gui.py index c573b546..31050675 100644 --- a/AddonManagerTest/gui/test_installer_gui.py +++ b/AddonManagerTest/gui/test_installer_gui.py @@ -2,22 +2,23 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import sys from enum import IntEnum import os diff --git a/AddonManagerTest/gui/test_toolbar_adapter.py b/AddonManagerTest/gui/test_toolbar_adapter.py index 637f1a8f..60415c76 100644 --- a/AddonManagerTest/gui/test_toolbar_adapter.py +++ b/AddonManagerTest/gui/test_toolbar_adapter.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest from unittest.mock import MagicMock, Mock, patch diff --git a/AddonManagerTest/gui/test_uninstaller_gui.py b/AddonManagerTest/gui/test_uninstaller_gui.py index ad9bec4d..8d9e16ce 100644 --- a/AddonManagerTest/gui/test_uninstaller_gui.py +++ b/AddonManagerTest/gui/test_uninstaller_gui.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import functools import unittest diff --git a/AddonManagerTest/gui/test_update_all_gui.py b/AddonManagerTest/gui/test_update_all_gui.py index f0ebecb4..71aa29b1 100644 --- a/AddonManagerTest/gui/test_update_all_gui.py +++ b/AddonManagerTest/gui/test_update_all_gui.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ from unittest import TestCase from unittest.mock import patch diff --git a/AddonManagerTest/gui/test_widget_addon_buttons.py b/AddonManagerTest/gui/test_widget_addon_buttons.py index dea45bce..523a9303 100644 --- a/AddonManagerTest/gui/test_widget_addon_buttons.py +++ b/AddonManagerTest/gui/test_widget_addon_buttons.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest diff --git a/AddonManagerTest/gui/test_widget_filter_selector.py b/AddonManagerTest/gui/test_widget_filter_selector.py index 14721e10..d4ad6b47 100644 --- a/AddonManagerTest/gui/test_widget_filter_selector.py +++ b/AddonManagerTest/gui/test_widget_filter_selector.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest diff --git a/AddonManagerTest/gui/test_widget_global_buttons.py b/AddonManagerTest/gui/test_widget_global_buttons.py index da522f6a..0657d533 100644 --- a/AddonManagerTest/gui/test_widget_global_buttons.py +++ b/AddonManagerTest/gui/test_widget_global_buttons.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest diff --git a/AddonManagerTest/gui/test_widget_package_details_view.py b/AddonManagerTest/gui/test_widget_package_details_view.py index 60de135a..4dd7547d 100644 --- a/AddonManagerTest/gui/test_widget_package_details_view.py +++ b/AddonManagerTest/gui/test_widget_package_details_view.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Tests for the PackageDetailsView widget. Many tests are currently just stubs that ensure the code paths are executed so that the CI can find any errors in Python or Qt5/Qt6 compatibility. diff --git a/AddonManagerTest/gui/test_widget_progress_bar.py b/AddonManagerTest/gui/test_widget_progress_bar.py index 0b55a992..ae31e0c2 100644 --- a/AddonManagerTest/gui/test_widget_progress_bar.py +++ b/AddonManagerTest/gui/test_widget_progress_bar.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import sys import unittest diff --git a/AddonManagerTest/gui/test_widget_readme_browser.py b/AddonManagerTest/gui/test_widget_readme_browser.py index fa0d71ff..183ea839 100644 --- a/AddonManagerTest/gui/test_widget_readme_browser.py +++ b/AddonManagerTest/gui/test_widget_readme_browser.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest diff --git a/AddonManagerTest/gui/test_widget_search.py b/AddonManagerTest/gui/test_widget_search.py index 519647d7..14dfa535 100644 --- a/AddonManagerTest/gui/test_widget_search.py +++ b/AddonManagerTest/gui/test_widget_search.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest diff --git a/AddonManagerTest/gui/test_widget_view_control_bar.py b/AddonManagerTest/gui/test_widget_view_control_bar.py index e6f4d181..5a47aaf4 100644 --- a/AddonManagerTest/gui/test_widget_view_control_bar.py +++ b/AddonManagerTest/gui/test_widget_view_control_bar.py @@ -2,23 +2,23 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import unittest from PySideWrapper import QtCore, QtWidgets diff --git a/AddonManagerTest/gui/test_widget_view_selector.py b/AddonManagerTest/gui/test_widget_view_selector.py index c3bacce6..bc1a77cc 100644 --- a/AddonManagerTest/gui/test_widget_view_selector.py +++ b/AddonManagerTest/gui/test_widget_view_selector.py @@ -2,23 +2,23 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import unittest from PySideWrapper import QtWidgets diff --git a/AddonManagerTest/gui/test_workers_utility.py b/AddonManagerTest/gui/test_workers_utility.py index 54666703..74899815 100644 --- a/AddonManagerTest/gui/test_workers_utility.py +++ b/AddonManagerTest/gui/test_workers_utility.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import unittest import os diff --git a/AddonStats.py b/AddonStats.py index 8e253348..56d9dd83 100644 --- a/AddonStats.py +++ b/AddonStats.py @@ -1,23 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Classes and structures related to Addon sidecar information""" diff --git a/MacroCacheCreator.py b/MacroCacheCreator.py index b6a33fa4..79fb3f1e 100644 --- a/MacroCacheCreator.py +++ b/MacroCacheCreator.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """The MacroCacheCreator is an independent script run server-side to generate a cache of the macros and their metadata. Supports both git-based and wiki-based macros.""" diff --git a/NetworkManager.py b/NetworkManager.py index bdb8f842..20bd8f20 100644 --- a/NetworkManager.py +++ b/NetworkManager.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """ ############################################################################# diff --git a/PySideWrapper.py b/PySideWrapper.py index 3a28b0ea..68cdf3fe 100644 --- a/PySideWrapper.py +++ b/PySideWrapper.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Wrap PySide so the same import can use either PySide6 or PySide2. Also support using the FreeCAD wrapper, if that is available.""" diff --git a/TestAddonManagerApp.py b/TestAddonManagerApp.py index 86c33b05..cf2bf32e 100644 --- a/TestAddonManagerApp.py +++ b/TestAddonManagerApp.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import addonmanager_freecad_interface as fci diff --git a/TestAddonManagerGui.py b/TestAddonManagerGui.py index 32710aec..851a0c64 100644 --- a/TestAddonManagerGui.py +++ b/TestAddonManagerGui.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import addonmanager_freecad_interface as fci diff --git a/Widgets/addonmanager_colors.py b/Widgets/addonmanager_colors.py index 180f045f..6bc42ba1 100644 --- a/Widgets/addonmanager_colors.py +++ b/Widgets/addonmanager_colors.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import addonmanager_freecad_interface as fci from PySideWrapper import QtGui diff --git a/Widgets/addonmanager_utility_dialogs.py b/Widgets/addonmanager_utility_dialogs.py index 7708a84f..96fe5312 100644 --- a/Widgets/addonmanager_utility_dialogs.py +++ b/Widgets/addonmanager_utility_dialogs.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ from enum import Enum from PySideWrapper import QtWidgets diff --git a/Widgets/addonmanager_widget_addon_buttons.py b/Widgets/addonmanager_widget_addon_buttons.py index fdef9ffd..f1f84633 100644 --- a/Widgets/addonmanager_widget_addon_buttons.py +++ b/Widgets/addonmanager_widget_addon_buttons.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Defines a QWidget-derived class for displaying the single-addon buttons.""" diff --git a/Widgets/addonmanager_widget_filter_selector.py b/Widgets/addonmanager_widget_filter_selector.py index 326eb300..2de476c2 100644 --- a/Widgets/addonmanager_widget_filter_selector.py +++ b/Widgets/addonmanager_widget_filter_selector.py @@ -2,24 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * This file is part of the FreeCAD Addon Manager. * -# * * -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Defines a QWidget-derived class for displaying the view selection buttons.""" diff --git a/Widgets/addonmanager_widget_global_buttons.py b/Widgets/addonmanager_widget_global_buttons.py index 1bbe5a78..4e089d45 100644 --- a/Widgets/addonmanager_widget_global_buttons.py +++ b/Widgets/addonmanager_widget_global_buttons.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Defines a QWidget-derived class for displaying a set of buttons that affect the Addon Manager as a whole (rather than a specific Addon). Typically inserted at the bottom of the Addon diff --git a/Widgets/addonmanager_widget_package_details_view.py b/Widgets/addonmanager_widget_package_details_view.py index b42ffadd..0be5b9d3 100644 --- a/Widgets/addonmanager_widget_package_details_view.py +++ b/Widgets/addonmanager_widget_package_details_view.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ from dataclasses import dataclass from enum import Enum, auto diff --git a/Widgets/addonmanager_widget_readme_browser.py b/Widgets/addonmanager_widget_readme_browser.py index 5e7f5352..1c85c721 100644 --- a/Widgets/addonmanager_widget_readme_browser.py +++ b/Widgets/addonmanager_widget_readme_browser.py @@ -2,22 +2,23 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import re import addonmanager_freecad_interface as fci diff --git a/Widgets/addonmanager_widget_search.py b/Widgets/addonmanager_widget_search.py index ef0efccf..d45ba4c6 100644 --- a/Widgets/addonmanager_widget_search.py +++ b/Widgets/addonmanager_widget_search.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Defines a QWidget-derived class for displaying the view selection buttons.""" diff --git a/Widgets/addonmanager_widget_view_control_bar.py b/Widgets/addonmanager_widget_view_control_bar.py index 844d63b8..f86ddf66 100644 --- a/Widgets/addonmanager_widget_view_control_bar.py +++ b/Widgets/addonmanager_widget_view_control_bar.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Defines a class derived from QWidget for displaying the bar at the top of the addons list.""" diff --git a/Widgets/addonmanager_widget_view_selector.py b/Widgets/addonmanager_widget_view_selector.py index 3c2607b0..c7f6ee43 100644 --- a/Widgets/addonmanager_widget_view_selector.py +++ b/Widgets/addonmanager_widget_view_selector.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Defines a QWidget-derived class for displaying the view selection buttons.""" diff --git a/Widgets/spinner.py b/Widgets/spinner.py index c0a2daf6..50105894 100644 --- a/Widgets/spinner.py +++ b/Widgets/spinner.py @@ -2,22 +2,23 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import os from PySideWrapper import QtCore, QtGui, QtWidgets, QtSvg diff --git a/addonmanager_connection_checker.py b/addonmanager_connection_checker.py index 2ffcf047..e22ca2c1 100644 --- a/addonmanager_connection_checker.py +++ b/addonmanager_connection_checker.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """System for checking the network connection status asynchronously.""" diff --git a/addonmanager_dependency_installer.py b/addonmanager_dependency_installer.py index 292ae1ac..89986b2a 100644 --- a/addonmanager_dependency_installer.py +++ b/addonmanager_dependency_installer.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Class to manage installation of sets of Python dependencies.""" diff --git a/addonmanager_firstrun.py b/addonmanager_firstrun.py index 7b4a707c..afe05bc7 100644 --- a/addonmanager_firstrun.py +++ b/addonmanager_firstrun.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Class to display a first-run dialog for the Addon Manager""" diff --git a/addonmanager_freecad_interface.py b/addonmanager_freecad_interface.py index 468e9c5b..6bf1ec26 100644 --- a/addonmanager_freecad_interface.py +++ b/addonmanager_freecad_interface.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Classes to encapsulate the Addon Manager's interaction with FreeCAD, and to provide replacements when the Addon Manager is not run from within FreeCAD (e.g. during unit diff --git a/addonmanager_git.py b/addonmanager_git.py index 641eab33..3d88dd53 100644 --- a/addonmanager_git.py +++ b/addonmanager_git.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Wrapper around git executable to simplify calling git commands from Python.""" diff --git a/addonmanager_icon_utilities.py b/addonmanager_icon_utilities.py index f6098049..7d1d7fdb 100644 --- a/addonmanager_icon_utilities.py +++ b/addonmanager_icon_utilities.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import re import os diff --git a/addonmanager_installation_manifest.py b/addonmanager_installation_manifest.py index bcdd0b23..b38940d5 100644 --- a/addonmanager_installation_manifest.py +++ b/addonmanager_installation_manifest.py @@ -2,22 +2,23 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ + import json import os import threading diff --git a/addonmanager_installer.py b/addonmanager_installer.py index d4f6467d..e79b793b 100644 --- a/addonmanager_installer.py +++ b/addonmanager_installer.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Contains the classes to manage Addon installation: intended as a stable API, safe for external code to call and to rely upon existing. See classes AddonInstaller and MacroInstaller for details. diff --git a/addonmanager_installer_gui.py b/addonmanager_installer_gui.py index d7e1dd8e..24573038 100644 --- a/addonmanager_installer_gui.py +++ b/addonmanager_installer_gui.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Classes to manage the GUI presentation of installing an Addon (e.g., the sequence of dialog boxes that do dependency resolution, error handling, etc.). See AddonInstallerGUI and MacroInstallerGUI diff --git a/addonmanager_licenses.py b/addonmanager_licenses.py index 19e35ac9..8d6d0812 100644 --- a/addonmanager_licenses.py +++ b/addonmanager_licenses.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Utilities for working with licenses. Based on SPDX info downloaded from https://github.com/spdx/license-list-data and stored as part of the FreeCAD repo, loaded into a Qt diff --git a/addonmanager_macro.py b/addonmanager_macro.py index b89db425..894a34ed 100644 --- a/addonmanager_macro.py +++ b/addonmanager_macro.py @@ -3,22 +3,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Unified handler for FreeCAD macros that can be obtained from different sources.""" diff --git a/addonmanager_macro_parser.py b/addonmanager_macro_parser.py index 449f6934..f3ae096a 100644 --- a/addonmanager_macro_parser.py +++ b/addonmanager_macro_parser.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Contains the parser class for extracting metadata from a FreeCAD macro""" diff --git a/addonmanager_metadata.py b/addonmanager_metadata.py index 09e4aa7a..a8462bd9 100644 --- a/addonmanager_metadata.py +++ b/addonmanager_metadata.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2023 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Classes for working with Addon metadata, as documented at https://wiki.FreeCAD.org/Package_metadata""" diff --git a/addonmanager_package_details_controller.py b/addonmanager_package_details_controller.py index 95b29bdb..8af5683f 100644 --- a/addonmanager_package_details_controller.py +++ b/addonmanager_package_details_controller.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Provides the PackageDetails widget.""" diff --git a/addonmanager_preferences_migrations.py b/addonmanager_preferences_migrations.py index 429bc2da..3d772b98 100644 --- a/addonmanager_preferences_migrations.py +++ b/addonmanager_preferences_migrations.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ from urllib.parse import urlparse diff --git a/addonmanager_python_deps.py b/addonmanager_python_deps.py index 6912f9b0..a2bda8c7 100644 --- a/addonmanager_python_deps.py +++ b/addonmanager_python_deps.py @@ -2,23 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Provides classes and support functions for managing the automatically installed Python library dependencies. No support is provided for uninstalling those dependencies diff --git a/addonmanager_python_deps_gui.py b/addonmanager_python_deps_gui.py index 88915bcb..d14d72f7 100644 --- a/addonmanager_python_deps_gui.py +++ b/addonmanager_python_deps_gui.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """GUI for python dependency management.""" diff --git a/addonmanager_readme_controller.py b/addonmanager_readme_controller.py index 40ef5fc1..7964c99e 100644 --- a/addonmanager_readme_controller.py +++ b/addonmanager_readme_controller.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2024 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """A Qt Widget for displaying Addon README information""" diff --git a/addonmanager_uninstaller.py b/addonmanager_uninstaller.py index c60b5f0e..1c3bffd1 100644 --- a/addonmanager_uninstaller.py +++ b/addonmanager_uninstaller.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Contains the classes to manage Addon removal: intended as a stable API, safe for external code to call and to rely upon existing. See classes AddonUninstaller and diff --git a/addonmanager_uninstaller_gui.py b/addonmanager_uninstaller_gui.py index 7df7f0ac..144a78e0 100644 --- a/addonmanager_uninstaller_gui.py +++ b/addonmanager_uninstaller_gui.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """GUI functions for uninstalling an Addon or Macro.""" diff --git a/addonmanager_update_all_gui.py b/addonmanager_update_all_gui.py index 58c41897..01f7b68c 100644 --- a/addonmanager_update_all_gui.py +++ b/addonmanager_update_all_gui.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Class to manage the display of an Update All dialog.""" diff --git a/addonmanager_utilities.py b/addonmanager_utilities.py index 1e1dab39..fe53f64c 100644 --- a/addonmanager_utilities.py +++ b/addonmanager_utilities.py @@ -3,23 +3,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Utilities to work across different platforms, providers and python versions""" diff --git a/addonmanager_workers_startup.py b/addonmanager_workers_startup.py index 2a33f3eb..b100afde 100644 --- a/addonmanager_workers_startup.py +++ b/addonmanager_workers_startup.py @@ -3,23 +3,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** - -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Worker thread classes for Addon Manager startup""" diff --git a/addonmanager_workers_utility.py b/addonmanager_workers_utility.py index e4f5a39e..30aa6923 100644 --- a/addonmanager_workers_utility.py +++ b/addonmanager_workers_utility.py @@ -2,22 +2,22 @@ # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Misc. worker thread classes for the FreeCAD Addon Manager.""" diff --git a/composite_view.py b/composite_view.py index 14f2db34..772cb23d 100644 --- a/composite_view.py +++ b/composite_view.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Provides a class for showing the list view and detail view at the same time.""" diff --git a/main.py b/main.py index e69c1af7..92c7adb8 100644 --- a/main.py +++ b/main.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2025 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ import os import sys diff --git a/package_list.py b/package_list.py index b06465f9..676b0692 100644 --- a/package_list.py +++ b/package_list.py @@ -1,22 +1,23 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager. -# *************************************************************************** -# * FreeCAD is free software: you can redistribute it and/or modify it * -# * under the terms of the GNU Lesser General Public License as * -# * published by the Free Software Foundation, either version 2.1 of the * -# * License, or (at your option) any later version. * -# * * -# * FreeCAD 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 * -# * Lesser General Public License for more details. * -# * * -# * You should have received a copy of the GNU Lesser General Public * -# * License along with FreeCAD. If not, see * -# * . * -# * * -# *************************************************************************** + +################################################################################ +# # +# This addon is free software: you can redistribute it and/or modify # +# it under the terms of the GNU Lesser General Public License as # +# published by the Free Software Foundation, either version 2.1 # +# of the License, or (at your option) any later version. # +# # +# This addon 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 Lesser General Public License for more details. # +# # +# You should have received a copy of the GNU Lesser General Public # +# License along with this addon. If not, see https://www.gnu.org/licenses # +# # +################################################################################ """Defines the PackageList QWidget for displaying a list of Addons.""" From b8c2799e6eb49cd8033d6beec6f08169fd801144 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 1 Feb 2026 08:06:57 +0000 Subject: [PATCH 5/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- AddonManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AddonManager.py b/AddonManager.py index d34affaa..17d8e251 100644 --- a/AddonManager.py +++ b/AddonManager.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: LGPL-2.1-or-later -# SPDX-FileCopyrightText: 2015 Yorik van Havre +# SPDX-FileCopyrightText: 2015 Yorik van Havre # SPDX-FileCopyrightText: 2022 FreeCAD Project Association # SPDX-FileNotice: Part of the AddonManager.