Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Validate storage in verdi storage version #6551

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jul 24, 2024

  1. CLI: Validate storage in verdi storage version

    The `verdi storage version`, in addition to printing the version of the
    code's and storage's schema, now also validates the storage. If the
    storage is corrupt or cannot be reached, the command returns the exit
    code 3. If the storage and code schema versions are incompatible, exit
    code 4 is returned. This way this command serves as an alternative to
    running `verdi storage migrate` as a way to check whether a profile
    needs to be migrated. The `verdi storage migrate` command needs to
    perform checks such as whether the daemon is running and so is always
    going to be slower.
    sphuber committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    6459592 View commit details
    Browse the repository at this point in the history