Archive rebuild: preserve RPF resource metadata before enabling RPF inputs
还没有人认领这个 Issue。
评估
调研方向
Start by locating the archive rebuild command and the checkpoint that currently restricts it to IMG1/2/3, then read the generic add_file writer path the body says is downgrading resource entries. Map how entry kind, native headers and resource/encryption metadata are currently carried through extraction versus creation. Done means rebuild preserves V2/V6 and V7 resource entries byte-for-byte, refuses unrepresentable layouts, and regression tests reopen outputs with independent readers — but this spans several format subsystems and is design-heavy, not a first-timer task.
由索引模型根据 Issue 内容生成。
描述
Release review found that rebuilding RPF V2/V6 through extracted bodies and the generic add_file builder can silently turn resource entries into ordinary binary files, losing native headers/flags.
The checkpoint now restricts archive rebuild to IMG1/2/3. Keep this guard until RPF preservation is implemented.
- Carry entry kind, native headers and all resource/encryption metadata into the writer.
- Cover unchanged V2/V6 resource entries and V7 resources with byte/semantic preservation checks.
- Refuse layouts the writer cannot represent instead of downgrading them.
- Reopen outputs with independent readers.
- Add regression tests before broadening the accepted archive versions.
Existing RPF inspection/extraction and creation commands remain available; this issue concerns the new rebuild command.
- 主要语言
- Rust
- 星标
- 42
- 派生
- 4
- 平均合并
- 8 天 19 小时
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
VIRUXE/rage-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 5/5 一周以上 新手友好度 15/100
-
难度 4/5 3-5 天 新手友好度 30/100
-
难度 4/5 3-5 天 新手友好度 45/100
相似的 Issue
-
nightly-cleanup
难度 2/5 1-3 小时 新手友好度 78/100
max-sixty/worktrunk#4939 · 1 个 reaction ·
维护者通常 1 天内回复
-
flaky
难度 2/5 1-3 小时 新手友好度 68/100
stacks-network/stacks-core#7918 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
rust-bitcoin/rust-bech32#339 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
databendlabs/openraft#2554 · 1 条评论 ·
维护者通常 1 天内回复
-
autofixer: follow-up
难度 2/5 1-3 小时 新手友好度 78/100
tursodatabase/turso#12683 ·
维护者通常 1 天内回复