Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virt-scenario for openSUSE:Factory checked in at 2023-06-05 18:08:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-scenario (Old) and /work/SRC/openSUSE:Factory/.virt-scenario.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-scenario" Mon Jun 5 18:08:03 2023 rev:13 rq:1090865 version:2.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-scenario/virt-scenario.changes 2023-05-31 21:55:16.501281146 +0200 +++ /work/SRC/openSUSE:Factory/.virt-scenario.new.15902/virt-scenario.changes 2023-06-05 18:08:20.459747824 +0200 @@ -1,0 +2,7 @@ +Mon Jun 5 09:17:28 UTC 2023 - Antoine Ginies <[email protected]> + +- version 2.0.5: + * exit in gtk mode if no connection to libvirt + * update man page + +------------------------------------------------------------------- Old: ---- virt-scenario-2.0.4.tar.gz New: ---- virt-scenario-2.0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-scenario.spec ++++++ --- /var/tmp/diff_new_pack.tSoGXh/_old 2023-06-05 18:08:20.987750942 +0200 +++ /var/tmp/diff_new_pack.tSoGXh/_new 2023-06-05 18:08:20.991750966 +0200 @@ -20,7 +20,7 @@ %define pythons python3 Name: virt-scenario -Version: 2.0.4 +Version: 2.0.5 Release: 0 Summary: Tool to create XML guest configuration and prepare the host for a scenario License: GPL-3.0-or-later ++++++ virt-scenario-2.0.4.tar.gz -> virt-scenario-2.0.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/virt-scenario-2.0.4/ChangeLog new/virt-scenario-2.0.5/ChangeLog --- old/virt-scenario-2.0.4/ChangeLog 2023-05-31 16:47:22.000000000 +0200 +++ new/virt-scenario-2.0.5/ChangeLog 2023-06-05 11:16:41.000000000 +0200 @@ -1,3 +1,13 @@ +2023-06-05 aginies <[email protected]> + + sync man page + + +2023-06-02 aginies <[email protected]> + + exit in gtk mode if no connection to libvirt; version 2.0.5 + + 2023-05-31 aginies <[email protected]> prepare v2.0.4; typo fixes; Fix force_SEV page display diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/virt-scenario-2.0.4/PKG-INFO new/virt-scenario-2.0.5/PKG-INFO --- old/virt-scenario-2.0.4/PKG-INFO 2023-05-31 16:47:22.000000000 +0200 +++ new/virt-scenario-2.0.5/PKG-INFO 2023-06-05 11:16:41.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: virt-scenario -Version: 2.0.4 +Version: 2.0.5 Summary: Virt-scenario Home-page: https://github.com/aginies/virt-scenario Author: Antoine Ginies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/virt-scenario-2.0.4/man/virt-scenario.1 new/virt-scenario-2.0.5/man/virt-scenario.1 --- old/virt-scenario-2.0.4/man/virt-scenario.1 2023-05-25 11:29:46.000000000 +0200 +++ new/virt-scenario-2.0.5/man/virt-scenario.1 2023-06-05 11:16:23.000000000 +0200 @@ -215,8 +215,6 @@ .IP \[bu] 2 \f[B]bootdev\f[R]: Select the boot dev (from a list) .IP \[bu] 2 -\f[B]diskpath\f[R]: Directory where to store disk image -.IP \[bu] 2 \f[B]cdrom\f[R]: File Path to CD/DVD installation media .IP \[bu] 2 \f[B]vmimage\f[R]: File path to an already existing VM image @@ -226,7 +224,11 @@ .IP \[bu] 2 \f[B]format\f[R]: Select the Disk Image format (qcow2/raw) .IP \[bu] 2 -\f[B]cache\f[R]: specify the Disk Cache mode +\f[B]cache\f[R]: Specify the Disk Cache mode +.IP \[bu] 2 +\f[B]encryption\f[R]: Encrypt the VM Disk image +.IP \[bu] 2 +\f[B]diskpath\f[R]: Directory where to store disk image .SS Generate the XML configuration and prepare the host .IP \[bu] 2 \f[B]computation\f[R]: Create an XML configuration and host config to do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/virt-scenario-2.0.4/setup.py new/virt-scenario-2.0.5/setup.py --- old/virt-scenario-2.0.4/setup.py 2023-05-31 16:45:58.000000000 +0200 +++ new/virt-scenario-2.0.5/setup.py 2023-06-02 10:44:16.000000000 +0200 @@ -162,7 +162,7 @@ setuptools.setup( name="virt-scenario", - version="2.0.4", + version="2.0.5", author="Antoine Ginies", author_email="[email protected]", description="Virt-scenario", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/virt-scenario-2.0.4/src/virt_scenario.egg-info/PKG-INFO new/virt-scenario-2.0.5/src/virt_scenario.egg-info/PKG-INFO --- old/virt-scenario-2.0.4/src/virt_scenario.egg-info/PKG-INFO 2023-05-31 16:47:22.000000000 +0200 +++ new/virt-scenario-2.0.5/src/virt_scenario.egg-info/PKG-INFO 2023-06-05 11:16:41.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: virt-scenario -Version: 2.0.4 +Version: 2.0.5 Summary: Virt-scenario Home-page: https://github.com/aginies/virt-scenario Author: Antoine Ginies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/virt-scenario-2.0.4/src/virtscenario/__init__.py new/virt-scenario-2.0.5/src/virtscenario/__init__.py --- old/virt-scenario-2.0.4/src/virtscenario/__init__.py 2023-05-31 16:46:08.000000000 +0200 +++ new/virt-scenario-2.0.5/src/virtscenario/__init__.py 2023-06-02 10:44:29.000000000 +0200 @@ -29,5 +29,5 @@ import builtins builtins.__dict__["_"] = str -__version__ = "2.0.4" +__version__ = "2.0.5" print(" Version: "+__version__) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/virt-scenario-2.0.4/src/vsmygtk/__init__.py new/virt-scenario-2.0.5/src/vsmygtk/__init__.py --- old/virt-scenario-2.0.4/src/vsmygtk/__init__.py 2023-05-25 11:29:46.000000000 +0200 +++ new/virt-scenario-2.0.5/src/vsmygtk/__init__.py 2023-06-02 10:44:06.000000000 +0200 @@ -19,5 +19,12 @@ """ virt_scenario_gtk """ +import virtscenario.hypervisors as hv +import vsmygtk.gtkhelper as gtk -__version__ = "2.0.2" +hypervisor = hv.select_hypervisor() +if not hypervisor.is_connected(): + text_mdialog = "No connection to LibVirt, Exiting" + gtk.dialog_message("Error!", text_mdialog) + +__version__ = "2.0.5" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/virt-scenario-2.0.4/src/vsmygtk/gtkhelper.py new/virt-scenario-2.0.5/src/vsmygtk/gtkhelper.py --- old/virt-scenario-2.0.4/src/vsmygtk/gtkhelper.py 2023-05-25 11:29:46.000000000 +0200 +++ new/virt-scenario-2.0.5/src/vsmygtk/gtkhelper.py 2023-06-02 10:43:36.000000000 +0200 @@ -168,3 +168,18 @@ entry.set_visibility(False) entry.set_invisible_char("*") return entry + +def error_message(title, message): + """ + error message + """ + dialog = Gtk.MessageDialog( + transient_for=None, + flags=0, + message_type=Gtk.MessageType.ERROR, + buttons=Gtk.ButtonsType.OK, + text=title + ) + dialog.format_secondary_text(message) + dialog.run() + dialog.destroy()
