From 9d44798b1efdefa8f01cbf693d7c371e8524e49f Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Tue, 20 Oct 2026 15:06:10 -0400 Subject: [PATCH 1/4] chore(license)!: relicense the runtime under GPLv3 with a commercial option The runtime moves from MIT to a dual licence: GPLv3 for everyone, and a commercial licence for commercial use, bought from the OpenPLC Editor at program upload. First-party SPDX headers change to GPL-3.0-or-later. Contributions are accepted under CLA.md: submitting a pull request means agreeing to it, the pull request template carries a checkbox, and a CLA check fails until outside contributors tick it. BREAKING CHANGE: the runtime is now licensed under GPLv3 or a commercial licence instead of MIT. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MRWeC5FUhe5ZwEEbLUGpZ6 --- .github/pull_request_template.md | 4 + .github/workflows/cla.yml | 31 + CLA.md | 47 ++ CONTRIBUTING.md | 9 + LICENSE | 695 +++++++++++++++++- LICENSING.md | 23 + README.md | 9 +- bootloader/internal/api/authz_test.go | 2 +- bootloader/internal/api/deviceinfo_test.go | 2 +- bootloader/internal/api/server.go | 2 +- bootloader/internal/api/server_test.go | 2 +- bootloader/internal/api/throttle.go | 2 +- bootloader/internal/api/tls.go | 2 +- bootloader/internal/api/tls_test.go | 2 +- bootloader/internal/discovery/responder.go | 2 +- .../internal/discovery/responder_test.go | 2 +- bootloader/internal/discovery/reuse_linux.go | 2 +- bootloader/internal/discovery/reuse_other.go | 2 +- bootloader/internal/dockerapi/client.go | 2 +- bootloader/internal/dockerapi/containers.go | 2 +- bootloader/internal/dockerapi/events.go | 2 +- bootloader/internal/dockerapi/images.go | 2 +- bootloader/internal/dockerapi/images_test.go | 2 +- bootloader/internal/dockerapi/info.go | 2 +- bootloader/internal/health/prober.go | 2 +- .../internal/runtimeauth/inode_linux.go | 2 +- .../internal/runtimeauth/inode_other.go | 2 +- bootloader/internal/runtimeauth/password.go | 2 +- bootloader/internal/runtimeauth/provider.go | 2 +- .../internal/runtimeauth/runtimeauth_test.go | 2 +- bootloader/internal/runtimeauth/secrets.go | 2 +- bootloader/internal/runtimeauth/token.go | 2 +- bootloader/internal/runtimeauth/users.go | 2 +- bootloader/internal/runtimespec/spec.go | 2 +- bootloader/internal/runtimespec/spec_test.go | 2 +- bootloader/internal/selfupdate/selfupdate.go | 2 +- .../internal/selfupdate/selfupdate_test.go | 2 +- bootloader/internal/supervisor/crashwindow.go | 2 +- bootloader/internal/supervisor/supervisor.go | 2 +- .../internal/supervisor/supervisor_test.go | 2 +- bootloader/internal/updater/disk_linux.go | 2 +- bootloader/internal/updater/disk_other.go | 2 +- .../internal/updater/pullfailure_test.go | 2 +- bootloader/internal/updater/updater.go | 2 +- bootloader/internal/updater/updater_test.go | 2 +- bootloader/main.go | 2 +- core/src/drivers/README.md | 2 +- core/src/drivers/plugin_config.c | 2 +- core/src/drivers/plugin_config.h | 2 +- core/src/drivers/plugin_driver.c | 2 +- core/src/drivers/plugin_driver.h | 2 +- core/src/drivers/plugin_plc_requests.c | 2 +- core/src/drivers/plugin_plc_requests.h | 2 +- core/src/drivers/plugin_types.h | 2 +- .../plugins/native/ethercat/CMakeLists.txt | 2 +- .../plugins/native/ethercat/ethercat_iomap.c | 2 +- .../plugins/native/ethercat/ethercat_iomap.h | 2 +- .../plugins/native/ethercat/ethercat_plugin.c | 2 +- .../plugins/native/ethercat/etherdog_link.c | 2 +- .../plugins/native/ethercat/etherdog_link.h | 2 +- .../plugins/native/examples/test_plugin.c | 2 +- .../native/examples/test_plugin_loader.c | 2 +- .../drivers/plugins/native/plugin_logger.c | 2 +- .../drivers/plugins/native/plugin_logger.h | 2 +- .../python/examples/buffer_access_example.py | 2 +- .../python/examples/example_python_plugin.py | 2 +- .../modbus_master/modbus_master_connection.py | 2 +- .../modbus_master/modbus_master_memory.py | 2 +- .../modbus_master/modbus_master_plugin.py | 2 +- .../modbus_master/modbus_master_types.py | 2 +- .../modbus_master/modbus_master_utils.py | 2 +- .../python/modbus_master/test/script_slave.py | 2 +- .../plugins/python/modbus_slave/conftest.py | 2 +- .../python/modbus_slave/simple_modbus.py | 2 +- .../python/modbus_slave/test_inputs.py | 2 +- .../python/modbus_slave/test_modbus_slave.py | 2 +- .../test_openplc_input_registers_datablock.py | 2 +- .../drivers/plugins/python/opcua/__init__.py | 2 +- .../plugins/python/opcua/address_space.py | 2 +- .../drivers/plugins/python/opcua/callbacks.py | 2 +- .../drivers/plugins/python/opcua/config.py | 2 +- .../python/opcua/opcua_endpoints_config.py | 2 +- .../plugins/python/opcua/opcua_logging.py | 2 +- .../plugins/python/opcua/opcua_memory.py | 2 +- .../plugins/python/opcua/opcua_security.py | 2 +- .../plugins/python/opcua/opcua_types.py | 2 +- .../plugins/python/opcua/opcua_utils.py | 2 +- .../drivers/plugins/python/opcua/plugin.py | 2 +- .../drivers/plugins/python/opcua/server.py | 2 +- .../plugins/python/opcua/synchronization.py | 2 +- .../opcua/tests/test_server_standalone.py | 2 +- .../opcua/tests/test_subscription_client.py | 2 +- .../plugins/python/opcua/user_manager.py | 2 +- .../drivers/plugins/python/shared/__init__.py | 2 +- .../plugins/python/shared/batch_processor.py | 2 +- .../plugins/python/shared/buffer_accessor.py | 2 +- .../plugins/python/shared/buffer_types.py | 2 +- .../plugins/python/shared/buffer_validator.py | 2 +- .../python/shared/capsule_extraction.py | 2 +- .../python/shared/component_interfaces.py | 2 +- .../plugins/python/shared/config_handler.py | 2 +- .../plugins/python/shared/iec_types.py | 2 +- .../plugins/python/shared/mutex_manager.py | 2 +- .../shared/plugin_config_decode/__init__.py | 2 +- .../modbus_master_config_model.py | 2 +- .../opcua_config_model.py | 2 +- .../plugin_config_contact.py | 2 +- .../test_modbus_master_config_model.py | 2 +- .../test_plugin_config_models.py | 2 +- .../plugins/python/shared/plugin_logger.py | 2 +- .../python/shared/plugin_runtime_args.py | 2 +- .../shared/plugin_structure_validator.py | 2 +- .../shared/safe_buffer_access_refactored.py | 2 +- .../python/shared/safe_logging_access.py | 2 +- core/src/drivers/python_plugin_bridge.h | 2 +- core/src/drivers/vpp_plugin_seal.c | 2 +- core/src/drivers/vpp_plugin_seal.h | 2 +- core/src/lib/plc_image_types.h | 2 +- core/src/lib/strucpp_abi.hpp | 2 +- core/src/plc_app/client_tcp_udp.c | 2 +- core/src/plc_app/debug_handler.c | 2 +- core/src/plc_app/debug_handler.h | 2 +- core/src/plc_app/debug_write_journal.cpp | 2 +- core/src/plc_app/debug_write_journal.h | 2 +- core/src/plc_app/image_tables.cpp | 2 +- core/src/plc_app/image_tables.h | 2 +- core/src/plc_app/include/iec_python.h | 2 +- core/src/plc_app/journal_buffer.c | 2 +- core/src/plc_app/journal_buffer.h | 2 +- core/src/plc_app/located_globals.c | 2 +- core/src/plc_app/located_globals.h | 2 +- core/src/plc_app/plc_boot.c | 2 +- core/src/plc_app/plc_boot.h | 2 +- core/src/plc_app/plc_main.c | 2 +- core/src/plc_app/plc_retain.cpp | 2 +- core/src/plc_app/plc_retain.h | 2 +- core/src/plc_app/plc_retain_file_store.cpp | 2 +- core/src/plc_app/plc_retain_file_store.h | 2 +- core/src/plc_app/plc_state_manager.cpp | 2 +- core/src/plc_app/plc_state_manager.h | 2 +- core/src/plc_app/plc_switch.c | 2 +- core/src/plc_app/plc_switch.h | 2 +- core/src/plc_app/plcapp_manager.c | 2 +- core/src/plc_app/plcapp_manager.h | 2 +- core/src/plc_app/python_loader.c | 2 +- core/src/plc_app/scan_cycle_manager.c | 2 +- core/src/plc_app/scan_cycle_manager.h | 2 +- core/src/plc_app/task_policy.c | 2 +- core/src/plc_app/task_policy.h | 2 +- core/src/plc_app/unix_socket.c | 2 +- core/src/plc_app/unix_socket.h | 2 +- core/src/plc_app/utils/log.c | 2 +- core/src/plc_app/utils/log.h | 2 +- core/src/plc_app/utils/rt_mutex.h | 2 +- core/src/plc_app/utils/utils.c | 2 +- core/src/plc_app/utils/utils.h | 2 +- core/src/plc_app/utils/watchdog.c | 2 +- core/src/plc_app/utils/watchdog.h | 2 +- core/strucpp_runtime/retain_probe.cpp | 2 +- core/strucpp_runtime/runtime_v4_entry.cpp | 2 +- install.sh | 2 +- scripts/build-docker-image-dev.sh | 2 +- scripts/build-docker-image.sh | 2 +- scripts/compile-clean.sh | 2 +- scripts/compile.sh | 2 +- scripts/exec.sh | 2 +- scripts/generate-gluevars.sh | 2 +- scripts/install-docker.sh | 2 +- scripts/manage_plugin_venvs.sh | 2 +- scripts/run-image-dev.sh | 2 +- scripts/run-image.sh | 2 +- scripts/run-pytest.sh | 2 +- start_openplc.sh | 2 +- tests/host/run.sh | 2 +- tests/host/test_image_outputs.cpp | 2 +- tests/host/test_plc_boot.cpp | 2 +- tests/host/test_plc_retain_file_store.cpp | 2 +- tests/host/test_rt_mutex.cpp | 2 +- tests/host/test_task_policy.cpp | 2 +- tests/integration/conftest.py | 2 +- tests/integration/entrypoint.sh | 2 +- tests/integration/harness.sh | 2 +- tests/integration/stubruntime/main.go | 2 +- tests/integration/test_bootloader.py | 2 +- tests/lifecycle/failinject.c | 2 +- tests/lifecycle/fakevpp_plugin.c | 2 +- tests/lifecycle/harness.sh | 2 +- tests/lifecycle/logserver.py | 2 +- tests/lifecycle/suite.py | 2 +- tests/pytest/compile/__init__.py | 2 +- .../compile/test_retain_capability_probe.py | 2 +- tests/pytest/conftest.py | 2 +- tests/pytest/discovery/__init__.py | 2 +- tests/pytest/discovery/conftest.py | 2 +- .../test_discovery_routes_modular.py | 2 +- .../discovery/test_ethercat_discovery.py | 2 +- .../pytest/discovery/test_etherdog_manager.py | 2 +- .../discovery/test_network_discovery.py | 2 +- tests/pytest/logger/conftest.py | 2 +- tests/pytest/logger/test_logger_buffer.py | 2 +- tests/pytest/logger/test_logger_init.py | 2 +- tests/pytest/logger/test_logging.py | 2 +- tests/pytest/modbus_master/conftest.py | 2 +- .../test_error_handling_zero_fill.py | 2 +- .../modbus_master/test_modbus_gateway.py | 2 +- .../test_modbus_master_plugin.py | 2 +- .../modbus_master/test_modbus_slave_device.py | 2 +- tests/pytest/modbus_slave/conftest.py | 2 +- tests/pytest/modbus_slave/test_inputs.py | 2 +- .../pytest/modbus_slave/test_modbus_slave.py | 2 +- .../test_openplc_input_registers_datablock.py | 2 +- tests/pytest/plugins/__init__.py | 2 +- tests/pytest/plugins/opcua/__init__.py | 2 +- tests/pytest/plugins/opcua/conftest.py | 2 +- tests/pytest/plugins/opcua/test_callbacks.py | 2 +- .../opcua/test_config_format_version.py | 2 +- tests/pytest/plugins/opcua/test_data_types.py | 2 +- .../plugins/opcua/test_project/__init__.py | 2 +- .../pytest/plugins/opcua/test_read_status.py | 2 +- .../test_security_profile_anonymous_role.py | 2 +- .../pytest/plugins/opcua/test_string_types.py | 2 +- .../opcua/test_subscription_integration.py | 2 +- .../opcua/test_subscription_performance.py | 2 +- .../plugins/opcua/test_subscriptions.py | 2 +- .../plugins/opcua/test_type_conversions.py | 2 +- .../pytest/plugins/opcua/test_user_manager.py | 2 +- tests/pytest/plugins/opcua/test_write_path.py | 2 +- .../pytest/plugins/test_apply_retain_conf.py | 2 +- .../plugins/test_vpp_anchor_cross_language.py | 2 +- .../pytest/plugins/test_vpp_license_debug.py | 2 +- .../plugins/test_vpp_license_delivery.py | 2 +- tests/pytest/restapi/conftest.py | 2 +- .../restapi/test_bootloader_auth_vector.py | 2 +- tests/pytest/restapi/test_capabilities.py | 2 +- tests/pytest/restapi/test_create_user_race.py | 2 +- .../restapi/test_debug_websocket_auth.py | 2 +- tests/pytest/restapi/test_ethercat_upload.py | 2 +- tests/pytest/restapi/test_project_snapshot.py | 2 +- .../restapi/test_repair_missing_admin.py | 2 +- tests/pytest/restapi/test_user_management.py | 2 +- .../runtime/test_runtime_socket_wait.py | 2 +- .../runtimemanager/test_watchdog_exit.py | 2 +- tests/support/debug_handler_mocks.c | 2 +- tests/support/debug_handler_mocks.h | 2 +- tests/support/plugin_driver_stubs.c | 2 +- tests/test_basic_functionality.c | 2 +- tests/test_debug_handler.c | 2 +- tests/test_ethercat_iec_location.c | 2 +- tests/test_ethercat_iomap.c | 2 +- tests/test_ethercat_relay.c | 2 +- tests/test_etherdog_link.c | 2 +- tests/test_located_globals.c | 2 +- tests/test_plugin_config.c | 2 +- tests/test_plugin_driver.c | 2 +- tests/test_scan_cycle_tracker.c | 2 +- webserver/__init__.py | 2 +- webserver/app.py | 2 +- webserver/config.py | 2 +- webserver/credentials.py | 2 +- webserver/debug_websocket.py | 2 +- webserver/discovery/__init__.py | 2 +- webserver/discovery/discovery_routes.py | 2 +- webserver/discovery/ethercat_discovery.py | 2 +- webserver/discovery/network_discovery.py | 2 +- webserver/etherdog_manager.py | 2 +- webserver/logger/__init__.py | 4 +- webserver/logger/bufferhandler.py | 2 +- webserver/logger/config.py | 2 +- webserver/logger/formatter.py | 2 +- webserver/logger/parser.py | 2 +- webserver/plcapp_management.py | 2 +- webserver/plugin_config_model.py | 2 +- webserver/project_snapshot.py | 2 +- webserver/restapi.py | 2 +- webserver/retain_config.py | 2 +- webserver/runtimemanager.py | 2 +- webserver/unixclient.py | 2 +- webserver/unixserver.py | 2 +- webserver/version.py | 2 +- webserver/vpp_license_debug.py | 2 +- windows/provision-msys2.sh | 2 +- 281 files changed, 1071 insertions(+), 297 deletions(-) create mode 100644 .github/workflows/cla.yml create mode 100644 CLA.md create mode 100644 LICENSING.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index b804f506..caf30d40 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -16,3 +16,7 @@ - [ ] `pre-commit run` clean - [ ] Docs updated if behavior changed (README, CLAUDE.md, docs/) - [ ] Follows the shared review process (summary in `.claude/review-guidelines.md`) + +## Contributor License Agreement + +- [ ] I have read and agree to the [Contributor License Agreement](https://github.com/autonomy-logic/openplc-runtime/blob/development/CLA.md) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..6f37e528 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,31 @@ +name: CLA + +on: + pull_request: + types: [opened, edited, reopened, synchronize] + +permissions: + contents: read + +jobs: + cla: + runs-on: ubuntu-latest + steps: + - name: Check the Contributor License Agreement checkbox + env: + PR_BODY: ${{ github.event.pull_request.body }} + AUTHOR_TYPE: ${{ github.event.pull_request.user.type }} + AUTHOR_ASSOCIATION: ${{ github.event.pull_request.author_association }} + run: | + case "$AUTHOR_ASSOCIATION" in + OWNER|MEMBER) echo "Organisation member: CLA not required."; exit 0 ;; + esac + if [ "$AUTHOR_TYPE" = "Bot" ]; then + echo "Bot account: CLA not required."; exit 0 + fi + if printf '%s\n' "$PR_BODY" | grep -Eiq '^[[:space:]]*[-*][[:space:]]+\[x\][[:space:]]+I have read and agree to the \[?Contributor License Agreement'; then + echo "Contributor License Agreement accepted." + else + echo "::error::Tick the Contributor License Agreement checkbox in the pull request description (see CLA.md)." + exit 1 + fi diff --git a/CLA.md b/CLA.md new file mode 100644 index 00000000..c0cf2420 --- /dev/null +++ b/CLA.md @@ -0,0 +1,47 @@ +# Contributor License Agreement + +Thank you for contributing to this project. This Contributor License Agreement ("Agreement") sets out the terms under which you contribute. You agree to it by ticking the Contributor License Agreement box when you submit a pull request to this repository. It covers that pull request and every later contribution you submit to this repository. + +## 1. Definitions + +- **"We"** or **"Us"** means Autonomy Logic Inc., the owner of this project. +- **"You"** means the individual who submits a Contribution. +- **"Contribution"** means any source code, documentation or other material You submit to this repository, for example through a pull request, including any later changes You make to it. +- **"Material"** means the software and documentation made available by Us in this repository, to which a Contribution may be added. + +## 2. Ownership + +You keep the copyright in your Contribution. This Agreement grants Us a licence; it does not transfer ownership. + +## 3. Copyright licence + +You grant Us a worldwide, non-exclusive, perpetual, irrevocable, royalty-free licence, with the right to sublicense through multiple tiers, to use, reproduce, modify, prepare derivative works of, display, perform, distribute and otherwise exploit your Contribution, alone or as part of the Material. + +## 4. Patent licence + +You grant Us, and every recipient of software distributed by Us, a worldwide, non-exclusive, perpetual, irrevocable, royalty-free patent licence to make, have made, use, sell, offer to sell, import and otherwise transfer your Contribution, alone or combined with the Material, under any patent claims You own or control that would be infringed by your Contribution or by its combination with the Material. + +## 5. Outbound licensing + +We may license your Contribution under any licence, including copyleft, permissive, commercial or proprietary licences. In addition, We will always make your Contribution available under the GNU General Public License version 3, or a later version of it. + +## 6. Your representations + +You confirm that: + +- the Contribution is your original work, or You otherwise have the right to submit it under this Agreement; +- if your employer or anyone else has rights in the Contribution, You have their permission to make it under this Agreement, or they have waived those rights; +- to your knowledge, the Contribution does not infringe anyone else's rights; +- You will tell Us if any of these statements stops being true. + +## 7. No other obligations + +You are not required to support your Contribution. Except as stated in section 6, You provide it "as is", without warranties or conditions of any kind. We are not required to use your Contribution. + +## 8. General + +This Agreement is governed by the laws of the State of Delaware, United States, excluding its conflict-of-law rules. If any provision is found unenforceable, the rest remains in effect. This Agreement is the complete agreement between You and Us about your Contributions. + +--- + +This Agreement is based on the Harmony Individual Contributor License Agreement (HA-CLA-I), version 1.0, published at https://www.harmonyagreements.org under the Creative Commons Attribution 3.0 Unported licence, with outbound option five. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 911cc36a..0c87530d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,14 @@ # Contributing +## Licensing and the Contributor License Agreement + +OpenPLC Runtime is dual-licensed under the GPLv3 and a commercial licence (see `LICENSING.md`). + +- **Contributor License Agreement.** By submitting a pull request, you agree that your contribution is licensed to Autonomy under the terms of the [Contributor License Agreement](CLA.md). The pull request template has a required checkbox confirming this; the CLA check fails until it is ticked. You keep the copyright on your contribution. +- **Always available under the GPLv3.** Every contribution accepted here stays available under the GPLv3, in addition to the commercial licence. +- **SPDX header.** Every new source file starts with `SPDX-License-Identifier: GPL-3.0-or-later` and the Autonomy copyright line, as in the existing files. +- **Third-party code.** Do not add third-party code unless its licence is compatible with both the GPLv3 and the commercial licence. Ask in the pull request when in doubt. + ## Setup Requires Python 3.10+ and CMake 3.28+. Full environment guide: `docs/DEVELOPMENT.md`. diff --git a/LICENSE b/LICENSE index 5beb2fa4..f288702d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,674 @@ -MIT License - -Copyright (c) 2026 Autonomy® - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, 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 +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "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 PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM 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 PROGRAM (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 PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state 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 program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/LICENSING.md b/LICENSING.md new file mode 100644 index 00000000..1048c56e --- /dev/null +++ b/LICENSING.md @@ -0,0 +1,23 @@ +# Licensing + +OpenPLC Runtime is dual-licensed. You can use it under the **GNU General Public License v3** or under a **commercial licence** from Autonomy. + +## GPLv3 + +The GPLv3 terms are in [LICENSE](LICENSE). Under the GPLv3 you may use, study, modify and share OpenPLC Runtime freely. If you distribute it, or a product that contains it, you must make the complete corresponding source code available under the GPLv3 to the people who receive it, including the PLC programs and drivers that run combined with it. + +## Commercial licence + +The commercial licence lets you use OpenPLC Runtime without the GPLv3 obligations. If you are using OpenPLC Runtime in a commercial setting, you will need a commercial licence. + +Licences can be bought from the OpenPLC Editor (desktop or web) when you upload a program to the device. A licence is bound to the hardware it was bought for. + +The runtime never restricts anything: it runs the same way with or without a commercial licence. When a target has no commercial licence, the OpenPLC Editor shows a notice that the program runs under the GPLv3. + +## Third-party components + +Some components keep their own licences, for example the S7comm plugin, which is LGPLv3 or later to match the Snap7 library it links. + +## Contributing + +Contributions require a signed Contributor License Agreement, so that every contribution can be offered under both licences. See [CONTRIBUTING.md](CONTRIBUTING.md). diff --git a/README.md b/README.md index 8cd6a21f..e673138c 100644 --- a/README.md +++ b/README.md @@ -514,7 +514,14 @@ For deterministic real-time performance: ## License -See LICENSE file for details. +OpenPLC Runtime is dual-licensed: + +- **GPLv3**: free for everyone, under the terms in [LICENSE](LICENSE). +- **Commercial licence**: for users who want to use OpenPLC without the obligations of the GPLv3. + +If you are using OpenPLC Runtime in a commercial setting, you will need a commercial licence. Licences can be bought from the OpenPLC Editor (desktop or web) when you upload a program to the device. + +See [LICENSING.md](LICENSING.md) for the details and how to obtain a commercial licence. Contributions require a signed Contributor License Agreement; see [CONTRIBUTING.md](CONTRIBUTING.md). ## Support diff --git a/bootloader/internal/api/authz_test.go b/bootloader/internal/api/authz_test.go index 1d68066a..0c89f2aa 100644 --- a/bootloader/internal/api/authz_test.go +++ b/bootloader/internal/api/authz_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/deviceinfo_test.go b/bootloader/internal/api/deviceinfo_test.go index 7a2843f9..b1f94f2e 100644 --- a/bootloader/internal/api/deviceinfo_test.go +++ b/bootloader/internal/api/deviceinfo_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/server.go b/bootloader/internal/api/server.go index dc89c738..4ff5ae35 100644 --- a/bootloader/internal/api/server.go +++ b/bootloader/internal/api/server.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package api is the bootloader's control API on port 8445. diff --git a/bootloader/internal/api/server_test.go b/bootloader/internal/api/server_test.go index bb984b04..efd36aa2 100644 --- a/bootloader/internal/api/server_test.go +++ b/bootloader/internal/api/server_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/throttle.go b/bootloader/internal/api/throttle.go index cdb63b6b..bf22cc1d 100644 --- a/bootloader/internal/api/throttle.go +++ b/bootloader/internal/api/throttle.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/tls.go b/bootloader/internal/api/tls.go index 8539527a..5c8a42ea 100644 --- a/bootloader/internal/api/tls.go +++ b/bootloader/internal/api/tls.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/tls_test.go b/bootloader/internal/api/tls_test.go index 0bde8dae..10b2f668 100644 --- a/bootloader/internal/api/tls_test.go +++ b/bootloader/internal/api/tls_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/discovery/responder.go b/bootloader/internal/discovery/responder.go index 02c1d441..6cf12057 100644 --- a/bootloader/internal/discovery/responder.go +++ b/bootloader/internal/discovery/responder.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package discovery answers the editor's LAN discovery probe while diff --git a/bootloader/internal/discovery/responder_test.go b/bootloader/internal/discovery/responder_test.go index b5484ae7..abb02dd1 100644 --- a/bootloader/internal/discovery/responder_test.go +++ b/bootloader/internal/discovery/responder_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package discovery diff --git a/bootloader/internal/discovery/reuse_linux.go b/bootloader/internal/discovery/reuse_linux.go index e1ebbf13..0b367cb5 100644 --- a/bootloader/internal/discovery/reuse_linux.go +++ b/bootloader/internal/discovery/reuse_linux.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® //go:build linux diff --git a/bootloader/internal/discovery/reuse_other.go b/bootloader/internal/discovery/reuse_other.go index eebecc03..eebc82c3 100644 --- a/bootloader/internal/discovery/reuse_other.go +++ b/bootloader/internal/discovery/reuse_other.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® //go:build !linux diff --git a/bootloader/internal/dockerapi/client.go b/bootloader/internal/dockerapi/client.go index 9f9f5dc3..05679e0b 100644 --- a/bootloader/internal/dockerapi/client.go +++ b/bootloader/internal/dockerapi/client.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package dockerapi is a minimal client for the Docker Engine API diff --git a/bootloader/internal/dockerapi/containers.go b/bootloader/internal/dockerapi/containers.go index 2abe7e9c..11afad16 100644 --- a/bootloader/internal/dockerapi/containers.go +++ b/bootloader/internal/dockerapi/containers.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/dockerapi/events.go b/bootloader/internal/dockerapi/events.go index 5d20115c..6118c45c 100644 --- a/bootloader/internal/dockerapi/events.go +++ b/bootloader/internal/dockerapi/events.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/dockerapi/images.go b/bootloader/internal/dockerapi/images.go index 8e331e5a..acd9c517 100644 --- a/bootloader/internal/dockerapi/images.go +++ b/bootloader/internal/dockerapi/images.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/dockerapi/images_test.go b/bootloader/internal/dockerapi/images_test.go index 78388824..5befdf81 100644 --- a/bootloader/internal/dockerapi/images_test.go +++ b/bootloader/internal/dockerapi/images_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/dockerapi/info.go b/bootloader/internal/dockerapi/info.go index 2ae33be7..21d30e53 100644 --- a/bootloader/internal/dockerapi/info.go +++ b/bootloader/internal/dockerapi/info.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/health/prober.go b/bootloader/internal/health/prober.go index 64cd5057..a4d08f4b 100644 --- a/bootloader/internal/health/prober.go +++ b/bootloader/internal/health/prober.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package health probes the runtime webserver. Scope is narrow: "is diff --git a/bootloader/internal/runtimeauth/inode_linux.go b/bootloader/internal/runtimeauth/inode_linux.go index 6c0505b7..1303733f 100644 --- a/bootloader/internal/runtimeauth/inode_linux.go +++ b/bootloader/internal/runtimeauth/inode_linux.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® //go:build linux diff --git a/bootloader/internal/runtimeauth/inode_other.go b/bootloader/internal/runtimeauth/inode_other.go index 5d617ce2..a43148a2 100644 --- a/bootloader/internal/runtimeauth/inode_other.go +++ b/bootloader/internal/runtimeauth/inode_other.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® //go:build !linux diff --git a/bootloader/internal/runtimeauth/password.go b/bootloader/internal/runtimeauth/password.go index 756c556c..c8caac36 100644 --- a/bootloader/internal/runtimeauth/password.go +++ b/bootloader/internal/runtimeauth/password.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimeauth/provider.go b/bootloader/internal/runtimeauth/provider.go index a0f2c27d..b24a38b6 100644 --- a/bootloader/internal/runtimeauth/provider.go +++ b/bootloader/internal/runtimeauth/provider.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimeauth/runtimeauth_test.go b/bootloader/internal/runtimeauth/runtimeauth_test.go index 794ed9c3..9f940200 100644 --- a/bootloader/internal/runtimeauth/runtimeauth_test.go +++ b/bootloader/internal/runtimeauth/runtimeauth_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimeauth/secrets.go b/bootloader/internal/runtimeauth/secrets.go index 6a140f80..9e893e8c 100644 --- a/bootloader/internal/runtimeauth/secrets.go +++ b/bootloader/internal/runtimeauth/secrets.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package runtimeauth authenticates callers against the runtime's own diff --git a/bootloader/internal/runtimeauth/token.go b/bootloader/internal/runtimeauth/token.go index bd5af800..84b5adb8 100644 --- a/bootloader/internal/runtimeauth/token.go +++ b/bootloader/internal/runtimeauth/token.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimeauth/users.go b/bootloader/internal/runtimeauth/users.go index 38bc9bde..23177857 100644 --- a/bootloader/internal/runtimeauth/users.go +++ b/bootloader/internal/runtimeauth/users.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimespec/spec.go b/bootloader/internal/runtimespec/spec.go index 2e83a487..c428af28 100644 --- a/bootloader/internal/runtimespec/spec.go +++ b/bootloader/internal/runtimespec/spec.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package runtimespec decides how the runtime container is run. diff --git a/bootloader/internal/runtimespec/spec_test.go b/bootloader/internal/runtimespec/spec_test.go index 72fd95b9..578b2f92 100644 --- a/bootloader/internal/runtimespec/spec_test.go +++ b/bootloader/internal/runtimespec/spec_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package runtimespec diff --git a/bootloader/internal/selfupdate/selfupdate.go b/bootloader/internal/selfupdate/selfupdate.go index d1d63d14..d07193fc 100644 --- a/bootloader/internal/selfupdate/selfupdate.go +++ b/bootloader/internal/selfupdate/selfupdate.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package selfupdate replaces the bootloader with a newer version of diff --git a/bootloader/internal/selfupdate/selfupdate_test.go b/bootloader/internal/selfupdate/selfupdate_test.go index dfe2df1b..f4134d84 100644 --- a/bootloader/internal/selfupdate/selfupdate_test.go +++ b/bootloader/internal/selfupdate/selfupdate_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package selfupdate diff --git a/bootloader/internal/supervisor/crashwindow.go b/bootloader/internal/supervisor/crashwindow.go index 660b5425..0f062109 100644 --- a/bootloader/internal/supervisor/crashwindow.go +++ b/bootloader/internal/supervisor/crashwindow.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package supervisor diff --git a/bootloader/internal/supervisor/supervisor.go b/bootloader/internal/supervisor/supervisor.go index d9e083f7..1f21f071 100644 --- a/bootloader/internal/supervisor/supervisor.go +++ b/bootloader/internal/supervisor/supervisor.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package supervisor owns the runtime container's lifecycle. Reconciles diff --git a/bootloader/internal/supervisor/supervisor_test.go b/bootloader/internal/supervisor/supervisor_test.go index 6c5229ae..b1556728 100644 --- a/bootloader/internal/supervisor/supervisor_test.go +++ b/bootloader/internal/supervisor/supervisor_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package supervisor diff --git a/bootloader/internal/updater/disk_linux.go b/bootloader/internal/updater/disk_linux.go index 9bfc4c6a..096fa10b 100644 --- a/bootloader/internal/updater/disk_linux.go +++ b/bootloader/internal/updater/disk_linux.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® //go:build linux diff --git a/bootloader/internal/updater/disk_other.go b/bootloader/internal/updater/disk_other.go index 68269db1..d87c184a 100644 --- a/bootloader/internal/updater/disk_other.go +++ b/bootloader/internal/updater/disk_other.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® //go:build !linux diff --git a/bootloader/internal/updater/pullfailure_test.go b/bootloader/internal/updater/pullfailure_test.go index 5bd74a8a..31984f37 100644 --- a/bootloader/internal/updater/pullfailure_test.go +++ b/bootloader/internal/updater/pullfailure_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package updater diff --git a/bootloader/internal/updater/updater.go b/bootloader/internal/updater/updater.go index 8e028129..2052a918 100644 --- a/bootloader/internal/updater/updater.go +++ b/bootloader/internal/updater/updater.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Package updater changes which runtime version a device runs. diff --git a/bootloader/internal/updater/updater_test.go b/bootloader/internal/updater/updater_test.go index 17797409..7d3374c5 100644 --- a/bootloader/internal/updater/updater_test.go +++ b/bootloader/internal/updater/updater_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® package updater diff --git a/bootloader/main.go b/bootloader/main.go index 168c038f..bd6bb005 100644 --- a/bootloader/main.go +++ b/bootloader/main.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Command openplc-bootloader brings up and maintains one OpenPLC runtime diff --git a/core/src/drivers/README.md b/core/src/drivers/README.md index 5e6a30c2..b48c8012 100644 --- a/core/src/drivers/README.md +++ b/core/src/drivers/README.md @@ -747,7 +747,7 @@ void plugin_driver_destroy(plugin_driver_t *driver); ## License -This plugin system is part of the OpenPLC Runtime and is licensed under the MIT License (see the top-level `LICENSE`). Plugins can carry their own license: the S7comm plugin is LGPLv3 or later, matching the Snap7 library it links. +This plugin system is part of the OpenPLC Runtime and is dual-licensed under GPLv3 or a commercial licence (see the top-level `LICENSE` and `LICENSING.md`). Plugins can carry their own license: the S7comm plugin is LGPLv3 or later, matching the Snap7 library it links. ## Contributing diff --git a/core/src/drivers/plugin_config.c b/core/src/drivers/plugin_config.c index 5fe73ddd..0263ae4a 100644 --- a/core/src/drivers/plugin_config.c +++ b/core/src/drivers/plugin_config.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "plugin_config.h" diff --git a/core/src/drivers/plugin_config.h b/core/src/drivers/plugin_config.h index 343d1623..19260fca 100644 --- a/core/src/drivers/plugin_config.h +++ b/core/src/drivers/plugin_config.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef PLUGIN_CONFIG_H diff --git a/core/src/drivers/plugin_driver.c b/core/src/drivers/plugin_driver.c index cc0afa04..9e3b0760 100644 --- a/core/src/drivers/plugin_driver.c +++ b/core/src/drivers/plugin_driver.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #define PY_SSIZE_T_CLEAN diff --git a/core/src/drivers/plugin_driver.h b/core/src/drivers/plugin_driver.h index e4bf1ff8..01cddc3c 100644 --- a/core/src/drivers/plugin_driver.h +++ b/core/src/drivers/plugin_driver.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef PLUGIN_DRIVER_H diff --git a/core/src/drivers/plugin_plc_requests.c b/core/src/drivers/plugin_plc_requests.c index e65242b6..cb34bb66 100644 --- a/core/src/drivers/plugin_plc_requests.c +++ b/core/src/drivers/plugin_plc_requests.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugin_plc_requests.h b/core/src/drivers/plugin_plc_requests.h index 6f53fa6c..18069381 100644 --- a/core/src/drivers/plugin_plc_requests.h +++ b/core/src/drivers/plugin_plc_requests.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef PLUGIN_PLC_REQUESTS_H diff --git a/core/src/drivers/plugin_types.h b/core/src/drivers/plugin_types.h index a7d323d9..825312e3 100644 --- a/core/src/drivers/plugin_types.h +++ b/core/src/drivers/plugin_types.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/CMakeLists.txt b/core/src/drivers/plugins/native/ethercat/CMakeLists.txt index 9307052e..a28ceddd 100644 --- a/core/src/drivers/plugins/native/ethercat/CMakeLists.txt +++ b/core/src/drivers/plugins/native/ethercat/CMakeLists.txt @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # # EtherCAT client plugin: relays process data between EtherDOG and the image tables. diff --git a/core/src/drivers/plugins/native/ethercat/ethercat_iomap.c b/core/src/drivers/plugins/native/ethercat/ethercat_iomap.c index 0f213639..70452b63 100644 --- a/core/src/drivers/plugins/native/ethercat/ethercat_iomap.c +++ b/core/src/drivers/plugins/native/ethercat/ethercat_iomap.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/ethercat_iomap.h b/core/src/drivers/plugins/native/ethercat/ethercat_iomap.h index 8c92393d..643fdf6a 100644 --- a/core/src/drivers/plugins/native/ethercat/ethercat_iomap.h +++ b/core/src/drivers/plugins/native/ethercat/ethercat_iomap.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/ethercat_plugin.c b/core/src/drivers/plugins/native/ethercat/ethercat_plugin.c index 19776eee..b572074b 100644 --- a/core/src/drivers/plugins/native/ethercat/ethercat_plugin.c +++ b/core/src/drivers/plugins/native/ethercat/ethercat_plugin.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/etherdog_link.c b/core/src/drivers/plugins/native/ethercat/etherdog_link.c index ea264066..00fa965d 100644 --- a/core/src/drivers/plugins/native/ethercat/etherdog_link.c +++ b/core/src/drivers/plugins/native/ethercat/etherdog_link.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/etherdog_link.h b/core/src/drivers/plugins/native/ethercat/etherdog_link.h index 39a6dc64..ef10b999 100644 --- a/core/src/drivers/plugins/native/ethercat/etherdog_link.h +++ b/core/src/drivers/plugins/native/ethercat/etherdog_link.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/examples/test_plugin.c b/core/src/drivers/plugins/native/examples/test_plugin.c index 0533b366..15e2dcc0 100644 --- a/core/src/drivers/plugins/native/examples/test_plugin.c +++ b/core/src/drivers/plugins/native/examples/test_plugin.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/examples/test_plugin_loader.c b/core/src/drivers/plugins/native/examples/test_plugin_loader.c index 04cffbd9..1981ed21 100644 --- a/core/src/drivers/plugins/native/examples/test_plugin_loader.c +++ b/core/src/drivers/plugins/native/examples/test_plugin_loader.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include diff --git a/core/src/drivers/plugins/native/plugin_logger.c b/core/src/drivers/plugins/native/plugin_logger.c index af27f97c..7cabadda 100644 --- a/core/src/drivers/plugins/native/plugin_logger.c +++ b/core/src/drivers/plugins/native/plugin_logger.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/plugin_logger.h b/core/src/drivers/plugins/native/plugin_logger.h index e10fa778..65713b6b 100644 --- a/core/src/drivers/plugins/native/plugin_logger.h +++ b/core/src/drivers/plugins/native/plugin_logger.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/python/examples/buffer_access_example.py b/core/src/drivers/plugins/python/examples/buffer_access_example.py index 1c816d94..9abf3e92 100644 --- a/core/src/drivers/plugins/python/examples/buffer_access_example.py +++ b/core/src/drivers/plugins/python/examples/buffer_access_example.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/examples/example_python_plugin.py b/core/src/drivers/plugins/python/examples/example_python_plugin.py index 9c2f528e..bd820d43 100644 --- a/core/src/drivers/plugins/python/examples/example_python_plugin.py +++ b/core/src/drivers/plugins/python/examples/example_python_plugin.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_connection.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_connection.py index a79cd860..f1a5aff2 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_connection.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_connection.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Modbus Master plugin connection management utilities.""" diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_memory.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_memory.py index 7c8b2c3e..a1dd9b31 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_memory.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_memory.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Modbus Master plugin memory access utilities. diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_plugin.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_plugin.py index b8ddcbfa..3ce61c60 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_plugin.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_plugin.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import os diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_types.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_types.py index f9fb38f5..22e33cc4 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_types.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Modbus Master plugin type definitions.""" diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_utils.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_utils.py index 2fd52947..2586ae76 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_utils.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_utils.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Modbus Master plugin utility functions.""" diff --git a/core/src/drivers/plugins/python/modbus_master/test/script_slave.py b/core/src/drivers/plugins/python/modbus_master/test/script_slave.py index 2a1f6990..5992294c 100644 --- a/core/src/drivers/plugins/python/modbus_master/test/script_slave.py +++ b/core/src/drivers/plugins/python/modbus_master/test/script_slave.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import asyncio diff --git a/core/src/drivers/plugins/python/modbus_slave/conftest.py b/core/src/drivers/plugins/python/modbus_slave/conftest.py index 2800b69c..85bcd51e 100644 --- a/core/src/drivers/plugins/python/modbus_slave/conftest.py +++ b/core/src/drivers/plugins/python/modbus_slave/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import pytest diff --git a/core/src/drivers/plugins/python/modbus_slave/simple_modbus.py b/core/src/drivers/plugins/python/modbus_slave/simple_modbus.py index 2e5e8dd9..d4f0e7fe 100644 --- a/core/src/drivers/plugins/python/modbus_slave/simple_modbus.py +++ b/core/src/drivers/plugins/python/modbus_slave/simple_modbus.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # pylint disables kept so pymodbus-mandated names, segmented data-block diff --git a/core/src/drivers/plugins/python/modbus_slave/test_inputs.py b/core/src/drivers/plugins/python/modbus_slave/test_inputs.py index c3f4f558..787f343a 100644 --- a/core/src/drivers/plugins/python/modbus_slave/test_inputs.py +++ b/core/src/drivers/plugins/python/modbus_slave/test_inputs.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # tests/test_discrete_inputs.py diff --git a/core/src/drivers/plugins/python/modbus_slave/test_modbus_slave.py b/core/src/drivers/plugins/python/modbus_slave/test_modbus_slave.py index e995efdd..bd6474dd 100644 --- a/core/src/drivers/plugins/python/modbus_slave/test_modbus_slave.py +++ b/core/src/drivers/plugins/python/modbus_slave/test_modbus_slave.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import threading diff --git a/core/src/drivers/plugins/python/modbus_slave/test_openplc_input_registers_datablock.py b/core/src/drivers/plugins/python/modbus_slave/test_openplc_input_registers_datablock.py index 78c93a98..dba5e3a5 100644 --- a/core/src/drivers/plugins/python/modbus_slave/test_openplc_input_registers_datablock.py +++ b/core/src/drivers/plugins/python/modbus_slave/test_openplc_input_registers_datablock.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import pytest diff --git a/core/src/drivers/plugins/python/opcua/__init__.py b/core/src/drivers/plugins/python/opcua/__init__.py index bf06cf15..9628f536 100644 --- a/core/src/drivers/plugins/python/opcua/__init__.py +++ b/core/src/drivers/plugins/python/opcua/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/address_space.py b/core/src/drivers/plugins/python/opcua/address_space.py index 39d112d7..b86a8faa 100644 --- a/core/src/drivers/plugins/python/opcua/address_space.py +++ b/core/src/drivers/plugins/python/opcua/address_space.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/callbacks.py b/core/src/drivers/plugins/python/opcua/callbacks.py index 185bee91..91669c5e 100644 --- a/core/src/drivers/plugins/python/opcua/callbacks.py +++ b/core/src/drivers/plugins/python/opcua/callbacks.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/config.py b/core/src/drivers/plugins/python/opcua/config.py index 732c7dce..ae186ec6 100644 --- a/core/src/drivers/plugins/python/opcua/config.py +++ b/core/src/drivers/plugins/python/opcua/config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_endpoints_config.py b/core/src/drivers/plugins/python/opcua/opcua_endpoints_config.py index 146b95b8..b1203ed0 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_endpoints_config.py +++ b/core/src/drivers/plugins/python/opcua/opcua_endpoints_config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_logging.py b/core/src/drivers/plugins/python/opcua/opcua_logging.py index e191822e..bc125548 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_logging.py +++ b/core/src/drivers/plugins/python/opcua/opcua_logging.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_memory.py b/core/src/drivers/plugins/python/opcua/opcua_memory.py index e71e78be..2c41c292 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_memory.py +++ b/core/src/drivers/plugins/python/opcua/opcua_memory.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_security.py b/core/src/drivers/plugins/python/opcua/opcua_security.py index e34a71ea..9934b612 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_security.py +++ b/core/src/drivers/plugins/python/opcua/opcua_security.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_types.py b/core/src/drivers/plugins/python/opcua/opcua_types.py index 990b2b7e..8fc01a0e 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_types.py +++ b/core/src/drivers/plugins/python/opcua/opcua_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """OPC-UA plugin type definitions.""" diff --git a/core/src/drivers/plugins/python/opcua/opcua_utils.py b/core/src/drivers/plugins/python/opcua/opcua_utils.py index cf9a88a0..f4a6e8ab 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_utils.py +++ b/core/src/drivers/plugins/python/opcua/opcua_utils.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """OPC-UA plugin utility functions.""" diff --git a/core/src/drivers/plugins/python/opcua/plugin.py b/core/src/drivers/plugins/python/opcua/plugin.py index 1e38eedb..820d8b7b 100644 --- a/core/src/drivers/plugins/python/opcua/plugin.py +++ b/core/src/drivers/plugins/python/opcua/plugin.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/server.py b/core/src/drivers/plugins/python/opcua/server.py index c55a6784..9772581d 100644 --- a/core/src/drivers/plugins/python/opcua/server.py +++ b/core/src/drivers/plugins/python/opcua/server.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/synchronization.py b/core/src/drivers/plugins/python/opcua/synchronization.py index 23c7e697..8ddfbc25 100644 --- a/core/src/drivers/plugins/python/opcua/synchronization.py +++ b/core/src/drivers/plugins/python/opcua/synchronization.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/tests/test_server_standalone.py b/core/src/drivers/plugins/python/opcua/tests/test_server_standalone.py index a3ad6852..0b83f78c 100644 --- a/core/src/drivers/plugins/python/opcua/tests/test_server_standalone.py +++ b/core/src/drivers/plugins/python/opcua/tests/test_server_standalone.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/tests/test_subscription_client.py b/core/src/drivers/plugins/python/opcua/tests/test_subscription_client.py index 202a448b..9e0a5184 100644 --- a/core/src/drivers/plugins/python/opcua/tests/test_subscription_client.py +++ b/core/src/drivers/plugins/python/opcua/tests/test_subscription_client.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/user_manager.py b/core/src/drivers/plugins/python/opcua/user_manager.py index a96faf20..ac4f2be7 100644 --- a/core/src/drivers/plugins/python/opcua/user_manager.py +++ b/core/src/drivers/plugins/python/opcua/user_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/__init__.py b/core/src/drivers/plugins/python/shared/__init__.py index 8cada17d..486f4d1d 100644 --- a/core/src/drivers/plugins/python/shared/__init__.py +++ b/core/src/drivers/plugins/python/shared/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/batch_processor.py b/core/src/drivers/plugins/python/shared/batch_processor.py index 6033c596..0e24c601 100644 --- a/core/src/drivers/plugins/python/shared/batch_processor.py +++ b/core/src/drivers/plugins/python/shared/batch_processor.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/buffer_accessor.py b/core/src/drivers/plugins/python/shared/buffer_accessor.py index cd15e409..cf0a74d1 100644 --- a/core/src/drivers/plugins/python/shared/buffer_accessor.py +++ b/core/src/drivers/plugins/python/shared/buffer_accessor.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # pylint: disable=R0913,R0917 diff --git a/core/src/drivers/plugins/python/shared/buffer_types.py b/core/src/drivers/plugins/python/shared/buffer_types.py index f7c94140..d36792b9 100644 --- a/core/src/drivers/plugins/python/shared/buffer_types.py +++ b/core/src/drivers/plugins/python/shared/buffer_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/buffer_validator.py b/core/src/drivers/plugins/python/shared/buffer_validator.py index f83345cf..eacd05b0 100644 --- a/core/src/drivers/plugins/python/shared/buffer_validator.py +++ b/core/src/drivers/plugins/python/shared/buffer_validator.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/capsule_extraction.py b/core/src/drivers/plugins/python/shared/capsule_extraction.py index e9154742..c5c9ad1a 100644 --- a/core/src/drivers/plugins/python/shared/capsule_extraction.py +++ b/core/src/drivers/plugins/python/shared/capsule_extraction.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/component_interfaces.py b/core/src/drivers/plugins/python/shared/component_interfaces.py index 40faf6cc..8e7856a2 100644 --- a/core/src/drivers/plugins/python/shared/component_interfaces.py +++ b/core/src/drivers/plugins/python/shared/component_interfaces.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/config_handler.py b/core/src/drivers/plugins/python/shared/config_handler.py index 056a8e4d..a432a3d7 100644 --- a/core/src/drivers/plugins/python/shared/config_handler.py +++ b/core/src/drivers/plugins/python/shared/config_handler.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/iec_types.py b/core/src/drivers/plugins/python/shared/iec_types.py index ac7a9bd0..1572cb5b 100644 --- a/core/src/drivers/plugins/python/shared/iec_types.py +++ b/core/src/drivers/plugins/python/shared/iec_types.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/mutex_manager.py b/core/src/drivers/plugins/python/shared/mutex_manager.py index f72c1fba..541cd3d9 100644 --- a/core/src/drivers/plugins/python/shared/mutex_manager.py +++ b/core/src/drivers/plugins/python/shared/mutex_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/__init__.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/__init__.py index db705a9b..efccaf4f 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/__init__.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/modbus_master_config_model.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/modbus_master_config_model.py index 83945d53..bcb2a664 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/modbus_master_config_model.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/modbus_master_config_model.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import re diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/opcua_config_model.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/opcua_config_model.py index 6e997ef3..4ac0f785 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/opcua_config_model.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/opcua_config_model.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® from typing import List, Dict, Any, Optional, Literal diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/plugin_config_contact.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/plugin_config_contact.py index 28db5a69..01e76f24 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/plugin_config_contact.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/plugin_config_contact.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/test_modbus_master_config_model.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/test_modbus_master_config_model.py index 31278e4e..63bea4bb 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/test_modbus_master_config_model.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/test_modbus_master_config_model.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import pytest diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/test_plugin_config_models.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/test_plugin_config_models.py index 0857d907..9e570e77 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/test_plugin_config_models.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/test_plugin_config_models.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_logger.py b/core/src/drivers/plugins/python/shared/plugin_logger.py index 400a5e3e..71548f24 100644 --- a/core/src/drivers/plugins/python/shared/plugin_logger.py +++ b/core/src/drivers/plugins/python/shared/plugin_logger.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_runtime_args.py b/core/src/drivers/plugins/python/shared/plugin_runtime_args.py index bb973eb6..aca3f94c 100644 --- a/core/src/drivers/plugins/python/shared/plugin_runtime_args.py +++ b/core/src/drivers/plugins/python/shared/plugin_runtime_args.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_structure_validator.py b/core/src/drivers/plugins/python/shared/plugin_structure_validator.py index b95dab4c..dcc213fa 100644 --- a/core/src/drivers/plugins/python/shared/plugin_structure_validator.py +++ b/core/src/drivers/plugins/python/shared/plugin_structure_validator.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/safe_buffer_access_refactored.py b/core/src/drivers/plugins/python/shared/safe_buffer_access_refactored.py index 38e233c4..a225a58a 100644 --- a/core/src/drivers/plugins/python/shared/safe_buffer_access_refactored.py +++ b/core/src/drivers/plugins/python/shared/safe_buffer_access_refactored.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/safe_logging_access.py b/core/src/drivers/plugins/python/shared/safe_logging_access.py index 31b82050..ece71e73 100644 --- a/core/src/drivers/plugins/python/shared/safe_logging_access.py +++ b/core/src/drivers/plugins/python/shared/safe_logging_access.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/python_plugin_bridge.h b/core/src/drivers/python_plugin_bridge.h index 6036b0fb..ae9e6d7d 100644 --- a/core/src/drivers/python_plugin_bridge.h +++ b/core/src/drivers/python_plugin_bridge.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef __PYTHON_PLUGIN_BRIDGE_H diff --git a/core/src/drivers/vpp_plugin_seal.c b/core/src/drivers/vpp_plugin_seal.c index 60814fc7..f4eeefaa 100644 --- a/core/src/drivers/vpp_plugin_seal.c +++ b/core/src/drivers/vpp_plugin_seal.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "vpp_plugin_seal.h" diff --git a/core/src/drivers/vpp_plugin_seal.h b/core/src/drivers/vpp_plugin_seal.h index 7959982f..48c9b9c9 100644 --- a/core/src/drivers/vpp_plugin_seal.h +++ b/core/src/drivers/vpp_plugin_seal.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/lib/plc_image_types.h b/core/src/lib/plc_image_types.h index ebf482df..a978e7ec 100644 --- a/core/src/lib/plc_image_types.h +++ b/core/src/lib/plc_image_types.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Cell types of the PLC image tables, shared with plugins through plugin_types.h. diff --git a/core/src/lib/strucpp_abi.hpp b/core/src/lib/strucpp_abi.hpp index bf71ec18..535b0d1d 100644 --- a/core/src/lib/strucpp_abi.hpp +++ b/core/src/lib/strucpp_abi.hpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Runtime-side mirror of the strucpp ABI the loaded .so exposes. diff --git a/core/src/plc_app/client_tcp_udp.c b/core/src/plc_app/client_tcp_udp.c index 22010d6d..3c912d2c 100644 --- a/core/src/plc_app/client_tcp_udp.c +++ b/core/src/plc_app/client_tcp_udp.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Socket/connect helpers for the TCP/UDP communication function blocks diff --git a/core/src/plc_app/debug_handler.c b/core/src/plc_app/debug_handler.c index f0666477..1ee07767 100644 --- a/core/src/plc_app/debug_handler.c +++ b/core/src/plc_app/debug_handler.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* STruC++ debugger PDU handler. Codes 0x41-0x45 are Modbus-style for diff --git a/core/src/plc_app/debug_handler.h b/core/src/plc_app/debug_handler.h index c0d78e0d..73779122 100644 --- a/core/src/plc_app/debug_handler.h +++ b/core/src/plc_app/debug_handler.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef DEBUG_HANDLER_H diff --git a/core/src/plc_app/debug_write_journal.cpp b/core/src/plc_app/debug_write_journal.cpp index e2e98905..e58d9916 100644 --- a/core/src/plc_app/debug_write_journal.cpp +++ b/core/src/plc_app/debug_write_journal.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Queue of external write/force requests; dispatcher drains at the diff --git a/core/src/plc_app/debug_write_journal.h b/core/src/plc_app/debug_write_journal.h index 19a34304..79fd08af 100644 --- a/core/src/plc_app/debug_write_journal.h +++ b/core/src/plc_app/debug_write_journal.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Serialized external write/force path. Writers ENQUEUE from any diff --git a/core/src/plc_app/image_tables.cpp b/core/src/plc_app/image_tables.cpp index 940bcc09..336a2ffc 100644 --- a/core/src/plc_app/image_tables.cpp +++ b/core/src/plc_app/image_tables.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Resolves the strucpp .so's exported symbols and binds image-table diff --git a/core/src/plc_app/image_tables.h b/core/src/plc_app/image_tables.h index d52ced0c..20f89852 100644 --- a/core/src/plc_app/image_tables.h +++ b/core/src/plc_app/image_tables.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef IMAGE_TABLES_H diff --git a/core/src/plc_app/include/iec_python.h b/core/src/plc_app/include/iec_python.h index 873e5a04..fbe49add 100644 --- a/core/src/plc_app/include/iec_python.h +++ b/core/src/plc_app/include/iec_python.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // This header declares the Python Function Block loader functions. diff --git a/core/src/plc_app/journal_buffer.c b/core/src/plc_app/journal_buffer.c index 23763efb..2d510b5c 100644 --- a/core/src/plc_app/journal_buffer.c +++ b/core/src/plc_app/journal_buffer.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/journal_buffer.h b/core/src/plc_app/journal_buffer.h index 30c732e8..9cdcae13 100644 --- a/core/src/plc_app/journal_buffer.h +++ b/core/src/plc_app/journal_buffer.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/located_globals.c b/core/src/plc_app/located_globals.c index 473d38c3..0081927a 100644 --- a/core/src/plc_app/located_globals.c +++ b/core/src/plc_app/located_globals.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Joins locatedVars[] with locatedGlobals[] by storage-pointer identity. */ diff --git a/core/src/plc_app/located_globals.h b/core/src/plc_app/located_globals.h index 258ec06c..8e31bb73 100644 --- a/core/src/plc_app/located_globals.h +++ b/core/src/plc_app/located_globals.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef OPENPLC_LOCATED_GLOBALS_H diff --git a/core/src/plc_app/plc_boot.c b/core/src/plc_app/plc_boot.c index 0523bfa4..062bcf12 100644 --- a/core/src/plc_app/plc_boot.c +++ b/core/src/plc_app/plc_boot.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_boot.h b/core/src/plc_app/plc_boot.h index 4b84ed77..aba2b2c1 100644 --- a/core/src/plc_app/plc_boot.h +++ b/core/src/plc_app/plc_boot.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef PLC_BOOT_H diff --git a/core/src/plc_app/plc_main.c b/core/src/plc_app/plc_main.c index 5be92ff0..96129c74 100644 --- a/core/src/plc_app/plc_main.c +++ b/core/src/plc_app/plc_main.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #define PY_SSIZE_T_CLEAN diff --git a/core/src/plc_app/plc_retain.cpp b/core/src/plc_app/plc_retain.cpp index cbc49d48..f64286dc 100644 --- a/core/src/plc_app/plc_retain.cpp +++ b/core/src/plc_app/plc_retain.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_retain.h b/core/src/plc_app/plc_retain.h index 27414e42..13b20cb2 100644 --- a/core/src/plc_app/plc_retain.h +++ b/core/src/plc_app/plc_retain.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_retain_file_store.cpp b/core/src/plc_app/plc_retain_file_store.cpp index 51efbea4..d28dba88 100644 --- a/core/src/plc_app/plc_retain_file_store.cpp +++ b/core/src/plc_app/plc_retain_file_store.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_retain_file_store.h b/core/src/plc_app/plc_retain_file_store.h index 008b1b5b..fb84ecea 100644 --- a/core/src/plc_app/plc_retain_file_store.h +++ b/core/src/plc_app/plc_retain_file_store.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_state_manager.cpp b/core/src/plc_app/plc_state_manager.cpp index 877d5b7d..fb863771 100644 --- a/core/src/plc_app/plc_state_manager.cpp +++ b/core/src/plc_app/plc_state_manager.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Walks the loaded program's ConfigurationInstance via virtual dispatch, diff --git a/core/src/plc_app/plc_state_manager.h b/core/src/plc_app/plc_state_manager.h index 703d517a..6ded0930 100644 --- a/core/src/plc_app/plc_state_manager.h +++ b/core/src/plc_app/plc_state_manager.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef PLC_STATE_MANAGER_H diff --git a/core/src/plc_app/plc_switch.c b/core/src/plc_app/plc_switch.c index ddeb0f17..141022ba 100644 --- a/core/src/plc_app/plc_switch.c +++ b/core/src/plc_app/plc_switch.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_switch.h b/core/src/plc_app/plc_switch.h index 46e3490d..a4cfd6ef 100644 --- a/core/src/plc_app/plc_switch.h +++ b/core/src/plc_app/plc_switch.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef PLC_SWITCH_H diff --git a/core/src/plc_app/plcapp_manager.c b/core/src/plc_app/plcapp_manager.c index 0e17155f..7df83f0c 100644 --- a/core/src/plc_app/plcapp_manager.c +++ b/core/src/plc_app/plcapp_manager.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "plcapp_manager.h" diff --git a/core/src/plc_app/plcapp_manager.h b/core/src/plc_app/plcapp_manager.h index fe8266f4..9a408d62 100644 --- a/core/src/plc_app/plcapp_manager.h +++ b/core/src/plc_app/plcapp_manager.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef PLUGIN_MANAGER_H diff --git a/core/src/plc_app/python_loader.c b/core/src/plc_app/python_loader.c index 40eb4302..12bd9619 100644 --- a/core/src/plc_app/python_loader.c +++ b/core/src/plc_app/python_loader.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Loader for function blocks written in Python; they talk to the PLC diff --git a/core/src/plc_app/scan_cycle_manager.c b/core/src/plc_app/scan_cycle_manager.c index 858fc7e3..7972ddcd 100644 --- a/core/src/plc_app/scan_cycle_manager.c +++ b/core/src/plc_app/scan_cycle_manager.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include diff --git a/core/src/plc_app/scan_cycle_manager.h b/core/src/plc_app/scan_cycle_manager.h index 563abda6..17481f59 100644 --- a/core/src/plc_app/scan_cycle_manager.h +++ b/core/src/plc_app/scan_cycle_manager.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef SCAN_CYCLE_MANAGER_H diff --git a/core/src/plc_app/task_policy.c b/core/src/plc_app/task_policy.c index 2beca914..40c49711 100644 --- a/core/src/plc_app/task_policy.c +++ b/core/src/plc_app/task_policy.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "task_policy.h" diff --git a/core/src/plc_app/task_policy.h b/core/src/plc_app/task_policy.h index 0fcb0388..cc4e4743 100644 --- a/core/src/plc_app/task_policy.h +++ b/core/src/plc_app/task_policy.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef TASK_POLICY_H diff --git a/core/src/plc_app/unix_socket.c b/core/src/plc_app/unix_socket.c index 2608ba39..dc579d43 100644 --- a/core/src/plc_app/unix_socket.c +++ b/core/src/plc_app/unix_socket.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include diff --git a/core/src/plc_app/unix_socket.h b/core/src/plc_app/unix_socket.h index 715fe5c8..d6499dd6 100644 --- a/core/src/plc_app/unix_socket.h +++ b/core/src/plc_app/unix_socket.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef UNIX_SOCKET_H diff --git a/core/src/plc_app/utils/log.c b/core/src/plc_app/utils/log.c index 9632eaa6..71dc9d25 100644 --- a/core/src/plc_app/utils/log.c +++ b/core/src/plc_app/utils/log.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "log.h" diff --git a/core/src/plc_app/utils/log.h b/core/src/plc_app/utils/log.h index f11fcf74..87238bee 100644 --- a/core/src/plc_app/utils/log.h +++ b/core/src/plc_app/utils/log.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef LOG_H diff --git a/core/src/plc_app/utils/rt_mutex.h b/core/src/plc_app/utils/rt_mutex.h index 73e14c1e..ca75b047 100644 --- a/core/src/plc_app/utils/rt_mutex.h +++ b/core/src/plc_app/utils/rt_mutex.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef RT_MUTEX_H diff --git a/core/src/plc_app/utils/utils.c b/core/src/plc_app/utils/utils.c index b70345f6..f2942af9 100644 --- a/core/src/plc_app/utils/utils.c +++ b/core/src/plc_app/utils/utils.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // _GNU_SOURCE is required for pthread_setaffinity_np and CPU_SET macros diff --git a/core/src/plc_app/utils/utils.h b/core/src/plc_app/utils/utils.h index 818e3448..d2871f1b 100644 --- a/core/src/plc_app/utils/utils.h +++ b/core/src/plc_app/utils/utils.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef UTILS_H diff --git a/core/src/plc_app/utils/watchdog.c b/core/src/plc_app/utils/watchdog.c index ba0e5668..3292b57d 100644 --- a/core/src/plc_app/utils/watchdog.c +++ b/core/src/plc_app/utils/watchdog.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef _GNU_SOURCE diff --git a/core/src/plc_app/utils/watchdog.h b/core/src/plc_app/utils/watchdog.h index 0d33bf4e..76f73823 100644 --- a/core/src/plc_app/utils/watchdog.h +++ b/core/src/plc_app/utils/watchdog.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #ifndef WATCHDOG_H diff --git a/core/strucpp_runtime/retain_probe.cpp b/core/strucpp_runtime/retain_probe.cpp index 32c0c5fb..2d63871a 100644 --- a/core/strucpp_runtime/retain_probe.cpp +++ b/core/strucpp_runtime/retain_probe.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Build-time capability probe for the strucpp retain API in the diff --git a/core/strucpp_runtime/runtime_v4_entry.cpp b/core/strucpp_runtime/runtime_v4_entry.cpp index 8ab2a9c1..f3f672a4 100644 --- a/core/strucpp_runtime/runtime_v4_entry.cpp +++ b/core/strucpp_runtime/runtime_v4_entry.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Static C-linkage shim in every user .so. Instantiates g_config, diff --git a/install.sh b/install.sh index 26f3120e..34ea5738 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® set -e diff --git a/scripts/build-docker-image-dev.sh b/scripts/build-docker-image-dev.sh index 41ffe720..b4ad4cef 100755 --- a/scripts/build-docker-image-dev.sh +++ b/scripts/build-docker-image-dev.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Build the docker image with tag "build-env" diff --git a/scripts/build-docker-image.sh b/scripts/build-docker-image.sh index aa8f580b..e80e9e53 100755 --- a/scripts/build-docker-image.sh +++ b/scripts/build-docker-image.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Build the docker image with tag "build-env" diff --git a/scripts/compile-clean.sh b/scripts/compile-clean.sh index 38fb75d6..c80a6fce 100755 --- a/scripts/compile-clean.sh +++ b/scripts/compile-clean.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® set -euo pipefail diff --git a/scripts/compile.sh b/scripts/compile.sh index 20a515e1..612547bc 100755 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # compile.sh builds the user PLC program into core/build/new_libplc.so. diff --git a/scripts/exec.sh b/scripts/exec.sh index bf42d81a..5fbb0e39 100755 --- a/scripts/exec.sh +++ b/scripts/exec.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® set -euo pipefail diff --git a/scripts/generate-gluevars.sh b/scripts/generate-gluevars.sh index 4e010017..c20f9668 100755 --- a/scripts/generate-gluevars.sh +++ b/scripts/generate-gluevars.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® srcPATH=core/generated/plc_lib diff --git a/scripts/install-docker.sh b/scripts/install-docker.sh index 499b7f4d..30b27222 100755 --- a/scripts/install-docker.sh +++ b/scripts/install-docker.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # OpenPLC Runtime container installer. Writes the bootloader spec and diff --git a/scripts/manage_plugin_venvs.sh b/scripts/manage_plugin_venvs.sh index a4a236fc..b0c11ddb 100755 --- a/scripts/manage_plugin_venvs.sh +++ b/scripts/manage_plugin_venvs.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # OpenPLC Runtime Plugin Virtual Environment Manager diff --git a/scripts/run-image-dev.sh b/scripts/run-image-dev.sh index 230369ec..ddeca7a1 100755 --- a/scripts/run-image-dev.sh +++ b/scripts/run-image-dev.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Run container mounting only source code (preserves built venv) diff --git a/scripts/run-image.sh b/scripts/run-image.sh index 73c1d19c..c1903926 100755 --- a/scripts/run-image.sh +++ b/scripts/run-image.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Run container mounting only source code (preserves built venv) diff --git a/scripts/run-pytest.sh b/scripts/run-pytest.sh index 2e8683f9..b003334f 100755 --- a/scripts/run-pytest.sh +++ b/scripts/run-pytest.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® set -e diff --git a/start_openplc.sh b/start_openplc.sh index 60307e35..12a795ca 100755 --- a/start_openplc.sh +++ b/start_openplc.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® set -euo pipefail diff --git a/tests/host/run.sh b/tests/host/run.sh index 6371d68e..f62469b0 100755 --- a/tests/host/run.sh +++ b/tests/host/run.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Host tests: plain C++17 executables, no framework, no device. For diff --git a/tests/host/test_image_outputs.cpp b/tests/host/test_image_outputs.cpp index b3ada8cb..1b9b45d8 100644 --- a/tests/host/test_image_outputs.cpp +++ b/tests/host/test_image_outputs.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Host test: image_tables_zero_outputs clears every output slot and nothing else. diff --git a/tests/host/test_plc_boot.cpp b/tests/host/test_plc_boot.cpp index 2ad61b7d..c498a758 100644 --- a/tests/host/test_plc_boot.cpp +++ b/tests/host/test_plc_boot.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Host test: boot plugin bring-up and the boot auto-start against the mode switch. diff --git a/tests/host/test_plc_retain_file_store.cpp b/tests/host/test_plc_retain_file_store.cpp index 3bdef336..edba59d9 100644 --- a/tests/host/test_plc_retain_file_store.cpp +++ b/tests/host/test_plc_retain_file_store.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Host test for the retain file store's identity handling. Pins the diff --git a/tests/host/test_rt_mutex.cpp b/tests/host/test_rt_mutex.cpp index 61d2b0b7..04b16eea 100644 --- a/tests/host/test_rt_mutex.cpp +++ b/tests/host/test_rt_mutex.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Host test: rt_mutex_init and RtMutex produce priority-inheritance mutexes. diff --git a/tests/host/test_task_policy.cpp b/tests/host/test_task_policy.cpp index 2e653fb9..2b4928e6 100644 --- a/tests/host/test_task_policy.cpp +++ b/tests/host/test_task_policy.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Host test: IEC TASK priority to SCHED_FIFO mapping. diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 5508ddf7..95c2e56f 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Keep the destructive integration suite out of a bare ``pytest`` run. diff --git a/tests/integration/entrypoint.sh b/tests/integration/entrypoint.sh index 613f7cb8..ff1ded03 100644 --- a/tests/integration/entrypoint.sh +++ b/tests/integration/entrypoint.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Start the inner Docker daemon (wait for the socket to answer), then diff --git a/tests/integration/harness.sh b/tests/integration/harness.sh index 5ff0c8fa..358685bd 100755 --- a/tests/integration/harness.sh +++ b/tests/integration/harness.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Bootloader integration harness. Runs a Debian container with its own diff --git a/tests/integration/stubruntime/main.go b/tests/integration/stubruntime/main.go index a90c2c5c..839f0e6c 100644 --- a/tests/integration/stubruntime/main.go +++ b/tests/integration/stubruntime/main.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® // Command stubruntime stands in for the OpenPLC runtime in integration diff --git a/tests/integration/test_bootloader.py b/tests/integration/test_bootloader.py index d52688e7..927baefe 100644 --- a/tests/integration/test_bootloader.py +++ b/tests/integration/test_bootloader.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """End-to-end tests for the openplc-bootloader, run inside the test host. diff --git a/tests/lifecycle/failinject.c b/tests/lifecycle/failinject.c index 829b28af..a0f0cecd 100644 --- a/tests/lifecycle/failinject.c +++ b/tests/lifecycle/failinject.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/tests/lifecycle/fakevpp_plugin.c b/tests/lifecycle/fakevpp_plugin.c index ff16cf09..b5d6f5a3 100644 --- a/tests/lifecycle/fakevpp_plugin.c +++ b/tests/lifecycle/fakevpp_plugin.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/tests/lifecycle/harness.sh b/tests/lifecycle/harness.sh index 45aeed60..579c838a 100644 --- a/tests/lifecycle/harness.sh +++ b/tests/lifecycle/harness.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Builds the runtime, compiles a real PLC program, builds the test fixtures, and diff --git a/tests/lifecycle/logserver.py b/tests/lifecycle/logserver.py index 27ae152a..fc2970ca 100644 --- a/tests/lifecycle/logserver.py +++ b/tests/lifecycle/logserver.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Minimal stand-in for the webserver's log server. diff --git a/tests/lifecycle/suite.py b/tests/lifecycle/suite.py index 8a3db537..c8aeb432 100644 --- a/tests/lifecycle/suite.py +++ b/tests/lifecycle/suite.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """PR #162 review findings: one test per finding, run against a real runtime. diff --git a/tests/pytest/compile/__init__.py b/tests/pytest/compile/__init__.py index 4001d5e2..b5cd56d1 100644 --- a/tests/pytest/compile/__init__.py +++ b/tests/pytest/compile/__init__.py @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® diff --git a/tests/pytest/compile/test_retain_capability_probe.py b/tests/pytest/compile/test_retain_capability_probe.py index 159ff699..c339fa79 100644 --- a/tests/pytest/compile/test_retain_capability_probe.py +++ b/tests/pytest/compile/test_retain_capability_probe.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """The retain capability probe, and the gate it drives. diff --git a/tests/pytest/conftest.py b/tests/pytest/conftest.py index 4cf8e087..438438c2 100644 --- a/tests/pytest/conftest.py +++ b/tests/pytest/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Test-wide bootstrap for modules that reach ``webserver.config``. diff --git a/tests/pytest/discovery/__init__.py b/tests/pytest/discovery/__init__.py index a99374dd..ad4048e1 100644 --- a/tests/pytest/discovery/__init__.py +++ b/tests/pytest/discovery/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # Discovery Service tests diff --git a/tests/pytest/discovery/conftest.py b/tests/pytest/discovery/conftest.py index c918aef0..e3931b3b 100644 --- a/tests/pytest/discovery/conftest.py +++ b/tests/pytest/discovery/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Fixtures for Discovery Service tests.""" diff --git a/tests/pytest/discovery/test_discovery_routes_modular.py b/tests/pytest/discovery/test_discovery_routes_modular.py index c6631736..8435deb3 100644 --- a/tests/pytest/discovery/test_discovery_routes_modular.py +++ b/tests/pytest/discovery/test_discovery_routes_modular.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Tests for the modular-coupler discovery routes. diff --git a/tests/pytest/discovery/test_ethercat_discovery.py b/tests/pytest/discovery/test_ethercat_discovery.py index 955d495c..83ef6448 100644 --- a/tests/pytest/discovery/test_ethercat_discovery.py +++ b/tests/pytest/discovery/test_ethercat_discovery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Unit tests for EtherCAT discovery module.""" diff --git a/tests/pytest/discovery/test_etherdog_manager.py b/tests/pytest/discovery/test_etherdog_manager.py index 6648a4ce..d50a1f04 100644 --- a/tests/pytest/discovery/test_etherdog_manager.py +++ b/tests/pytest/discovery/test_etherdog_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """EtherDOG supervision helpers: legacy upload detection, command transport, route shaping.""" diff --git a/tests/pytest/discovery/test_network_discovery.py b/tests/pytest/discovery/test_network_discovery.py index 9139ff5f..e47e0603 100644 --- a/tests/pytest/discovery/test_network_discovery.py +++ b/tests/pytest/discovery/test_network_discovery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Unit tests for the UDP network discovery responder.""" diff --git a/tests/pytest/logger/conftest.py b/tests/pytest/logger/conftest.py index e8dc8e47..2e274442 100644 --- a/tests/pytest/logger/conftest.py +++ b/tests/pytest/logger/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # tests/conftest.py diff --git a/tests/pytest/logger/test_logger_buffer.py b/tests/pytest/logger/test_logger_buffer.py index 488dfccf..2e0fdb2b 100644 --- a/tests/pytest/logger/test_logger_buffer.py +++ b/tests/pytest/logger/test_logger_buffer.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # tests/pytest/test_logger_buffer.py diff --git a/tests/pytest/logger/test_logger_init.py b/tests/pytest/logger/test_logger_init.py index 5a1e1829..a92f0ee6 100644 --- a/tests/pytest/logger/test_logger_init.py +++ b/tests/pytest/logger/test_logger_init.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # tests/pytest/test_logger_init.py diff --git a/tests/pytest/logger/test_logging.py b/tests/pytest/logger/test_logging.py index ec49c80b..8ea8f6a4 100644 --- a/tests/pytest/logger/test_logging.py +++ b/tests/pytest/logger/test_logging.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import logging diff --git a/tests/pytest/modbus_master/conftest.py b/tests/pytest/modbus_master/conftest.py index a98de54b..95180531 100644 --- a/tests/pytest/modbus_master/conftest.py +++ b/tests/pytest/modbus_master/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # tests/conftest.py diff --git a/tests/pytest/modbus_master/test_error_handling_zero_fill.py b/tests/pytest/modbus_master/test_error_handling_zero_fill.py index d7e1598a..d26c6f90 100644 --- a/tests/pytest/modbus_master/test_error_handling_zero_fill.py +++ b/tests/pytest/modbus_master/test_error_handling_zero_fill.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/modbus_master/test_modbus_gateway.py b/tests/pytest/modbus_master/test_modbus_gateway.py index 3b0f622c..f3fde8bd 100644 --- a/tests/pytest/modbus_master/test_modbus_gateway.py +++ b/tests/pytest/modbus_master/test_modbus_gateway.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/modbus_master/test_modbus_master_plugin.py b/tests/pytest/modbus_master/test_modbus_master_plugin.py index a021960c..12940266 100644 --- a/tests/pytest/modbus_master/test_modbus_master_plugin.py +++ b/tests/pytest/modbus_master/test_modbus_master_plugin.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import pytest diff --git a/tests/pytest/modbus_master/test_modbus_slave_device.py b/tests/pytest/modbus_master/test_modbus_slave_device.py index b8af4f32..d577e1fc 100644 --- a/tests/pytest/modbus_master/test_modbus_slave_device.py +++ b/tests/pytest/modbus_master/test_modbus_slave_device.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # tests/test_modbus_slave_device.py diff --git a/tests/pytest/modbus_slave/conftest.py b/tests/pytest/modbus_slave/conftest.py index 82589415..bcf2ae62 100644 --- a/tests/pytest/modbus_slave/conftest.py +++ b/tests/pytest/modbus_slave/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import pytest diff --git a/tests/pytest/modbus_slave/test_inputs.py b/tests/pytest/modbus_slave/test_inputs.py index 8f29d3f0..9b3a8a38 100644 --- a/tests/pytest/modbus_slave/test_inputs.py +++ b/tests/pytest/modbus_slave/test_inputs.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # tests/test_discrete_inputs.py diff --git a/tests/pytest/modbus_slave/test_modbus_slave.py b/tests/pytest/modbus_slave/test_modbus_slave.py index 268c4ca1..1e1bd76f 100644 --- a/tests/pytest/modbus_slave/test_modbus_slave.py +++ b/tests/pytest/modbus_slave/test_modbus_slave.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import threading diff --git a/tests/pytest/modbus_slave/test_openplc_input_registers_datablock.py b/tests/pytest/modbus_slave/test_openplc_input_registers_datablock.py index 9d9b6123..fdf671a6 100644 --- a/tests/pytest/modbus_slave/test_openplc_input_registers_datablock.py +++ b/tests/pytest/modbus_slave/test_openplc_input_registers_datablock.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import pytest diff --git a/tests/pytest/plugins/__init__.py b/tests/pytest/plugins/__init__.py index 9d4de553..b7b1d946 100644 --- a/tests/pytest/plugins/__init__.py +++ b/tests/pytest/plugins/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/__init__.py b/tests/pytest/plugins/opcua/__init__.py index 1a1c79e8..c4516990 100644 --- a/tests/pytest/plugins/opcua/__init__.py +++ b/tests/pytest/plugins/opcua/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/conftest.py b/tests/pytest/plugins/opcua/conftest.py index b8d086c0..c65df13a 100644 --- a/tests/pytest/plugins/opcua/conftest.py +++ b/tests/pytest/plugins/opcua/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_callbacks.py b/tests/pytest/plugins/opcua/test_callbacks.py index 80088cdd..e3a2322a 100644 --- a/tests/pytest/plugins/opcua/test_callbacks.py +++ b/tests/pytest/plugins/opcua/test_callbacks.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_config_format_version.py b/tests/pytest/plugins/opcua/test_config_format_version.py index a00ccf0a..3d22e740 100644 --- a/tests/pytest/plugins/opcua/test_config_format_version.py +++ b/tests/pytest/plugins/opcua/test_config_format_version.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_data_types.py b/tests/pytest/plugins/opcua/test_data_types.py index c5a30021..8c887e0c 100644 --- a/tests/pytest/plugins/opcua/test_data_types.py +++ b/tests/pytest/plugins/opcua/test_data_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_project/__init__.py b/tests/pytest/plugins/opcua/test_project/__init__.py index e7e1729e..439b9167 100644 --- a/tests/pytest/plugins/opcua/test_project/__init__.py +++ b/tests/pytest/plugins/opcua/test_project/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_read_status.py b/tests/pytest/plugins/opcua/test_read_status.py index a1671141..1ac6db74 100644 --- a/tests/pytest/plugins/opcua/test_read_status.py +++ b/tests/pytest/plugins/opcua/test_read_status.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """A value the plugin could not read must be reported Bad, never defaulted. diff --git a/tests/pytest/plugins/opcua/test_security_profile_anonymous_role.py b/tests/pytest/plugins/opcua/test_security_profile_anonymous_role.py index 04368619..12036f1a 100644 --- a/tests/pytest/plugins/opcua/test_security_profile_anonymous_role.py +++ b/tests/pytest/plugins/opcua/test_security_profile_anonymous_role.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_string_types.py b/tests/pytest/plugins/opcua/test_string_types.py index a92fe7aa..82d92cd3 100644 --- a/tests/pytest/plugins/opcua/test_string_types.py +++ b/tests/pytest/plugins/opcua/test_string_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_subscription_integration.py b/tests/pytest/plugins/opcua/test_subscription_integration.py index 83c252d7..ed79d89d 100644 --- a/tests/pytest/plugins/opcua/test_subscription_integration.py +++ b/tests/pytest/plugins/opcua/test_subscription_integration.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_subscription_performance.py b/tests/pytest/plugins/opcua/test_subscription_performance.py index 493c9fb8..3ab5b0fa 100644 --- a/tests/pytest/plugins/opcua/test_subscription_performance.py +++ b/tests/pytest/plugins/opcua/test_subscription_performance.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_subscriptions.py b/tests/pytest/plugins/opcua/test_subscriptions.py index 2a18bf09..0dea4fd1 100644 --- a/tests/pytest/plugins/opcua/test_subscriptions.py +++ b/tests/pytest/plugins/opcua/test_subscriptions.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_type_conversions.py b/tests/pytest/plugins/opcua/test_type_conversions.py index da7184ae..dd0c7270 100644 --- a/tests/pytest/plugins/opcua/test_type_conversions.py +++ b/tests/pytest/plugins/opcua/test_type_conversions.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_user_manager.py b/tests/pytest/plugins/opcua/test_user_manager.py index fb12552d..3e11b704 100644 --- a/tests/pytest/plugins/opcua/test_user_manager.py +++ b/tests/pytest/plugins/opcua/test_user_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_write_path.py b/tests/pytest/plugins/opcua/test_write_path.py index 26b811cc..f4f266d2 100644 --- a/tests/pytest/plugins/opcua/test_write_path.py +++ b/tests/pytest/plugins/opcua/test_write_path.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/test_apply_retain_conf.py b/tests/pytest/plugins/test_apply_retain_conf.py index 4bae7282..8dff06af 100644 --- a/tests/pytest/plugins/test_apply_retain_conf.py +++ b/tests/pytest/plugins/test_apply_retain_conf.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Behavioural tests for installing persistent-storage settings from an upload. diff --git a/tests/pytest/plugins/test_vpp_anchor_cross_language.py b/tests/pytest/plugins/test_vpp_anchor_cross_language.py index 179d0348..414024c3 100644 --- a/tests/pytest/plugins/test_vpp_anchor_cross_language.py +++ b/tests/pytest/plugins/test_vpp_anchor_cross_language.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Cross-language contract test for the licensing ANCHOR normalization. diff --git a/tests/pytest/plugins/test_vpp_license_debug.py b/tests/pytest/plugins/test_vpp_license_debug.py index 84e5eb6a..99db59f3 100644 --- a/tests/pytest/plugins/test_vpp_license_debug.py +++ b/tests/pytest/plugins/test_vpp_license_debug.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Tests for the webserver-level VPP license debug FCs (0x48/0x49/0x4A). diff --git a/tests/pytest/plugins/test_vpp_license_delivery.py b/tests/pytest/plugins/test_vpp_license_delivery.py index 9cf573df..fe4a1ada 100644 --- a/tests/pytest/plugins/test_vpp_license_delivery.py +++ b/tests/pytest/plugins/test_vpp_license_delivery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Tests for VPP device-license delivery via apply_vpp_plugin_conf. diff --git a/tests/pytest/restapi/conftest.py b/tests/pytest/restapi/conftest.py index 05eacf29..eea44390 100644 --- a/tests/pytest/restapi/conftest.py +++ b/tests/pytest/restapi/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Pytest fixtures for the REST API user-management endpoints. diff --git a/tests/pytest/restapi/test_bootloader_auth_vector.py b/tests/pytest/restapi/test_bootloader_auth_vector.py index 338ee89f..627f71cf 100644 --- a/tests/pytest/restapi/test_bootloader_auth_vector.py +++ b/tests/pytest/restapi/test_bootloader_auth_vector.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Python half of the bootloader's shared authentication vector. diff --git a/tests/pytest/restapi/test_capabilities.py b/tests/pytest/restapi/test_capabilities.py index 5ed489de..86662b6c 100644 --- a/tests/pytest/restapi/test_capabilities.py +++ b/tests/pytest/restapi/test_capabilities.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Behavioural tests for GET /api/version and GET /api/capabilities. diff --git a/tests/pytest/restapi/test_create_user_race.py b/tests/pytest/restapi/test_create_user_race.py index 28b12880..d34826f9 100644 --- a/tests/pytest/restapi/test_create_user_race.py +++ b/tests/pytest/restapi/test_create_user_race.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Regression test for the first-admin bootstrap TOCTOU race. diff --git a/tests/pytest/restapi/test_debug_websocket_auth.py b/tests/pytest/restapi/test_debug_websocket_auth.py index f4dbd8e3..2fb80480 100644 --- a/tests/pytest/restapi/test_debug_websocket_auth.py +++ b/tests/pytest/restapi/test_debug_websocket_auth.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Authentication and authorization on the debug WebSocket. diff --git a/tests/pytest/restapi/test_ethercat_upload.py b/tests/pytest/restapi/test_ethercat_upload.py index 31232bff..25405e1e 100644 --- a/tests/pytest/restapi/test_ethercat_upload.py +++ b/tests/pytest/restapi/test_ethercat_upload.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Uploads carrying the pre-split EtherCAT configuration are refused before anything changes.""" diff --git a/tests/pytest/restapi/test_project_snapshot.py b/tests/pytest/restapi/test_project_snapshot.py index 332535f7..50782e77 100644 --- a/tests/pytest/restapi/test_project_snapshot.py +++ b/tests/pytest/restapi/test_project_snapshot.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Behavioural tests for the stored source-project snapshot. diff --git a/tests/pytest/restapi/test_repair_missing_admin.py b/tests/pytest/restapi/test_repair_missing_admin.py index df9cb09d..000ad882 100644 --- a/tests/pytest/restapi/test_repair_missing_admin.py +++ b/tests/pytest/restapi/test_repair_missing_admin.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """A device left with accounts but no administrator. diff --git a/tests/pytest/restapi/test_user_management.py b/tests/pytest/restapi/test_user_management.py index a1f76482..f9077c66 100644 --- a/tests/pytest/restapi/test_user_management.py +++ b/tests/pytest/restapi/test_user_management.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Behavioural tests for the runtime user-management REST API. diff --git a/tests/pytest/runtime/test_runtime_socket_wait.py b/tests/pytest/runtime/test_runtime_socket_wait.py index 482b9eb5..ec3c7e95 100644 --- a/tests/pytest/runtime/test_runtime_socket_wait.py +++ b/tests/pytest/runtime/test_runtime_socket_wait.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """The webserver waits for a freshly started runtime to open its command socket.""" diff --git a/tests/pytest/runtimemanager/test_watchdog_exit.py b/tests/pytest/runtimemanager/test_watchdog_exit.py index 0366528b..e3e6dac1 100644 --- a/tests/pytest/runtimemanager/test_watchdog_exit.py +++ b/tests/pytest/runtimemanager/test_watchdog_exit.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """RuntimeManager restarts plc_main in safe mode after a watchdog fault exit.""" diff --git a/tests/support/debug_handler_mocks.c b/tests/support/debug_handler_mocks.c index 110be8ca..6edab3fc 100644 --- a/tests/support/debug_handler_mocks.c +++ b/tests/support/debug_handler_mocks.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Implementation of the test-side debugger ABI fakes. The runtime's diff --git a/tests/support/debug_handler_mocks.h b/tests/support/debug_handler_mocks.h index c241fd4c..c9b0828a 100644 --- a/tests/support/debug_handler_mocks.h +++ b/tests/support/debug_handler_mocks.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Fakes for the strucpp debugger ABI. install() replaces the diff --git a/tests/support/plugin_driver_stubs.c b/tests/support/plugin_driver_stubs.c index 78a9cc84..cc179d01 100644 --- a/tests/support/plugin_driver_stubs.c +++ b/tests/support/plugin_driver_stubs.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "plugin_config.h" diff --git a/tests/test_basic_functionality.c b/tests/test_basic_functionality.c index 79a2ef36..c0f71b8f 100644 --- a/tests/test_basic_functionality.c +++ b/tests/test_basic_functionality.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "unity.h" diff --git a/tests/test_debug_handler.c b/tests/test_debug_handler.c index b132a207..48b112f9 100644 --- a/tests/test_debug_handler.c +++ b/tests/test_debug_handler.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Wire-level tests for the STruC++ debugger ABI (FC 0x41-0x45) at the diff --git a/tests/test_ethercat_iec_location.c b/tests/test_ethercat_iec_location.c index 5e971371..00990c8b 100644 --- a/tests/test_ethercat_iec_location.c +++ b/tests/test_ethercat_iec_location.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/tests/test_ethercat_iomap.c b/tests/test_ethercat_iomap.c index 9ecbe52d..49e890d0 100644 --- a/tests/test_ethercat_iomap.c +++ b/tests/test_ethercat_iomap.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/tests/test_ethercat_relay.c b/tests/test_ethercat_relay.c index 64c8f7af..9c209ed3 100644 --- a/tests/test_ethercat_relay.c +++ b/tests/test_ethercat_relay.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/tests/test_etherdog_link.c b/tests/test_etherdog_link.c index cb5f17fb..e935f7e4 100644 --- a/tests/test_etherdog_link.c +++ b/tests/test_etherdog_link.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /** diff --git a/tests/test_located_globals.c b/tests/test_located_globals.c index 6db676ba..56eba7d5 100644 --- a/tests/test_located_globals.c +++ b/tests/test_located_globals.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Unit tests for located_globals_join_ex(). Pin: join is by pointer diff --git a/tests/test_plugin_config.c b/tests/test_plugin_config.c index 5e87879d..4bfd18cc 100644 --- a/tests/test_plugin_config.c +++ b/tests/test_plugin_config.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "plugin_config.h" diff --git a/tests/test_plugin_driver.c b/tests/test_plugin_driver.c index a63cf5a5..2a88acb4 100644 --- a/tests/test_plugin_driver.c +++ b/tests/test_plugin_driver.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® #include "plugin_config.h" // For plugin_config_t, etc. diff --git a/tests/test_scan_cycle_tracker.c b/tests/test_scan_cycle_tracker.c index 8d8fb3ea..64bb53da 100644 --- a/tests/test_scan_cycle_tracker.c +++ b/tests/test_scan_cycle_tracker.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: GPL-3.0-or-later // Copyright (c) 2026 Autonomy® /* Unit tests for the per-task scan_cycle_tracker. Pin: first start() diff --git a/webserver/__init__.py b/webserver/__init__.py index 4001d5e2..b5cd56d1 100644 --- a/webserver/__init__.py +++ b/webserver/__init__.py @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® diff --git a/webserver/app.py b/webserver/app.py index a38f2247..0bca393a 100644 --- a/webserver/app.py +++ b/webserver/app.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import sys diff --git a/webserver/config.py b/webserver/config.py index 62c58fa7..56e1f4a6 100644 --- a/webserver/config.py +++ b/webserver/config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import os diff --git a/webserver/credentials.py b/webserver/credentials.py index 69173b4c..c3603d29 100644 --- a/webserver/credentials.py +++ b/webserver/credentials.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import os diff --git a/webserver/debug_websocket.py b/webserver/debug_websocket.py index 8bdafbe6..66270e15 100644 --- a/webserver/debug_websocket.py +++ b/webserver/debug_websocket.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/webserver/discovery/__init__.py b/webserver/discovery/__init__.py index 416cae5e..5444089d 100644 --- a/webserver/discovery/__init__.py +++ b/webserver/discovery/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # EtherCAT Discovery Service diff --git a/webserver/discovery/discovery_routes.py b/webserver/discovery/discovery_routes.py index 386f5770..1d7b7667 100644 --- a/webserver/discovery/discovery_routes.py +++ b/webserver/discovery/discovery_routes.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Flask Blueprint for Discovery REST endpoints. diff --git a/webserver/discovery/ethercat_discovery.py b/webserver/discovery/ethercat_discovery.py index bb390875..fdae06da 100644 --- a/webserver/discovery/ethercat_discovery.py +++ b/webserver/discovery/ethercat_discovery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """EtherCAT discovery helpers. diff --git a/webserver/discovery/network_discovery.py b/webserver/discovery/network_discovery.py index 2079ea39..5a5b2594 100644 --- a/webserver/discovery/network_discovery.py +++ b/webserver/discovery/network_discovery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """UDP network discovery responder. diff --git a/webserver/etherdog_manager.py b/webserver/etherdog_manager.py index f9860dc9..ec04a716 100644 --- a/webserver/etherdog_manager.py +++ b/webserver/etherdog_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Supervises EtherDOG, the EtherCAT master service, and talks to it. diff --git a/webserver/logger/__init__.py b/webserver/logger/__init__.py index 17de1637..52fddd55 100644 --- a/webserver/logger/__init__.py +++ b/webserver/logger/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # logger/__init__.py @@ -13,7 +13,7 @@ __all__ = ["get_logger", "LogParser", "BufferHandler", "JsonFormatter", "HumanReadableFormatter"] __version__ = "0.1" __author__ = "Autonomy" -__license__ = "MIT" +__license__ = "GPL-3.0-or-later" __description__ = "RestAPI interface for runtime core" # Single global buffer for all logs diff --git a/webserver/logger/bufferhandler.py b/webserver/logger/bufferhandler.py index bfde6e56..5b83cd8f 100644 --- a/webserver/logger/bufferhandler.py +++ b/webserver/logger/bufferhandler.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # logger/bufferhandler.py diff --git a/webserver/logger/config.py b/webserver/logger/config.py index 91bb7181..2d9eabbf 100644 --- a/webserver/logger/config.py +++ b/webserver/logger/config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # logger/config.py diff --git a/webserver/logger/formatter.py b/webserver/logger/formatter.py index 190765b9..1b000849 100644 --- a/webserver/logger/formatter.py +++ b/webserver/logger/formatter.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # logger/formatter.py diff --git a/webserver/logger/parser.py b/webserver/logger/parser.py index a891339b..1229c6d2 100644 --- a/webserver/logger/parser.py +++ b/webserver/logger/parser.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # logger/parser.py diff --git a/webserver/plcapp_management.py b/webserver/plcapp_management.py index 2ead31eb..91a7cf70 100644 --- a/webserver/plcapp_management.py +++ b/webserver/plcapp_management.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import glob diff --git a/webserver/plugin_config_model.py b/webserver/plugin_config_model.py index 0e486651..90a36b98 100644 --- a/webserver/plugin_config_model.py +++ b/webserver/plugin_config_model.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """ diff --git a/webserver/project_snapshot.py b/webserver/project_snapshot.py index 43f5cddb..55280fd5 100644 --- a/webserver/project_snapshot.py +++ b/webserver/project_snapshot.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Storage for the source project snapshot a client sends with an upload. diff --git a/webserver/restapi.py b/webserver/restapi.py index 74c29198..525a7d44 100644 --- a/webserver/restapi.py +++ b/webserver/restapi.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import base64 diff --git a/webserver/retain_config.py b/webserver/retain_config.py index 932737e1..d8ccc073 100644 --- a/webserver/retain_config.py +++ b/webserver/retain_config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Persistent-storage (retain) settings for the built-in file store. diff --git a/webserver/runtimemanager.py b/webserver/runtimemanager.py index c647a02d..d3ca5160 100644 --- a/webserver/runtimemanager.py +++ b/webserver/runtimemanager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import json diff --git a/webserver/unixclient.py b/webserver/unixclient.py index dbee5316..ec82c7cf 100644 --- a/webserver/unixclient.py +++ b/webserver/unixclient.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import os diff --git a/webserver/unixserver.py b/webserver/unixserver.py index c2a3db45..eeb55481 100644 --- a/webserver/unixserver.py +++ b/webserver/unixserver.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® import socket diff --git a/webserver/version.py b/webserver/version.py index f6d0b347..6bf831ae 100644 --- a/webserver/version.py +++ b/webserver/version.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """Runtime version exposed at /api/version and via the diff --git a/webserver/vpp_license_debug.py b/webserver/vpp_license_debug.py index 246fa4b0..6dbd1211 100644 --- a/webserver/vpp_license_debug.py +++ b/webserver/vpp_license_debug.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® """VPP device-license debug function codes (0x48/0x49/0x4A), resolved at the diff --git a/windows/provision-msys2.sh b/windows/provision-msys2.sh index a0786117..3ba118a1 100644 --- a/windows/provision-msys2.sh +++ b/windows/provision-msys2.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: MIT +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (c) 2026 Autonomy® # MSYS2 provisioning script run from the Windows installer build. From 3c5bac090470c94e44b916a78c663ded489f03d8 Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Tue, 20 Oct 2026 16:53:29 -0400 Subject: [PATCH 2/4] docs(license): align licence wording, CLA acceptance and the CLA job name Commercial use may need a commercial licence rather than always needing one. Contributors agree to the CLA by ticking its pull request checkbox, so nothing refers to a signed agreement. Legal texts name Autonomy Logic Inc., and the check runs as a job named CLA. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MRWeC5FUhe5ZwEEbLUGpZ6 --- .github/workflows/cla.yml | 1 + CONTRIBUTING.md | 2 +- LICENSING.md | 6 +++--- README.md | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 6f37e528..acff95d8 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -9,6 +9,7 @@ permissions: jobs: cla: + name: CLA runs-on: ubuntu-latest steps: - name: Check the Contributor License Agreement checkbox diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0c87530d..c99d6878 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ OpenPLC Runtime is dual-licensed under the GPLv3 and a commercial licence (see `LICENSING.md`). -- **Contributor License Agreement.** By submitting a pull request, you agree that your contribution is licensed to Autonomy under the terms of the [Contributor License Agreement](CLA.md). The pull request template has a required checkbox confirming this; the CLA check fails until it is ticked. You keep the copyright on your contribution. +- **Contributor License Agreement.** By ticking the Contributor License Agreement checkbox in the pull request template, you agree that your contribution is licensed to Autonomy Logic Inc. under the terms of the [Contributor License Agreement](CLA.md). The CLA check fails until the box is ticked. You keep the copyright on your contribution. - **Always available under the GPLv3.** Every contribution accepted here stays available under the GPLv3, in addition to the commercial licence. - **SPDX header.** Every new source file starts with `SPDX-License-Identifier: GPL-3.0-or-later` and the Autonomy copyright line, as in the existing files. - **Third-party code.** Do not add third-party code unless its licence is compatible with both the GPLv3 and the commercial licence. Ask in the pull request when in doubt. diff --git a/LICENSING.md b/LICENSING.md index 1048c56e..0eff6cf3 100644 --- a/LICENSING.md +++ b/LICENSING.md @@ -1,6 +1,6 @@ # Licensing -OpenPLC Runtime is dual-licensed. You can use it under the **GNU General Public License v3** or under a **commercial licence** from Autonomy. +OpenPLC Runtime is dual-licensed. You can use it under the **GNU General Public License v3** or under a **commercial licence** from Autonomy Logic Inc. ## GPLv3 @@ -8,7 +8,7 @@ The GPLv3 terms are in [LICENSE](LICENSE). Under the GPLv3 you may use, study, m ## Commercial licence -The commercial licence lets you use OpenPLC Runtime without the GPLv3 obligations. If you are using OpenPLC Runtime in a commercial setting, you will need a commercial licence. +The commercial licence lets you use OpenPLC Runtime without the GPLv3 obligations. If you are using OpenPLC Runtime in a commercial setting, you may need a commercial licence. Licences can be bought from the OpenPLC Editor (desktop or web) when you upload a program to the device. A licence is bound to the hardware it was bought for. @@ -20,4 +20,4 @@ Some components keep their own licences, for example the S7comm plugin, which is ## Contributing -Contributions require a signed Contributor License Agreement, so that every contribution can be offered under both licences. See [CONTRIBUTING.md](CONTRIBUTING.md). +Contributions require agreeing to the [Contributor License Agreement](CLA.md), by ticking its checkbox on the pull request, so that every contribution can be offered under both licences. See [CONTRIBUTING.md](CONTRIBUTING.md). diff --git a/README.md b/README.md index e673138c..fcb77a33 100644 --- a/README.md +++ b/README.md @@ -517,11 +517,11 @@ For deterministic real-time performance: OpenPLC Runtime is dual-licensed: - **GPLv3**: free for everyone, under the terms in [LICENSE](LICENSE). -- **Commercial licence**: for users who want to use OpenPLC without the obligations of the GPLv3. +- **Commercial licence**: for users who want to use OpenPLC Runtime without the obligations of the GPLv3. -If you are using OpenPLC Runtime in a commercial setting, you will need a commercial licence. Licences can be bought from the OpenPLC Editor (desktop or web) when you upload a program to the device. +If you are using OpenPLC Runtime in a commercial setting, you may need a commercial licence. Licences can be bought from the OpenPLC Editor (desktop or web) when you upload a program to the device. -See [LICENSING.md](LICENSING.md) for the details and how to obtain a commercial licence. Contributions require a signed Contributor License Agreement; see [CONTRIBUTING.md](CONTRIBUTING.md). +See [LICENSING.md](LICENSING.md) for the details and how to obtain a commercial licence. Contributions require agreeing to the [Contributor License Agreement](CLA.md) by ticking its checkbox on the pull request; see [CONTRIBUTING.md](CONTRIBUTING.md). ## Support From b642e74552d822f4e6b335daee09dc258b4611c1 Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Wed, 21 Oct 2026 12:01:00 -0400 Subject: [PATCH 3/4] chore(license): use GPL-3.0-only, version the CLA, require it from staff, bump to 4.3.2 Licence identifiers name GPLv3 only, matching the CLA's GPLv3 commitment. The CLA is versioned so the checkbox records which text was accepted, and staff tick it too, since private org membership is not visible to the job. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MRWeC5FUhe5ZwEEbLUGpZ6 --- .github/pull_request_template.md | 2 +- .github/workflows/cla.yml | 4 ---- CLA.md | 4 +++- CONTRIBUTING.md | 2 +- VERSION | 2 +- bootloader/internal/api/authz_test.go | 2 +- bootloader/internal/api/deviceinfo_test.go | 2 +- bootloader/internal/api/server.go | 2 +- bootloader/internal/api/server_test.go | 2 +- bootloader/internal/api/throttle.go | 2 +- bootloader/internal/api/tls.go | 2 +- bootloader/internal/api/tls_test.go | 2 +- bootloader/internal/discovery/responder.go | 2 +- bootloader/internal/discovery/responder_test.go | 2 +- bootloader/internal/discovery/reuse_linux.go | 2 +- bootloader/internal/discovery/reuse_other.go | 2 +- bootloader/internal/dockerapi/client.go | 2 +- bootloader/internal/dockerapi/containers.go | 2 +- bootloader/internal/dockerapi/events.go | 2 +- bootloader/internal/dockerapi/images.go | 2 +- bootloader/internal/dockerapi/images_test.go | 2 +- bootloader/internal/dockerapi/info.go | 2 +- bootloader/internal/health/prober.go | 2 +- bootloader/internal/runtimeauth/inode_linux.go | 2 +- bootloader/internal/runtimeauth/inode_other.go | 2 +- bootloader/internal/runtimeauth/password.go | 2 +- bootloader/internal/runtimeauth/provider.go | 2 +- bootloader/internal/runtimeauth/runtimeauth_test.go | 2 +- bootloader/internal/runtimeauth/secrets.go | 2 +- bootloader/internal/runtimeauth/token.go | 2 +- bootloader/internal/runtimeauth/users.go | 2 +- bootloader/internal/runtimespec/spec.go | 2 +- bootloader/internal/runtimespec/spec_test.go | 2 +- bootloader/internal/selfupdate/selfupdate.go | 2 +- bootloader/internal/selfupdate/selfupdate_test.go | 2 +- bootloader/internal/supervisor/crashwindow.go | 2 +- bootloader/internal/supervisor/supervisor.go | 2 +- bootloader/internal/supervisor/supervisor_test.go | 2 +- bootloader/internal/updater/disk_linux.go | 2 +- bootloader/internal/updater/disk_other.go | 2 +- bootloader/internal/updater/pullfailure_test.go | 2 +- bootloader/internal/updater/updater.go | 2 +- bootloader/internal/updater/updater_test.go | 2 +- bootloader/main.go | 2 +- core/src/drivers/plugin_config.c | 2 +- core/src/drivers/plugin_config.h | 2 +- core/src/drivers/plugin_driver.c | 2 +- core/src/drivers/plugin_driver.h | 2 +- core/src/drivers/plugin_plc_requests.c | 2 +- core/src/drivers/plugin_plc_requests.h | 2 +- core/src/drivers/plugin_types.h | 2 +- core/src/drivers/plugins/native/ethercat/CMakeLists.txt | 2 +- core/src/drivers/plugins/native/ethercat/ethercat_iomap.c | 2 +- core/src/drivers/plugins/native/ethercat/ethercat_iomap.h | 2 +- core/src/drivers/plugins/native/ethercat/ethercat_plugin.c | 2 +- core/src/drivers/plugins/native/ethercat/etherdog_link.c | 2 +- core/src/drivers/plugins/native/ethercat/etherdog_link.h | 2 +- core/src/drivers/plugins/native/examples/test_plugin.c | 2 +- core/src/drivers/plugins/native/examples/test_plugin_loader.c | 2 +- core/src/drivers/plugins/native/plugin_logger.c | 2 +- core/src/drivers/plugins/native/plugin_logger.h | 2 +- .../drivers/plugins/python/examples/buffer_access_example.py | 2 +- .../drivers/plugins/python/examples/example_python_plugin.py | 2 +- .../plugins/python/modbus_master/modbus_master_connection.py | 2 +- .../plugins/python/modbus_master/modbus_master_memory.py | 2 +- .../plugins/python/modbus_master/modbus_master_plugin.py | 2 +- .../plugins/python/modbus_master/modbus_master_types.py | 2 +- .../plugins/python/modbus_master/modbus_master_utils.py | 2 +- .../drivers/plugins/python/modbus_master/test/script_slave.py | 2 +- core/src/drivers/plugins/python/modbus_slave/conftest.py | 2 +- core/src/drivers/plugins/python/modbus_slave/simple_modbus.py | 2 +- core/src/drivers/plugins/python/modbus_slave/test_inputs.py | 2 +- .../drivers/plugins/python/modbus_slave/test_modbus_slave.py | 2 +- .../modbus_slave/test_openplc_input_registers_datablock.py | 2 +- core/src/drivers/plugins/python/opcua/__init__.py | 2 +- core/src/drivers/plugins/python/opcua/address_space.py | 2 +- core/src/drivers/plugins/python/opcua/callbacks.py | 2 +- core/src/drivers/plugins/python/opcua/config.py | 2 +- .../drivers/plugins/python/opcua/opcua_endpoints_config.py | 2 +- core/src/drivers/plugins/python/opcua/opcua_logging.py | 2 +- core/src/drivers/plugins/python/opcua/opcua_memory.py | 2 +- core/src/drivers/plugins/python/opcua/opcua_security.py | 2 +- core/src/drivers/plugins/python/opcua/opcua_types.py | 2 +- core/src/drivers/plugins/python/opcua/opcua_utils.py | 2 +- core/src/drivers/plugins/python/opcua/plugin.py | 2 +- core/src/drivers/plugins/python/opcua/server.py | 2 +- core/src/drivers/plugins/python/opcua/synchronization.py | 2 +- .../plugins/python/opcua/tests/test_server_standalone.py | 2 +- .../plugins/python/opcua/tests/test_subscription_client.py | 2 +- core/src/drivers/plugins/python/opcua/user_manager.py | 2 +- core/src/drivers/plugins/python/shared/__init__.py | 2 +- core/src/drivers/plugins/python/shared/batch_processor.py | 2 +- core/src/drivers/plugins/python/shared/buffer_accessor.py | 2 +- core/src/drivers/plugins/python/shared/buffer_types.py | 2 +- core/src/drivers/plugins/python/shared/buffer_validator.py | 2 +- core/src/drivers/plugins/python/shared/capsule_extraction.py | 2 +- .../src/drivers/plugins/python/shared/component_interfaces.py | 2 +- core/src/drivers/plugins/python/shared/config_handler.py | 2 +- core/src/drivers/plugins/python/shared/iec_types.py | 2 +- core/src/drivers/plugins/python/shared/mutex_manager.py | 2 +- .../plugins/python/shared/plugin_config_decode/__init__.py | 2 +- .../shared/plugin_config_decode/modbus_master_config_model.py | 2 +- .../python/shared/plugin_config_decode/opcua_config_model.py | 2 +- .../shared/plugin_config_decode/plugin_config_contact.py | 2 +- .../plugin_config_decode/test_modbus_master_config_model.py | 2 +- .../shared/plugin_config_decode/test_plugin_config_models.py | 2 +- core/src/drivers/plugins/python/shared/plugin_logger.py | 2 +- core/src/drivers/plugins/python/shared/plugin_runtime_args.py | 2 +- .../plugins/python/shared/plugin_structure_validator.py | 2 +- .../plugins/python/shared/safe_buffer_access_refactored.py | 2 +- core/src/drivers/plugins/python/shared/safe_logging_access.py | 2 +- core/src/drivers/python_plugin_bridge.h | 2 +- core/src/drivers/vpp_plugin_seal.c | 2 +- core/src/drivers/vpp_plugin_seal.h | 2 +- core/src/lib/plc_image_types.h | 2 +- core/src/lib/strucpp_abi.hpp | 2 +- core/src/plc_app/client_tcp_udp.c | 2 +- core/src/plc_app/debug_handler.c | 2 +- core/src/plc_app/debug_handler.h | 2 +- core/src/plc_app/debug_write_journal.cpp | 2 +- core/src/plc_app/debug_write_journal.h | 2 +- core/src/plc_app/image_tables.cpp | 2 +- core/src/plc_app/image_tables.h | 2 +- core/src/plc_app/include/iec_python.h | 2 +- core/src/plc_app/journal_buffer.c | 2 +- core/src/plc_app/journal_buffer.h | 2 +- core/src/plc_app/located_globals.c | 2 +- core/src/plc_app/located_globals.h | 2 +- core/src/plc_app/plc_boot.c | 2 +- core/src/plc_app/plc_boot.h | 2 +- core/src/plc_app/plc_main.c | 2 +- core/src/plc_app/plc_retain.cpp | 2 +- core/src/plc_app/plc_retain.h | 2 +- core/src/plc_app/plc_retain_file_store.cpp | 2 +- core/src/plc_app/plc_retain_file_store.h | 2 +- core/src/plc_app/plc_state_manager.cpp | 2 +- core/src/plc_app/plc_state_manager.h | 2 +- core/src/plc_app/plc_switch.c | 2 +- core/src/plc_app/plc_switch.h | 2 +- core/src/plc_app/plcapp_manager.c | 2 +- core/src/plc_app/plcapp_manager.h | 2 +- core/src/plc_app/python_loader.c | 2 +- core/src/plc_app/scan_cycle_manager.c | 2 +- core/src/plc_app/scan_cycle_manager.h | 2 +- core/src/plc_app/task_policy.c | 2 +- core/src/plc_app/task_policy.h | 2 +- core/src/plc_app/unix_socket.c | 2 +- core/src/plc_app/unix_socket.h | 2 +- core/src/plc_app/utils/log.c | 2 +- core/src/plc_app/utils/log.h | 2 +- core/src/plc_app/utils/rt_mutex.h | 2 +- core/src/plc_app/utils/utils.c | 2 +- core/src/plc_app/utils/utils.h | 2 +- core/src/plc_app/utils/watchdog.c | 2 +- core/src/plc_app/utils/watchdog.h | 2 +- core/strucpp_runtime/retain_probe.cpp | 2 +- core/strucpp_runtime/runtime_v4_entry.cpp | 2 +- install.sh | 2 +- scripts/build-docker-image-dev.sh | 2 +- scripts/build-docker-image.sh | 2 +- scripts/compile-clean.sh | 2 +- scripts/compile.sh | 2 +- scripts/exec.sh | 2 +- scripts/generate-gluevars.sh | 2 +- scripts/install-docker.sh | 2 +- scripts/manage_plugin_venvs.sh | 2 +- scripts/run-image-dev.sh | 2 +- scripts/run-image.sh | 2 +- scripts/run-pytest.sh | 2 +- start_openplc.sh | 2 +- tests/host/run.sh | 2 +- tests/host/test_image_outputs.cpp | 2 +- tests/host/test_plc_boot.cpp | 2 +- tests/host/test_plc_retain_file_store.cpp | 2 +- tests/host/test_rt_mutex.cpp | 2 +- tests/host/test_task_policy.cpp | 2 +- tests/integration/conftest.py | 2 +- tests/integration/entrypoint.sh | 2 +- tests/integration/harness.sh | 2 +- tests/integration/stubruntime/main.go | 2 +- tests/integration/test_bootloader.py | 2 +- tests/lifecycle/failinject.c | 2 +- tests/lifecycle/fakevpp_plugin.c | 2 +- tests/lifecycle/harness.sh | 2 +- tests/lifecycle/logserver.py | 2 +- tests/lifecycle/suite.py | 2 +- tests/pytest/compile/__init__.py | 2 +- tests/pytest/compile/test_retain_capability_probe.py | 2 +- tests/pytest/conftest.py | 2 +- tests/pytest/discovery/__init__.py | 2 +- tests/pytest/discovery/conftest.py | 2 +- tests/pytest/discovery/test_discovery_routes_modular.py | 2 +- tests/pytest/discovery/test_ethercat_discovery.py | 2 +- tests/pytest/discovery/test_etherdog_manager.py | 2 +- tests/pytest/discovery/test_network_discovery.py | 2 +- tests/pytest/logger/conftest.py | 2 +- tests/pytest/logger/test_logger_buffer.py | 2 +- tests/pytest/logger/test_logger_init.py | 2 +- tests/pytest/logger/test_logging.py | 2 +- tests/pytest/modbus_master/conftest.py | 2 +- tests/pytest/modbus_master/test_error_handling_zero_fill.py | 2 +- tests/pytest/modbus_master/test_modbus_gateway.py | 2 +- tests/pytest/modbus_master/test_modbus_master_plugin.py | 2 +- tests/pytest/modbus_master/test_modbus_slave_device.py | 2 +- tests/pytest/modbus_slave/conftest.py | 2 +- tests/pytest/modbus_slave/test_inputs.py | 2 +- tests/pytest/modbus_slave/test_modbus_slave.py | 2 +- .../modbus_slave/test_openplc_input_registers_datablock.py | 2 +- tests/pytest/plugins/__init__.py | 2 +- tests/pytest/plugins/opcua/__init__.py | 2 +- tests/pytest/plugins/opcua/conftest.py | 2 +- tests/pytest/plugins/opcua/test_callbacks.py | 2 +- tests/pytest/plugins/opcua/test_config_format_version.py | 2 +- tests/pytest/plugins/opcua/test_data_types.py | 2 +- tests/pytest/plugins/opcua/test_project/__init__.py | 2 +- tests/pytest/plugins/opcua/test_read_status.py | 2 +- .../plugins/opcua/test_security_profile_anonymous_role.py | 2 +- tests/pytest/plugins/opcua/test_string_types.py | 2 +- tests/pytest/plugins/opcua/test_subscription_integration.py | 2 +- tests/pytest/plugins/opcua/test_subscription_performance.py | 2 +- tests/pytest/plugins/opcua/test_subscriptions.py | 2 +- tests/pytest/plugins/opcua/test_type_conversions.py | 2 +- tests/pytest/plugins/opcua/test_user_manager.py | 2 +- tests/pytest/plugins/opcua/test_write_path.py | 2 +- tests/pytest/plugins/test_apply_retain_conf.py | 2 +- tests/pytest/plugins/test_vpp_anchor_cross_language.py | 2 +- tests/pytest/plugins/test_vpp_license_debug.py | 2 +- tests/pytest/plugins/test_vpp_license_delivery.py | 2 +- tests/pytest/restapi/conftest.py | 2 +- tests/pytest/restapi/test_bootloader_auth_vector.py | 2 +- tests/pytest/restapi/test_capabilities.py | 2 +- tests/pytest/restapi/test_create_user_race.py | 2 +- tests/pytest/restapi/test_debug_websocket_auth.py | 2 +- tests/pytest/restapi/test_ethercat_upload.py | 2 +- tests/pytest/restapi/test_project_snapshot.py | 2 +- tests/pytest/restapi/test_repair_missing_admin.py | 2 +- tests/pytest/restapi/test_user_management.py | 2 +- tests/pytest/runtime/test_runtime_socket_wait.py | 2 +- tests/pytest/runtimemanager/test_watchdog_exit.py | 2 +- tests/support/debug_handler_mocks.c | 2 +- tests/support/debug_handler_mocks.h | 2 +- tests/support/plugin_driver_stubs.c | 2 +- tests/test_basic_functionality.c | 2 +- tests/test_debug_handler.c | 2 +- tests/test_ethercat_iec_location.c | 2 +- tests/test_ethercat_iomap.c | 2 +- tests/test_ethercat_relay.c | 2 +- tests/test_etherdog_link.c | 2 +- tests/test_located_globals.c | 2 +- tests/test_plugin_config.c | 2 +- tests/test_plugin_driver.c | 2 +- tests/test_scan_cycle_tracker.c | 2 +- webserver/__init__.py | 2 +- webserver/app.py | 2 +- webserver/config.py | 2 +- webserver/credentials.py | 2 +- webserver/debug_websocket.py | 2 +- webserver/discovery/__init__.py | 2 +- webserver/discovery/discovery_routes.py | 2 +- webserver/discovery/ethercat_discovery.py | 2 +- webserver/discovery/network_discovery.py | 2 +- webserver/etherdog_manager.py | 2 +- webserver/logger/__init__.py | 4 ++-- webserver/logger/bufferhandler.py | 2 +- webserver/logger/config.py | 2 +- webserver/logger/formatter.py | 2 +- webserver/logger/parser.py | 2 +- webserver/plcapp_management.py | 2 +- webserver/plugin_config_model.py | 2 +- webserver/project_snapshot.py | 2 +- webserver/restapi.py | 2 +- webserver/retain_config.py | 2 +- webserver/runtimemanager.py | 2 +- webserver/unixclient.py | 2 +- webserver/unixserver.py | 2 +- webserver/version.py | 2 +- webserver/vpp_license_debug.py | 2 +- windows/provision-msys2.sh | 2 +- 278 files changed, 280 insertions(+), 282 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index caf30d40..541b283e 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -19,4 +19,4 @@ ## Contributor License Agreement -- [ ] I have read and agree to the [Contributor License Agreement](https://github.com/autonomy-logic/openplc-runtime/blob/development/CLA.md) +- [ ] I have read and agree to the [Contributor License Agreement, version 1.0](https://github.com/autonomy-logic/openplc-runtime/blob/development/CLA.md) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index acff95d8..cb27f7d0 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -16,11 +16,7 @@ jobs: env: PR_BODY: ${{ github.event.pull_request.body }} AUTHOR_TYPE: ${{ github.event.pull_request.user.type }} - AUTHOR_ASSOCIATION: ${{ github.event.pull_request.author_association }} run: | - case "$AUTHOR_ASSOCIATION" in - OWNER|MEMBER) echo "Organisation member: CLA not required."; exit 0 ;; - esac if [ "$AUTHOR_TYPE" = "Bot" ]; then echo "Bot account: CLA not required."; exit 0 fi diff --git a/CLA.md b/CLA.md index c0cf2420..ed9974a9 100644 --- a/CLA.md +++ b/CLA.md @@ -1,5 +1,7 @@ # Contributor License Agreement +Version 1.0, 2026-10-21 + Thank you for contributing to this project. This Contributor License Agreement ("Agreement") sets out the terms under which you contribute. You agree to it by ticking the Contributor License Agreement box when you submit a pull request to this repository. It covers that pull request and every later contribution you submit to this repository. ## 1. Definitions @@ -23,7 +25,7 @@ You grant Us, and every recipient of software distributed by Us, a worldwide, no ## 5. Outbound licensing -We may license your Contribution under any licence, including copyleft, permissive, commercial or proprietary licences. In addition, We will always make your Contribution available under the GNU General Public License version 3, or a later version of it. +We may license your Contribution under any licence, including copyleft, permissive, commercial or proprietary licences. In addition, We will always make your Contribution available under the GNU General Public License version 3. ## 6. Your representations diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c99d6878..33eb7e95 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ OpenPLC Runtime is dual-licensed under the GPLv3 and a commercial licence (see ` - **Contributor License Agreement.** By ticking the Contributor License Agreement checkbox in the pull request template, you agree that your contribution is licensed to Autonomy Logic Inc. under the terms of the [Contributor License Agreement](CLA.md). The CLA check fails until the box is ticked. You keep the copyright on your contribution. - **Always available under the GPLv3.** Every contribution accepted here stays available under the GPLv3, in addition to the commercial licence. -- **SPDX header.** Every new source file starts with `SPDX-License-Identifier: GPL-3.0-or-later` and the Autonomy copyright line, as in the existing files. +- **SPDX header.** Every new source file starts with `SPDX-License-Identifier: GPL-3.0-only` and the Autonomy copyright line, as in the existing files. - **Third-party code.** Do not add third-party code unless its licence is compatible with both the GPLv3 and the commercial licence. Ask in the pull request when in doubt. ## Setup diff --git a/VERSION b/VERSION index 6062a5eb..db6ecdd8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v4.3.1 +v4.3.2 diff --git a/bootloader/internal/api/authz_test.go b/bootloader/internal/api/authz_test.go index 0c89f2aa..6a5eb18b 100644 --- a/bootloader/internal/api/authz_test.go +++ b/bootloader/internal/api/authz_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/deviceinfo_test.go b/bootloader/internal/api/deviceinfo_test.go index b1f94f2e..bc90391f 100644 --- a/bootloader/internal/api/deviceinfo_test.go +++ b/bootloader/internal/api/deviceinfo_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/server.go b/bootloader/internal/api/server.go index 4ff5ae35..25ebfa1b 100644 --- a/bootloader/internal/api/server.go +++ b/bootloader/internal/api/server.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package api is the bootloader's control API on port 8445. diff --git a/bootloader/internal/api/server_test.go b/bootloader/internal/api/server_test.go index efd36aa2..452bc171 100644 --- a/bootloader/internal/api/server_test.go +++ b/bootloader/internal/api/server_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/throttle.go b/bootloader/internal/api/throttle.go index bf22cc1d..936c4ae0 100644 --- a/bootloader/internal/api/throttle.go +++ b/bootloader/internal/api/throttle.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/tls.go b/bootloader/internal/api/tls.go index 5c8a42ea..99f98776 100644 --- a/bootloader/internal/api/tls.go +++ b/bootloader/internal/api/tls.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/api/tls_test.go b/bootloader/internal/api/tls_test.go index 10b2f668..9c4a6506 100644 --- a/bootloader/internal/api/tls_test.go +++ b/bootloader/internal/api/tls_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package api diff --git a/bootloader/internal/discovery/responder.go b/bootloader/internal/discovery/responder.go index 6cf12057..017177fd 100644 --- a/bootloader/internal/discovery/responder.go +++ b/bootloader/internal/discovery/responder.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package discovery answers the editor's LAN discovery probe while diff --git a/bootloader/internal/discovery/responder_test.go b/bootloader/internal/discovery/responder_test.go index abb02dd1..b1f0ea04 100644 --- a/bootloader/internal/discovery/responder_test.go +++ b/bootloader/internal/discovery/responder_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package discovery diff --git a/bootloader/internal/discovery/reuse_linux.go b/bootloader/internal/discovery/reuse_linux.go index 0b367cb5..71645c41 100644 --- a/bootloader/internal/discovery/reuse_linux.go +++ b/bootloader/internal/discovery/reuse_linux.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® //go:build linux diff --git a/bootloader/internal/discovery/reuse_other.go b/bootloader/internal/discovery/reuse_other.go index eebc82c3..c8ec10b0 100644 --- a/bootloader/internal/discovery/reuse_other.go +++ b/bootloader/internal/discovery/reuse_other.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® //go:build !linux diff --git a/bootloader/internal/dockerapi/client.go b/bootloader/internal/dockerapi/client.go index 05679e0b..ab765114 100644 --- a/bootloader/internal/dockerapi/client.go +++ b/bootloader/internal/dockerapi/client.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package dockerapi is a minimal client for the Docker Engine API diff --git a/bootloader/internal/dockerapi/containers.go b/bootloader/internal/dockerapi/containers.go index 11afad16..a920afea 100644 --- a/bootloader/internal/dockerapi/containers.go +++ b/bootloader/internal/dockerapi/containers.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/dockerapi/events.go b/bootloader/internal/dockerapi/events.go index 6118c45c..3eb1c33a 100644 --- a/bootloader/internal/dockerapi/events.go +++ b/bootloader/internal/dockerapi/events.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/dockerapi/images.go b/bootloader/internal/dockerapi/images.go index acd9c517..1da4e62b 100644 --- a/bootloader/internal/dockerapi/images.go +++ b/bootloader/internal/dockerapi/images.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/dockerapi/images_test.go b/bootloader/internal/dockerapi/images_test.go index 5befdf81..c6e0588d 100644 --- a/bootloader/internal/dockerapi/images_test.go +++ b/bootloader/internal/dockerapi/images_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/dockerapi/info.go b/bootloader/internal/dockerapi/info.go index 21d30e53..f647bbb8 100644 --- a/bootloader/internal/dockerapi/info.go +++ b/bootloader/internal/dockerapi/info.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package dockerapi diff --git a/bootloader/internal/health/prober.go b/bootloader/internal/health/prober.go index a4d08f4b..19c7e088 100644 --- a/bootloader/internal/health/prober.go +++ b/bootloader/internal/health/prober.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package health probes the runtime webserver. Scope is narrow: "is diff --git a/bootloader/internal/runtimeauth/inode_linux.go b/bootloader/internal/runtimeauth/inode_linux.go index 1303733f..1cdc523b 100644 --- a/bootloader/internal/runtimeauth/inode_linux.go +++ b/bootloader/internal/runtimeauth/inode_linux.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® //go:build linux diff --git a/bootloader/internal/runtimeauth/inode_other.go b/bootloader/internal/runtimeauth/inode_other.go index a43148a2..86172741 100644 --- a/bootloader/internal/runtimeauth/inode_other.go +++ b/bootloader/internal/runtimeauth/inode_other.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® //go:build !linux diff --git a/bootloader/internal/runtimeauth/password.go b/bootloader/internal/runtimeauth/password.go index c8caac36..54b5848a 100644 --- a/bootloader/internal/runtimeauth/password.go +++ b/bootloader/internal/runtimeauth/password.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimeauth/provider.go b/bootloader/internal/runtimeauth/provider.go index b24a38b6..09f5a7eb 100644 --- a/bootloader/internal/runtimeauth/provider.go +++ b/bootloader/internal/runtimeauth/provider.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimeauth/runtimeauth_test.go b/bootloader/internal/runtimeauth/runtimeauth_test.go index 9f940200..ce54f348 100644 --- a/bootloader/internal/runtimeauth/runtimeauth_test.go +++ b/bootloader/internal/runtimeauth/runtimeauth_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimeauth/secrets.go b/bootloader/internal/runtimeauth/secrets.go index 9e893e8c..71a6c73f 100644 --- a/bootloader/internal/runtimeauth/secrets.go +++ b/bootloader/internal/runtimeauth/secrets.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package runtimeauth authenticates callers against the runtime's own diff --git a/bootloader/internal/runtimeauth/token.go b/bootloader/internal/runtimeauth/token.go index 84b5adb8..1cdd136f 100644 --- a/bootloader/internal/runtimeauth/token.go +++ b/bootloader/internal/runtimeauth/token.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimeauth/users.go b/bootloader/internal/runtimeauth/users.go index 23177857..cef3e77c 100644 --- a/bootloader/internal/runtimeauth/users.go +++ b/bootloader/internal/runtimeauth/users.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package runtimeauth diff --git a/bootloader/internal/runtimespec/spec.go b/bootloader/internal/runtimespec/spec.go index c428af28..50302cc0 100644 --- a/bootloader/internal/runtimespec/spec.go +++ b/bootloader/internal/runtimespec/spec.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package runtimespec decides how the runtime container is run. diff --git a/bootloader/internal/runtimespec/spec_test.go b/bootloader/internal/runtimespec/spec_test.go index 578b2f92..6844d956 100644 --- a/bootloader/internal/runtimespec/spec_test.go +++ b/bootloader/internal/runtimespec/spec_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package runtimespec diff --git a/bootloader/internal/selfupdate/selfupdate.go b/bootloader/internal/selfupdate/selfupdate.go index d07193fc..438a09f2 100644 --- a/bootloader/internal/selfupdate/selfupdate.go +++ b/bootloader/internal/selfupdate/selfupdate.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package selfupdate replaces the bootloader with a newer version of diff --git a/bootloader/internal/selfupdate/selfupdate_test.go b/bootloader/internal/selfupdate/selfupdate_test.go index f4134d84..00a7ce78 100644 --- a/bootloader/internal/selfupdate/selfupdate_test.go +++ b/bootloader/internal/selfupdate/selfupdate_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package selfupdate diff --git a/bootloader/internal/supervisor/crashwindow.go b/bootloader/internal/supervisor/crashwindow.go index 0f062109..fceb278d 100644 --- a/bootloader/internal/supervisor/crashwindow.go +++ b/bootloader/internal/supervisor/crashwindow.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package supervisor diff --git a/bootloader/internal/supervisor/supervisor.go b/bootloader/internal/supervisor/supervisor.go index 1f21f071..789418ee 100644 --- a/bootloader/internal/supervisor/supervisor.go +++ b/bootloader/internal/supervisor/supervisor.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package supervisor owns the runtime container's lifecycle. Reconciles diff --git a/bootloader/internal/supervisor/supervisor_test.go b/bootloader/internal/supervisor/supervisor_test.go index b1556728..b63362fa 100644 --- a/bootloader/internal/supervisor/supervisor_test.go +++ b/bootloader/internal/supervisor/supervisor_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package supervisor diff --git a/bootloader/internal/updater/disk_linux.go b/bootloader/internal/updater/disk_linux.go index 096fa10b..0917a473 100644 --- a/bootloader/internal/updater/disk_linux.go +++ b/bootloader/internal/updater/disk_linux.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® //go:build linux diff --git a/bootloader/internal/updater/disk_other.go b/bootloader/internal/updater/disk_other.go index d87c184a..37d08254 100644 --- a/bootloader/internal/updater/disk_other.go +++ b/bootloader/internal/updater/disk_other.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® //go:build !linux diff --git a/bootloader/internal/updater/pullfailure_test.go b/bootloader/internal/updater/pullfailure_test.go index 31984f37..22d87850 100644 --- a/bootloader/internal/updater/pullfailure_test.go +++ b/bootloader/internal/updater/pullfailure_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package updater diff --git a/bootloader/internal/updater/updater.go b/bootloader/internal/updater/updater.go index 2052a918..148862d9 100644 --- a/bootloader/internal/updater/updater.go +++ b/bootloader/internal/updater/updater.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Package updater changes which runtime version a device runs. diff --git a/bootloader/internal/updater/updater_test.go b/bootloader/internal/updater/updater_test.go index 7d3374c5..ab35a7d2 100644 --- a/bootloader/internal/updater/updater_test.go +++ b/bootloader/internal/updater/updater_test.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® package updater diff --git a/bootloader/main.go b/bootloader/main.go index bd6bb005..87137152 100644 --- a/bootloader/main.go +++ b/bootloader/main.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Command openplc-bootloader brings up and maintains one OpenPLC runtime diff --git a/core/src/drivers/plugin_config.c b/core/src/drivers/plugin_config.c index 0263ae4a..1890df8d 100644 --- a/core/src/drivers/plugin_config.c +++ b/core/src/drivers/plugin_config.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "plugin_config.h" diff --git a/core/src/drivers/plugin_config.h b/core/src/drivers/plugin_config.h index 19260fca..c0a1b24a 100644 --- a/core/src/drivers/plugin_config.h +++ b/core/src/drivers/plugin_config.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef PLUGIN_CONFIG_H diff --git a/core/src/drivers/plugin_driver.c b/core/src/drivers/plugin_driver.c index 9e3b0760..7ef57ba6 100644 --- a/core/src/drivers/plugin_driver.c +++ b/core/src/drivers/plugin_driver.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #define PY_SSIZE_T_CLEAN diff --git a/core/src/drivers/plugin_driver.h b/core/src/drivers/plugin_driver.h index 01cddc3c..d00f0249 100644 --- a/core/src/drivers/plugin_driver.h +++ b/core/src/drivers/plugin_driver.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef PLUGIN_DRIVER_H diff --git a/core/src/drivers/plugin_plc_requests.c b/core/src/drivers/plugin_plc_requests.c index cb34bb66..7ec5a668 100644 --- a/core/src/drivers/plugin_plc_requests.c +++ b/core/src/drivers/plugin_plc_requests.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugin_plc_requests.h b/core/src/drivers/plugin_plc_requests.h index 18069381..a94706ed 100644 --- a/core/src/drivers/plugin_plc_requests.h +++ b/core/src/drivers/plugin_plc_requests.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef PLUGIN_PLC_REQUESTS_H diff --git a/core/src/drivers/plugin_types.h b/core/src/drivers/plugin_types.h index 825312e3..90fdd0d1 100644 --- a/core/src/drivers/plugin_types.h +++ b/core/src/drivers/plugin_types.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/CMakeLists.txt b/core/src/drivers/plugins/native/ethercat/CMakeLists.txt index a28ceddd..3a430ef8 100644 --- a/core/src/drivers/plugins/native/ethercat/CMakeLists.txt +++ b/core/src/drivers/plugins/native/ethercat/CMakeLists.txt @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # # EtherCAT client plugin: relays process data between EtherDOG and the image tables. diff --git a/core/src/drivers/plugins/native/ethercat/ethercat_iomap.c b/core/src/drivers/plugins/native/ethercat/ethercat_iomap.c index 70452b63..8e4a6183 100644 --- a/core/src/drivers/plugins/native/ethercat/ethercat_iomap.c +++ b/core/src/drivers/plugins/native/ethercat/ethercat_iomap.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/ethercat_iomap.h b/core/src/drivers/plugins/native/ethercat/ethercat_iomap.h index 643fdf6a..d59ea8bd 100644 --- a/core/src/drivers/plugins/native/ethercat/ethercat_iomap.h +++ b/core/src/drivers/plugins/native/ethercat/ethercat_iomap.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/ethercat_plugin.c b/core/src/drivers/plugins/native/ethercat/ethercat_plugin.c index b572074b..6d4b23e9 100644 --- a/core/src/drivers/plugins/native/ethercat/ethercat_plugin.c +++ b/core/src/drivers/plugins/native/ethercat/ethercat_plugin.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/etherdog_link.c b/core/src/drivers/plugins/native/ethercat/etherdog_link.c index 00fa965d..b93e68a4 100644 --- a/core/src/drivers/plugins/native/ethercat/etherdog_link.c +++ b/core/src/drivers/plugins/native/ethercat/etherdog_link.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/ethercat/etherdog_link.h b/core/src/drivers/plugins/native/ethercat/etherdog_link.h index ef10b999..b7a3d379 100644 --- a/core/src/drivers/plugins/native/ethercat/etherdog_link.h +++ b/core/src/drivers/plugins/native/ethercat/etherdog_link.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/examples/test_plugin.c b/core/src/drivers/plugins/native/examples/test_plugin.c index 15e2dcc0..0161ffe0 100644 --- a/core/src/drivers/plugins/native/examples/test_plugin.c +++ b/core/src/drivers/plugins/native/examples/test_plugin.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/examples/test_plugin_loader.c b/core/src/drivers/plugins/native/examples/test_plugin_loader.c index 1981ed21..4e0f6327 100644 --- a/core/src/drivers/plugins/native/examples/test_plugin_loader.c +++ b/core/src/drivers/plugins/native/examples/test_plugin_loader.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include diff --git a/core/src/drivers/plugins/native/plugin_logger.c b/core/src/drivers/plugins/native/plugin_logger.c index 7cabadda..5d7b8c27 100644 --- a/core/src/drivers/plugins/native/plugin_logger.c +++ b/core/src/drivers/plugins/native/plugin_logger.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/native/plugin_logger.h b/core/src/drivers/plugins/native/plugin_logger.h index 65713b6b..6a6ceba1 100644 --- a/core/src/drivers/plugins/native/plugin_logger.h +++ b/core/src/drivers/plugins/native/plugin_logger.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/drivers/plugins/python/examples/buffer_access_example.py b/core/src/drivers/plugins/python/examples/buffer_access_example.py index 9abf3e92..7cbec275 100644 --- a/core/src/drivers/plugins/python/examples/buffer_access_example.py +++ b/core/src/drivers/plugins/python/examples/buffer_access_example.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/examples/example_python_plugin.py b/core/src/drivers/plugins/python/examples/example_python_plugin.py index bd820d43..052000e5 100644 --- a/core/src/drivers/plugins/python/examples/example_python_plugin.py +++ b/core/src/drivers/plugins/python/examples/example_python_plugin.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_connection.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_connection.py index f1a5aff2..9e4d5ad3 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_connection.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_connection.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Modbus Master plugin connection management utilities.""" diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_memory.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_memory.py index a1dd9b31..4c3a32fb 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_memory.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_memory.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Modbus Master plugin memory access utilities. diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_plugin.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_plugin.py index 3ce61c60..d3f918ca 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_plugin.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_plugin.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import os diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_types.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_types.py index 22e33cc4..708d6151 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_types.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Modbus Master plugin type definitions.""" diff --git a/core/src/drivers/plugins/python/modbus_master/modbus_master_utils.py b/core/src/drivers/plugins/python/modbus_master/modbus_master_utils.py index 2586ae76..c2d5c69f 100644 --- a/core/src/drivers/plugins/python/modbus_master/modbus_master_utils.py +++ b/core/src/drivers/plugins/python/modbus_master/modbus_master_utils.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Modbus Master plugin utility functions.""" diff --git a/core/src/drivers/plugins/python/modbus_master/test/script_slave.py b/core/src/drivers/plugins/python/modbus_master/test/script_slave.py index 5992294c..acaadf56 100644 --- a/core/src/drivers/plugins/python/modbus_master/test/script_slave.py +++ b/core/src/drivers/plugins/python/modbus_master/test/script_slave.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import asyncio diff --git a/core/src/drivers/plugins/python/modbus_slave/conftest.py b/core/src/drivers/plugins/python/modbus_slave/conftest.py index 85bcd51e..26d9ae29 100644 --- a/core/src/drivers/plugins/python/modbus_slave/conftest.py +++ b/core/src/drivers/plugins/python/modbus_slave/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import pytest diff --git a/core/src/drivers/plugins/python/modbus_slave/simple_modbus.py b/core/src/drivers/plugins/python/modbus_slave/simple_modbus.py index d4f0e7fe..b995de0d 100644 --- a/core/src/drivers/plugins/python/modbus_slave/simple_modbus.py +++ b/core/src/drivers/plugins/python/modbus_slave/simple_modbus.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # pylint disables kept so pymodbus-mandated names, segmented data-block diff --git a/core/src/drivers/plugins/python/modbus_slave/test_inputs.py b/core/src/drivers/plugins/python/modbus_slave/test_inputs.py index 787f343a..d7e42ae7 100644 --- a/core/src/drivers/plugins/python/modbus_slave/test_inputs.py +++ b/core/src/drivers/plugins/python/modbus_slave/test_inputs.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # tests/test_discrete_inputs.py diff --git a/core/src/drivers/plugins/python/modbus_slave/test_modbus_slave.py b/core/src/drivers/plugins/python/modbus_slave/test_modbus_slave.py index bd6474dd..699f9003 100644 --- a/core/src/drivers/plugins/python/modbus_slave/test_modbus_slave.py +++ b/core/src/drivers/plugins/python/modbus_slave/test_modbus_slave.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import threading diff --git a/core/src/drivers/plugins/python/modbus_slave/test_openplc_input_registers_datablock.py b/core/src/drivers/plugins/python/modbus_slave/test_openplc_input_registers_datablock.py index dba5e3a5..63557d9f 100644 --- a/core/src/drivers/plugins/python/modbus_slave/test_openplc_input_registers_datablock.py +++ b/core/src/drivers/plugins/python/modbus_slave/test_openplc_input_registers_datablock.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import pytest diff --git a/core/src/drivers/plugins/python/opcua/__init__.py b/core/src/drivers/plugins/python/opcua/__init__.py index 9628f536..a9669c78 100644 --- a/core/src/drivers/plugins/python/opcua/__init__.py +++ b/core/src/drivers/plugins/python/opcua/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/address_space.py b/core/src/drivers/plugins/python/opcua/address_space.py index b86a8faa..261153df 100644 --- a/core/src/drivers/plugins/python/opcua/address_space.py +++ b/core/src/drivers/plugins/python/opcua/address_space.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/callbacks.py b/core/src/drivers/plugins/python/opcua/callbacks.py index 91669c5e..e2ee04f6 100644 --- a/core/src/drivers/plugins/python/opcua/callbacks.py +++ b/core/src/drivers/plugins/python/opcua/callbacks.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/config.py b/core/src/drivers/plugins/python/opcua/config.py index ae186ec6..f18d743f 100644 --- a/core/src/drivers/plugins/python/opcua/config.py +++ b/core/src/drivers/plugins/python/opcua/config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_endpoints_config.py b/core/src/drivers/plugins/python/opcua/opcua_endpoints_config.py index b1203ed0..4846311b 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_endpoints_config.py +++ b/core/src/drivers/plugins/python/opcua/opcua_endpoints_config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_logging.py b/core/src/drivers/plugins/python/opcua/opcua_logging.py index bc125548..5062aa00 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_logging.py +++ b/core/src/drivers/plugins/python/opcua/opcua_logging.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_memory.py b/core/src/drivers/plugins/python/opcua/opcua_memory.py index 2c41c292..4c382d0d 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_memory.py +++ b/core/src/drivers/plugins/python/opcua/opcua_memory.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_security.py b/core/src/drivers/plugins/python/opcua/opcua_security.py index 9934b612..2556fbc9 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_security.py +++ b/core/src/drivers/plugins/python/opcua/opcua_security.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/opcua_types.py b/core/src/drivers/plugins/python/opcua/opcua_types.py index 8fc01a0e..6e3d1d9e 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_types.py +++ b/core/src/drivers/plugins/python/opcua/opcua_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """OPC-UA plugin type definitions.""" diff --git a/core/src/drivers/plugins/python/opcua/opcua_utils.py b/core/src/drivers/plugins/python/opcua/opcua_utils.py index f4a6e8ab..2b1bbd05 100644 --- a/core/src/drivers/plugins/python/opcua/opcua_utils.py +++ b/core/src/drivers/plugins/python/opcua/opcua_utils.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """OPC-UA plugin utility functions.""" diff --git a/core/src/drivers/plugins/python/opcua/plugin.py b/core/src/drivers/plugins/python/opcua/plugin.py index 820d8b7b..6b3e5c0b 100644 --- a/core/src/drivers/plugins/python/opcua/plugin.py +++ b/core/src/drivers/plugins/python/opcua/plugin.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/server.py b/core/src/drivers/plugins/python/opcua/server.py index 9772581d..07829e86 100644 --- a/core/src/drivers/plugins/python/opcua/server.py +++ b/core/src/drivers/plugins/python/opcua/server.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/synchronization.py b/core/src/drivers/plugins/python/opcua/synchronization.py index 8ddfbc25..bd945c30 100644 --- a/core/src/drivers/plugins/python/opcua/synchronization.py +++ b/core/src/drivers/plugins/python/opcua/synchronization.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/tests/test_server_standalone.py b/core/src/drivers/plugins/python/opcua/tests/test_server_standalone.py index 0b83f78c..f6d20422 100644 --- a/core/src/drivers/plugins/python/opcua/tests/test_server_standalone.py +++ b/core/src/drivers/plugins/python/opcua/tests/test_server_standalone.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/tests/test_subscription_client.py b/core/src/drivers/plugins/python/opcua/tests/test_subscription_client.py index 9e0a5184..e70b4fd6 100644 --- a/core/src/drivers/plugins/python/opcua/tests/test_subscription_client.py +++ b/core/src/drivers/plugins/python/opcua/tests/test_subscription_client.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/opcua/user_manager.py b/core/src/drivers/plugins/python/opcua/user_manager.py index ac4f2be7..53e1cf62 100644 --- a/core/src/drivers/plugins/python/opcua/user_manager.py +++ b/core/src/drivers/plugins/python/opcua/user_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/__init__.py b/core/src/drivers/plugins/python/shared/__init__.py index 486f4d1d..c81ad54b 100644 --- a/core/src/drivers/plugins/python/shared/__init__.py +++ b/core/src/drivers/plugins/python/shared/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/batch_processor.py b/core/src/drivers/plugins/python/shared/batch_processor.py index 0e24c601..72aad0e3 100644 --- a/core/src/drivers/plugins/python/shared/batch_processor.py +++ b/core/src/drivers/plugins/python/shared/batch_processor.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/buffer_accessor.py b/core/src/drivers/plugins/python/shared/buffer_accessor.py index cf0a74d1..cf360969 100644 --- a/core/src/drivers/plugins/python/shared/buffer_accessor.py +++ b/core/src/drivers/plugins/python/shared/buffer_accessor.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # pylint: disable=R0913,R0917 diff --git a/core/src/drivers/plugins/python/shared/buffer_types.py b/core/src/drivers/plugins/python/shared/buffer_types.py index d36792b9..c191a3fc 100644 --- a/core/src/drivers/plugins/python/shared/buffer_types.py +++ b/core/src/drivers/plugins/python/shared/buffer_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/buffer_validator.py b/core/src/drivers/plugins/python/shared/buffer_validator.py index eacd05b0..8f7a61cd 100644 --- a/core/src/drivers/plugins/python/shared/buffer_validator.py +++ b/core/src/drivers/plugins/python/shared/buffer_validator.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/capsule_extraction.py b/core/src/drivers/plugins/python/shared/capsule_extraction.py index c5c9ad1a..5449b21b 100644 --- a/core/src/drivers/plugins/python/shared/capsule_extraction.py +++ b/core/src/drivers/plugins/python/shared/capsule_extraction.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/component_interfaces.py b/core/src/drivers/plugins/python/shared/component_interfaces.py index 8e7856a2..8f7c2a34 100644 --- a/core/src/drivers/plugins/python/shared/component_interfaces.py +++ b/core/src/drivers/plugins/python/shared/component_interfaces.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/config_handler.py b/core/src/drivers/plugins/python/shared/config_handler.py index a432a3d7..f6f88b2e 100644 --- a/core/src/drivers/plugins/python/shared/config_handler.py +++ b/core/src/drivers/plugins/python/shared/config_handler.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/iec_types.py b/core/src/drivers/plugins/python/shared/iec_types.py index 1572cb5b..4c1482a5 100644 --- a/core/src/drivers/plugins/python/shared/iec_types.py +++ b/core/src/drivers/plugins/python/shared/iec_types.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/mutex_manager.py b/core/src/drivers/plugins/python/shared/mutex_manager.py index 541cd3d9..284bf972 100644 --- a/core/src/drivers/plugins/python/shared/mutex_manager.py +++ b/core/src/drivers/plugins/python/shared/mutex_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/__init__.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/__init__.py index efccaf4f..6e5eaf6b 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/__init__.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/modbus_master_config_model.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/modbus_master_config_model.py index bcb2a664..35f49664 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/modbus_master_config_model.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/modbus_master_config_model.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import re diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/opcua_config_model.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/opcua_config_model.py index 4ac0f785..3540f364 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/opcua_config_model.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/opcua_config_model.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® from typing import List, Dict, Any, Optional, Literal diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/plugin_config_contact.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/plugin_config_contact.py index 01e76f24..c2576289 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/plugin_config_contact.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/plugin_config_contact.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/test_modbus_master_config_model.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/test_modbus_master_config_model.py index 63bea4bb..fe1fae16 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/test_modbus_master_config_model.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/test_modbus_master_config_model.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import pytest diff --git a/core/src/drivers/plugins/python/shared/plugin_config_decode/test_plugin_config_models.py b/core/src/drivers/plugins/python/shared/plugin_config_decode/test_plugin_config_models.py index 9e570e77..f7e9e79d 100644 --- a/core/src/drivers/plugins/python/shared/plugin_config_decode/test_plugin_config_models.py +++ b/core/src/drivers/plugins/python/shared/plugin_config_decode/test_plugin_config_models.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_logger.py b/core/src/drivers/plugins/python/shared/plugin_logger.py index 71548f24..5a67f5fe 100644 --- a/core/src/drivers/plugins/python/shared/plugin_logger.py +++ b/core/src/drivers/plugins/python/shared/plugin_logger.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_runtime_args.py b/core/src/drivers/plugins/python/shared/plugin_runtime_args.py index aca3f94c..dc0b42b0 100644 --- a/core/src/drivers/plugins/python/shared/plugin_runtime_args.py +++ b/core/src/drivers/plugins/python/shared/plugin_runtime_args.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/plugin_structure_validator.py b/core/src/drivers/plugins/python/shared/plugin_structure_validator.py index dcc213fa..a479d6a4 100644 --- a/core/src/drivers/plugins/python/shared/plugin_structure_validator.py +++ b/core/src/drivers/plugins/python/shared/plugin_structure_validator.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/safe_buffer_access_refactored.py b/core/src/drivers/plugins/python/shared/safe_buffer_access_refactored.py index a225a58a..8f77cd04 100644 --- a/core/src/drivers/plugins/python/shared/safe_buffer_access_refactored.py +++ b/core/src/drivers/plugins/python/shared/safe_buffer_access_refactored.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/plugins/python/shared/safe_logging_access.py b/core/src/drivers/plugins/python/shared/safe_logging_access.py index ece71e73..de3ae15c 100644 --- a/core/src/drivers/plugins/python/shared/safe_logging_access.py +++ b/core/src/drivers/plugins/python/shared/safe_logging_access.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/core/src/drivers/python_plugin_bridge.h b/core/src/drivers/python_plugin_bridge.h index ae9e6d7d..9ad964c0 100644 --- a/core/src/drivers/python_plugin_bridge.h +++ b/core/src/drivers/python_plugin_bridge.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef __PYTHON_PLUGIN_BRIDGE_H diff --git a/core/src/drivers/vpp_plugin_seal.c b/core/src/drivers/vpp_plugin_seal.c index f4eeefaa..049264cf 100644 --- a/core/src/drivers/vpp_plugin_seal.c +++ b/core/src/drivers/vpp_plugin_seal.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "vpp_plugin_seal.h" diff --git a/core/src/drivers/vpp_plugin_seal.h b/core/src/drivers/vpp_plugin_seal.h index 48c9b9c9..9a1333a9 100644 --- a/core/src/drivers/vpp_plugin_seal.h +++ b/core/src/drivers/vpp_plugin_seal.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/lib/plc_image_types.h b/core/src/lib/plc_image_types.h index a978e7ec..47aba8d0 100644 --- a/core/src/lib/plc_image_types.h +++ b/core/src/lib/plc_image_types.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Cell types of the PLC image tables, shared with plugins through plugin_types.h. diff --git a/core/src/lib/strucpp_abi.hpp b/core/src/lib/strucpp_abi.hpp index 535b0d1d..e3cb2919 100644 --- a/core/src/lib/strucpp_abi.hpp +++ b/core/src/lib/strucpp_abi.hpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Runtime-side mirror of the strucpp ABI the loaded .so exposes. diff --git a/core/src/plc_app/client_tcp_udp.c b/core/src/plc_app/client_tcp_udp.c index 3c912d2c..b36575c5 100644 --- a/core/src/plc_app/client_tcp_udp.c +++ b/core/src/plc_app/client_tcp_udp.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Socket/connect helpers for the TCP/UDP communication function blocks diff --git a/core/src/plc_app/debug_handler.c b/core/src/plc_app/debug_handler.c index 1ee07767..542d3a4f 100644 --- a/core/src/plc_app/debug_handler.c +++ b/core/src/plc_app/debug_handler.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* STruC++ debugger PDU handler. Codes 0x41-0x45 are Modbus-style for diff --git a/core/src/plc_app/debug_handler.h b/core/src/plc_app/debug_handler.h index 73779122..5b0634ff 100644 --- a/core/src/plc_app/debug_handler.h +++ b/core/src/plc_app/debug_handler.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef DEBUG_HANDLER_H diff --git a/core/src/plc_app/debug_write_journal.cpp b/core/src/plc_app/debug_write_journal.cpp index e58d9916..b65f590e 100644 --- a/core/src/plc_app/debug_write_journal.cpp +++ b/core/src/plc_app/debug_write_journal.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Queue of external write/force requests; dispatcher drains at the diff --git a/core/src/plc_app/debug_write_journal.h b/core/src/plc_app/debug_write_journal.h index 79fd08af..374cf179 100644 --- a/core/src/plc_app/debug_write_journal.h +++ b/core/src/plc_app/debug_write_journal.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Serialized external write/force path. Writers ENQUEUE from any diff --git a/core/src/plc_app/image_tables.cpp b/core/src/plc_app/image_tables.cpp index 336a2ffc..3c079329 100644 --- a/core/src/plc_app/image_tables.cpp +++ b/core/src/plc_app/image_tables.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Resolves the strucpp .so's exported symbols and binds image-table diff --git a/core/src/plc_app/image_tables.h b/core/src/plc_app/image_tables.h index 20f89852..5cc54547 100644 --- a/core/src/plc_app/image_tables.h +++ b/core/src/plc_app/image_tables.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef IMAGE_TABLES_H diff --git a/core/src/plc_app/include/iec_python.h b/core/src/plc_app/include/iec_python.h index fbe49add..7d9a90bd 100644 --- a/core/src/plc_app/include/iec_python.h +++ b/core/src/plc_app/include/iec_python.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // This header declares the Python Function Block loader functions. diff --git a/core/src/plc_app/journal_buffer.c b/core/src/plc_app/journal_buffer.c index 2d510b5c..06f1fd57 100644 --- a/core/src/plc_app/journal_buffer.c +++ b/core/src/plc_app/journal_buffer.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/journal_buffer.h b/core/src/plc_app/journal_buffer.h index 9cdcae13..928605a9 100644 --- a/core/src/plc_app/journal_buffer.h +++ b/core/src/plc_app/journal_buffer.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/located_globals.c b/core/src/plc_app/located_globals.c index 0081927a..720d92c2 100644 --- a/core/src/plc_app/located_globals.c +++ b/core/src/plc_app/located_globals.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Joins locatedVars[] with locatedGlobals[] by storage-pointer identity. */ diff --git a/core/src/plc_app/located_globals.h b/core/src/plc_app/located_globals.h index 8e31bb73..45d5d1fb 100644 --- a/core/src/plc_app/located_globals.h +++ b/core/src/plc_app/located_globals.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef OPENPLC_LOCATED_GLOBALS_H diff --git a/core/src/plc_app/plc_boot.c b/core/src/plc_app/plc_boot.c index 062bcf12..f2085092 100644 --- a/core/src/plc_app/plc_boot.c +++ b/core/src/plc_app/plc_boot.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_boot.h b/core/src/plc_app/plc_boot.h index aba2b2c1..8fc99b8d 100644 --- a/core/src/plc_app/plc_boot.h +++ b/core/src/plc_app/plc_boot.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef PLC_BOOT_H diff --git a/core/src/plc_app/plc_main.c b/core/src/plc_app/plc_main.c index 96129c74..808f66fb 100644 --- a/core/src/plc_app/plc_main.c +++ b/core/src/plc_app/plc_main.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #define PY_SSIZE_T_CLEAN diff --git a/core/src/plc_app/plc_retain.cpp b/core/src/plc_app/plc_retain.cpp index f64286dc..646b1453 100644 --- a/core/src/plc_app/plc_retain.cpp +++ b/core/src/plc_app/plc_retain.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_retain.h b/core/src/plc_app/plc_retain.h index 13b20cb2..749ce0c4 100644 --- a/core/src/plc_app/plc_retain.h +++ b/core/src/plc_app/plc_retain.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_retain_file_store.cpp b/core/src/plc_app/plc_retain_file_store.cpp index d28dba88..1cef6d18 100644 --- a/core/src/plc_app/plc_retain_file_store.cpp +++ b/core/src/plc_app/plc_retain_file_store.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_retain_file_store.h b/core/src/plc_app/plc_retain_file_store.h index fb84ecea..5e3a26f8 100644 --- a/core/src/plc_app/plc_retain_file_store.h +++ b/core/src/plc_app/plc_retain_file_store.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_state_manager.cpp b/core/src/plc_app/plc_state_manager.cpp index fb863771..2d3aaffd 100644 --- a/core/src/plc_app/plc_state_manager.cpp +++ b/core/src/plc_app/plc_state_manager.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Walks the loaded program's ConfigurationInstance via virtual dispatch, diff --git a/core/src/plc_app/plc_state_manager.h b/core/src/plc_app/plc_state_manager.h index 6ded0930..ddf2022a 100644 --- a/core/src/plc_app/plc_state_manager.h +++ b/core/src/plc_app/plc_state_manager.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef PLC_STATE_MANAGER_H diff --git a/core/src/plc_app/plc_switch.c b/core/src/plc_app/plc_switch.c index 141022ba..82f2b318 100644 --- a/core/src/plc_app/plc_switch.c +++ b/core/src/plc_app/plc_switch.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/core/src/plc_app/plc_switch.h b/core/src/plc_app/plc_switch.h index a4cfd6ef..cde2e0b5 100644 --- a/core/src/plc_app/plc_switch.h +++ b/core/src/plc_app/plc_switch.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef PLC_SWITCH_H diff --git a/core/src/plc_app/plcapp_manager.c b/core/src/plc_app/plcapp_manager.c index 7df83f0c..d70eef5f 100644 --- a/core/src/plc_app/plcapp_manager.c +++ b/core/src/plc_app/plcapp_manager.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "plcapp_manager.h" diff --git a/core/src/plc_app/plcapp_manager.h b/core/src/plc_app/plcapp_manager.h index 9a408d62..81cfa4a0 100644 --- a/core/src/plc_app/plcapp_manager.h +++ b/core/src/plc_app/plcapp_manager.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef PLUGIN_MANAGER_H diff --git a/core/src/plc_app/python_loader.c b/core/src/plc_app/python_loader.c index 12bd9619..901ec52c 100644 --- a/core/src/plc_app/python_loader.c +++ b/core/src/plc_app/python_loader.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Loader for function blocks written in Python; they talk to the PLC diff --git a/core/src/plc_app/scan_cycle_manager.c b/core/src/plc_app/scan_cycle_manager.c index 7972ddcd..d5c42f49 100644 --- a/core/src/plc_app/scan_cycle_manager.c +++ b/core/src/plc_app/scan_cycle_manager.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include diff --git a/core/src/plc_app/scan_cycle_manager.h b/core/src/plc_app/scan_cycle_manager.h index 17481f59..e52400f6 100644 --- a/core/src/plc_app/scan_cycle_manager.h +++ b/core/src/plc_app/scan_cycle_manager.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef SCAN_CYCLE_MANAGER_H diff --git a/core/src/plc_app/task_policy.c b/core/src/plc_app/task_policy.c index 40c49711..dcfff632 100644 --- a/core/src/plc_app/task_policy.c +++ b/core/src/plc_app/task_policy.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "task_policy.h" diff --git a/core/src/plc_app/task_policy.h b/core/src/plc_app/task_policy.h index cc4e4743..7a88482f 100644 --- a/core/src/plc_app/task_policy.h +++ b/core/src/plc_app/task_policy.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef TASK_POLICY_H diff --git a/core/src/plc_app/unix_socket.c b/core/src/plc_app/unix_socket.c index dc579d43..63af99c4 100644 --- a/core/src/plc_app/unix_socket.c +++ b/core/src/plc_app/unix_socket.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include diff --git a/core/src/plc_app/unix_socket.h b/core/src/plc_app/unix_socket.h index d6499dd6..bb74a1c7 100644 --- a/core/src/plc_app/unix_socket.h +++ b/core/src/plc_app/unix_socket.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef UNIX_SOCKET_H diff --git a/core/src/plc_app/utils/log.c b/core/src/plc_app/utils/log.c index 71dc9d25..8d99dc61 100644 --- a/core/src/plc_app/utils/log.c +++ b/core/src/plc_app/utils/log.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "log.h" diff --git a/core/src/plc_app/utils/log.h b/core/src/plc_app/utils/log.h index 87238bee..65621b79 100644 --- a/core/src/plc_app/utils/log.h +++ b/core/src/plc_app/utils/log.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef LOG_H diff --git a/core/src/plc_app/utils/rt_mutex.h b/core/src/plc_app/utils/rt_mutex.h index ca75b047..a991a6f7 100644 --- a/core/src/plc_app/utils/rt_mutex.h +++ b/core/src/plc_app/utils/rt_mutex.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef RT_MUTEX_H diff --git a/core/src/plc_app/utils/utils.c b/core/src/plc_app/utils/utils.c index f2942af9..2005f540 100644 --- a/core/src/plc_app/utils/utils.c +++ b/core/src/plc_app/utils/utils.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // _GNU_SOURCE is required for pthread_setaffinity_np and CPU_SET macros diff --git a/core/src/plc_app/utils/utils.h b/core/src/plc_app/utils/utils.h index d2871f1b..56dbd016 100644 --- a/core/src/plc_app/utils/utils.h +++ b/core/src/plc_app/utils/utils.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef UTILS_H diff --git a/core/src/plc_app/utils/watchdog.c b/core/src/plc_app/utils/watchdog.c index 3292b57d..bb287022 100644 --- a/core/src/plc_app/utils/watchdog.c +++ b/core/src/plc_app/utils/watchdog.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef _GNU_SOURCE diff --git a/core/src/plc_app/utils/watchdog.h b/core/src/plc_app/utils/watchdog.h index 76f73823..6f47eff2 100644 --- a/core/src/plc_app/utils/watchdog.h +++ b/core/src/plc_app/utils/watchdog.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #ifndef WATCHDOG_H diff --git a/core/strucpp_runtime/retain_probe.cpp b/core/strucpp_runtime/retain_probe.cpp index 2d63871a..ef57dba3 100644 --- a/core/strucpp_runtime/retain_probe.cpp +++ b/core/strucpp_runtime/retain_probe.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Build-time capability probe for the strucpp retain API in the diff --git a/core/strucpp_runtime/runtime_v4_entry.cpp b/core/strucpp_runtime/runtime_v4_entry.cpp index f3f672a4..85f0a450 100644 --- a/core/strucpp_runtime/runtime_v4_entry.cpp +++ b/core/strucpp_runtime/runtime_v4_entry.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Static C-linkage shim in every user .so. Instantiates g_config, diff --git a/install.sh b/install.sh index 34ea5738..6e047e48 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® set -e diff --git a/scripts/build-docker-image-dev.sh b/scripts/build-docker-image-dev.sh index b4ad4cef..f473ecfb 100755 --- a/scripts/build-docker-image-dev.sh +++ b/scripts/build-docker-image-dev.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Build the docker image with tag "build-env" diff --git a/scripts/build-docker-image.sh b/scripts/build-docker-image.sh index e80e9e53..a00971e3 100755 --- a/scripts/build-docker-image.sh +++ b/scripts/build-docker-image.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Build the docker image with tag "build-env" diff --git a/scripts/compile-clean.sh b/scripts/compile-clean.sh index c80a6fce..0732e438 100755 --- a/scripts/compile-clean.sh +++ b/scripts/compile-clean.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® set -euo pipefail diff --git a/scripts/compile.sh b/scripts/compile.sh index 612547bc..5a53e0cd 100755 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # compile.sh builds the user PLC program into core/build/new_libplc.so. diff --git a/scripts/exec.sh b/scripts/exec.sh index 5fbb0e39..b77f7aec 100755 --- a/scripts/exec.sh +++ b/scripts/exec.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® set -euo pipefail diff --git a/scripts/generate-gluevars.sh b/scripts/generate-gluevars.sh index c20f9668..d7a964ee 100755 --- a/scripts/generate-gluevars.sh +++ b/scripts/generate-gluevars.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® srcPATH=core/generated/plc_lib diff --git a/scripts/install-docker.sh b/scripts/install-docker.sh index 30b27222..2c037592 100755 --- a/scripts/install-docker.sh +++ b/scripts/install-docker.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # OpenPLC Runtime container installer. Writes the bootloader spec and diff --git a/scripts/manage_plugin_venvs.sh b/scripts/manage_plugin_venvs.sh index b0c11ddb..9e3bfa0c 100755 --- a/scripts/manage_plugin_venvs.sh +++ b/scripts/manage_plugin_venvs.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # OpenPLC Runtime Plugin Virtual Environment Manager diff --git a/scripts/run-image-dev.sh b/scripts/run-image-dev.sh index ddeca7a1..15cc1723 100755 --- a/scripts/run-image-dev.sh +++ b/scripts/run-image-dev.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Run container mounting only source code (preserves built venv) diff --git a/scripts/run-image.sh b/scripts/run-image.sh index c1903926..abf74654 100755 --- a/scripts/run-image.sh +++ b/scripts/run-image.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Run container mounting only source code (preserves built venv) diff --git a/scripts/run-pytest.sh b/scripts/run-pytest.sh index b003334f..af71b1ef 100755 --- a/scripts/run-pytest.sh +++ b/scripts/run-pytest.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® set -e diff --git a/start_openplc.sh b/start_openplc.sh index 12a795ca..1c993f3e 100755 --- a/start_openplc.sh +++ b/start_openplc.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® set -euo pipefail diff --git a/tests/host/run.sh b/tests/host/run.sh index f62469b0..38e6f0e3 100755 --- a/tests/host/run.sh +++ b/tests/host/run.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Host tests: plain C++17 executables, no framework, no device. For diff --git a/tests/host/test_image_outputs.cpp b/tests/host/test_image_outputs.cpp index 1b9b45d8..1371a065 100644 --- a/tests/host/test_image_outputs.cpp +++ b/tests/host/test_image_outputs.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Host test: image_tables_zero_outputs clears every output slot and nothing else. diff --git a/tests/host/test_plc_boot.cpp b/tests/host/test_plc_boot.cpp index c498a758..4a251795 100644 --- a/tests/host/test_plc_boot.cpp +++ b/tests/host/test_plc_boot.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Host test: boot plugin bring-up and the boot auto-start against the mode switch. diff --git a/tests/host/test_plc_retain_file_store.cpp b/tests/host/test_plc_retain_file_store.cpp index edba59d9..1385821f 100644 --- a/tests/host/test_plc_retain_file_store.cpp +++ b/tests/host/test_plc_retain_file_store.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Host test for the retain file store's identity handling. Pins the diff --git a/tests/host/test_rt_mutex.cpp b/tests/host/test_rt_mutex.cpp index 04b16eea..d2a232bd 100644 --- a/tests/host/test_rt_mutex.cpp +++ b/tests/host/test_rt_mutex.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Host test: rt_mutex_init and RtMutex produce priority-inheritance mutexes. diff --git a/tests/host/test_task_policy.cpp b/tests/host/test_task_policy.cpp index 2b4928e6..b6e6326d 100644 --- a/tests/host/test_task_policy.cpp +++ b/tests/host/test_task_policy.cpp @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Host test: IEC TASK priority to SCHED_FIFO mapping. diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 95c2e56f..adbca530 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Keep the destructive integration suite out of a bare ``pytest`` run. diff --git a/tests/integration/entrypoint.sh b/tests/integration/entrypoint.sh index ff1ded03..f201283a 100644 --- a/tests/integration/entrypoint.sh +++ b/tests/integration/entrypoint.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Start the inner Docker daemon (wait for the socket to answer), then diff --git a/tests/integration/harness.sh b/tests/integration/harness.sh index 358685bd..6c57139e 100755 --- a/tests/integration/harness.sh +++ b/tests/integration/harness.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Bootloader integration harness. Runs a Debian container with its own diff --git a/tests/integration/stubruntime/main.go b/tests/integration/stubruntime/main.go index 839f0e6c..72ce6f97 100644 --- a/tests/integration/stubruntime/main.go +++ b/tests/integration/stubruntime/main.go @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® // Command stubruntime stands in for the OpenPLC runtime in integration diff --git a/tests/integration/test_bootloader.py b/tests/integration/test_bootloader.py index 927baefe..807c6465 100644 --- a/tests/integration/test_bootloader.py +++ b/tests/integration/test_bootloader.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """End-to-end tests for the openplc-bootloader, run inside the test host. diff --git a/tests/lifecycle/failinject.c b/tests/lifecycle/failinject.c index a0f0cecd..c59ec313 100644 --- a/tests/lifecycle/failinject.c +++ b/tests/lifecycle/failinject.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/tests/lifecycle/fakevpp_plugin.c b/tests/lifecycle/fakevpp_plugin.c index b5d6f5a3..235b2171 100644 --- a/tests/lifecycle/fakevpp_plugin.c +++ b/tests/lifecycle/fakevpp_plugin.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/tests/lifecycle/harness.sh b/tests/lifecycle/harness.sh index 579c838a..c3b5b763 100644 --- a/tests/lifecycle/harness.sh +++ b/tests/lifecycle/harness.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Builds the runtime, compiles a real PLC program, builds the test fixtures, and diff --git a/tests/lifecycle/logserver.py b/tests/lifecycle/logserver.py index fc2970ca..f89e7094 100644 --- a/tests/lifecycle/logserver.py +++ b/tests/lifecycle/logserver.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Minimal stand-in for the webserver's log server. diff --git a/tests/lifecycle/suite.py b/tests/lifecycle/suite.py index c8aeb432..98260874 100644 --- a/tests/lifecycle/suite.py +++ b/tests/lifecycle/suite.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """PR #162 review findings: one test per finding, run against a real runtime. diff --git a/tests/pytest/compile/__init__.py b/tests/pytest/compile/__init__.py index b5cd56d1..ea8d7410 100644 --- a/tests/pytest/compile/__init__.py +++ b/tests/pytest/compile/__init__.py @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® diff --git a/tests/pytest/compile/test_retain_capability_probe.py b/tests/pytest/compile/test_retain_capability_probe.py index c339fa79..e738e9c6 100644 --- a/tests/pytest/compile/test_retain_capability_probe.py +++ b/tests/pytest/compile/test_retain_capability_probe.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """The retain capability probe, and the gate it drives. diff --git a/tests/pytest/conftest.py b/tests/pytest/conftest.py index 438438c2..d2c6d7e5 100644 --- a/tests/pytest/conftest.py +++ b/tests/pytest/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Test-wide bootstrap for modules that reach ``webserver.config``. diff --git a/tests/pytest/discovery/__init__.py b/tests/pytest/discovery/__init__.py index ad4048e1..f0b41094 100644 --- a/tests/pytest/discovery/__init__.py +++ b/tests/pytest/discovery/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # Discovery Service tests diff --git a/tests/pytest/discovery/conftest.py b/tests/pytest/discovery/conftest.py index e3931b3b..a7154113 100644 --- a/tests/pytest/discovery/conftest.py +++ b/tests/pytest/discovery/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Fixtures for Discovery Service tests.""" diff --git a/tests/pytest/discovery/test_discovery_routes_modular.py b/tests/pytest/discovery/test_discovery_routes_modular.py index 8435deb3..b8607873 100644 --- a/tests/pytest/discovery/test_discovery_routes_modular.py +++ b/tests/pytest/discovery/test_discovery_routes_modular.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Tests for the modular-coupler discovery routes. diff --git a/tests/pytest/discovery/test_ethercat_discovery.py b/tests/pytest/discovery/test_ethercat_discovery.py index 83ef6448..6e2e0eb3 100644 --- a/tests/pytest/discovery/test_ethercat_discovery.py +++ b/tests/pytest/discovery/test_ethercat_discovery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Unit tests for EtherCAT discovery module.""" diff --git a/tests/pytest/discovery/test_etherdog_manager.py b/tests/pytest/discovery/test_etherdog_manager.py index d50a1f04..96b57429 100644 --- a/tests/pytest/discovery/test_etherdog_manager.py +++ b/tests/pytest/discovery/test_etherdog_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """EtherDOG supervision helpers: legacy upload detection, command transport, route shaping.""" diff --git a/tests/pytest/discovery/test_network_discovery.py b/tests/pytest/discovery/test_network_discovery.py index e47e0603..d728d132 100644 --- a/tests/pytest/discovery/test_network_discovery.py +++ b/tests/pytest/discovery/test_network_discovery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Unit tests for the UDP network discovery responder.""" diff --git a/tests/pytest/logger/conftest.py b/tests/pytest/logger/conftest.py index 2e274442..314e8f38 100644 --- a/tests/pytest/logger/conftest.py +++ b/tests/pytest/logger/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # tests/conftest.py diff --git a/tests/pytest/logger/test_logger_buffer.py b/tests/pytest/logger/test_logger_buffer.py index 2e0fdb2b..d15309ad 100644 --- a/tests/pytest/logger/test_logger_buffer.py +++ b/tests/pytest/logger/test_logger_buffer.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # tests/pytest/test_logger_buffer.py diff --git a/tests/pytest/logger/test_logger_init.py b/tests/pytest/logger/test_logger_init.py index a92f0ee6..89256c62 100644 --- a/tests/pytest/logger/test_logger_init.py +++ b/tests/pytest/logger/test_logger_init.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # tests/pytest/test_logger_init.py diff --git a/tests/pytest/logger/test_logging.py b/tests/pytest/logger/test_logging.py index 8ea8f6a4..b1c3cc8a 100644 --- a/tests/pytest/logger/test_logging.py +++ b/tests/pytest/logger/test_logging.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import logging diff --git a/tests/pytest/modbus_master/conftest.py b/tests/pytest/modbus_master/conftest.py index 95180531..a1fbb92d 100644 --- a/tests/pytest/modbus_master/conftest.py +++ b/tests/pytest/modbus_master/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # tests/conftest.py diff --git a/tests/pytest/modbus_master/test_error_handling_zero_fill.py b/tests/pytest/modbus_master/test_error_handling_zero_fill.py index d26c6f90..5e035e57 100644 --- a/tests/pytest/modbus_master/test_error_handling_zero_fill.py +++ b/tests/pytest/modbus_master/test_error_handling_zero_fill.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/modbus_master/test_modbus_gateway.py b/tests/pytest/modbus_master/test_modbus_gateway.py index f3fde8bd..27958dc5 100644 --- a/tests/pytest/modbus_master/test_modbus_gateway.py +++ b/tests/pytest/modbus_master/test_modbus_gateway.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/modbus_master/test_modbus_master_plugin.py b/tests/pytest/modbus_master/test_modbus_master_plugin.py index 12940266..527e08ca 100644 --- a/tests/pytest/modbus_master/test_modbus_master_plugin.py +++ b/tests/pytest/modbus_master/test_modbus_master_plugin.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import pytest diff --git a/tests/pytest/modbus_master/test_modbus_slave_device.py b/tests/pytest/modbus_master/test_modbus_slave_device.py index d577e1fc..fa7759b8 100644 --- a/tests/pytest/modbus_master/test_modbus_slave_device.py +++ b/tests/pytest/modbus_master/test_modbus_slave_device.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # tests/test_modbus_slave_device.py diff --git a/tests/pytest/modbus_slave/conftest.py b/tests/pytest/modbus_slave/conftest.py index bcf2ae62..26b3bbfd 100644 --- a/tests/pytest/modbus_slave/conftest.py +++ b/tests/pytest/modbus_slave/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import pytest diff --git a/tests/pytest/modbus_slave/test_inputs.py b/tests/pytest/modbus_slave/test_inputs.py index 9b3a8a38..7f607894 100644 --- a/tests/pytest/modbus_slave/test_inputs.py +++ b/tests/pytest/modbus_slave/test_inputs.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # tests/test_discrete_inputs.py diff --git a/tests/pytest/modbus_slave/test_modbus_slave.py b/tests/pytest/modbus_slave/test_modbus_slave.py index 1e1bd76f..282b53a2 100644 --- a/tests/pytest/modbus_slave/test_modbus_slave.py +++ b/tests/pytest/modbus_slave/test_modbus_slave.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import threading diff --git a/tests/pytest/modbus_slave/test_openplc_input_registers_datablock.py b/tests/pytest/modbus_slave/test_openplc_input_registers_datablock.py index fdf671a6..43604b5f 100644 --- a/tests/pytest/modbus_slave/test_openplc_input_registers_datablock.py +++ b/tests/pytest/modbus_slave/test_openplc_input_registers_datablock.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import pytest diff --git a/tests/pytest/plugins/__init__.py b/tests/pytest/plugins/__init__.py index b7b1d946..3e155d68 100644 --- a/tests/pytest/plugins/__init__.py +++ b/tests/pytest/plugins/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/__init__.py b/tests/pytest/plugins/opcua/__init__.py index c4516990..04cc0e7c 100644 --- a/tests/pytest/plugins/opcua/__init__.py +++ b/tests/pytest/plugins/opcua/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/conftest.py b/tests/pytest/plugins/opcua/conftest.py index c65df13a..9088200a 100644 --- a/tests/pytest/plugins/opcua/conftest.py +++ b/tests/pytest/plugins/opcua/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_callbacks.py b/tests/pytest/plugins/opcua/test_callbacks.py index e3a2322a..37adc263 100644 --- a/tests/pytest/plugins/opcua/test_callbacks.py +++ b/tests/pytest/plugins/opcua/test_callbacks.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_config_format_version.py b/tests/pytest/plugins/opcua/test_config_format_version.py index 3d22e740..710fb914 100644 --- a/tests/pytest/plugins/opcua/test_config_format_version.py +++ b/tests/pytest/plugins/opcua/test_config_format_version.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_data_types.py b/tests/pytest/plugins/opcua/test_data_types.py index 8c887e0c..9fabd5ce 100644 --- a/tests/pytest/plugins/opcua/test_data_types.py +++ b/tests/pytest/plugins/opcua/test_data_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_project/__init__.py b/tests/pytest/plugins/opcua/test_project/__init__.py index 439b9167..4fdc0d33 100644 --- a/tests/pytest/plugins/opcua/test_project/__init__.py +++ b/tests/pytest/plugins/opcua/test_project/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_read_status.py b/tests/pytest/plugins/opcua/test_read_status.py index 1ac6db74..ab3ec8d7 100644 --- a/tests/pytest/plugins/opcua/test_read_status.py +++ b/tests/pytest/plugins/opcua/test_read_status.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """A value the plugin could not read must be reported Bad, never defaulted. diff --git a/tests/pytest/plugins/opcua/test_security_profile_anonymous_role.py b/tests/pytest/plugins/opcua/test_security_profile_anonymous_role.py index 12036f1a..c6ee8661 100644 --- a/tests/pytest/plugins/opcua/test_security_profile_anonymous_role.py +++ b/tests/pytest/plugins/opcua/test_security_profile_anonymous_role.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_string_types.py b/tests/pytest/plugins/opcua/test_string_types.py index 82d92cd3..98a01f21 100644 --- a/tests/pytest/plugins/opcua/test_string_types.py +++ b/tests/pytest/plugins/opcua/test_string_types.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_subscription_integration.py b/tests/pytest/plugins/opcua/test_subscription_integration.py index ed79d89d..fbdec2fe 100644 --- a/tests/pytest/plugins/opcua/test_subscription_integration.py +++ b/tests/pytest/plugins/opcua/test_subscription_integration.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_subscription_performance.py b/tests/pytest/plugins/opcua/test_subscription_performance.py index 3ab5b0fa..d90ddf21 100644 --- a/tests/pytest/plugins/opcua/test_subscription_performance.py +++ b/tests/pytest/plugins/opcua/test_subscription_performance.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_subscriptions.py b/tests/pytest/plugins/opcua/test_subscriptions.py index 0dea4fd1..61353565 100644 --- a/tests/pytest/plugins/opcua/test_subscriptions.py +++ b/tests/pytest/plugins/opcua/test_subscriptions.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_type_conversions.py b/tests/pytest/plugins/opcua/test_type_conversions.py index dd0c7270..0cc7fe85 100644 --- a/tests/pytest/plugins/opcua/test_type_conversions.py +++ b/tests/pytest/plugins/opcua/test_type_conversions.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_user_manager.py b/tests/pytest/plugins/opcua/test_user_manager.py index 3e11b704..43e4fcd0 100644 --- a/tests/pytest/plugins/opcua/test_user_manager.py +++ b/tests/pytest/plugins/opcua/test_user_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/opcua/test_write_path.py b/tests/pytest/plugins/opcua/test_write_path.py index f4f266d2..0456d8dc 100644 --- a/tests/pytest/plugins/opcua/test_write_path.py +++ b/tests/pytest/plugins/opcua/test_write_path.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/tests/pytest/plugins/test_apply_retain_conf.py b/tests/pytest/plugins/test_apply_retain_conf.py index 8dff06af..85676e53 100644 --- a/tests/pytest/plugins/test_apply_retain_conf.py +++ b/tests/pytest/plugins/test_apply_retain_conf.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Behavioural tests for installing persistent-storage settings from an upload. diff --git a/tests/pytest/plugins/test_vpp_anchor_cross_language.py b/tests/pytest/plugins/test_vpp_anchor_cross_language.py index 414024c3..4753c8b4 100644 --- a/tests/pytest/plugins/test_vpp_anchor_cross_language.py +++ b/tests/pytest/plugins/test_vpp_anchor_cross_language.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Cross-language contract test for the licensing ANCHOR normalization. diff --git a/tests/pytest/plugins/test_vpp_license_debug.py b/tests/pytest/plugins/test_vpp_license_debug.py index 99db59f3..f229fa6c 100644 --- a/tests/pytest/plugins/test_vpp_license_debug.py +++ b/tests/pytest/plugins/test_vpp_license_debug.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Tests for the webserver-level VPP license debug FCs (0x48/0x49/0x4A). diff --git a/tests/pytest/plugins/test_vpp_license_delivery.py b/tests/pytest/plugins/test_vpp_license_delivery.py index fe4a1ada..586941b3 100644 --- a/tests/pytest/plugins/test_vpp_license_delivery.py +++ b/tests/pytest/plugins/test_vpp_license_delivery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Tests for VPP device-license delivery via apply_vpp_plugin_conf. diff --git a/tests/pytest/restapi/conftest.py b/tests/pytest/restapi/conftest.py index eea44390..06e6f6b4 100644 --- a/tests/pytest/restapi/conftest.py +++ b/tests/pytest/restapi/conftest.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Pytest fixtures for the REST API user-management endpoints. diff --git a/tests/pytest/restapi/test_bootloader_auth_vector.py b/tests/pytest/restapi/test_bootloader_auth_vector.py index 627f71cf..a0de51c0 100644 --- a/tests/pytest/restapi/test_bootloader_auth_vector.py +++ b/tests/pytest/restapi/test_bootloader_auth_vector.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Python half of the bootloader's shared authentication vector. diff --git a/tests/pytest/restapi/test_capabilities.py b/tests/pytest/restapi/test_capabilities.py index 86662b6c..8a597c72 100644 --- a/tests/pytest/restapi/test_capabilities.py +++ b/tests/pytest/restapi/test_capabilities.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Behavioural tests for GET /api/version and GET /api/capabilities. diff --git a/tests/pytest/restapi/test_create_user_race.py b/tests/pytest/restapi/test_create_user_race.py index d34826f9..3e9888c9 100644 --- a/tests/pytest/restapi/test_create_user_race.py +++ b/tests/pytest/restapi/test_create_user_race.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Regression test for the first-admin bootstrap TOCTOU race. diff --git a/tests/pytest/restapi/test_debug_websocket_auth.py b/tests/pytest/restapi/test_debug_websocket_auth.py index 2fb80480..31b42a12 100644 --- a/tests/pytest/restapi/test_debug_websocket_auth.py +++ b/tests/pytest/restapi/test_debug_websocket_auth.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Authentication and authorization on the debug WebSocket. diff --git a/tests/pytest/restapi/test_ethercat_upload.py b/tests/pytest/restapi/test_ethercat_upload.py index 25405e1e..37209369 100644 --- a/tests/pytest/restapi/test_ethercat_upload.py +++ b/tests/pytest/restapi/test_ethercat_upload.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Uploads carrying the pre-split EtherCAT configuration are refused before anything changes.""" diff --git a/tests/pytest/restapi/test_project_snapshot.py b/tests/pytest/restapi/test_project_snapshot.py index 50782e77..ab50fa26 100644 --- a/tests/pytest/restapi/test_project_snapshot.py +++ b/tests/pytest/restapi/test_project_snapshot.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Behavioural tests for the stored source-project snapshot. diff --git a/tests/pytest/restapi/test_repair_missing_admin.py b/tests/pytest/restapi/test_repair_missing_admin.py index 000ad882..b50cefc6 100644 --- a/tests/pytest/restapi/test_repair_missing_admin.py +++ b/tests/pytest/restapi/test_repair_missing_admin.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """A device left with accounts but no administrator. diff --git a/tests/pytest/restapi/test_user_management.py b/tests/pytest/restapi/test_user_management.py index f9077c66..3b13e78d 100644 --- a/tests/pytest/restapi/test_user_management.py +++ b/tests/pytest/restapi/test_user_management.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Behavioural tests for the runtime user-management REST API. diff --git a/tests/pytest/runtime/test_runtime_socket_wait.py b/tests/pytest/runtime/test_runtime_socket_wait.py index ec3c7e95..d8eafe03 100644 --- a/tests/pytest/runtime/test_runtime_socket_wait.py +++ b/tests/pytest/runtime/test_runtime_socket_wait.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """The webserver waits for a freshly started runtime to open its command socket.""" diff --git a/tests/pytest/runtimemanager/test_watchdog_exit.py b/tests/pytest/runtimemanager/test_watchdog_exit.py index e3e6dac1..0b309b11 100644 --- a/tests/pytest/runtimemanager/test_watchdog_exit.py +++ b/tests/pytest/runtimemanager/test_watchdog_exit.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """RuntimeManager restarts plc_main in safe mode after a watchdog fault exit.""" diff --git a/tests/support/debug_handler_mocks.c b/tests/support/debug_handler_mocks.c index 6edab3fc..dac66e41 100644 --- a/tests/support/debug_handler_mocks.c +++ b/tests/support/debug_handler_mocks.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Implementation of the test-side debugger ABI fakes. The runtime's diff --git a/tests/support/debug_handler_mocks.h b/tests/support/debug_handler_mocks.h index c9b0828a..8333275a 100644 --- a/tests/support/debug_handler_mocks.h +++ b/tests/support/debug_handler_mocks.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Fakes for the strucpp debugger ABI. install() replaces the diff --git a/tests/support/plugin_driver_stubs.c b/tests/support/plugin_driver_stubs.c index cc179d01..c73d261e 100644 --- a/tests/support/plugin_driver_stubs.c +++ b/tests/support/plugin_driver_stubs.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "plugin_config.h" diff --git a/tests/test_basic_functionality.c b/tests/test_basic_functionality.c index c0f71b8f..b794ae7c 100644 --- a/tests/test_basic_functionality.c +++ b/tests/test_basic_functionality.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "unity.h" diff --git a/tests/test_debug_handler.c b/tests/test_debug_handler.c index 48b112f9..ef8db1c4 100644 --- a/tests/test_debug_handler.c +++ b/tests/test_debug_handler.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Wire-level tests for the STruC++ debugger ABI (FC 0x41-0x45) at the diff --git a/tests/test_ethercat_iec_location.c b/tests/test_ethercat_iec_location.c index 00990c8b..737b1e62 100644 --- a/tests/test_ethercat_iec_location.c +++ b/tests/test_ethercat_iec_location.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/tests/test_ethercat_iomap.c b/tests/test_ethercat_iomap.c index 49e890d0..0665c7c2 100644 --- a/tests/test_ethercat_iomap.c +++ b/tests/test_ethercat_iomap.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/tests/test_ethercat_relay.c b/tests/test_ethercat_relay.c index 9c209ed3..0feb5e91 100644 --- a/tests/test_ethercat_relay.c +++ b/tests/test_ethercat_relay.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/tests/test_etherdog_link.c b/tests/test_etherdog_link.c index e935f7e4..d3824e32 100644 --- a/tests/test_etherdog_link.c +++ b/tests/test_etherdog_link.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /** diff --git a/tests/test_located_globals.c b/tests/test_located_globals.c index 56eba7d5..cd4973ae 100644 --- a/tests/test_located_globals.c +++ b/tests/test_located_globals.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Unit tests for located_globals_join_ex(). Pin: join is by pointer diff --git a/tests/test_plugin_config.c b/tests/test_plugin_config.c index 4bfd18cc..2b590d00 100644 --- a/tests/test_plugin_config.c +++ b/tests/test_plugin_config.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "plugin_config.h" diff --git a/tests/test_plugin_driver.c b/tests/test_plugin_driver.c index 2a88acb4..9dfcc9a8 100644 --- a/tests/test_plugin_driver.c +++ b/tests/test_plugin_driver.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® #include "plugin_config.h" // For plugin_config_t, etc. diff --git a/tests/test_scan_cycle_tracker.c b/tests/test_scan_cycle_tracker.c index 64bb53da..a9cf3fd3 100644 --- a/tests/test_scan_cycle_tracker.c +++ b/tests/test_scan_cycle_tracker.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-License-Identifier: GPL-3.0-only // Copyright (c) 2026 Autonomy® /* Unit tests for the per-task scan_cycle_tracker. Pin: first start() diff --git a/webserver/__init__.py b/webserver/__init__.py index b5cd56d1..ea8d7410 100644 --- a/webserver/__init__.py +++ b/webserver/__init__.py @@ -1,2 +1,2 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® diff --git a/webserver/app.py b/webserver/app.py index 0bca393a..c3550817 100644 --- a/webserver/app.py +++ b/webserver/app.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import sys diff --git a/webserver/config.py b/webserver/config.py index 56e1f4a6..29602a14 100644 --- a/webserver/config.py +++ b/webserver/config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import os diff --git a/webserver/credentials.py b/webserver/credentials.py index c3603d29..ba1d1b72 100644 --- a/webserver/credentials.py +++ b/webserver/credentials.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import os diff --git a/webserver/debug_websocket.py b/webserver/debug_websocket.py index 66270e15..3a72c179 100644 --- a/webserver/debug_websocket.py +++ b/webserver/debug_websocket.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/webserver/discovery/__init__.py b/webserver/discovery/__init__.py index 5444089d..f8ad2834 100644 --- a/webserver/discovery/__init__.py +++ b/webserver/discovery/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # EtherCAT Discovery Service diff --git a/webserver/discovery/discovery_routes.py b/webserver/discovery/discovery_routes.py index 1d7b7667..ebe1a5a7 100644 --- a/webserver/discovery/discovery_routes.py +++ b/webserver/discovery/discovery_routes.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Flask Blueprint for Discovery REST endpoints. diff --git a/webserver/discovery/ethercat_discovery.py b/webserver/discovery/ethercat_discovery.py index fdae06da..5a12d94d 100644 --- a/webserver/discovery/ethercat_discovery.py +++ b/webserver/discovery/ethercat_discovery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """EtherCAT discovery helpers. diff --git a/webserver/discovery/network_discovery.py b/webserver/discovery/network_discovery.py index 5a5b2594..09d26208 100644 --- a/webserver/discovery/network_discovery.py +++ b/webserver/discovery/network_discovery.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """UDP network discovery responder. diff --git a/webserver/etherdog_manager.py b/webserver/etherdog_manager.py index ec04a716..5557e387 100644 --- a/webserver/etherdog_manager.py +++ b/webserver/etherdog_manager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Supervises EtherDOG, the EtherCAT master service, and talks to it. diff --git a/webserver/logger/__init__.py b/webserver/logger/__init__.py index 52fddd55..da404df6 100644 --- a/webserver/logger/__init__.py +++ b/webserver/logger/__init__.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # logger/__init__.py @@ -13,7 +13,7 @@ __all__ = ["get_logger", "LogParser", "BufferHandler", "JsonFormatter", "HumanReadableFormatter"] __version__ = "0.1" __author__ = "Autonomy" -__license__ = "GPL-3.0-or-later" +__license__ = "GPL-3.0-only" __description__ = "RestAPI interface for runtime core" # Single global buffer for all logs diff --git a/webserver/logger/bufferhandler.py b/webserver/logger/bufferhandler.py index 5b83cd8f..12fb809e 100644 --- a/webserver/logger/bufferhandler.py +++ b/webserver/logger/bufferhandler.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # logger/bufferhandler.py diff --git a/webserver/logger/config.py b/webserver/logger/config.py index 2d9eabbf..957c2670 100644 --- a/webserver/logger/config.py +++ b/webserver/logger/config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # logger/config.py diff --git a/webserver/logger/formatter.py b/webserver/logger/formatter.py index 1b000849..b41b5da6 100644 --- a/webserver/logger/formatter.py +++ b/webserver/logger/formatter.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # logger/formatter.py diff --git a/webserver/logger/parser.py b/webserver/logger/parser.py index 1229c6d2..105be8bd 100644 --- a/webserver/logger/parser.py +++ b/webserver/logger/parser.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # logger/parser.py diff --git a/webserver/plcapp_management.py b/webserver/plcapp_management.py index 91a7cf70..81f9ba55 100644 --- a/webserver/plcapp_management.py +++ b/webserver/plcapp_management.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import glob diff --git a/webserver/plugin_config_model.py b/webserver/plugin_config_model.py index 90a36b98..20e20707 100644 --- a/webserver/plugin_config_model.py +++ b/webserver/plugin_config_model.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """ diff --git a/webserver/project_snapshot.py b/webserver/project_snapshot.py index 55280fd5..1bd31585 100644 --- a/webserver/project_snapshot.py +++ b/webserver/project_snapshot.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Storage for the source project snapshot a client sends with an upload. diff --git a/webserver/restapi.py b/webserver/restapi.py index 525a7d44..5b1a0e86 100644 --- a/webserver/restapi.py +++ b/webserver/restapi.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import base64 diff --git a/webserver/retain_config.py b/webserver/retain_config.py index d8ccc073..b45600c9 100644 --- a/webserver/retain_config.py +++ b/webserver/retain_config.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Persistent-storage (retain) settings for the built-in file store. diff --git a/webserver/runtimemanager.py b/webserver/runtimemanager.py index d3ca5160..da60e2b0 100644 --- a/webserver/runtimemanager.py +++ b/webserver/runtimemanager.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import json diff --git a/webserver/unixclient.py b/webserver/unixclient.py index ec82c7cf..40d08f74 100644 --- a/webserver/unixclient.py +++ b/webserver/unixclient.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import os diff --git a/webserver/unixserver.py b/webserver/unixserver.py index eeb55481..e5422035 100644 --- a/webserver/unixserver.py +++ b/webserver/unixserver.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® import socket diff --git a/webserver/version.py b/webserver/version.py index 6bf831ae..8d73e536 100644 --- a/webserver/version.py +++ b/webserver/version.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """Runtime version exposed at /api/version and via the diff --git a/webserver/vpp_license_debug.py b/webserver/vpp_license_debug.py index 6dbd1211..5fc78771 100644 --- a/webserver/vpp_license_debug.py +++ b/webserver/vpp_license_debug.py @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® """VPP device-license debug function codes (0x48/0x49/0x4A), resolved at the diff --git a/windows/provision-msys2.sh b/windows/provision-msys2.sh index 3ba118a1..4970bac1 100644 --- a/windows/provision-msys2.sh +++ b/windows/provision-msys2.sh @@ -1,5 +1,5 @@ #!/bin/bash -# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-License-Identifier: GPL-3.0-only # Copyright (c) 2026 Autonomy® # MSYS2 provisioning script run from the Windows installer build. From a4ad497d1a248f1ba514f4a8ed7a3bf31097ff16 Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Wed, 21 Oct 2026 17:30:02 -0400 Subject: [PATCH 4/4] chore(license): add SPDX and copyright headers to files merged from development Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MRWeC5FUhe5ZwEEbLUGpZ6 --- core/src/drivers/plugins/native/plugin_image_sizes.c | 3 +++ core/src/drivers/plugins/native/plugin_image_sizes.h | 3 +++ core/src/drivers/plugins/python/shared/image_sizes.py | 3 +++ core/src/plc_app/image_table_id.h | 3 +++ tests/host/test_debug_write_journal.cpp | 3 +++ tests/pytest/test_apply_image_conf.py | 3 +++ tests/pytest/test_image_conf_contract.py | 3 +++ tests/pytest/test_modbus_exposure_fit.py | 3 +++ tests/pytest/test_plugins_declare_image_sizes.py | 3 +++ webserver/image_config.py | 3 +++ 10 files changed, 30 insertions(+) diff --git a/core/src/drivers/plugins/native/plugin_image_sizes.c b/core/src/drivers/plugins/native/plugin_image_sizes.c index 1459dbda..740636fe 100644 --- a/core/src/drivers/plugins/native/plugin_image_sizes.c +++ b/core/src/drivers/plugins/native/plugin_image_sizes.c @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-only +// Copyright (c) 2026 Autonomy® + #include "plugin_image_sizes.h" #include diff --git a/core/src/drivers/plugins/native/plugin_image_sizes.h b/core/src/drivers/plugins/native/plugin_image_sizes.h index baddf956..fb0ac993 100644 --- a/core/src/drivers/plugins/native/plugin_image_sizes.h +++ b/core/src/drivers/plugins/native/plugin_image_sizes.h @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-only +// Copyright (c) 2026 Autonomy® + /** * The fourteen image table lengths, for a native plugin. * diff --git a/core/src/drivers/plugins/python/shared/image_sizes.py b/core/src/drivers/plugins/python/shared/image_sizes.py index 5a573e33..7bf5136c 100644 --- a/core/src/drivers/plugins/python/shared/image_sizes.py +++ b/core/src/drivers/plugins/python/shared/image_sizes.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-only +# Copyright (c) 2026 Autonomy® + """The fourteen image table lengths, for a Python plugin. Importing ``set_image_sizes`` from here into a plugin module does two things at diff --git a/core/src/plc_app/image_table_id.h b/core/src/plc_app/image_table_id.h index 10940cb0..fa056dc2 100644 --- a/core/src/plc_app/image_table_id.h +++ b/core/src/plc_app/image_table_id.h @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-only +// Copyright (c) 2026 Autonomy® + /** * The identity of each I/O image table, and nothing else. * diff --git a/tests/host/test_debug_write_journal.cpp b/tests/host/test_debug_write_journal.cpp index 67315bf8..c101ccd5 100644 --- a/tests/host/test_debug_write_journal.cpp +++ b/tests/host/test_debug_write_journal.cpp @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-only +// Copyright (c) 2026 Autonomy® + /* * Host test for the external-write paths of debug_write_journal.cpp. * diff --git a/tests/pytest/test_apply_image_conf.py b/tests/pytest/test_apply_image_conf.py index e4c31ffd..50c7127e 100644 --- a/tests/pytest/test_apply_image_conf.py +++ b/tests/pytest/test_apply_image_conf.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-only +# Copyright (c) 2026 Autonomy® + """Behavioural tests for installing the I/O image sizes from an upload. The sizes belong to the project and are derived rather than chosen, so the diff --git a/tests/pytest/test_image_conf_contract.py b/tests/pytest/test_image_conf_contract.py index ea35b8f4..f9027e2c 100644 --- a/tests/pytest/test_image_conf_contract.py +++ b/tests/pytest/test_image_conf_contract.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-only +# Copyright (c) 2026 Autonomy® + """`image.conf` has three implementations. This is the only one CI can check. The file format is written in three places and read in a fourth: diff --git a/tests/pytest/test_modbus_exposure_fit.py b/tests/pytest/test_modbus_exposure_fit.py index 8cda25de..5bbde6dd 100644 --- a/tests/pytest/test_modbus_exposure_fit.py +++ b/tests/pytest/test_modbus_exposure_fit.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-only +# Copyright (c) 2026 Autonomy® + """How the Modbus slave fits its declared exposure to the image. These sit in ``tests/pytest`` rather than ``tests/pytest/modbus_slave`` on diff --git a/tests/pytest/test_plugins_declare_image_sizes.py b/tests/pytest/test_plugins_declare_image_sizes.py index a1c41ac0..6fc58232 100644 --- a/tests/pytest/test_plugins_declare_image_sizes.py +++ b/tests/pytest/test_plugins_declare_image_sizes.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-only +# Copyright (c) 2026 Autonomy® + """Every plugin the runtime ships has to declare per-table image sizes. The runtime keeps the image SQUARE for any run in which even one loaded plugin diff --git a/webserver/image_config.py b/webserver/image_config.py index a6217680..f55eaf77 100644 --- a/webserver/image_config.py +++ b/webserver/image_config.py @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-only +# Copyright (c) 2026 Autonomy® + """I/O image sizes for the program now installed. WHO OWNS THESE SIZES