Skip to content
New issue

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

updates: Enable background downloading of pallet updates #254

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

updates: Enable background downloading of pallet updates #254

ethanjli opened this issue Jun 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ethanjli
Copy link
Member

ethanjli commented Jun 14, 2024

We should add a cache add-plt {pallet path}@{version query} subcommand (and also a plt cache-upgrade subcommand as an alias for forklift cache add-plt "$(forklift plt show-upgrade-query)") to be able to cache updates to the local pallet, and all of its dependencies for staging (i.e. required pallets, required package repos, required file downloads, and required container images), without having to modify the local pallet. After downloads finish, it should be possible to run plt upgrade (to be added by #246) without having internet connectivity. It should also be possible to recover from a loss of internet connectivity while attempting to download everything (see #267).

Then it would be possible to run forklift plt show-upgrade and (if an upgrade exists) forklift plt cache-upgrade whenever we connect to the internet (e.g. via a NetworkManager dispatcher script), and/or in a systemd timer. Once forklift plt cache-upgrade completes successfully, then the OS can notify the user that an upgrade is ready to be applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Plan needed
Development

No branches or pull requests

1 participant