Repository navigation
feat: 跨版本迁移配置与对话,免手动查找备份 - #290
Open
lzh2034855417-beep wants to merge 5 commits into
Open
lzh2034855417-beep wants to merge 5 commits into
lzh2034855417-beep wants to merge 5 commits into
Conversation
lzh2034855417-beep
marked this pull request as ready for review
December 1, 2026 23:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与结果
安装独立测试包或在正式包与 Mod 之间切换时,现有流程需要在旧版导出、再到新版查找文件。本改动增加跨版本迁移入口:新版请求支持协议的已安装旧版准备副本,再将已读回核验的备份交给接收版本的现有恢复预检。
迁移副本仍是现有未加密 Download/DSHA 文件,由用户自行管理;旧版原数据保留。系统权限、本机授权和账号登录会话不承诺迁移。普通同包名、同签名升级仍直接覆盖保留数据。
最终代码与验证
候选:0e28c64a1b0cd07aa7f82c8f87938a82fd8c28aa,基于官方 main cf2a6a9。
测试包与设备验收
已提交正式待审,尚未合并或发布,官方仓库 PR workflow 的维护者批准仍单独处理。
验收构建提交 5f503e1 相对 PR head 唯一差异为验收工作流;产品源码与 PR 相同。它复用既有 inputs/lint/未签名编译/测试签名节点,先 lint 预热依赖再构建 Mod .debug/.dev 共存包,并在签名核验节点准备锁定运行时夹具。不使用正式密钥、不发布。产物回执绑定 5f503e1,不伪称直接构建自 0e28c64。该验收工作流及夹具参数修正已独立审查 APPROVE。
测试包构建 全部成功:inputs、lint、debug/dev两包编译及签名核验。两APK已下载,本地apksigner验证及SHA256/构建回执核对通过;手机安装文件SHA256再次一致。旧失败构建保留。该验收流程不运行完整固定输入单测/补丁链,回执如实记录。
2026-12-02 Xiaomi17 Pro Max / Android17局部设备验证:全新安装Mod.debug/.dev,未覆盖原正式/其他包;默认Key关闭、说明折叠、目标发现与真实包名/签名警告可见。Dev默认settings导出副本就绪,直接交接Debug进入恢复向导,无手动找文件、无自动提交;真实跨包URI读取成功。接收端明确选择settings、Key关闭,完整预检通过(1项、0同名冲突)。随后取消,未执行恢复写入。
尚未完成:实际恢复后数据比对、有辨别值的设置/对话附件插件/Key选择、旋转/忙时重试及短屏/大字体/RTL布局。空白设置的导出/交接/预检通过不能替代端到端恢复验收。
使用说明:docs/version-data-migration.md。