Skip to content

Properly Removing Corrupted or Unwanted Versions from the Repository #117

Answered by dennisvang
its-monotype asked this question in Q&A
Discussion options

You must be logged in to vote

Is it safe to delete old versions from the targets directory in the remote repository?

@RasmusN Good question.

Removing old versions, i.e. versions other than the latest version, is only safe if you use full updates.

Presently, tufup does not check if the current (running) version of your app is available in the targets list, so full updates from any old version to the latest one should still work.

However, removing old versions is not safe if you use patch updates, because these depend upon each other. Removing a patch, other than the latest one, will break (part of) the chain. Currently, there is no safeguard against this. That's why the current implementation only has a built-in comm…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dennisvang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question This is a request for clarification
3 participants
Converted from issue

This discussion was converted from issue #74 on February 27, 2024 17:26.