clyde icon indicating copy to clipboard operation
clyde copied to clipboard

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

Open agateau opened this issue 2 years ago • 0 comments

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.

agateau avatar Mar 28 '23 16:03 agateau