Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-rtslib-fb for 
openSUSE:Factory checked in at 2023-10-06 21:12:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rtslib-fb (Old)
 and      /work/SRC/openSUSE:Factory/.python-rtslib-fb.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rtslib-fb"

Fri Oct  6 21:12:31 2023 rev:33 rq:1115776 version:2.1.76

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rtslib-fb/python-rtslib-fb.changes        
2023-04-22 21:59:27.464856766 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-rtslib-fb.new.28202/python-rtslib-fb.changes 
    2023-10-06 21:12:32.495732932 +0200
@@ -1,0 +2,10 @@
+Thu Oct 05 09:08:31 UTC 2023 - dmuel...@suse.com
+
+- Update to version v2.1.76:
+  * version 2.1.76
+  * rtslib: remove the limit of 255 max mapped LUNs
+  * setup.py: match __version__ with optional trailing ".g<hash>".
+  * rtslib: Don't create /var/run on import
+  * Fix inability to create ACLs for some FC cards
+
+-------------------------------------------------------------------

Old:
----
  python-rtslib-fb-v2.1.75.tar.xz

New:
----
  python-rtslib-fb-v2.1.76.tar.xz

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

Other differences:
------------------
++++++ python-rtslib-fb.spec ++++++
--- /var/tmp/diff_new_pack.yRsvEc/_old  2023-10-06 21:12:33.979786548 +0200
+++ /var/tmp/diff_new_pack.yRsvEc/_new  2023-10-06 21:12:33.979786548 +0200
@@ -26,7 +26,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %{?sle15_python_module_pythons}
 Name:           python-rtslib-fb
-Version:        2.1.75
+Version:        2.1.76
 Release:        0%{?dist}
 Summary:        API for Linux kernel SCSI target (aka LIO)
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.yRsvEc/_old  2023-10-06 21:12:34.015787849 +0200
+++ /var/tmp/diff_new_pack.yRsvEc/_new  2023-10-06 21:12:34.015787849 +0200
@@ -7,7 +7,7 @@
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(\d*\.\d*\.)fb(\d*)</param>
     <param name="versionrewrite-replacement">\1\2</param>
-    <param name="revision">v2.1.75</param>
+    <param name="revision">v2.1.76</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.yRsvEc/_old  2023-10-06 21:12:34.035788571 +0200
+++ /var/tmp/diff_new_pack.yRsvEc/_new  2023-10-06 21:12:34.039788716 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
             <param 
name="url">https://github.com/open-iscsi/rtslib-fb.git</param>
-          <param 
name="changesrevision">5469e71cfc47a5a869dae6bc7c1e0b2db7ae4c6a</param></service></servicedata>
+          <param 
name="changesrevision">745d51a46e6718e34c59b728fd96ec08bbf906dc</param></service></servicedata>
 (No newline at EOF)
 

