Archive rebuild: preserve RPF resource metadata before enabling RPF inputs

オープン
#46 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
cli, tooling

調査の方向性

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時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

VIRUXE/rage-cli のほかの issue

VIRUXE/rage-cli の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。