We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the client side, update archives are downloaded by tuf.ngclient.Updater into the target_dir, which in our case is the client cache dir, see
tuf.ngclient.Updater
target_dir
tufup/src/tufup/client.py
Line 42 in 981536a
A newly downloaded archive is extracted during install, and must remain in place afterwards, to enable us to do a patch update for the next version.
This means that, after installation, only the latest archive, i.e. the one corresponding to the newly installed app version, is ever used.
However, the current implementation does not remove the older archives that are no longer used.
To prevent waste of storage space, we should remove these old archives and only keep the archive for the currently installed version.
If we were to accidentally remove the latest archive, no problem: that just means we cannot do a patch update.
We could check for, and remove, "stale" archives at the start of the update check, for example.
The text was updated successfully, but these errors were encountered:
dennisvang
Successfully merging a pull request may close this issue.
On the client side, update archives are downloaded by
tuf.ngclient.Updater
into thetarget_dir
, which in our case is the client cache dir, seetufup/src/tufup/client.py
Line 42 in 981536a
A newly downloaded archive is extracted during install, and must remain in place afterwards, to enable us to do a patch update for the next version.
This means that, after installation, only the latest archive, i.e. the one corresponding to the newly installed app version, is ever used.
However, the current implementation does not remove the older archives that are no longer used.
To prevent waste of storage space, we should remove these old archives and only keep the archive for the currently installed version.
If we were to accidentally remove the latest archive, no problem: that just means we cannot do a patch update.
We could check for, and remove, "stale" archives at the start of the update check, for example.
The text was updated successfully, but these errors were encountered: