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 2022-11-16 15:43:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvme-stas (Old)
 and      /work/SRC/openSUSE:Factory/.nvme-stas.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nvme-stas"

Wed Nov 16 15:43:10 2022 rev:7 rq:1035873 version:1.1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/nvme-stas/nvme-stas.changes      2022-08-09 
15:28:34.425663139 +0200
+++ /work/SRC/openSUSE:Factory/.nvme-stas.new.1597/nvme-stas.changes    
2022-11-16 15:43:17.627816606 +0100
@@ -1,0 +2,7 @@
+Tue Nov 15 14:51:56 UTC 2022 - [email protected]
+
+- Update to version 1.1.7:
+  * staslib: Trim white spaces from DLPEs and manual configuration.
+  (bsc#1204975)
+
+-------------------------------------------------------------------

Old:
----
  nvme-stas-1.1.6.obscpio

New:
----
  nvme-stas-1.1.7.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nvme-stas.spec ++++++
--- /var/tmp/diff_new_pack.YdaLGp/_old  2022-11-16 15:43:18.267818927 +0100
+++ /var/tmp/diff_new_pack.YdaLGp/_new  2022-11-16 15:43:18.271818940 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           nvme-stas
-Version:        1.1.6
+Version:        1.1.7
 Release:        0
 Summary:        NVMe STorage Appliance Services
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.YdaLGp/_old  2022-11-16 15:43:18.303819057 +0100
+++ /var/tmp/diff_new_pack.YdaLGp/_new  2022-11-16 15:43:18.307819071 +0100
@@ -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">v1.1.6</param>
+    <param name="revision">v1.1.7</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.YdaLGp/_old  2022-11-16 15:43:18.323819130 +0100
+++ /var/tmp/diff_new_pack.YdaLGp/_new  2022-11-16 15:43:18.327819144 +0100
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">https://github.com/linux-nvme/nvme-stas.git</param>
-    <param 
name="changesrevision">f2bd997286bcfb013165d37ac647a0194e977844</param>
+    <param 
name="changesrevision">0c6d592f9508bd7c545b9c93886c203d1d2e991c</param>
   </service>
 </servicedata>
 (No newline at EOF)

++++++ nvme-stas-1.1.6.obscpio -> nvme-stas-1.1.7.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvme-stas-1.1.6/NEWS.md new/nvme-stas-1.1.7/NEWS.md
--- old/nvme-stas-1.1.6/NEWS.md 2022-07-21 18:09:13.000000000 +0200
+++ new/nvme-stas-1.1.7/NEWS.md 2022-11-11 18:37:44.000000000 +0100
@@ -1,5 +1,10 @@
 # STorage Appliance Services (STAS)
 
+## Changes with release 1.1.7
+
+- Trim white spaces from Discovery Log Pages Entries (DLPE) and Configuration 
parameters.
+  - Parameters such as traddr, trsvcid, etc. may be padded with white spaces. 
These white spaces need to be trimmed off before sending to the kernel driver.
+
 ## Changes with release 1.1.6
 
 - Fix issues with I/O controller connection audits
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvme-stas-1.1.6/doc/conf.py 
new/nvme-stas-1.1.7/doc/conf.py
--- old/nvme-stas-1.1.6/doc/conf.py     2022-07-21 18:09:13.000000000 +0200
+++ new/nvme-stas-1.1.7/doc/conf.py     2022-11-11 18:37:44.000000000 +0100
@@ -12,7 +12,7 @@
 author = 'Martin Belanger <[email protected]>'
 master_doc = 'index'
 
-release = '1.1.6'
+release = '1.1.7'
 
 
 # -- General configuration ---------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvme-stas-1.1.6/meson.build 
new/nvme-stas-1.1.7/meson.build
--- old/nvme-stas-1.1.6/meson.build     2022-07-21 18:09:13.000000000 +0200
+++ new/nvme-stas-1.1.7/meson.build     2022-11-11 18:37:44.000000000 +0100
@@ -9,7 +9,7 @@
 project(
     'nvme-stas',
     meson_version: '>= 0.53.0',
-    version: '1.1.6',
+    version: '1.1.7',
     license: 'Apache-2.0',
     default_options: [
         'buildtype=release',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvme-stas-1.1.6/staslib/avahi.py 
new/nvme-stas-1.1.7/staslib/avahi.py
--- old/nvme-stas-1.1.6/staslib/avahi.py        2022-07-21 18:09:13.000000000 
+0200
+++ new/nvme-stas-1.1.7/staslib/avahi.py        2022-11-11 18:37:44.000000000 
+0100
@@ -408,11 +408,11 @@
         service = (interface, protocol, name, stype, domain)
         if service in self._services:
             self._services[service]['data'] = {
-                'transport':  txt.get('p', 'tcp'),
-                'traddr':     address,
-                'trsvcid':    str(port),
-                'host-iface': socket.if_indextoname(interface),
-                'subsysnqn':  txt.get('NQN', defs.WELL_KNOWN_DISC_NQN)
+                'transport':  txt.get('p', 'tcp').strip(),
+                'traddr':     address.strip(),
+                'trsvcid':    str(port).strip(),
+                'host-iface': socket.if_indextoname(interface).strip(),
+                'subsysnqn':  txt.get('NQN', defs.WELL_KNOWN_DISC_NQN).strip()
                               if conf.NvmeOptions().discovery_supp
                               else defs.WELL_KNOWN_DISC_NQN,
             }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvme-stas-1.1.6/staslib/conf.py 
new/nvme-stas-1.1.7/staslib/conf.py
--- old/nvme-stas-1.1.6/staslib/conf.py 2022-07-21 18:09:13.000000000 +0200
+++ new/nvme-stas-1.1.7/staslib/conf.py 2022-11-11 18:37:44.000000000 +0100
@@ -32,7 +32,7 @@
         if token:
             try:
                 option, val = __OPTION_RE.split(token)
-                options[option] = val
+                options[option.strip()] = val.strip()
             except ValueError:
                 pass
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvme-stas-1.1.6/staslib/ctrl.py 
new/nvme-stas-1.1.7/staslib/ctrl.py
--- old/nvme-stas-1.1.6/staslib/ctrl.py 2022-07-21 18:09:13.000000000 +0200
+++ new/nvme-stas-1.1.7/staslib/ctrl.py 2022-11-11 18:37:44.000000000 +0100
@@ -428,9 +428,9 @@
             referrals_before = self.referrals()
             self._log_pages = (
                 [
-                    {k: str(v) for k, v in dictionary.items()}
+                    {k.strip(): str(v).strip() for k, v in dictionary.items()}
                     for dictionary in data
-                    if dictionary.get('traddr') not in ('0.0.0.0', '::', '')
+                    if dictionary.get('traddr','').strip() not in ('0.0.0.0', 
'::', '')
                 ]
                 if data
                 else list()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvme-stas-1.1.6/staslib/udev.py 
new/nvme-stas-1.1.7/staslib/udev.py
--- old/nvme-stas-1.1.6/staslib/udev.py 2022-07-21 18:09:13.000000000 +0200
+++ new/nvme-stas-1.1.7/staslib/udev.py 2022-11-11 18:37:44.000000000 +0100
@@ -241,6 +241,6 @@
 
 def shutdown():
     '''Destroy the UDEV singleton'''
-    global UDEV  # pylint: disable=global-statement
+    global UDEV  # pylint: 
disable=global-statement,global-variable-not-assigned
     UDEV.release_resources()
     del UDEV

++++++ nvme-stas.obsinfo ++++++
--- /var/tmp/diff_new_pack.YdaLGp/_old  2022-11-16 15:43:18.475819681 +0100
+++ /var/tmp/diff_new_pack.YdaLGp/_new  2022-11-16 15:43:18.479819695 +0100
@@ -1,5 +1,5 @@
 name: nvme-stas
-version: 1.1.6
-mtime: 1658419753
-commit: f2bd997286bcfb013165d37ac647a0194e977844
+version: 1.1.7
+mtime: 1668188264
+commit: 0c6d592f9508bd7c545b9c93886c203d1d2e991c
 

Reply via email to