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-03-08 20:31:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage-ng.new.2349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage-ng"

Tue Mar  8 20:31:25 2022 rev:155 rq:959852 version:4.4.93

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes      
2022-02-24 18:18:49.202732573 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.2349/libstorage-ng.changes    
2022-03-11 11:46:48.002898180 +0100
@@ -1,0 +2,7 @@
+Mon Mar 7 11:04:17 UTC 2022 - aschn...@suse.com
+
+- merge gh#openSUSE/libstorage-ng#862
+- log some environment variables
+- 4.4.93
+
+--------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.QHS7CI/_old  2022-03-11 11:46:48.482897703 +0100
+++ /var/tmp/diff_new_pack.QHS7CI/_new  2022-03-11 11:46:48.486897700 +0100
@@ -18,7 +18,7 @@
 
 %define libname %{name}1
 Name:           libstorage-ng
-Version:        4.4.92
+Version:        4.4.93
 Release:        0
 Summary:        Library for storage management
 License:        GPL-2.0-only

++++++ libstorage-ng-4.4.92.tar.xz -> libstorage-ng-4.4.93.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.92/VERSION 
new/libstorage-ng-4.4.93/VERSION
--- old/libstorage-ng-4.4.92/VERSION    2022-02-23 20:12:35.000000000 +0100
+++ new/libstorage-ng-4.4.93/VERSION    2022-03-07 12:04:17.000000000 +0100
@@ -1 +1 @@
-4.4.92
+4.4.93
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.92/storage/EnvironmentImpl.cc 
new/libstorage-ng-4.4.93/storage/EnvironmentImpl.cc
--- old/libstorage-ng-4.4.92/storage/EnvironmentImpl.cc 2022-02-23 
20:12:35.000000000 +0100
+++ new/libstorage-ng-4.4.93/storage/EnvironmentImpl.cc 2022-03-07 
12:04:17.000000000 +0100
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) [2014-2015] Novell, Inc.
- * Copyright (c) [2018-2021] SUSE LLC
+ * Copyright (c) [2018-2022] SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -21,6 +21,7 @@
  */
 
 
+#include <langinfo.h>
 #include <string.h>
 #include <ostream>
 
@@ -139,4 +140,29 @@
        return read_env_var("LIBSTORAGE_PFSOEMS", true);
     }
 
+
+    void
+    Environment::Impl::extra_log()
+    {
+       y2mil("codeset " << nl_langinfo(CODESET));
+
+       const char* env_vars[] = {
+           "PATH",
+           "LD_LIBRARY_PATH",
+           "LD_PRELOAD",
+           "LIBSTORAGE_BTRFS_QGROUPS",
+           "LIBSTORAGE_MULTIPLE_DEVICES_BTRFS",
+           "LIBSTORAGE_PFSOEMS",
+           "LIBSTORAGE_BTRFS_SNAPSHOT_RELATIONS",
+           "LIBSTORAGE_DEVELOPER_MODE",
+       };
+
+       for (const char* env_var : env_vars)
+       {
+           const char* value = getenv(env_var);
+           if (value)
+               y2mil(env_var << "=" << value);
+       }
+    }
+
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.92/storage/EnvironmentImpl.h 
new/libstorage-ng-4.4.93/storage/EnvironmentImpl.h
--- old/libstorage-ng-4.4.92/storage/EnvironmentImpl.h  2022-02-23 
20:12:35.000000000 +0100
+++ new/libstorage-ng-4.4.93/storage/EnvironmentImpl.h  2022-03-07 
12:04:17.000000000 +0100
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) [2014-2015] Novell, Inc.
- * Copyright (c) [2018-2021] SUSE LLC
+ * Copyright (c) [2018-2022] SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -61,6 +61,8 @@
 
        friend std::ostream& operator<<(std::ostream& out, const Impl& 
environment);
 
+       static void extra_log();
+
     private:
 
        const bool read_only;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.4.92/storage/StorageImpl.cc 
new/libstorage-ng-4.4.93/storage/StorageImpl.cc
--- old/libstorage-ng-4.4.92/storage/StorageImpl.cc     2022-02-23 
20:12:35.000000000 +0100
+++ new/libstorage-ng-4.4.93/storage/StorageImpl.cc     2022-03-07 
12:04:17.000000000 +0100
@@ -21,8 +21,6 @@
  */
 
 
-#include <langinfo.h>
-
 #include "config.h"
 #include "storage/Utils/AppUtil.h"
 #include "storage/Utils/Mockup.h"
@@ -57,7 +55,8 @@
        y2mil("constructed Storage with " << environment);
        y2mil("libstorage-ng version " VERSION);
        y2mil("timestamp " << timestamp());
-       y2mil("codeset " << nl_langinfo(CODESET));
+
+       Environment::Impl::extra_log();
 
        create_devicegraph("probed");
        copy_devicegraph("probed", "staging");

Reply via email to