Skip to content

Conversation

ndrufin-crto
Copy link
Contributor

Context

When a package failed to install, command-launcher try to re-update it each time a command is executed.
This PR prevent failed packages to be re-updated, except if update --package is explicitly executed.

Description

A lock file .update-lock is created in package folder if package setup failed.
This lock file prevent update of this package, new version is ignored silently.
If the user want to override lock file, it can be deleted manually or forced by explicit update --package. The backup mechanism refresh the package folder and remove the lock file if setup is successful. If not, update lock file is restored.

Missing documentation and tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant