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

Package Manager offline fallback #248

Open
Bellisario opened this issue Aug 16, 2022 · 2 comments
Open

Package Manager offline fallback #248

Bellisario opened this issue Aug 16, 2022 · 2 comments

Comments

@Bellisario
Copy link

Adding a simple screen message saying "You're offline" would help if someone opens Package Manager and is offline...
Maybe could also be made with simple HTML, as the help page.

Current behavior:
image

@klange
Copy link
Owner

klange commented Aug 17, 2022

The default package manager config does actually have an offline fallback set up, to load a manifest from the CD, but that manifest has been gone for a while. There are four "remotes" currently specified: the CD, a NAT IP address on my local network, the newer DigitalOcean CDN, and the original toaruos.org repository as a fallback.

The CLI does present a message when a manifest fails to load, which regularly prints for the local fallback. I don't want to turn that message into a dialog box for the GUI directly, specifically because of that NAT address case, but it would make sense to catch the case where no repository works and present a message box for that.

@klange
Copy link
Owner

klange commented Aug 17, 2022

I added a simple dialog box when no packages are available in da7651c, though I'd like to do something a bit smarter and actually inform about failing repositories, so I'll keep this issue open for now.

Screenshot from 2022-08-18 07-23-07

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

No branches or pull requests

2 participants