Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2025-01-24 13:39:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old) and /work/SRC/openSUSE:Factory/.libstorage-ng.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng" Fri Jan 24 13:39:22 2025 rev:285 rq:1239962 version:4.5.226 Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2025-01-21 21:10:10.970254284 +0100 +++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.2316/libstorage-ng.changes 2025-01-24 13:39:24.676196311 +0100 @@ -1,0 +2,10 @@ +Thu Jan 23 16:34:27 UTC 2025 - [email protected] + +- merge gh#openSUSE/libstorage-ng#1008 +- add additional udevadm settle call +- added note +- mark snapper related functions as deprecated +- avoid deprecated functions in testsuite +- 4.5.226 + +-------------------------------------------------------------------- Old: ---- libstorage-ng-4.5.225.tar.xz New: ---- libstorage-ng-4.5.226.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage-ng.spec ++++++ --- /var/tmp/diff_new_pack.Oz6emx/_old 2025-01-24 13:39:25.280221258 +0100 +++ /var/tmp/diff_new_pack.Oz6emx/_new 2025-01-24 13:39:25.284221423 +0100 @@ -18,7 +18,7 @@ %define libname %{name}1 Name: libstorage-ng -Version: 4.5.225 +Version: 4.5.226 Release: 0 Summary: Library for storage management License: GPL-2.0-only ++++++ libstorage-ng-4.5.225.tar.xz -> libstorage-ng-4.5.226.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/VERSION new/libstorage-ng-4.5.226/VERSION --- old/libstorage-ng-4.5.225/VERSION 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/VERSION 2025-01-23 17:34:27.000000000 +0100 @@ -1 +1 @@ -4.5.225 +4.5.226 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/bcache/delete.py new/libstorage-ng-4.5.226/integration-tests/bcache/delete.py --- old/libstorage-ng-4.5.225/integration-tests/bcache/delete.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/bcache/delete.py 2025-01-23 17:34:27.000000000 +0100 @@ -19,13 +19,13 @@ print(staging) sdc1 = Partition.find_by_name(staging, "/dev/sdc1") -sdc1.remove_descendants() +sdc1.remove_descendants(View_REMOVE) sdc2 = Partition.find_by_name(staging, "/dev/sdc2") -sdc2.remove_descendants() +sdc2.remove_descendants(View_REMOVE) sdd1 = Partition.find_by_name(staging, "/dev/sdd1") -sdd1.remove_descendants() +sdd1.remove_descendants(View_REMOVE) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/filesystems/btrfs/multiple-devices/delete.py new/libstorage-ng-4.5.226/integration-tests/filesystems/btrfs/multiple-devices/delete.py --- old/libstorage-ng-4.5.225/integration-tests/filesystems/btrfs/multiple-devices/delete.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/filesystems/btrfs/multiple-devices/delete.py 2025-01-23 17:34:27.000000000 +0100 @@ -19,7 +19,7 @@ print(staging) sdc1 = Partition.find_by_name(staging, "/dev/sdc1") -sdc1.remove_descendants() +sdc1.remove_descendants(View_REMOVE) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/filesystems/delete-nfs.py new/libstorage-ng-4.5.226/integration-tests/filesystems/delete-nfs.py --- old/libstorage-ng-4.5.225/integration-tests/filesystems/delete-nfs.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/filesystems/delete-nfs.py 2025-01-23 17:34:27.000000000 +0100 @@ -20,7 +20,7 @@ nfs = Nfs.find_by_server_and_path(staging, "dist", "/dist") -nfs.remove_descendants() +nfs.remove_descendants(View_REMOVE) staging.remove_device(nfs) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/filesystems/delete-tmpfs.py new/libstorage-ng-4.5.226/integration-tests/filesystems/delete-tmpfs.py --- old/libstorage-ng-4.5.225/integration-tests/filesystems/delete-tmpfs.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/filesystems/delete-tmpfs.py 2025-01-23 17:34:27.000000000 +0100 @@ -27,7 +27,7 @@ mount_point = tmpfs.get_mount_point() if mount_point.get_path() == "/test": - tmpfs.remove_descendants() + tmpfs.remove_descendants(View_REMOVE) staging.remove_device(tmpfs) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/lvm/create-complete.py new/libstorage-ng-4.5.226/integration-tests/lvm/create-complete.py --- old/libstorage-ng-4.5.225/integration-tests/lvm/create-complete.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/lvm/create-complete.py 2025-01-23 17:34:27.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/python3 -# requirements: disk /dev/sdb with empty partitions sdb1 and sdb2 +# requirements: disk /dev/sdc with empty partitions sdc1 and sdd1 from sys import exit @@ -17,12 +17,12 @@ staging = storage.get_staging() -sdb1 = Partition.find_by_name(staging, "/dev/sdb1") -sdb2 = Partition.find_by_name(staging, "/dev/sdb2") +sdc1 = Partition.find_by_name(staging, "/dev/sdc1") +sdd1 = Partition.find_by_name(staging, "/dev/sdd1") test = LvmVg.create(staging, "test") -test.add_lvm_pv(sdb1) -test.add_lvm_pv(sdb2) +test.add_lvm_pv(sdc1) +test.add_lvm_pv(sdd1) test.create_lvm_lv("1", LvType_NORMAL, 1 * GiB) test.create_lvm_lv("2", LvType_NORMAL, 1 * GiB) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/lvm/create-vg.py new/libstorage-ng-4.5.226/integration-tests/lvm/create-vg.py --- old/libstorage-ng-4.5.225/integration-tests/lvm/create-vg.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/lvm/create-vg.py 2025-01-23 17:34:27.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/python3 -# requirements: empty partitions sdb1 and sdc1 +# requirements: empty partitions sdc1 and sdd1 from sys import exit @@ -17,12 +17,12 @@ staging = storage.get_staging() -sdb1 = Partition.find_by_name(staging, "/dev/sdb1") sdc1 = Partition.find_by_name(staging, "/dev/sdc1") +sdd1 = Partition.find_by_name(staging, "/dev/sdd1") test = LvmVg.create(staging, "test") -test.add_lvm_pv(sdb1) test.add_lvm_pv(sdc1) +test.add_lvm_pv(sdd1) test.set_extent_size(128 * MiB) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/lvm/delete-complete.py new/libstorage-ng-4.5.226/integration-tests/lvm/delete-complete.py --- old/libstorage-ng-4.5.225/integration-tests/lvm/delete-complete.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/lvm/delete-complete.py 2025-01-23 17:34:27.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/python3 -# requirements: disk /dev/sdb with lvm on partition sdb1 and sdb2 +# requirements: disk /dev/sdc with lvm on partition sdc1 and sdd1 from sys import exit @@ -17,11 +17,11 @@ staging = storage.get_staging() -sdb1 = Partition.find_by_name(staging, "/dev/sdb1") -sdb1.remove_descendants() +sdc1 = Partition.find_by_name(staging, "/dev/sdc1") +sdc1.remove_descendants(View_REMOVE) -sdb2 = Partition.find_by_name(staging, "/dev/sdb2") -sdb2.remove_descendants() +sdd1 = Partition.find_by_name(staging, "/dev/sdd1") +sdd1.remove_descendants(View_REMOVE) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/lvm/resize-info-pv.py new/libstorage-ng-4.5.226/integration-tests/lvm/resize-info-pv.py --- old/libstorage-ng-4.5.225/integration-tests/lvm/resize-info-pv.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/lvm/resize-info-pv.py 2025-01-23 17:34:27.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/python3 -# requirements: lvm vg test with physical volume /dev/sdb1 +# requirements: lvm vg test with physical volume /dev/sdc1 from sys import exit @@ -19,9 +19,9 @@ print(probed) -sdb1 = BlkDevice.find_by_name(probed, "/dev/sdb1") +sdc1 = BlkDevice.find_by_name(probed, "/dev/sdc1") -resize_info = sdb1.detect_resize_info() +resize_info = sdc1.detect_resize_info() print(resize_info) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/md/delete-named.py new/libstorage-ng-4.5.226/integration-tests/md/delete-named.py --- old/libstorage-ng-4.5.225/integration-tests/md/delete-named.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/md/delete-named.py 2025-01-23 17:34:27.000000000 +0100 @@ -18,7 +18,7 @@ md_test = Md.find_by_name(staging, "/dev/md/test") -md_test.remove_descendants() +md_test.remove_descendants(View_REMOVE) staging.remove_device(md_test) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/md/delete.py new/libstorage-ng-4.5.226/integration-tests/md/delete.py --- old/libstorage-ng-4.5.225/integration-tests/md/delete.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/md/delete.py 2025-01-23 17:34:27.000000000 +0100 @@ -18,7 +18,7 @@ md0 = Md.find_by_name(staging, "/dev/md0") -md0.remove_descendants() +md0.remove_descendants(View_REMOVE) staging.remove_device(md0) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/mount-points/delete.py new/libstorage-ng-4.5.226/integration-tests/mount-points/delete.py --- old/libstorage-ng-4.5.225/integration-tests/mount-points/delete.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/mount-points/delete.py 2025-01-23 17:34:27.000000000 +0100 @@ -24,7 +24,7 @@ for descendant in blk_filesystem.get_descendants(False): if is_mount_point(descendant): - blk_filesystem.remove_descendants() + blk_filesystem.remove_descendants(View_REMOVE) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/partition-tables/create-dasd.py new/libstorage-ng-4.5.226/integration-tests/partition-tables/create-dasd.py --- old/libstorage-ng-4.5.225/integration-tests/partition-tables/create-dasd.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/partition-tables/create-dasd.py 2025-01-23 17:34:27.000000000 +0100 @@ -25,7 +25,7 @@ partitionable = Partitionable.find_by_name(staging, "/dev/dasdb") -partitionable.remove_descendants() +partitionable.remove_descendants(View_REMOVE) partitionable.create_partition_table(PtType_DASD) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/partition-tables/create-gpt.py new/libstorage-ng-4.5.226/integration-tests/partition-tables/create-gpt.py --- old/libstorage-ng-4.5.225/integration-tests/partition-tables/create-gpt.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/partition-tables/create-gpt.py 2025-01-23 17:34:27.000000000 +0100 @@ -20,7 +20,7 @@ partitionable = Partitionable.find_by_name(staging, "/dev/sdc") -partitionable.remove_descendants() +partitionable.remove_descendants(View_REMOVE) partitionable.create_partition_table(PtType_GPT) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/partition-tables/create-implicit.py new/libstorage-ng-4.5.226/integration-tests/partition-tables/create-implicit.py --- old/libstorage-ng-4.5.225/integration-tests/partition-tables/create-implicit.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/partition-tables/create-implicit.py 2025-01-23 17:34:27.000000000 +0100 @@ -20,7 +20,7 @@ partitionable = Partitionable.find_by_name(staging, "/dev/dasdb") -partitionable.remove_descendants() +partitionable.remove_descendants(View_REMOVE) partitionable.create_partition_table(PtType_IMPLICIT) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/partition-tables/create-msdos.py new/libstorage-ng-4.5.226/integration-tests/partition-tables/create-msdos.py --- old/libstorage-ng-4.5.225/integration-tests/partition-tables/create-msdos.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/partition-tables/create-msdos.py 2025-01-23 17:34:27.000000000 +0100 @@ -20,7 +20,7 @@ partitionable = Partitionable.find_by_name(staging, "/dev/sdc") -partitionable.remove_descendants() +partitionable.remove_descendants(View_REMOVE) partitionable.create_partition_table(PtType_MSDOS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/partition-tables/delete.py new/libstorage-ng-4.5.226/integration-tests/partition-tables/delete.py --- old/libstorage-ng-4.5.225/integration-tests/partition-tables/delete.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/partition-tables/delete.py 2025-01-23 17:34:27.000000000 +0100 @@ -20,7 +20,7 @@ partitionable = Partitionable.find_by_name(staging, "/dev/sdc") -partitionable.remove_descendants() +partitionable.remove_descendants(View_REMOVE) # print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/integration-tests/plain-encryption/delete.py new/libstorage-ng-4.5.226/integration-tests/plain-encryption/delete.py --- old/libstorage-ng-4.5.225/integration-tests/plain-encryption/delete.py 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/integration-tests/plain-encryption/delete.py 2025-01-23 17:34:27.000000000 +0100 @@ -19,7 +19,7 @@ sdc1 = Partition.find_by_name(staging, "/dev/sdc1") -sdc1.remove_descendants() +sdc1.remove_descendants(View_REMOVE) print(staging) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/storage/Devices/MdImpl.cc new/libstorage-ng-4.5.226/storage/Devices/MdImpl.cc --- old/libstorage-ng-4.5.225/storage/Devices/MdImpl.cc 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/storage/Devices/MdImpl.cc 2025-01-23 17:34:27.000000000 +0100 @@ -610,6 +610,8 @@ void Md::Impl::probe_uuid() { + udev_settle(); + // Note: The UUID reported by mdadm has a different format than reported by // e.g. blkid. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/storage/Filesystems/Btrfs.h new/libstorage-ng-4.5.226/storage/Filesystems/Btrfs.h --- old/libstorage-ng-4.5.225/storage/Filesystems/Btrfs.h 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/storage/Filesystems/Btrfs.h 2025-01-23 17:34:27.000000000 +0100 @@ -270,8 +270,8 @@ */ static std::vector<const Btrfs*> get_all(const Devicegraph* devicegraph); - bool get_configure_snapper() const; - void set_configure_snapper(bool configure); + bool get_configure_snapper() const ST_DEPRECATED; + void set_configure_snapper(bool configure) ST_DEPRECATED; public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/storage/Utils/Udev.h new/libstorage-ng-4.5.226/storage/Utils/Udev.h --- old/libstorage-ng-4.5.225/storage/Utils/Udev.h 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/storage/Utils/Udev.h 2025-01-23 17:34:27.000000000 +0100 @@ -44,7 +44,11 @@ public: + /** + * Settle iff flag is set. + */ void settle(); + void set_settle_needed(); private: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/testsuite/CompoundAction/bcache-sentence.cc new/libstorage-ng-4.5.226/testsuite/CompoundAction/bcache-sentence.cc --- old/libstorage-ng-4.5.225/testsuite/CompoundAction/bcache-sentence.cc 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/testsuite/CompoundAction/bcache-sentence.cc 2025-01-23 17:34:27.000000000 +0100 @@ -64,7 +64,7 @@ bcache0 = disk0->create_bcache( "/dev/bcache0" ); if(cset) - bcache0->add_bcache_cset( cset0 ); + bcache0->attach_bcache_cset(cset0); } @@ -74,7 +74,7 @@ bcache1 = disk1->create_bcache( "/dev/bcache1" ); if(cset) - bcache1->add_bcache_cset( cset1 ); + bcache1->attach_bcache_cset(cset1); } Disk* disk0 = nullptr; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.225/testsuite/bcache1.cc new/libstorage-ng-4.5.226/testsuite/bcache1.cc --- old/libstorage-ng-4.5.225/testsuite/bcache1.cc 2025-01-21 11:42:57.000000000 +0100 +++ new/libstorage-ng-4.5.226/testsuite/bcache1.cc 2025-01-23 17:34:27.000000000 +0100 @@ -59,7 +59,7 @@ } -BOOST_AUTO_TEST_CASE(remove_bcache_cset) +BOOST_AUTO_TEST_CASE(detach_bcache_cset) { Environment environment(true, ProbeMode::READ_DEVICEGRAPH, TargetMode::DIRECT); environment.set_devicegraph_filename("probe/bcache1-devicegraph.xml"); @@ -76,7 +76,7 @@ BOOST_CHECK_EQUAL(bcache1->has_bcache_cset(), true); BOOST_CHECK_EQUAL(bcache2->has_bcache_cset(), true); - bcache1->remove_bcache_cset(); + bcache1->detach_bcache_cset(); BOOST_CHECK_EQUAL(bcache1->has_bcache_cset(), false); BOOST_CHECK_EQUAL(bcache2->has_bcache_cset(), true);
