Skip to content

unpack should create default sandbox-binary directory if not exists #110

Description

@ronaldbradford

Environment

  • dbdeployer version: 2.3.0
  • OS: macOS 25.4.0
  • MySQL/database version: 8.4.8
  • Flavor: MySQL
  • Topology: single

Describe the bug
Documented instructions fail

Steps to reproduce

$ dbdeployer downloads get-by-version 8.4 --newest --minimal
Downloading mysql-8.4.8-macos15-arm64.tar.gz
File /tmp/mysql-8.4.8-macos15-arm64.tar.gz downloaded
Checksum matches
$ dbdeployer unpack mysql-8.4.8-*.tar.xz
directory '/Users/username/opt/mysql' not found
You should create it or provide an alternate base directory using --sandbox-binary

Expected behavior

$HOME/op/mysql is the default, you should pre-create if does not exist to simply usage.

Actual behavior

directory '/Users/username/opt/mysql' not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions