More UDisks tweaks, use python3-dbus instead of Gio
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dmedia |
Fix Released
|
High
|
Jason Gerard DeRose |
Bug Description
We'll slay that UDisks dragon yet! This turned into a rather large merge because I ran into some issues using Gio for DBus client stuff, so I went ahead and ported everything to python3-dbus as it fixed the problem and is something we should do anyway.
Changes include:
* Further refined data structure for disk info, now looks like this - http://
* Stuff that still used Gio for DBus client access now uses python3-dbus (avahi and misc udisks stuff)
* Refined the Formatter and Ejector workers, ported them to the new udisks stuff
* dmedia-gtk (when importer is running) no longer monitors UDisks itself, instead listens for the CardAdded signal from org.freedesktop
* Removed the now unneeded `dmedia.
Related branches
- Jason Gerard DeRose: Approve
-
Diff: 1517 lines (+519/-609)14 files modifieddmedia-browser (+0/-2)
dmedia-cli (+4/-0)
dmedia-gtk (+11/-38)
dmedia-migrate (+10/-6)
dmedia-service (+13/-6)
dmedia/misc.py (+41/-0)
dmedia/service/__init__.py (+12/-0)
dmedia/service/api.py (+0/-62)
dmedia/service/avahi.py (+40/-45)
dmedia/service/dbus.py (+0/-382)
dmedia/service/tests/test_udisks.py (+135/-5)
dmedia/service/udisks.py (+177/-51)
dmedia/tests/test_misc.py (+76/-0)
ui/splash.html (+0/-12)
description: | updated |
Changed in dmedia: | |
status: | In Progress → Fix Committed |
Changed in dmedia: | |
status: | Fix Committed → Fix Released |