Skip to content

Add support for uncompressing .tar.xz archives - #597

Open
ITaluone wants to merge 1 commit into
Fallout-build:mainfrom
ITaluone:feat/tar-xz-support
Open

Add support for uncompressing .tar.xz archives#597
ITaluone wants to merge 1 commit into
Fallout-build:mainfrom
ITaluone:feat/tar-xz-support

Conversation

@ITaluone

@ITaluone ITaluone commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • Add UnTarXzTo extension on AbsolutePath, using SharpCompress.Readers.ReaderFactory to extract .tar.xz/.txz archives.
  • Wire it into UncompressTo alongside the existing zip/tar.gz/tar.bz2 branches.
  • Compressing to .tar.xz stays unsupported (CompressTo still fails fast with a clear message) — this PR only adds the read path.
  • Add the SharpCompress package reference to Fallout.Utilities.IO.Compression.

Verification

Manual Target which runs this extension

Drawback

Compressing .tar.xz files does not work, since the upstream lib also can't do this.

@ITaluone

Copy link
Copy Markdown
Collaborator Author

@dennisdoomen This should look familiar to you (did the same thing in FA.. this whole nodejs thing ;) )

@ITaluone ITaluone added enhancement New feature or request target/vCurrent Targets the current version labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request target/vCurrent Targets the current version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fallout (and also former NUKE) lacks of possibility to uncompress a .tar.xz archive

1 participant