Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gns3-gui for openSUSE:Factory checked in at 2021-04-21 21:00:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gns3-gui (Old) and /work/SRC/openSUSE:Factory/.gns3-gui.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gns3-gui" Wed Apr 21 21:00:02 2021 rev:8 rq:887012 version:2.2.20 Changes: -------- --- /work/SRC/openSUSE:Factory/gns3-gui/gns3-gui.changes 2021-03-11 20:13:00.356733089 +0100 +++ /work/SRC/openSUSE:Factory/.gns3-gui.new.12324/gns3-gui.changes 2021-04-21 21:00:30.466306087 +0200 @@ -1,0 +2,10 @@ +Fri Apr 9 09:30:01 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Update to version 2.2.20 + * Fix project does not load anymore. + * Do not connect to server while waiting for user to + accept/reject SSL certificate. + * Fix invalid server version check request. + * Add terminator as a predefined custom console option. + +------------------------------------------------------------------- Old: ---- gns3-gui-2.2.19.tar.gz New: ---- gns3-gui-2.2.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gns3-gui.spec ++++++ --- /var/tmp/diff_new_pack.3DLQFc/_old 2021-04-21 21:00:31.166307189 +0200 +++ /var/tmp/diff_new_pack.3DLQFc/_new 2021-04-21 21:00:31.170307195 +0200 @@ -17,7 +17,7 @@ Name: gns3-gui -Version: 2.2.19 +Version: 2.2.20 Release: 0 Summary: GNS3 graphical interface for the GNS3 server License: GPL-3.0-or-later ++++++ gns3-gui-2.2.19.tar.gz -> gns3-gui-2.2.20.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gns3-gui-2.2.19/CHANGELOG new/gns3-gui-2.2.20/CHANGELOG --- old/gns3-gui-2.2.19/CHANGELOG 2021-03-05 05:21:03.000000000 +0100 +++ new/gns3-gui-2.2.20/CHANGELOG 2021-04-09 04:44:38.000000000 +0200 @@ -1,5 +1,13 @@ # Change Log +## 2.2.20 09/04/2021 + +* Fix project does not load anymore. Fixes #3140 +* Do not connect to server while waiting for user to accept/reject SSL certificate. Fixes #3144 +* Fix invalid server version check request. Fixes #3144 +* Upgrade dependencies +* Add terminator as a predefined custom console option + ## 2.2.19 05/03/2021 * No changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gns3-gui-2.2.19/gns3/controller.py new/gns3-gui-2.2.20/gns3/controller.py --- old/gns3-gui-2.2.19/gns3/controller.py 2021-03-05 05:21:03.000000000 +0100 +++ new/gns3-gui-2.2.20/gns3/controller.py 2021-04-09 04:44:38.000000000 +0200 @@ -130,7 +130,8 @@ self._connected = False self._connecting = True - self.httpClient().getSynchronous('/version', self._versionGetSlot, timeout=60) + status, json_data = self.httpClient().getSynchronous('GET', '/version', timeout=60) + self._versionGetSlot(json_data, status is None or status >= 300) def _httpClientDisconnectedSlot(self): if self._connected: @@ -148,11 +149,14 @@ if self._first_error: self._connecting = False self.connection_failed_signal.emit() - if "message" in result and self._display_error: + if self._display_error: self._error_dialog = QtWidgets.QMessageBox(self.parent()) self._error_dialog.setWindowModality(QtCore.Qt.ApplicationModal) self._error_dialog.setWindowTitle("Connection to server") - self._error_dialog.setText("Error when connecting to the GNS3 server:\n{}".format(result["message"])) + if result and "message" in result: + self._error_dialog.setText("Error when connecting to the GNS3 server:\n{}".format(result["message"])) + else: + self._error_dialog.setText("Cannot connect to the GNS3 server") self._error_dialog.setIcon(QtWidgets.QMessageBox.Critical) self._error_dialog.show() # Try to connect again in 5 seconds @@ -164,6 +168,7 @@ self._error_dialog.reject() self._error_dialog = None self._version = result.get("version") + self._http_client.connection_connected_signal.emit() def _httpClientConnectedSlot(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gns3-gui-2.2.19/gns3/crash_report.py new/gns3-gui-2.2.20/gns3/crash_report.py --- old/gns3-gui-2.2.19/gns3/crash_report.py 2021-03-05 05:21:03.000000000 +0100 +++ new/gns3-gui-2.2.20/gns3/crash_report.py 2021-04-09 04:44:38.000000000 +0200 @@ -51,7 +51,7 @@ Report crash to a third party service """ - DSN = "https://7ff21b87760a4bae84c753e3774bb950:b061d45015d748faab5a820a36e38...@o19455.ingest.sentry.io/38506" + DSN = "https://0f28484e29214863871742a8c4054327:cd002a1193c7458fbde34db6fec80...@o19455.ingest.sentry.io/38506" _instance = None def __init__(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gns3-gui-2.2.19/gns3/settings.py new/gns3-gui-2.2.20/gns3/settings.py --- old/gns3-gui-2.2.19/gns3/settings.py 2021-03-05 05:21:03.000000000 +0100 +++ new/gns3-gui-2.2.20/gns3/settings.py 2021-04-09 04:44:38.000000000 +0200 @@ -157,6 +157,7 @@ 'KDE Konsole': 'konsole --new-tab -p tabtitle="%d" -e "telnet %h %p"', 'SecureCRT': 'SecureCRT /T /N "%d" /TELNET %h %p', 'Mate Terminal': 'mate-terminal --tab -e "telnet %h %p" -t "%d"', + 'terminator': 'terminator -e "telnet %h %p" -T "%d"', 'urxvt': 'urxvt -title %d -e telnet %h %p'} # default Telnet console command on other systems diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gns3-gui-2.2.19/gns3/topology.py new/gns3-gui-2.2.20/gns3/topology.py --- old/gns3-gui-2.2.19/gns3/topology.py 2021-03-05 05:21:03.000000000 +0100 +++ new/gns3-gui-2.2.20/gns3/topology.py 2021-04-09 04:44:38.000000000 +0200 @@ -62,7 +62,7 @@ self._main_window = None # If set the project is loaded when we got connection to the controller - # usefull when we open a project from cli or when server restart + # useful when we open a project from cli or when server restart self._project_to_load_path = None self._project_id_to_load = None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gns3-gui-2.2.19/gns3/version.py new/gns3-gui-2.2.20/gns3/version.py --- old/gns3-gui-2.2.19/gns3/version.py 2021-03-05 05:21:03.000000000 +0100 +++ new/gns3-gui-2.2.20/gns3/version.py 2021-04-09 04:44:38.000000000 +0200 @@ -23,8 +23,8 @@ # or negative for a release candidate or beta (after the base version # number has been incremented) -__version__ = "2.2.19" -__version_info__ = (2, 2, 19, 0) +__version__ = "2.2.20" +__version_info__ = (2, 2, 20, 0) if "dev" in __version__: try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gns3-gui-2.2.19/requirements.txt new/gns3-gui-2.2.20/requirements.txt --- old/gns3-gui-2.2.19/requirements.txt 2021-03-05 05:21:03.000000000 +0100 +++ new/gns3-gui-2.2.20/requirements.txt 2021-04-09 04:44:38.000000000 +0200 @@ -1,4 +1,4 @@ jsonschema==3.2.0 -sentry-sdk>=0.14.4 -psutil==5.6.7 -distro>=1.3.0 +sentry-sdk==1.0.0 +psutil==5.8.0 +distro==1.5.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gns3-gui-2.2.19/win-requirements.txt new/gns3-gui-2.2.20/win-requirements.txt --- old/gns3-gui-2.2.19/win-requirements.txt 2021-03-05 05:21:03.000000000 +0100 +++ new/gns3-gui-2.2.20/win-requirements.txt 2021-04-09 04:44:38.000000000 +0200 @@ -1,4 +1,4 @@ -rrequirements.txt PyQt5==5.12.3 # pyup: ignore -pywin32>=223 # pyup: ignore +pywin32==300 # pyup: ignore ++++++ gns3-gui-fix-requirements.patch ++++++ --- /var/tmp/diff_new_pack.3DLQFc/_old 2021-04-21 21:00:31.854308273 +0200 +++ /var/tmp/diff_new_pack.3DLQFc/_new 2021-04-21 21:00:31.854308273 +0200 @@ -1,10 +1,11 @@ diff --git a/requirements.txt b/requirements.txt -index 7bff13e..cd249ce 100644 +index 2bf4100..152e25d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ jsonschema==3.2.0 - sentry-sdk>=0.14.4 --psutil==5.6.7 +-sentry-sdk==1.0.0 +-psutil==5.8.0 ++sentry-sdk>=0.14.4 +psutil>=5.6.7 - distro>=1.3.0 + distro==1.5.0