Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nvme-stas for openSUSE:Factory checked in at 2023-06-12 15:27:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nvme-stas (Old) and /work/SRC/openSUSE:Factory/.nvme-stas.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nvme-stas" Mon Jun 12 15:27:50 2023 rev:13 rq:1092510 version:2.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/nvme-stas/nvme-stas.changes 2023-06-06 19:57:10.926801539 +0200 +++ /work/SRC/openSUSE:Factory/.nvme-stas.new.15902/nvme-stas.changes 2023-06-12 15:28:17.491705175 +0200 @@ -1,0 +2,8 @@ +Mon Jun 12 10:22:05 UTC 2023 - Martin Wilck <[email protected]> + +- Update to version 2.2.2: + + Fix python crash caused by wrong transport identifier handling + (bsc#1211557) + +------------------------------------------------------------------- Old: ---- nvme-stas-2.2.1.obscpio New: ---- nvme-stas-2.2.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nvme-stas.spec ++++++ --- /var/tmp/diff_new_pack.BA4vQf/_old 2023-06-12 15:28:18.115708866 +0200 +++ /var/tmp/diff_new_pack.BA4vQf/_new 2023-06-12 15:28:18.119708890 +0200 @@ -17,7 +17,7 @@ Name: nvme-stas -Version: 2.2.1 +Version: 2.2.2 Release: 0 Summary: NVMe STorage Appliance Services License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.BA4vQf/_old 2023-06-12 15:28:18.163709150 +0200 +++ /var/tmp/diff_new_pack.BA4vQf/_new 2023-06-12 15:28:18.163709150 +0200 @@ -4,7 +4,7 @@ <param name="url">https://github.com/linux-nvme/nvme-stas.git</param> <param name="filename">nvme-stas</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">v2.2.1</param> + <param name="revision">v2.2.2</param> <param name="versionrewrite-pattern">v(\d+.\d+(\.d+)?)</param> <param name="versionrewrite-replacement">\1</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.BA4vQf/_old 2023-06-12 15:28:18.187709292 +0200 +++ /var/tmp/diff_new_pack.BA4vQf/_new 2023-06-12 15:28:18.191709316 +0200 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/linux-nvme/nvme-stas.git</param> - <param name="changesrevision">435248b73cdc080c5b9fdd1c5915d29ea9e57827</param> + <param name="changesrevision">fd07276432d0e96c3a8857d93351fd0bea0777fc</param> </service> </servicedata> (No newline at EOF) ++++++ nvme-stas-2.2.1.obscpio -> nvme-stas-2.2.2.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nvme-stas-2.2.1/NEWS.md new/nvme-stas-2.2.2/NEWS.md --- old/nvme-stas-2.2.1/NEWS.md 2023-03-20 21:00:54.000000000 +0100 +++ new/nvme-stas-2.2.2/NEWS.md 2023-06-08 00:19:39.000000000 +0200 @@ -1,5 +1,11 @@ # STorage Appliance Services (STAS) +## Changes with release 2.2.2 + +Bug fixes: + +* Fix migration of old "last known config" to new format. Old TID objects did not contain a `_cfg` member. Therefore, one needs to check for its existence (through introspection) before blindly trying to access it. + ## Changes with release 2.2.1 Added a few more unit and coverage tests. Fixed the following bugs. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nvme-stas-2.2.1/meson.build new/nvme-stas-2.2.2/meson.build --- old/nvme-stas-2.2.1/meson.build 2023-03-20 21:00:54.000000000 +0100 +++ new/nvme-stas-2.2.2/meson.build 2023-06-08 00:19:39.000000000 +0200 @@ -9,7 +9,7 @@ project( 'nvme-stas', meson_version: '>= 0.53.0', - version: '2.2.1', + version: '2.2.2', license: 'Apache-2.0', default_options: [ 'buildtype=release', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nvme-stas-2.2.1/staslib/trid.py new/nvme-stas-2.2.2/staslib/trid.py --- old/nvme-stas-2.2.1/staslib/trid.py 2023-03-20 21:00:54.000000000 +0100 +++ new/nvme-stas-2.2.2/staslib/trid.py 2023-06-08 00:19:39.000000000 +0200 @@ -106,7 +106,12 @@ 'host-traddr': self.host_traddr, 'host-iface': self.host_iface, } - data.update(self._cfg) + + # When migrating an old last known config, the "_cfg" member may + # not exist. Therefor retrive it with getattr() to avoid a crash. + cfg = getattr(self, '_cfg', None) + if cfg: + data.update(cfg) return data def __str__(self): ++++++ nvme-stas.obsinfo ++++++ --- /var/tmp/diff_new_pack.BA4vQf/_old 2023-06-12 15:28:18.367710357 +0200 +++ /var/tmp/diff_new_pack.BA4vQf/_new 2023-06-12 15:28:18.371710380 +0200 @@ -1,5 +1,5 @@ name: nvme-stas -version: 2.2.1 -mtime: 1679342454 -commit: 435248b73cdc080c5b9fdd1c5915d29ea9e57827 +version: 2.2.2 +mtime: 1686176379 +commit: fd07276432d0e96c3a8857d93351fd0bea0777fc
