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 2022-07-11 19:08:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old) and /work/SRC/openSUSE:Factory/.libstorage-ng.new.1523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng" Mon Jul 11 19:08:13 2022 rev:174 rq:988334 version:4.5.27 Changes: -------- --- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2022-07-05 12:27:40.501888066 +0200 +++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.1523/libstorage-ng.changes 2022-07-11 19:08:17.803515469 +0200 @@ -1,0 +2,15 @@ +Mon Jul 11 10:27:50 UTC 2022 - aschn...@suse.com + +- merge gh#openSUSE/libstorage-ng#887 +- added unit tests +- code reuse +- more defensive programming +- 4.5.27 + +-------------------------------------------------------------------- +Sun Jul 10 10:15:35 UTC 2022 - opensuse-packag...@opensuse.org + +- Translated using Weblate (Indonesian) (bsc#1149754) +- 4.5.26 + +-------------------------------------------------------------------- Old: ---- libstorage-ng-4.5.25.tar.xz New: ---- libstorage-ng-4.5.27.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage-ng.spec ++++++ --- /var/tmp/diff_new_pack.c7QXXH/_old 2022-07-11 19:08:18.331516203 +0200 +++ /var/tmp/diff_new_pack.c7QXXH/_new 2022-07-11 19:08:18.335516208 +0200 @@ -18,7 +18,7 @@ %define libname %{name}1 Name: libstorage-ng -Version: 4.5.25 +Version: 4.5.27 Release: 0 Summary: Library for storage management License: GPL-2.0-only ++++++ libstorage-ng-4.5.25.tar.xz -> libstorage-ng-4.5.27.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/VERSION new/libstorage-ng-4.5.27/VERSION --- old/libstorage-ng-4.5.25/VERSION 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/VERSION 2022-07-11 12:27:50.000000000 +0200 @@ -1 +1 @@ -4.5.25 +4.5.27 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/po/id.po new/libstorage-ng-4.5.27/po/id.po --- old/libstorage-ng-4.5.25/po/id.po 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/po/id.po 2022-07-11 12:27:50.000000000 +0200 @@ -10,10 +10,10 @@ "Project-Id-Version: YaST (@memory@)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-06-03 14:35+0200\n" -"PO-Revision-Date: 2022-01-12 07:12+0000\n" +"PO-Revision-Date: 2022-07-10 13:12+0000\n" "Last-Translator: Kukuh Syafaat <syafaatku...@gmail.com>\n" -"Language-Team: Indonesian <https://l10n.opensuse.org/projects/libstorage/ng-" -"master/id/>\n" +"Language-Team: Indonesian <https://l10n.opensuse.org/projects/libstorage/" +"ng-master/id/>\n" "Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -110,14 +110,14 @@ msgstr "Aktifkan volume logical pool %1$s (%2$s) pada grup volume %3$s" #. TRANSLATORS: progress message -#, fuzzy, c-format +#, c-format msgid "Activating BitLocker %s" -msgstr "Mengaktifkan LUKS %s" +msgstr "Mengaktifkan BitLocker %s" #. TRANSLATORS: error message -#, fuzzy, c-format +#, c-format msgid "Activating BitLocker %s failed" -msgstr "Gagal mengaktifkan LUKS %s" +msgstr "Mengaktifkan BitLocker %s gagal" #. TRANSLATORS: progress message #, c-format @@ -2218,7 +2218,7 @@ #. TRANSLATORS: name of partition type msgid "Linux Server Data" -msgstr "" +msgstr "Data Peladen Linux" #. TRANSLATORS: name of partition type msgid "Linux Swap" @@ -2367,7 +2367,7 @@ #. TRANSLATORS: name of object msgid "NILFS2" -msgstr "" +msgstr "NILFS2" #. TRANSLATORS: name of object msgid "NTFS" @@ -2401,14 +2401,12 @@ msgid "Plain Encryption" msgstr "Enkripsi Polos" -#, fuzzy msgid "Probing BitLocker" -msgstr "BitLocker" +msgstr "Menjajaki BitLocker" #. TRANSLATORS: error message -#, fuzzy msgid "Probing BitLocker failed" -msgstr "Gagal memeriksa diska" +msgstr "Menjajaki BitLocker gagal" #. TRANSLATORS: error message #, c-format @@ -3205,7 +3203,7 @@ #. TRANSLATORS: name of partition type msgid "Unknown" -msgstr "" +msgstr "Tidak Diketahui" #. TRANSLATORS: displayed before action, #. %1$s is replaced by one or more device names (e.g /dev/sda1 (1.00 GiB) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/storage/StorageImpl.h new/libstorage-ng-4.5.27/storage/StorageImpl.h --- old/libstorage-ng-4.5.25/storage/StorageImpl.h 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/storage/StorageImpl.h 2022-07-11 12:27:50.000000000 +0200 @@ -208,6 +208,16 @@ }; + + // std::move for Storage would require updating various back-references. So check + // that no move-semantic is available. + + static_assert(!std::is_move_constructible<Storage>::value, "Storage ought not to be move-constructable"); + static_assert(!std::is_move_assignable<Storage>::value, "Storage ought not to be move-assignable"); + + static_assert(!std::is_move_constructible<Storage::Impl>::value, "Storage::Impl ought not to be move-constructable"); + static_assert(!std::is_move_assignable<Storage::Impl>::value, "Storage::Impl ought not to be move-assignable"); + } #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/storage/Utils/AlignmentImpl.h new/libstorage-ng-4.5.27/storage/Utils/AlignmentImpl.h --- old/libstorage-ng-4.5.25/storage/Utils/AlignmentImpl.h 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/storage/Utils/AlignmentImpl.h 2022-07-11 12:27:50.000000000 +0200 @@ -70,10 +70,17 @@ AlignType align_type; Topology topology; - unsigned long extra_grain; + unsigned long extra_grain = 0; }; + + static_assert(std::is_move_constructible<Alignment>::value, "Alignment ought to be move-constructable"); + static_assert(std::is_move_assignable<Alignment>::value, "Alignment ought to be move-assignable"); + + static_assert(std::is_move_constructible<Alignment::Impl>::value, "Alignment::Impl ought to be move-constructable"); + static_assert(std::is_move_assignable<Alignment::Impl>::value, "Alignment::Impl ought to be move-assignable"); + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/storage/Utils/RegionImpl.h new/libstorage-ng-4.5.27/storage/Utils/RegionImpl.h --- old/libstorage-ng-4.5.25/storage/Utils/RegionImpl.h 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/storage/Utils/RegionImpl.h 2022-07-11 12:27:50.000000000 +0200 @@ -92,6 +92,13 @@ }; + + static_assert(std::is_move_constructible<Region>::value, "Region ought to be move-constructable"); + static_assert(std::is_move_assignable<Region>::value, "Region ought to be move-assignable"); + + static_assert(std::is_move_constructible<Region::Impl>::value, "Region::Impl ought to be move-constructable"); + static_assert(std::is_move_assignable<Region::Impl>::value, "Region::Impl ought to be move-assignable"); + } #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/storage/Utils/TopologyImpl.h new/libstorage-ng-4.5.27/storage/Utils/TopologyImpl.h --- old/libstorage-ng-4.5.25/storage/Utils/TopologyImpl.h 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/storage/Utils/TopologyImpl.h 2022-07-11 12:27:50.000000000 +0200 @@ -65,12 +65,19 @@ static const unsigned long default_minimal_grain = 1 * MiB; - long alignment_offset; - unsigned long optimal_io_size; - unsigned long minimal_grain; + long alignment_offset = 0; + unsigned long optimal_io_size = 0; + unsigned long minimal_grain = default_minimal_grain; }; + + static_assert(std::is_move_constructible<Topology>::value, "Topology ought to be move-constructable"); + static_assert(std::is_move_assignable<Topology>::value, "Topology ought to be move-assignable"); + + static_assert(std::is_move_constructible<Topology::Impl>::value, "Topology::Impl ought to be move-constructable"); + static_assert(std::is_move_assignable<Topology::Impl>::value, "Topology::Impl ought to be move-assignable"); + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/testsuite/Utils/udev-encoding.cc new/libstorage-ng-4.5.27/testsuite/Utils/udev-encoding.cc --- old/libstorage-ng-4.5.25/testsuite/Utils/udev-encoding.cc 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/testsuite/Utils/udev-encoding.cc 2022-07-11 12:27:50.000000000 +0200 @@ -26,6 +26,10 @@ BOOST_CHECK_EQUAL(udev_encode("ending "), "ending\\x20"); BOOST_CHECK_EQUAL(udev_encode("woody's"), "woody\\x27s"); + + BOOST_CHECK_EQUAL(udev_encode("A/B image"), "A\\x2fB\\x20image"); + + BOOST_CHECK_EQUAL(udev_encode("sch??n"), "sch??n"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/testsuite/btrfs.cc new/libstorage-ng-4.5.27/testsuite/btrfs.cc --- old/libstorage-ng-4.5.25/testsuite/btrfs.cc 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/testsuite/btrfs.cc 2022-07-11 12:27:50.000000000 +0200 @@ -14,21 +14,13 @@ #include "storage/Storage.h" #include "storage/Environment.h" +#include "helpers/output.h" + using namespace std; using namespace storage; -namespace std -{ - ostream& - operator<<(ostream& s, MountByType mount_my) - { - return s << get_mount_by_name(mount_my); - } -} - - BOOST_AUTO_TEST_CASE(btrfs1) { Environment environment(true, ProbeMode::NONE, TargetMode::DIRECT); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/testsuite/helpers/Makefile.am new/libstorage-ng-4.5.27/testsuite/helpers/Makefile.am --- old/libstorage-ng-4.5.25/testsuite/helpers/Makefile.am 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/testsuite/helpers/Makefile.am 2022-07-11 12:27:50.000000000 +0200 @@ -6,7 +6,8 @@ libhelpers_la_SOURCES = \ TsCmp.cc TsCmp.h \ - CallbacksRecorder.cc CallbacksRecorder.h + CallbacksRecorder.cc CallbacksRecorder.h \ + output.h noinst_PROGRAMS = \ echoargs \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/testsuite/helpers/output.h new/libstorage-ng-4.5.27/testsuite/helpers/output.h --- old/libstorage-ng-4.5.25/testsuite/helpers/output.h 1970-01-01 01:00:00.000000000 +0100 +++ new/libstorage-ng-4.5.27/testsuite/helpers/output.h 2022-07-11 12:27:50.000000000 +0200 @@ -0,0 +1,12 @@ + + +using namespace storage; + + +namespace std +{ + ostream& operator<<(ostream& s, MountByType mount_my) + { + return s << get_mount_by_name(mount_my); + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-ng-4.5.25/testsuite/mount-by.cc new/libstorage-ng-4.5.27/testsuite/mount-by.cc --- old/libstorage-ng-4.5.25/testsuite/mount-by.cc 2022-07-04 14:19:59.000000000 +0200 +++ new/libstorage-ng-4.5.27/testsuite/mount-by.cc 2022-07-11 12:27:50.000000000 +0200 @@ -20,18 +20,10 @@ #include "storage/Filesystems/Mountable.h" #include "storage/Filesystems/MountPoint.h" - -using namespace storage; +#include "helpers/output.h" -namespace std -{ - ostream& - operator<<(ostream& s, MountByType mount_my) - { - return s << get_mount_by_name(mount_my); - } -} +using namespace storage; BOOST_AUTO_TEST_CASE(test_global)