++++++ python-rtslib-fb-v2.1.75.tar.xz -> python-rtslib-fb-v2.1.76.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rtslib-fb-v2.1.75/.gitignore 
new/python-rtslib-fb-v2.1.76/.gitignore
--- old/python-rtslib-fb-v2.1.75/.gitignore     1970-01-01 01:00:00.000000000 
+0100
+++ new/python-rtslib-fb-v2.1.76/.gitignore     2023-05-29 13:32:52.000000000 
+0200
@@ -0,0 +1,22 @@
+debian/changelog
+dpkg-buildpackage.log
+dpkg-buildpackage.version
+*.swp
+*.swo
+build-stamp
+build/*
+debian/files
+debian/python-rtslib.debhelper.log
+debian/python-rtslib.substvars
+debian/python-rtslib/
+debian/rtslib-doc.debianebhelper.log
+debian/rtslib-doc.substvars
+debian/rtslib-doc/
+debian/tmp/
+dist/*
+doc/*
+*.pyc
+debian/python-rtslib.substvars
+debian/rtslib-doc.debhelper.log
+debian/tmp/
+rtslib-*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rtslib-fb-v2.1.75/rtslib/__init__.py 
new/python-rtslib-fb-v2.1.76/rtslib/__init__.py
--- old/python-rtslib-fb-v2.1.75/rtslib/__init__.py     2022-05-02 
14:16:07.000000000 +0200
+++ new/python-rtslib-fb-v2.1.76/rtslib/__init__.py     2023-05-29 
13:32:52.000000000 +0200
@@ -36,7 +36,7 @@
 
 from .alua import ALUATargetPortGroup
 
-__version__ = '2.1.75'
+__version__ = '2.1.76'
 __author__ = "Jerome Martin <j...@risingtidesystems.com>"
 __url__ = 'http://github.com/open-iscsi/rtslib-fb'
 __description__ = 'API for Linux kernel SCSI target (aka LIO)'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rtslib-fb-v2.1.75/rtslib/target.py 
new/python-rtslib-fb-v2.1.76/rtslib/target.py
--- old/python-rtslib-fb-v2.1.75/rtslib/target.py       2022-05-02 
14:16:07.000000000 +0200
+++ new/python-rtslib-fb-v2.1.76/rtslib/target.py       2023-05-29 
13:32:52.000000000 +0200
@@ -1060,8 +1060,6 @@
     the initiator node as the MappedLUN.
     '''
 
-    MAX_LUN = 255
-
     # MappedLUN private stuff
 
     def __repr__(self):
@@ -1108,9 +1106,8 @@
         except ValueError:
             raise RTSLibError("The mapped_lun parameter must be an " \
                               + "integer value")
-
-        if self._mapped_lun < 0 or self._mapped_lun > self.MAX_LUN:
-            raise RTSLibError("Mapped LUN must be 0 to %d" % self.MAX_LUN)
+        if self._mapped_lun < 0:
+            raise RTSLibError("Mapped LUN must be >= 0")
 
         self._path = "%s/lun_%d" % (self.parent_nodeacl.path, self.mapped_lun)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rtslib-fb-v2.1.75/rtslib/tcm.py 
new/python-rtslib-fb-v2.1.76/rtslib/tcm.py
--- old/python-rtslib-fb-v2.1.75/rtslib/tcm.py  2022-05-02 14:16:07.000000000 
+0200
+++ new/python-rtslib-fb-v2.1.76/rtslib/tcm.py  2023-05-29 13:32:52.000000000 
+0200
@@ -34,8 +34,6 @@
 from .utils import get_size_for_blk_dev, get_size_for_disk_name
 
 lock_file = '/var/run/rtslib_backstore.lock'
-if not os.path.exists('/var/run'):
-    os.makedirs('/var/run')
 
 def storage_object_get_alua_support_attr(so):
     '''
@@ -1001,6 +999,8 @@
                                      (self._plugin, name))
             else:
                 # Allocate new index value
+                if not os.path.exists('/var/run'):
+                    os.makedirs('/var/run')
                 lkfd = open(lock_file, 'w+')
                 fcntl.flock(lkfd, fcntl.LOCK_EX)
                 indexes = set(bs_cache.values())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rtslib-fb-v2.1.75/rtslib/utils.py 
new/python-rtslib-fb-v2.1.76/rtslib/utils.py
--- old/python-rtslib-fb-v2.1.75/rtslib/utils.py        2022-05-02 
14:16:07.000000000 +0200
+++ new/python-rtslib-fb-v2.1.76/rtslib/utils.py        2023-05-29 
13:32:52.000000000 +0200
@@ -388,7 +388,7 @@
         re.match(r"iqn\.[0-9]{4}-[0-1][0-9]\..*\..*", wwn) \
         and not re.search(' ', wwn) \
         and not re.search('_', wwn),
-    'naa': lambda wwn: re.match(r"naa\.[125][0-9a-fA-F]{15}$", wwn),
+    'naa': lambda wwn: re.match(r"naa\.[125c-fC-F][0-9a-fA-F]{15}$", wwn),
     'eui': lambda wwn: re.match(r"eui\.[0-9a-f]{16}$", wwn),
     'ib': lambda wwn: re.match(r"ib\.[0-9a-f]{32}$", wwn),
     'unit_serial': lambda wwn: \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-rtslib-fb-v2.1.75/setup.py 
new/python-rtslib-fb-v2.1.76/setup.py
--- old/python-rtslib-fb-v2.1.75/setup.py       2022-05-02 14:16:07.000000000 
+0200
+++ new/python-rtslib-fb-v2.1.76/setup.py       2023-05-29 13:32:52.000000000 
+0200
@@ -25,7 +25,7 @@
 
 with open(init_file_path) as f:
     for line in f:
-        match = re.match(r"__version__.*'([0-9.]+)'", line)
+        match = re.match(r"__version__.*'([0-9.]+)(\.g[0-9a-f]+)?'", line)
         if match:
             version = match.group(1)
             break

Reply via email to