Skip to content

0.6.1

Choose a tag to compare

@github-actions github-actions released this 19 Jan 11:37
· 2 commits to main since this release

RollDev 0.6.1 Release Notes

🐛 Bug Fixes

Fixed restore and restore-full Commands Exiting Silently

The restore and restore-full commands were silently exiting with code 1 when run without the --verbose flag.

Root Cause:

The logVerbose() function used a conditional expression that returned exit code 1 when verbose mode was disabled:

# Before - returns exit code 1 when RESTORE_VERBOSE=0
[[ $RESTORE_VERBOSE -eq 1 ]] && logMessage INFO "$@"

# After - always returns exit code 0
[[ $RESTORE_VERBOSE -eq 1 ]] && logMessage INFO "$@" || true

With set -e in the main roll script, this caused immediate termination.


Added Progress Output for Restore Commands

The restore and restore-full commands now show progress messages by default, so users can see what's happening without needing --verbose.

Before:

$ roll restore-full backup.tar.gz /path/to/project
$ # (no output, appeared to do nothing)

After:

$ roll restore-full backup.tar.gz /path/to/project
INFO: Starting full restore from backup.tar.gz...
INFO: Extracting backup archive...
SUCCESS: Archive extracted
INFO: Available services in backup: db redis elasticsearch
INFO: Restoring services: db redis elasticsearch
INFO: Restoring source code...
SUCCESS: Source code restored
INFO: Restoring configuration files...
SUCCESS: Configuration restore completed
INFO: Restoring db volume...
SUCCESS: Successfully restored db volume
INFO: Signing SSL certificates for project.test...
SUCCESS: SSL certificates signed for project.test
SUCCESS: Restore completed successfully!
INFO: You can now start your environment with: roll env up

📝 Files Changed

File Change
commands/restore-full.cmd Fixed logVerbose() return code, added progress messages
commands/restore.cmd Fixed logVerbose() return code, added progress messages

🚀 Upgrade Instructions

  1. Update RollDev:

    brew upgrade dockergiant/roll/roll
    # or pull latest if installed from source
  2. Verify the fix:

    roll restore-full backup.tar.gz /path/to/project
    # Should now show progress output

Full Changelog: 0.6.0...0.6.1


v0.6.1 • Restore Commands Fixed! 🔧