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 2023-03-15 18:54:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage-ng.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage-ng"

Wed Mar 15 18:54:09 2023 rev:207 rq:1071967 version:4.5.85

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes      
2023-03-13 12:40:05.535477913 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.31432/libstorage-ng.changes   
2023-03-15 18:54:16.652309942 +0100
@@ -1,0 +2,14 @@
+Wed Mar 15 07:58:39 UTC 2023 - aschn...@suse.com
+
+- merge gh#openSUSE/libstorage-ng#918
+- allow trailing space when parsing btrfs version (bsc#1209252)
+- 4.5.85
+
+--------------------------------------------------------------------
+Tue Mar 14 15:39:05 UTC 2023 - aschn...@suse.com
+
+- merge gh#openSUSE/libstorage-ng#917
+- extended error logging
+- 4.5.84
+
+--------------------------------------------------------------------

Old:
----
  libstorage-ng-4.5.83.tar.xz

New:
----
  libstorage-ng-4.5.85.tar.xz

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

Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.hjtkmr/_old  2023-03-15 18:54:17.636315176 +0100
+++ /var/tmp/diff_new_pack.hjtkmr/_new  2023-03-15 18:54:17.680315410 +0100
@@ -18,7 +18,7 @@
 
 %define libname %{name}1
 Name:           libstorage-ng
-Version:        4.5.83
+Version:        4.5.85
 Release:        0
 Summary:        Library for storage management
 License:        GPL-2.0-only

++++++ libstorage-ng-4.5.83.tar.xz -> libstorage-ng-4.5.85.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.83/VERSION 
new/libstorage-ng-4.5.85/VERSION
--- old/libstorage-ng-4.5.83/VERSION    2023-03-12 09:14:29.000000000 +0100
+++ new/libstorage-ng-4.5.85/VERSION    2023-03-15 08:58:39.000000000 +0100
@@ -1 +1 @@
-4.5.83
+4.5.85
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.83/storage/SystemInfo/CmdBtrfs.cc 
new/libstorage-ng-4.5.85/storage/SystemInfo/CmdBtrfs.cc
--- old/libstorage-ng-4.5.83/storage/SystemInfo/CmdBtrfs.cc     2023-03-12 
09:14:29.000000000 +0100
+++ new/libstorage-ng-4.5.85/storage/SystemInfo/CmdBtrfs.cc     2023-03-15 
08:58:39.000000000 +0100
@@ -626,13 +626,13 @@
     void
     BtrfsVersion::parse_version(const string& version)
     {
-       // example versions: "6.0", "6.0.2"
-       const regex version_rx("btrfs-progs 
v([0-9]+)\\.([0-9]+)(\\.([0-9]+)?)?", regex::extended);
+       // example versions: "5.14 " (yes, with a trailing space), "6.0", 
"6.0.2"
+       const regex version_rx("btrfs-progs v([0-9]+)\\.([0-9]+)(\\.([0-9]+))?( 
)*", regex::extended);
 
        smatch match;
 
        if (!regex_match(version, match, version_rx))
-           ST_THROW(Exception("failed to parse btrfs version"));
+           ST_THROW(Exception("failed to parse btrfs version '" + version + 
"'"));
 
        major = stoi(match[1]);
        minor = stoi(match[2]);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.83/storage/SystemInfo/CmdParted.cc 
new/libstorage-ng-4.5.85/storage/SystemInfo/CmdParted.cc
--- old/libstorage-ng-4.5.83/storage/SystemInfo/CmdParted.cc    2023-03-12 
09:14:29.000000000 +0100
+++ new/libstorage-ng-4.5.85/storage/SystemInfo/CmdParted.cc    2023-03-15 
08:58:39.000000000 +0100
@@ -687,7 +687,7 @@
        smatch match;
 
        if (!regex_match(version, match, version_rx))
-           ST_THROW(Exception("failed to parse parted version"));
+           ST_THROW(Exception("failed to parse parted version '" + version + 
"'"));
 
        major = stoi(match[1]);
        minor = stoi(match[2]);

Reply via email to