Skip to content

fix(ci): preserve published RPR package archives - #139

Merged
Leonmmcoset merged 1 commit into
mainfrom
fix/rpr-package-history
Dec 5, 2026
Merged

Leonmmcoset merged 1 commit into
mainfrom
fix/rpr-package-history

Conversation

@VasilyZa

@VasilyZa VasilyZa commented Dec 5, 2026

Copy link
Copy Markdown
Collaborator

问题与效果

生产 Pages 发布时,签名脚本过早读取待复用列表,导致固定版本的软件包重新构建后仍以原文件名进入待发布仓库。RPR 历史校验检测到文件内容变化并中止发布。 失败的 CI 任务

流程与实现

  • 在收集归档时登记 paru、reliefos-filesystem、reliefos-st 和 reliefos-desktop。文件名相同时,验签并复用已发布的归档。
  • paru 增量构建在新包验证并写入后清理旧归档和签名。构建失败时保留现有归档。
  • 在 RPR 集成测试中用不同压缩结果模拟同版本重建,再通过 Pages 历史保留步骤检查归档字节是否一致。

验证

  • tests/integration/arch-rpr-testing.sh 在修复前复现同名归档内容不一致,修复后连续两代签名及 Pages 历史保留均通过。
  • paru 增量升版、清理旧签名和失败回滚均通过。
  • make test-ci-build、CI 单测及 ShellCheck 通过。CI 单测运行 98 项,其中 1 项跳过。
  • 宿主上的 make test 在 ReliefMail 控件测试处遇到缺失的 FLTK 开发环境。该控件测试已在 Arch 构建容器中通过。

兼容性与发布影响

pacman 可继续使用已发布的同版本归档。新版本沿用现有签名和发布流程,RPR 仍校验同名归档的一致性。

@Leonmmcoset
Leonmmcoset merged commit c2da6f0 into main Dec 5, 2026
8 checks passed
@Leonmmcoset
Leonmmcoset deleted the fix/rpr-package-history branch December 5, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants