Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Plugin download process must happen on a temporary file #203

Open
salehkhazaei opened this issue Jun 14, 2024 · 0 comments
Open

Plugin download process must happen on a temporary file #203

salehkhazaei opened this issue Jun 14, 2024 · 0 comments

Comments

@salehkhazaei
Copy link
Contributor

Describe the bug
When downloading a plugin (e.g. updating plugin version) if for any reason plugin download breaks, the plugin binary will be corrupted.
Although config file wont take the effect until after download is completed, we need to make sure that we dont break the plugin binary.
It's better to download the new file into a temporary file and then move it on the plugin binary once download is finished.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant