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-11-24 14:05:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old) and /work/SRC/openSUSE:Factory/.libstorage-ng.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng" Mon Nov 24 14:05:26 2025 rev:317 rq:1319139 version:4.5.279 Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2025-11-20 14:47:44.495691873 +0100 +++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.14147/libstorage-ng.changes 2025-11-24 14:05:50.220828806 +0100 @@ -1,0 +2,9 @@ +Fri Nov 21 15:22:53 UTC 2025 - [email protected] + +- merge gh#openSUSE/libstorage-ng#1042 +- added bcachefs to used features names +- added testcase +- fixed comment +- 4.5.279 + +-------------------------------------------------------------------- Old: ---- libstorage-ng-4.5.278.tar.xz New: ---- libstorage-ng-4.5.279.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage-ng.spec ++++++ --- /var/tmp/diff_new_pack.8Ybauo/_old 2025-11-24 14:05:51.268872837 +0100 +++ /var/tmp/diff_new_pack.8Ybauo/_new 2025-11-24 14:05:51.272873006 +0100 @@ -18,7 +18,7 @@ %define libname %{name}1 Name: libstorage-ng -Version: 4.5.278 +Version: 4.5.279 Release: 0 Summary: Library for storage management License: GPL-2.0-only ++++++ libstorage-ng-4.5.278.tar.xz -> libstorage-ng-4.5.279.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.278/VERSION new/libstorage-ng-4.5.279/VERSION --- old/libstorage-ng-4.5.278/VERSION 2025-11-19 10:54:22.000000000 +0100 +++ new/libstorage-ng-4.5.279/VERSION 2025-11-21 16:22:53.000000000 +0100 @@ -1 +1 @@ -4.5.278 +4.5.279 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.278/storage/UsedFeatures.cc new/libstorage-ng-4.5.279/storage/UsedFeatures.cc --- old/libstorage-ng-4.5.278/storage/UsedFeatures.cc 2025-11-19 10:54:22.000000000 +0100 +++ new/libstorage-ng-4.5.279/storage/UsedFeatures.cc 2025-11-21 16:22:53.000000000 +0100 @@ -57,7 +57,7 @@ "multipath", "bcache", "iscsi", "fcoe", "fc", "dasd", "quota", "snapshot", "f2fs", "exfat", "udf", "plain-encryption", "bitlocker", "nvme", - "pmem", "nilfs2" }; + "pmem", "nilfs2", "bcachefs" }; vector<string> tmp; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.278/testsuite/Makefile.am new/libstorage-ng-4.5.279/testsuite/Makefile.am --- old/libstorage-ng-4.5.278/testsuite/Makefile.am 2025-11-19 10:54:22.000000000 +0100 +++ new/libstorage-ng-4.5.279/testsuite/Makefile.am 2025-11-21 16:22:53.000000000 +0100 @@ -20,7 +20,7 @@ encryption2.test lvm1.test lvm-pv-usable-size.test graphviz.test \ copy-individual.test mountpoint.test bcache1.test graph.test \ restore.test set-source.test valid-names.test mount-by2.test \ - resize1.test partition-id.test \ + resize1.test partition-id.test used-features.test \ fstab-encoding.test crypttab-encoding.test AM_DEFAULT_SOURCE_EXT = .cc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.278/testsuite/SystemInfo/pvs.cc new/libstorage-ng-4.5.279/testsuite/SystemInfo/pvs.cc --- old/libstorage-ng-4.5.278/testsuite/SystemInfo/pvs.cc 2025-11-19 10:54:22.000000000 +0100 +++ new/libstorage-ng-4.5.279/testsuite/SystemInfo/pvs.cc 2025-11-21 16:22:53.000000000 +0100 @@ -80,7 +80,7 @@ BOOST_AUTO_TEST_CASE(parse2) { - // The device reported pv name can be different from the provided pv name. + // The reported pv name can be different from the queried pv name. vector<string> input = { " {", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.278/testsuite/used-features.cc new/libstorage-ng-4.5.279/testsuite/used-features.cc --- old/libstorage-ng-4.5.278/testsuite/used-features.cc 1970-01-01 01:00:00.000000000 +0100 +++ new/libstorage-ng-4.5.279/testsuite/used-features.cc 2025-11-21 16:22:53.000000000 +0100 @@ -0,0 +1,30 @@ + +#define BOOST_TEST_DYN_LINK +#define BOOST_TEST_MODULE libstorage + +#include <boost/test/unit_test.hpp> + +#include "storage/UsedFeatures.h" + + +using namespace storage; + + +BOOST_AUTO_TEST_CASE(test1) +{ + BOOST_CHECK_EQUAL(get_used_features_names(0), ""); + + BOOST_CHECK_EQUAL(get_used_features_names(UF_EXT2), "ext2"); + BOOST_CHECK_EQUAL(get_used_features_names(UF_EXT4), "ext4"); + BOOST_CHECK_EQUAL(get_used_features_names(UF_BTRFS), "btrfs"); + BOOST_CHECK_EQUAL(get_used_features_names(UF_XFS), "xfs"); + BOOST_CHECK_EQUAL(get_used_features_names(UF_BCACHEFS), "bcachefs"); + + BOOST_CHECK_EQUAL(get_used_features_names(UF_EXT4 | UF_XFS), "ext4 xfs"); + + BOOST_CHECK_EQUAL(get_used_features_names(UF_LVM | UF_MDRAID | UF_LUKS), "luks lvm md-raid"); + + BOOST_CHECK_EQUAL(get_used_features_names(UF_DASD), "dasd"); + BOOST_CHECK_EQUAL(get_used_features_names(UF_NVME), "nvme"); + BOOST_CHECK_EQUAL(get_used_features_names(UF_FCOE), "fcoe"); +}
