You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parse: Add tests for mixed PAX+GNU extension ordering
Test the PAX 'x' -> GNU 'L' -> real entry ordering, which is what
tar-rs's builder produces when you call append_pax_extensions() followed
by append_data() with a long path. This matters for ecosystem
compatibility -- bootc's copy_entry (bootc-dev/bootc#2073) generates
exactly this layout when filtering PAX extensions during path remapping.
The parser already handles this correctly via PendingMetadata
accumulation across recursive parse_header calls, but the reversed
ordering was untested. Also test that PAX path still wins over GNU
long name regardless of which comes first in the byte stream.
Assisted-by: OpenCode (Claude Opus 4)
Signed-off-by: Colin Walters <walters@verbum.org>
0 commit comments