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 2024-03-13 22:16:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage-ng.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage-ng"

Wed Mar 13 22:16:34 2024 rev:268 rq:1156946 version:4.5.202

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes      
2024-03-08 18:07:38.782705671 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.1770/libstorage-ng.changes    
2024-03-13 22:16:58.624736816 +0100
@@ -1,0 +2,7 @@
+Mon Mar 11 13:46:33 UTC 2024 - aschn...@suse.com
+
+- merge gh#openSUSE/libstorage-ng#991
+- added ruby example
+- 4.5.202
+
+--------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.QJYVdn/_old  2024-03-13 22:16:59.308761980 +0100
+++ /var/tmp/diff_new_pack.QJYVdn/_new  2024-03-13 22:16:59.308761980 +0100
@@ -18,7 +18,7 @@
 
 %define libname %{name}1
 Name:           libstorage-ng
-Version:        4.5.201
+Version:        4.5.202
 Release:        0
 Summary:        Library for storage management
 License:        GPL-2.0-only

++++++ libstorage-ng-4.5.201.tar.xz -> libstorage-ng-4.5.202.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.201/VERSION 
new/libstorage-ng-4.5.202/VERSION
--- old/libstorage-ng-4.5.201/VERSION   2024-03-07 08:15:04.000000000 +0100
+++ new/libstorage-ng-4.5.202/VERSION   2024-03-11 14:46:33.000000000 +0100
@@ -1 +1 @@
-4.5.201
+4.5.202
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.201/bindings/ruby/examples/lvm.rb 
new/libstorage-ng-4.5.202/bindings/ruby/examples/lvm.rb
--- old/libstorage-ng-4.5.201/bindings/ruby/examples/lvm.rb     1970-01-01 
01:00:00.000000000 +0100
+++ new/libstorage-ng-4.5.202/bindings/ruby/examples/lvm.rb     2024-03-11 
14:46:33.000000000 +0100
@@ -0,0 +1,25 @@
+#!/usr/bin/ruby
+
+require 'storage'
+
+
+environment = Storage::Environment.new(true)
+
+storage = Storage::Storage.new(environment)
+storage.probe()
+
+staging = storage.staging()
+
+partition = Storage::Partition::find_by_name(staging, "/dev/sdc1")
+lvm_vg = Storage::LvmVg::create(staging, "test")
+lvm_vg.add_lvm_pv(partition)
+lvm_lv = lvm_vg.create_lvm_lv("foo", 1 * 1024 * 1024 * 1024)
+ext4 = lvm_lv.create_blk_filesystem(Storage::FsType_EXT4)
+mount_point = ext4.create_mount_point("/test")
+mount_point.in_etc_fstab = false
+
+actiongraph = storage.calculate_actiongraph()
+
+for action in actiongraph.commit_actions()
+  puts Storage::string(actiongraph, action)
+end

Reply via email to