From c62fddb6ed115176d64b83c6b78a22e23ebd69af Mon Sep 17 00:00:00 2001 From: bernard Date: Wed, 7 Oct 2026 22:37:40 +0800 Subject: [PATCH] Remove unrelated historical notices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 合并源码版权与 Change Logs 注释,移除无关的旧团队版权和许可残留。\n将 AGENTS.md 从仓库索引移除但保留本地文件。 --- AGENTS.md | 31 ------------------------------- include/ms_probe.h | 4 ---- ports/ms_scope_baremetal.c | 4 ---- ports/ms_scope_baremetal.h | 4 ---- src/ms_probe.c | 4 ---- tests/test_package.py | 3 --- 6 files changed, 50 deletions(-) delete mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index d0f1af0..0000000 --- a/AGENTS.md +++ /dev/null @@ -1,31 +0,0 @@ -# ms-probe Repository Guidelines - -## 范围与许可 - -本仓库是独立 RT-Thread 软件包,也是 Microscope 主机工程的 Git submodule。 -采用 GPL-2.0 / 商业双许可:保留 LICENSE 全文、商业许可说明和原版权;源码使用 -`GPL-2.0-only OR LicenseRef-Commercial`。不恢复禁止再发布声明或改成 Apache 单许可。 - -## 实现约束 - -- 通用协议核位于 include/ 与 src/,不含芯片寄存器地址或 RTOS 依赖。 -- BSP 适配、异常入口和 Fault Context 编码只放在 ports/。 -- 本包只包含 Probe,不引入独立设备端 Backtrace、CoreDump 或其 arch/ 实现。 - 主机根据 Probe 导出的 Context、栈内存和 ELF 完成回溯,设备端不执行该分析。 -- Fault 路径采用 C89,不调用设备驱动、锁、堆、日志、阻塞等待或系统 Tick。 -- Probe 不恢复业务调度,退出需要复位;生产配置必须关闭所有诊断和 Fault 注入。 -- 未经明确验证,不声明实体板、多核、Watchdog、Reset 或新的交叉工具链支持。 -- 不手工修改 rtconfig.h 或工程生成文件,不修改父仓库中的主机业务实现。 - -## 验证与提交 - -```sh -make -C tests test -python3 -m unittest discover -s tests -p 'test_package.py' -v -make -C tests clean -``` - -配置检查使用 tests/requirements.txt 中的依赖,也可激活 Env venv。 -文档的本地链接必须在本仓库内有效;测试仅使用虚构数据,不提交 ELF、内存转储或凭据。 -提交前检查分支和暂存内容,只提交本软件包。推送后核对远端提交,再更新父仓库 gitlink。 -测试结束关闭本次启动的服务并释放端口,不结束用户原有服务;本包主机验证不需要预览服务。 diff --git a/include/ms_probe.h b/include/ms_probe.h index 6d356c9..68905e5 100644 --- a/include/ms_probe.h +++ b/include/ms_probe.h @@ -5,10 +5,6 @@ * * This file is part of ms-probe, available under GPL-2.0 or a commercial * license. See LICENSE and LICENSES/LicenseRef-Commercial.txt. - */ - -/* - * Copyright (c) 2006-2021, RT-Thread Development Team * * Change Logs: * Date Author Notes diff --git a/ports/ms_scope_baremetal.c b/ports/ms_scope_baremetal.c index e48ef1f..6d840b7 100644 --- a/ports/ms_scope_baremetal.c +++ b/ports/ms_scope_baremetal.c @@ -5,10 +5,6 @@ * * This file is part of ms-probe, available under GPL-2.0 or a commercial * license. See LICENSE and LICENSES/LicenseRef-Commercial.txt. - */ - -/* - * Copyright (c) 2006-2021, RT-Thread Development Team * * Change Logs: * Date Author Notes diff --git a/ports/ms_scope_baremetal.h b/ports/ms_scope_baremetal.h index 0a0a964..2e3dda6 100644 --- a/ports/ms_scope_baremetal.h +++ b/ports/ms_scope_baremetal.h @@ -5,10 +5,6 @@ * * This file is part of ms-probe, available under GPL-2.0 or a commercial * license. See LICENSE and LICENSES/LicenseRef-Commercial.txt. - */ - -/* - * Copyright (c) 2006-2021, RT-Thread Development Team * * Change Logs: * Date Author Notes diff --git a/src/ms_probe.c b/src/ms_probe.c index 171ea93..942e894 100644 --- a/src/ms_probe.c +++ b/src/ms_probe.c @@ -5,10 +5,6 @@ * * This file is part of ms-probe, available under GPL-2.0 or a commercial * license. See LICENSE and LICENSES/LicenseRef-Commercial.txt. - */ - -/* - * Copyright (c) 2006-2021, RT-Thread Development Team * * Change Logs: * Date Author Notes diff --git a/tests/test_package.py b/tests/test_package.py index 9e19af0..4dbe840 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -54,9 +54,6 @@ def test_dual_license_notices(self): with self.subTest(path=path.relative_to(ROOT)): text = path.read_text(encoding="utf-8") self.assertEqual(text.count(SPDX), 1) - self.assertNotIn("SPDX-License-Identifier: Apache-2.0", text) - self.assertNotIn("expressly prohibited", text) - self.assertNotIn("Republication, copying or redistribution", text) def test_document_links_are_package_local(self): links = set()