Add network connection info to Do.Platform
Bug #324484 reported by
Chris Halse Rogers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Do |
Fix Released
|
Low
|
Chris S. |
Bug Description
As my laptop is pretty frequently not connected to a network, it's a bit annoying to watch Do's logs fill up with the many failed connections the various internet-connecting plugins attempt. All platforms should have some way of determining whether a network is available, so we should have some sort of network-status available in Do.Platform, with a NetworkManager implementation in Do.Platform.Linux so plugins can check whether a network is available before doing network stuff.
Related branches
lp:~cszikszoy/do/NetworkService
- David Siegel (community): Disapprove
- Diff: None lines
Changed in do: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in do: | |
milestone: | none → 0.8.2 |
Changed in do: | |
assignee: | nobody → Chris S. (cszikszoy) |
Changed in do: | |
status: | Confirmed → In Progress |
Changed in do: | |
status: | In Progress → Fix Committed |
Changed in do: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I recently have had another idea and it seems related so I put it here: maybe the Universe Manager can be aware of the Internet status. When there is not Internet, it won't update any item source which will involve Internet access; This requires the item source to have extra property telling UM if they needs Internet access during updating. Regarding how UM can know about the network status, maybe the system-wide NetworkManager can provide some information over DBus?