项目支持报名语言 / Application Language
中英双语 / Chinese and English
项目类型 / Project Type
经典模式项目 / Classic Project
项目名称 (中文)
恢复 openRuyi 基础组件的上游测试与构建根适配
Project Name (English)
Restoring Upstream Tests and Buildroot Compatibility for openRuyi Core Components
项目导师 / Mentors
misaka00251
项目描述 (中文)
相关背景
openRuyi 的部分基础软件包保留了空的 %check 或历史测试豁免。其中部分阻塞依赖已在仓内具备,部分测试还需要处理构建根、共享库路径或测试运行环境。当前问题会使软件包构建通过,但缺少对上游行为的实际验证。
存在的不足
例如,genimage、lua-json、lmdb、libtomcrypt 的测试未被有效执行。部分历史注释已经过时,且测试失败原因、可复现方式和合理跳过范围没有形成统一记录。
希望改进的点
恢复选定软件包的上游测试,补齐测试依赖或构建根适配,确保测试失败会使 RPM 构建失败,并留下可复现的验证记录。
最终项目实现的目标
在不依赖外网、特权容器或宿主系统服务的前提下,恢复至少三个基础组件的有效上游测试,并完成剩余候选的根因分析和维护建议。
Project Description (English)
Background
Some core packages in openRuyi still contain empty %check sections or historical test exemptions. Some previously missing dependencies are now available in the repository, while other tests still require adaptations for the buildroot, shared library paths, or the test execution environment. As a result, these packages may build successfully without actually validating their upstream behavior.
Current Limitations
For example, the tests for genimage, lua-json, LMDB, and LibTomCrypt are not being effectively executed. Some historical comments are outdated, and there is no consistent documentation of test failure causes, reproduction procedures, or the reasonable scope of skipped tests.
Proposed Improvements
Restore upstream tests for selected packages, add missing test dependencies or buildroot adaptations, ensure that test failures cause the RPM build to fail, and provide reproducible verification records.
Final Project Goals
Without relying on external network access, privileged containers, or host system services, restore effective upstream tests for at least three core components, and complete root cause analyses and maintenance recommendations for the remaining candidates.
项目备注 (中文)
无
Project Notes (English)
N/A
项目综合难度 / Difficulty
基础 / Basic
开发周期 / Development Cycle
2 个月 / 2 months
技术领域标签 / Technical Domains
操作系统与基础软件 / Operating Systems and Infrastructure Software
编程语言标签 / Programming Languages
C, Lua, Shell, RPM Spec
项目产出要求 (中文)
- 完成四个候选包的测试基线审计
- 恢复 genimage 的上游测试
- 恢复 lua-json 的上游测试
- 恢复 LMDB 或 LibTomCrypt 的实际测试
- 提供另一核心包的根因与复现记录
- 提供构建日志和测试跳过说明
Project Deliverables (English)
- Complete a baseline test audit for all four candidate packages.
- Restore upstream tests for genimage.
- Restore upstream tests for lua-json.
- Restore actual test execution for either LMDB or LibTomCrypt.
- Provide root cause analysis and reproduction records for the other core package.
- Provide build logs and explanations for any skipped tests.
项目技术要求 (中文)
- 了解 Linux RPM 打包与 BuildRequires
- 能阅读 Makefile 和 Autotools 测试日志
- 具备基础 C、Lua 与 Shell 调试能力
- 能使用 Git 提交可独立审阅的 PR
Technical Requirements (English)
- Familiarity with Linux RPM packaging and
BuildRequires.
- Ability to read Makefile and Autotools test logs.
- Basic debugging skills in C, Lua, and Shell.
- Ability to use Git and submit independently reviewable pull requests.
项目成果仓库 / Output Repository (PR Target)
https://github.com/openRuyi-Project/openRuyi
项目成果仓库开源协议 / Repository License
MulanPSL-2.0
提交确认 / Confirmation
项目支持报名语言 / Application Language
中英双语 / Chinese and English
项目类型 / Project Type
经典模式项目 / Classic Project
项目名称 (中文)
恢复 openRuyi 基础组件的上游测试与构建根适配
Project Name (English)
Restoring Upstream Tests and Buildroot Compatibility for openRuyi Core Components
项目导师 / Mentors
misaka00251
项目描述 (中文)
相关背景
openRuyi 的部分基础软件包保留了空的
%check或历史测试豁免。其中部分阻塞依赖已在仓内具备,部分测试还需要处理构建根、共享库路径或测试运行环境。当前问题会使软件包构建通过,但缺少对上游行为的实际验证。存在的不足
例如,genimage、lua-json、lmdb、libtomcrypt 的测试未被有效执行。部分历史注释已经过时,且测试失败原因、可复现方式和合理跳过范围没有形成统一记录。
希望改进的点
恢复选定软件包的上游测试,补齐测试依赖或构建根适配,确保测试失败会使 RPM 构建失败,并留下可复现的验证记录。
最终项目实现的目标
在不依赖外网、特权容器或宿主系统服务的前提下,恢复至少三个基础组件的有效上游测试,并完成剩余候选的根因分析和维护建议。
Project Description (English)
Background
Some core packages in openRuyi still contain empty
%checksections or historical test exemptions. Some previously missing dependencies are now available in the repository, while other tests still require adaptations for the buildroot, shared library paths, or the test execution environment. As a result, these packages may build successfully without actually validating their upstream behavior.Current Limitations
For example, the tests for genimage, lua-json, LMDB, and LibTomCrypt are not being effectively executed. Some historical comments are outdated, and there is no consistent documentation of test failure causes, reproduction procedures, or the reasonable scope of skipped tests.
Proposed Improvements
Restore upstream tests for selected packages, add missing test dependencies or buildroot adaptations, ensure that test failures cause the RPM build to fail, and provide reproducible verification records.
Final Project Goals
Without relying on external network access, privileged containers, or host system services, restore effective upstream tests for at least three core components, and complete root cause analyses and maintenance recommendations for the remaining candidates.
项目备注 (中文)
无
Project Notes (English)
N/A
项目综合难度 / Difficulty
基础 / Basic
开发周期 / Development Cycle
2 个月 / 2 months
技术领域标签 / Technical Domains
操作系统与基础软件 / Operating Systems and Infrastructure Software
编程语言标签 / Programming Languages
C, Lua, Shell, RPM Spec
项目产出要求 (中文)
Project Deliverables (English)
项目技术要求 (中文)
Technical Requirements (English)
BuildRequires.项目成果仓库 / Output Repository (PR Target)
https://github.com/openRuyi-Project/openRuyi
项目成果仓库开源协议 / Repository License
MulanPSL-2.0
提交确认 / Confirmation