Repository navigation
chore: move stub_linux from 3rdparty to tests - #106
deepin-bot[bot] merged 1 commit into
Conversation
Reviewer's GuideConfigurationPoint test builds at the relocated stubs and update licensing metadata to record their new location.
TestsMove the Linux stub headers into the test directory and update the coverage script to match their new location.
Other changesFiles not grouped.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="src/CMakeLists.txt" line_range="116" />
<code_context>
include_directories(./../tests/)
- include_directories(./../3rdparty/stub_linux/)
+ include_directories(./../tests/stub_linux/)
aux_source_directory(./../tests/ allTestSource)
</code_context>
<issue_to_address>
**Stub headers receive GPL metadata**
When REUSE tooling processes the relocated headers, `.reuse/dep5` matches the headers under its broad `tests/*` GPL-3.0-or-later rule instead of the MIT stanza for `3rdparty/stub_linux/*`, so REUSE metadata reports the wrong license.
Update `.reuse/dep5` so the relocated headers match an MIT stanza.
</issue_to_address>1. Move stub_linux headers from 3rdparty/ to tests/ directory 2. Update include_directories path in src/CMakeLists.txt 3. Update file path in debian/copyright 4. Remove obsolete 3rdparty filter from lcov commands Influence: 1. Verify test build with DOTEST enabled 2. Confirm stub headers are found at new path chore: 将 stub_linux 从 3rdparty 移至 tests 1. 将 stub_linux 头文件从 3rdparty/ 移至 tests/ 目录 2. 更新 src/CMakeLists.txt 中的 include_directories 路径 3. 更新 debian/copyright 中的文件路径 4. 移除 lcov 命令中过时的 3rdparty 过滤规则 Influence: 1. 验证启用 DOTEST 时测试构建正常 2. 确认 stub 头文件在新路径下可被找到 Log: 将 stub_linux 从 3rdparty 移至 tests 目录 PMS: TASK-398525
a3dc3f7 to
153e222
Compare
deepin pr auto review🤖 AI 代码审查报告📊 总体评价
| 🔍 详细分析1. 语法逻辑 ✅评价: 语法正确,逻辑清晰 ✅ 通过 潜在问题: 建议: [] 2. 代码质量 ✅评价: 代码结构清晰,注释完整 ✅ 通过 潜在问题: 建议: [] 3. 代码性能 ✅评价: 性能良好,资源使用合理 ✅ 通过 潜在问题: 建议: [] 4. 代码安全 🔒评价: 存在0个安全漏洞 ✅ 通过
安全漏洞详情: 建议: [] 💡 改进建议代码示例本报告由 AI 代码审查工具自动生成 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lzwind, wangrong1069 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/merge |
chore: move stub_linux from 3rdparty to tests
Influence:
chore: 将 stub_linux 从 3rdparty 移至 tests
Influence:
PMS: TASK-398525
Summary by Sourcery
Move Linux test stubs into the tests directory and align project metadata and coverage configuration with the new location.
Enhancements:
Chores: