Skip to content

Conversation

@theduke
Copy link
Contributor

@theduke theduke commented Mar 5, 2025

  • fix(cli): Improve 'package download' command behaviour
    Improves tempory file handling when no manual output path is specified.
    The command was broken when /tmp is located on a separate partition.

  • feat(cli): Add --unpack flag to the 'package download' command

Closes #5453

When the output path is not manually specified, the command will fail
if the /tmp path is on a separate partition, because the tmpfile can't
be renamed.

This fixes things by always persisting the tmpfile in the target
directory.
@theduke theduke requested a review from syrusakbary as a code owner March 5, 2025 22:01
@promptless
Copy link

promptless bot commented Mar 5, 2025

📝 Documentation updates detected! A separate PR for documentation updates has been made here: wasmerio/docs.wasmer.io#120

@theduke theduke force-pushed the run-607-cli-package-unpack-improve-tmpfile-behaviour-and-add-unpack branch from ac2031f to 94726f9 Compare March 5, 2025 22:07
@theduke theduke requested a review from xdoardo March 5, 2025 22:09
@xdoardo xdoardo merged commit 4d198ae into main Mar 6, 2025
75 of 77 checks passed
@xdoardo xdoardo deleted the run-607-cli-package-unpack-improve-tmpfile-behaviour-and-add-unpack branch March 6, 2025 07:43
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.

CLI: package unpack: improve tmpfile behaviour and add --unpack

3 participants