The following series is a first steps towards sharing code between virt-manager GUI and TUI. On it's own it doesn't do much, just handles the tricky parts of using the GUI's 'model' code in the TUI.
First 5 patches are minor TUI improvements to make it simpler to test the code. The latter patches push the gtk/gobject deps up from connection.py into a central place that can be toggled on/off at app startup. Thanks, Cole Cole Robinson (10): virt-manager.py: Fix setup_logging to be a bit more general virt-manager-tui: Log to ~/.virt-manager, not /var/log tui: Hook up --connect option for setting the default URI tui: Save URIs in ~/.virt-manager, not /etc tui: Show backtrace of startup errors tui: Hack in an 'import' blacklist baseclass: Make gtk/gobject dep optional libvirtobject: Remove gobject dep connection: Remove gtk and gobject dep tui: Example instantiation of vmmConnection src/virt-manager-tui.py.in | 18 +++- src/virt-manager.py.in | 76 ++-------------- src/virtManager/baseclass.py | 42 +++++++--- src/virtManager/cli.py | 85 ++++++++++++++++++ src/virtManager/connection.py | 109 ++++++++++-------------- src/virtManager/guidiff.py | 53 ++++++++++++ src/virtManager/libvirtobject.py | 11 +-- src/virtManagerTui/importblacklist/gconf.py | 21 +++++ src/virtManagerTui/importblacklist/gobject.py | 21 +++++ src/virtManagerTui/importblacklist/gtk.py | 21 +++++ src/virtManagerTui/libvirtworker.py | 8 ++- src/virtManagerTui/utils.py | 7 -- 12 files changed, 312 insertions(+), 160 deletions(-) create mode 100644 src/virtManager/cli.py create mode 100644 src/virtManager/guidiff.py create mode 100644 src/virtManagerTui/importblacklist/__init__.py create mode 100644 src/virtManagerTui/importblacklist/gconf.py create mode 100644 src/virtManagerTui/importblacklist/gobject.py create mode 100644 src/virtManagerTui/importblacklist/gtk.py -- 1.7.4 _______________________________________________ virt-tools-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-tools-list
