Skip to content

refactor: extract generic tar-walking logic into tarball pkg#19

Draft
upils wants to merge 1 commit into
store-downloadfrom
bin-extract
Draft

refactor: extract generic tar-walking logic into tarball pkg#19
upils wants to merge 1 commit into
store-downloadfrom
bin-extract

Conversation

@upils

@upils upils commented Jun 30, 2026

Copy link
Copy Markdown
Owner
  • Have you signed the CLA?

This refactoring PR moves the package-format-agnostic extraction logic (glob matching, hard-link two-pass handling, parent-directory permission preservation) out of deb and into a new tarball package, leaving deb with only the deb-specific DataReader (the ar + data.tar.* opener).

This is a pure, behavior-preserving refactor, no logic was altered — only relocated. It prepares the ground for adding an XZ-strict opener to enable bin package extraction.

(Replacing #17 merged by mistake)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant