Skip to content

Do not uninstall a package if we fail to read the updated one #148

Description

@agateau

Description

Clyde 0.5.0 introduced new variables to install auto-completion files. I had bat and fd installed on a machine. When I ran clyde update && clyde upgrade, it tried to install the new bat and fd packages using Clyde 0.4.0. This failed because it could not load the new package format but at this point Clyde had already uninstalled the old versions of the package.

TODO

When upgrading a package, do not uninstall the old version until we have loaded the package YAML file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions