Merge lp://staging/~zeitgeist/zeitgeist/storagemonitor2 into lp://staging/zeitgeist/0.1
Proposed by
Mikkel Kamstrup Erlandsen
Status: | Merged |
---|---|
Merged at revision: | 1699 |
Proposed branch: | lp://staging/~zeitgeist/zeitgeist/storagemonitor2 |
Merge into: | lp://staging/zeitgeist/0.1 |
Diff against target: |
476 lines (+420/-5) 6 files modified
_zeitgeist/engine/__init__.py (+1/-1) _zeitgeist/engine/extensions/Makefile.am (+2/-1) _zeitgeist/engine/extensions/storagemonitor.py (+385/-0) _zeitgeist/engine/sql.py (+3/-1) _zeitgeist/engine/upgrades/core_3_4.py (+23/-2) doc/zeitgeist/source/dbus_api.rst (+6/-0) |
To merge this branch: | bzr merge lp://staging/~zeitgeist/zeitgeist/storagemonitor2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Siegfried Gevatter | Approve | ||
Review via email: mp+49212@code.staging.launchpad.net |
Description of the change
Woohoo, finally the storage monitor is ready. It supports uodating the storage table with the values from GIO volume monitors as well as the network state from Connman or NetworkManager which ever is available on the system.
The extension will also populate the 'storage' field of subjects that don't already have one.
So what's missing? Well ZG will raise NotImplementedError if you send it a StorageState that is different from StorageState.Any. So I'll propose another branch that properly supports this.
To post a comment you must log in.
+logging. basicConfig( level=logging. DEBUG)
WHY?
And why is this and the imports there twice (before and after the big comments)?
+# storgaemonitor extension. This is actually backwards compatible.
Storgae? Is that like 'deine mudda' in Danish?