Skip to content

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

Open
ITaluone wants to merge 2 commits into
Fallout-build:developfrom
ITaluone:feat/tar-xz-support
Open

Add support for uncompressing .tar.xz archives#597
ITaluone wants to merge 2 commits into
Fallout-build:developfrom
ITaluone:feat/tar-xz-support

Conversation

@ITaluone

@ITaluone ITaluone commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

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.

Closes: #596

@ITaluone

Copy link
Copy Markdown
Contributor 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
@ChrisonSimtian ChrisonSimtian added target/vNext Targets the next calendar-version and removed target/vCurrent Targets the current version labels Jul 30, 2026
@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

@ITaluone i wanna bring in some more discipline, can you create an issue for that please and describe the use case we're trying to solve here?
I love the enthusiasm of adding new features but I think we should go the extra mile and help people understand why they want this feature :-)
Probably also needs some docs (which can be a dedicated PR linking to the same issue ;-) see how this becomes a shoe? :D )

And then I'd say lets target this for the next release, not the current one. I wanna close the lid on this one (already relabelled)

Comment thread Directory.Packages.props
@ITaluone

Copy link
Copy Markdown
Contributor Author

@ITaluone i wanna bring in some more discipline, can you create an issue for that please and describe the use case we're trying to solve here? I love the enthusiasm of adding new features but I think we should go the extra mile and help people understand why they want this feature :-) Probably also needs some docs (which can be a dedicated PR linking to the same issue ;-) see how this becomes a shoe? :D )

And then I'd say lets target this for the next release, not the current one. I wanna close the lid on this one (already relabelled)

@ChrisonSimtian
I don't get it? there is an issue already? Or isn't the issue detailed enough?

Comment thread src/Fallout.Utilities.IO.Compression/CompressionExtensions.cs
Comment thread src/Fallout.Utilities.IO.Compression/CompressionExtensions.cs
@ChrisonSimtian ChrisonSimtian added target/vCurrent Targets the current version and removed target/vNext Targets the next calendar-version labels Aug 11, 2026
@ITaluone
ITaluone force-pushed the feat/tar-xz-support branch from 1593b72 to ca5a857 Compare August 22, 2026 16:45
@ITaluone
ITaluone requested a review from dennisdoomen August 22, 2026 16:45
@ITaluone
ITaluone force-pushed the feat/tar-xz-support branch from ca5a857 to 73acf7b Compare August 22, 2026 17:45
@ITaluone

Copy link
Copy Markdown
Contributor Author

Hello @ChrisonSimtian

Can you do the final review here?

Thanks

@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

Hello @ChrisonSimtian

Can you do the final review here?

Thanks

i'll try but it's a busy week rn and we're changing branching in this repo, so no rush 😅

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

4 participants