Archive rebuild: preserve RPF resource metadata before enabling RPF inputs

Abierto
#46 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
cli, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
42
Forks
4
Merge medio
8 d 19 h
PR fusionados (30 d)
3

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de VIRUXE/rage-cli

Todos los issues de VIRUXE/rage-cli

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.