Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-storage-ng for 
openSUSE:Factory checked in at 2022-08-23 14:25:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-storage-ng.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-storage-ng"

Tue Aug 23 14:25:58 2022 rev:129 rq:997665 version:4.5.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage-ng/yast2-storage-ng.changes        
2022-06-01 17:34:32.634732428 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-storage-ng.new.2083/yast2-storage-ng.changes  
    2022-08-23 14:26:43.383236202 +0200
@@ -1,0 +2,7 @@
+Tue Aug 16 17:42:49 UTC 2022 - Josef Reidinger <[email protected]>
+
+- Adapt to new types of mount by in libstorage-ng. Skipped by now
+  as there is no request to support it. (bsc#1202225)
+- 4.5.8
+
+-------------------------------------------------------------------

Old:
----
  yast2-storage-ng-4.5.7.tar.bz2

New:
----
  yast2-storage-ng-4.5.8.tar.bz2

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

Other differences:
------------------
++++++ yast2-storage-ng.spec ++++++
--- /var/tmp/diff_new_pack.sAh4wR/_old  2022-08-23 14:26:47.903246150 +0200
+++ /var/tmp/diff_new_pack.sAh4wR/_new  2022-08-23 14:26:47.907246160 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage-ng
-Version:        4.5.7
+Version:        4.5.8
 Release:        0
 Summary:        YaST2 - Storage Configuration
 License:        GPL-2.0-only OR GPL-3.0-only

++++++ yast2-storage-ng-4.5.7.tar.bz2 -> yast2-storage-ng-4.5.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-ng-4.5.7/package/yast2-storage-ng.changes 
new/yast2-storage-ng-4.5.8/package/yast2-storage-ng.changes
--- old/yast2-storage-ng-4.5.7/package/yast2-storage-ng.changes 2022-05-31 
15:16:03.000000000 +0200
+++ new/yast2-storage-ng-4.5.8/package/yast2-storage-ng.changes 2022-08-17 
15:32:33.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Tue Aug 16 17:42:49 UTC 2022 - Josef Reidinger <[email protected]>
+
+- Adapt to new types of mount by in libstorage-ng. Skipped by now
+  as there is no request to support it. (bsc#1202225)
+- 4.5.8
+
+-------------------------------------------------------------------
 Tue May 31 13:04:11 UTC 2022 - Stefan Hundhammer <[email protected]>
 
 - Partitioner: Allow min chunk size of 4 KiB (page size) for RAID0 /
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-ng-4.5.7/package/yast2-storage-ng.spec 
new/yast2-storage-ng-4.5.8/package/yast2-storage-ng.spec
--- old/yast2-storage-ng-4.5.7/package/yast2-storage-ng.spec    2022-05-31 
15:16:03.000000000 +0200
+++ new/yast2-storage-ng-4.5.8/package/yast2-storage-ng.spec    2022-08-17 
15:32:33.000000000 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:           yast2-storage-ng
-Version:        4.5.7
+Version:        4.5.8
 Release:        0
 Summary:        YaST2 - Storage Configuration
 License:        GPL-2.0-only OR GPL-3.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-ng-4.5.7/src/lib/y2storage/blk_device.rb 
new/yast2-storage-ng-4.5.8/src/lib/y2storage/blk_device.rb
--- old/yast2-storage-ng-4.5.7/src/lib/y2storage/blk_device.rb  2022-05-31 
15:16:03.000000000 +0200
+++ new/yast2-storage-ng-4.5.8/src/lib/y2storage/blk_device.rb  2022-08-17 
15:32:33.000000000 +0200
@@ -289,13 +289,20 @@
     #   @return [Encryption] nil if the device is not encrypted
     storage_forward :encryption, as: "Encryption", check_with: :has_encryption
 
-    # @!method possible_mount_bys
+    # @!method storage_possible_mount_bys
     #   Possible mount-by methods to reference the block device itself, 
regardless of its content
     #
     #   @see #preferred_name
     #
     #   @return [Array<Filesystems::MountByType>]
-    storage_forward :possible_mount_bys, as: "Filesystems::MountByType"
+    storage_forward :storage_possible_mount_bys, as: 
"Filesystems::MountByType",
+      to: :possible_mount_bys
+    private :storage_possible_mount_bys
+
+    # overwritted possible_mount_bys to contain only supported types
+    def possible_mount_bys
+      storage_possible_mount_bys & Filesystems::MountByType.all
+    end
     private :possible_mount_bys
 
     # Checks whether the device is encrypted
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-ng-4.5.7/src/lib/y2storage/filesystems/mount_by_type.rb 
new/yast2-storage-ng-4.5.8/src/lib/y2storage/filesystems/mount_by_type.rb
--- old/yast2-storage-ng-4.5.7/src/lib/y2storage/filesystems/mount_by_type.rb   
2022-05-31 15:16:03.000000000 +0200
+++ new/yast2-storage-ng-4.5.8/src/lib/y2storage/filesystems/mount_by_type.rb   
2022-08-17 15:32:33.000000000 +0200
@@ -90,6 +90,13 @@
       end
 
       class << self
+        alias_method :storage_all, :all
+
+        # Redefined `.storage_all` method that filter out unsupported values
+        def all
+          storage_all.reject { |t| [PARTUUID, PARTLABEL].include?(t) }
+        end
+
         # Type corresponding to the given fstab spec
         #
         # @param spec [String] content of the first column of an /etc/fstab 
entry
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-ng-4.5.7/src/lib/y2storage/mount_point.rb 
new/yast2-storage-ng-4.5.8/src/lib/y2storage/mount_point.rb
--- old/yast2-storage-ng-4.5.7/src/lib/y2storage/mount_point.rb 2022-05-31 
15:16:03.000000000 +0200
+++ new/yast2-storage-ng-4.5.8/src/lib/y2storage/mount_point.rb 2022-08-17 
15:32:33.000000000 +0200
@@ -183,12 +183,20 @@
     #   Set the mount-by method to the global default, see 
Storage::get_default_mount_by()
     storage_forward :set_default_mount_by, to: :default_mount_by=
 
-    # @!method possible_mount_bys
+    # @!method storage_possible_mount_bys
     #   Returns the possible mount-by methods for the mount point.
     #   LABEL is included even if the filesystem label is not set.
     #
     #   @return [Array<Filesystems::MountByType>]
-    storage_forward :possible_mount_bys, as: "Filesystems::MountByType"
+    storage_forward :storage_possible_mount_bys, as: 
"Filesystems::MountByType",
+      to: :possible_mount_bys
+    private :storage_possible_mount_bys
+
+    # redefine possible_mount_bys to filter out unsupported values
+    # @see #storage_possible_mount_bys
+    def possible_mount_bys
+      storage_possible_mount_bys & Filesystems::MountByType.all
+    end
 
     # @!attribute mount_type
     #   Filesystem type used to mount the device, as specified in fstab and/or

Reply via email to