Repository navigation
refactor: migrate to in-tree archive backends - #562
Open
dengzhongyuan365-dev wants to merge 5 commits into
Open
dengzhongyuan365-dev wants to merge 5 commits into
dengzhongyuan365-dev wants to merge 5 commits into
Conversation
1. Define shared archive contracts and filename encoding detection. 2. Implement ZIP, 7z, RAR, TAR, CRX and single-file backends. 3. Add format dispatch without changing the app's existing routes. Log: No user-facing changes Influence: 1. Verify the app still uses the original archive entry points. 2. Review format and capability selection in the backend registry. 3. Compare filename decoding against the legacy implementation. refactor: 实现自有归档后端 1. 定义公共归档接口并实现文件名编码探测。 2. 实现 ZIP、7z、RAR、TAR、CRX 和单文件后端。 3. 加入格式分发逻辑,暂不改变 App 的归档入口。 Log: 无用户可见变化 Influence: 1. 确认 App 仍沿用原有归档入口。 2. 核对后端注册表的格式和能力选择。 3. 对照旧实现检查文件名解码结果。 Log: No user-facing changes PMS: TASK-398535 Issue: V-8283
1. Route archive jobs through the app-owned archive session. 2. Stop installing legacy plugins and keep their test-only build. 3. Add the pzip path exclusion option used by the new ZIP route. Log: Switch archive operations to the new backends. Influence: 1. Verify installed archive operations do not depend on legacy plugins. 2. Check ZIP creation with the destination inside the source directory. 3. Check context actions, archive listing and password prompts. refactor: 将归档管理器接入自有后端 1. 通过 App 自有归档会话处理归档任务。 2. 停止安装旧插件,仅保留其测试构建。 3. 同步补齐新 ZIP 路径使用的 pzip 路径排除参数。 Log: 将归档操作切换到自有后端。 Influence: 1. 确认安装后的归档操作不依赖旧插件。 2. 检查输出路径位于源目录内时的 ZIP 创建。 3. 检查右键操作、归档列表和密码提示。 Log: Switch archive operations to the new backends. PMS: TASK-398535 Issue: V-8283
1. Fix short pzip inputs, progress events and disk-full reporting. 2. Align extraction, long names and cancellation with the original app. 3. Restore progress handling and guard stale accessibility queries. Log: Fix archive progress, short inputs and settings page crashes. Influence: 1. Verify short ZIP entries and disk-full errors during writes. 2. Check encrypted and long-name extraction, pause and cancellation. 3. Compare progress pages and exercise screen-reader queries on page changes. fix: 修复归档迁移回归问题 1. 修复 pzip 短文件输入、进度事件和磁盘满错误上报。 2. 对齐旧版解压、长文件名和取消行为。 3. 恢复进度处理,避免过期无障碍查询导致崩溃。 Log: 修复归档进度、短文件输入和设置页崩溃。 Influence: 1. 验证 ZIP 短文件条目和写入时的磁盘满提示。 2. 检查加密及长文件名解压、暂停和取消。 3. 对照进度页,并在切页时验证读屏查询。 Log: Fix archive progress, short inputs and settings page crashes. PMS: TASK-398535 Issue: V-8283
1. Add backend contracts and update app and legacy plugin tests. 2. Cover long names, cancellation, progress and accessibility. 3. Add legacy adapters and CLI tools for regression comparisons. Log: No user-facing changes Influence: 1. Run the aggregate tests with the test build enabled. 2. Check encrypted archives and verify extracted file contents. 3. Compare security checks and benchmarks against the baseline. test: 补齐归档迁移回归测试 1. 增加后端契约并更新 App 与旧插件单测。 2. 覆盖长文件名、取消、进度和无障碍查询。 3. 加入仅供测试的旧版适配器和命令行验收工具。 Log: 无用户可见变化 Influence: 1. 启用测试构建并运行聚合测试。 2. 验证加密归档,并核对解压文件内容。 3. 对照基线执行安全专项和性能基准。 Log: No user-facing changes PMS: TASK-398535 Issue: V-8283
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dengzhongyuan365-dev 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 |
dengzhongyuan365-dev
force-pushed
the
self-develop-v8283-ordered
branch
from
November 24, 2026 14:28
5463fa6 to
1ebd2fb
Compare
1. Remove the in-tree third-party archive plugins and their unit tests. 2. Route contract coverage and the archive CLI only through owned backends. 3. Update build, coverage, fuzzing, translation and license metadata. Log: Remove obsolete third-party archive plugin sources and test adapters. Influence: 1. Build with tests enabled and verify no deleted plugin targets are referenced. 2. Run archive contract tests plus isolated MainWindow unit tests. 3. Exercise archive-cli create, list and extract across supported formats. refactor: 删除旧归档插件源码 1. 删除仓库内的旧第三方归档插件及其单元测试。 2. 契约测试和归档 CLI 仅使用自研后端。 3. 同步更新构建、覆盖率、模糊测试、翻译和许可元数据。 Log: 删除旧第三方归档插件源码及测试适配层。 Influence: 1. 开启测试构建,确认不再引用已删除的插件目标。 2. 运行归档契约测试和隔离运行的主窗口单元测试。 3. 通过 archive-cli 验证各支持格式的创建、列出和解压。 Log: Remove obsolete third-party archive plugin sources and test adapters. PMS: TASK-398535 Issue: V-8283
dengzhongyuan365-dev
force-pushed
the
self-develop-v8283-ordered
branch
from
November 24, 2026 14:29
1ebd2fb to
ebe02eb
Compare
There was a problem hiding this comment.
Sorry @dengzhongyuan365-dev, this pull request is too large to review
It changes 338 files. Sourcery can review pull requests with up to 300 changed files.
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.
Summary / 改动说明
将归档管理器的读写操作接入仓库内的归档后端,并移除旧第三方归档插件源码。后端继续按格式调用所需的系统库和命令行工具;迁移以保持原版功能、界面交互和性能为目标。
2d99fc2e实现归档后端和格式路由,不改动 pzip。bc9b4d9b将应用接入新后端,加入迁移调用所需的pzip --exclude-path。cccc810a修复迁移后发现的短输入、压缩进度、磁盘空间不足错误上报和页面闪退问题,保持原版进度页切换行为。83d92c6e单独加入契约测试、单元测试调整和验收工具;本 PR 不包含验收文档。ebe02ebd删除旧3rdparty归档插件、迁移适配层和旧插件测试,测试与 CLI 仅依赖自研后端。Log: Migrate archive operations to the in-tree backends and remove obsolete third-party plugin sources.
Verification / 验证结果
ebe02ebd:Qt 6 Release 开启测试构建通过,全程使用-j4。rar创建工具而跳过;unrar读取路径正常。archive-cli冒烟通过:ZIP、7z、tar.gz、tar.bz2、tar.xz 的创建、列出、解压和内容校验均通过。1799179),2 条因环境要求待办(1798917:真实 U 盘空间不足;1799461:另一台电脑接收并解压隐藏文件)。两项待办不计入通过。Influence / 回归重点
rar工具的环境补跑两项 RAR 写入测试。PMS: TASK-398535
Issue: V-8283