Hello community,

here is the log from the commit of package yast2-storage for openSUSE:Factory 
checked in at 2014-05-14 10:26:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-storage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-storage"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes      
2014-05-10 08:32:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 
2014-05-14 10:26:07.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May 12 11:14:45 CEST 2014 - [email protected]
+
+- flush /etc/sysconfig/yast2 after enabling use of snapper
+- version 3.1.23
+
+-------------------------------------------------------------------

Old:
----
  yast2-storage-3.1.23.tar.bz2

New:
----
  yast2-storage-3.1.24.tar.bz2

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

Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.UsY6Im/_old  2014-05-14 10:26:08.000000000 +0200
+++ /var/tmp/diff_new_pack.UsY6Im/_new  2014-05-14 10:26:08.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        3.1.23
+Version:        3.1.24
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-storage-3.1.23.tar.bz2 -> yast2-storage-3.1.24.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.23/package/yast2-storage.changes 
new/yast2-storage-3.1.24/package/yast2-storage.changes
--- old/yast2-storage-3.1.23/package/yast2-storage.changes      2014-05-07 
18:29:43.000000000 +0200
+++ new/yast2-storage-3.1.24/package/yast2-storage.changes      2014-05-12 
11:24:46.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon May 12 11:14:45 CEST 2014 - [email protected]
+
+- flush /etc/sysconfig/yast2 after enabling use of snapper
+- version 3.1.23
+
+-------------------------------------------------------------------
 Wed May 07 18:12:42 CEST 2014 - [email protected]
 
 - fixed transition between disk labels in proposal (bnc#875113)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.23/package/yast2-storage.spec 
new/yast2-storage-3.1.24/package/yast2-storage.spec
--- old/yast2-storage-3.1.23/package/yast2-storage.spec 2014-05-07 
18:29:43.000000000 +0200
+++ new/yast2-storage-3.1.24/package/yast2-storage.spec 2014-05-12 
11:24:46.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        3.1.23
+Version:        3.1.24
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.23/src/modules/StorageUtils.rb 
new/yast2-storage-3.1.24/src/modules/StorageUtils.rb
--- old/yast2-storage-3.1.23/src/modules/StorageUtils.rb        2014-05-07 
18:29:43.000000000 +0200
+++ new/yast2-storage-3.1.24/src/modules/StorageUtils.rb        2014-05-12 
11:24:46.000000000 +0200
@@ -27,6 +27,10 @@
 
   class StorageUtilsClass < Module
 
+
+    include Yast::Logger
+
+
     def main
 
       textdomain "storage"
@@ -41,14 +45,15 @@
       if part.fetch("used_fs", :unknown) == :btrfs
         userdata = part.fetch("userdata", {})
         if userdata.fetch("/", "") == "snapshots"
-          Builtins.y2milestone("configuring snapper for root fs")
+          log.info("configuring snapper for root fs")
           if SCR.Execute(path(".target.bash"), "/usr/bin/snapper --no-dbus 
create-config " <<
                          "--fstype=btrfs --add-fstab /") == 0
             SCR.Execute(path(".target.bash"), "/usr/bin/snapper --no-dbus 
set-config " <<
                         "NUMBER_CLEANUP=yes NUMBER_LIMIT=20 
NUMBER_LIMIT_IMPORTANT=10")
             SCR.Write(path(".sysconfig.yast2.USE_SNAPPER"), "yes")
+            SCR.Write(path(".sysconfig.yast2"), nil)
           else
-            Builtins.y2error("configuring snapper for root fs failed")
+            log.error("configuring snapper for root fs failed")
           end
         end
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.1.23/test/storage_utils_configure_snapper_test.rb 
new/yast2-storage-3.1.24/test/storage_utils_configure_snapper_test.rb
--- old/yast2-storage-3.1.23/test/storage_utils_configure_snapper_test.rb       
2014-05-07 18:29:43.000000000 +0200
+++ new/yast2-storage-3.1.24/test/storage_utils_configure_snapper_test.rb       
2014-05-12 11:24:46.000000000 +0200
@@ -25,7 +25,7 @@
     Yast::SCR.should_receive(:Execute).exactly(2).times.and_return(0)
 
     Yast::SCR.stub(:Write).and_return(1)
-    Yast::SCR.should_receive(:Write).exactly(1).times.and_return(0)
+    Yast::SCR.should_receive(:Write).exactly(2).times.and_return(0)
 
     Yast::StorageUtils.ConfigureSnapper()
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to