Hello community,

here is the log from the commit of package yast2-storage for openSUSE:Factory 
checked in at 2017-03-20 17:04:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-storage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-storage"

Mon Mar 20 17:04:51 2017 rev:290 rq:479258 version:3.2.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes      
2017-03-13 15:29:48.705411633 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 
2017-03-20 17:04:53.001514385 +0100
@@ -1,0 +2,6 @@
+Tue Mar 14 10:24:01 CET 2017 - snw...@suse.de
+
+- in simple_mode, block installation unless snapshots are enabled (bsc#1019652)
+- 3.2.9
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.mNyXUu/_old  2017-03-20 17:04:53.613427983 +0100
+++ /var/tmp/diff_new_pack.mNyXUu/_new  2017-03-20 17:04:53.617427418 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        3.2.8
+Version:        3.2.9
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-storage-3.2.8.tar.bz2 -> yast2-storage-3.2.9.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.2.8/package/yast2-storage.changes 
new/yast2-storage-3.2.9/package/yast2-storage.changes
--- old/yast2-storage-3.2.8/package/yast2-storage.changes       2017-03-09 
13:06:31.467111309 +0100
+++ new/yast2-storage-3.2.9/package/yast2-storage.changes       2017-03-14 
15:03:58.180625056 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Tue Mar 14 10:24:01 CET 2017 - snw...@suse.de
+
+- in simple_mode, block installation unless snapshots are enabled (bsc#1019652)
+- 3.2.9
+
+-------------------------------------------------------------------
 Tue Feb  7 16:59:55 CET 2017 - shundham...@suse.de
 
 - Warn user in expert partitioner if Btrfs root partition is too
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.2.8/package/yast2-storage.spec 
new/yast2-storage-3.2.9/package/yast2-storage.spec
--- old/yast2-storage-3.2.8/package/yast2-storage.spec  2017-03-09 
13:06:31.471111309 +0100
+++ new/yast2-storage-3.2.9/package/yast2-storage.spec  2017-03-14 
15:03:58.180625056 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        3.2.8
+Version:        3.2.9
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-storage-3.2.8/src/clients/partitions_proposal.rb 
new/yast2-storage-3.2.9/src/clients/partitions_proposal.rb
--- old/yast2-storage-3.2.8/src/clients/partitions_proposal.rb  2017-03-09 
13:06:31.511111309 +0100
+++ new/yast2-storage-3.2.9/src/clients/partitions_proposal.rb  2017-03-14 
15:03:58.196625056 +0100
@@ -86,6 +86,14 @@
           Builtins.y2milestone("prop=%1", @prop)
         end
 
+        if @param["simple_mode"] && 
StorageProposal.CouldNotDoSnapshots(Storage.GetTargetMap)
+          Storage.SetPartProposalMode("impossible")
+          Builtins.y2milestone("no snapshots, rejecting proposal")
+          @ret["warning"] =
+            _("No snapshots possible.\nPlease use larger root partition.")
+          @ret["warning_level"] = :blocker
+        end
+
         if Storage.GetPartProposalMode != "impossible" ||
             !Storage.GetPartProposalActive
           Ops.set(@ret, "preformatted_proposal", Storage.ChangeText)
@@ -101,16 +109,11 @@
             Ops.set(@ret, "warning_level", :warning)
           end
         else
-          Ops.set(@ret, "raw_proposal", [])
+          @ret["raw_proposal"] = []
           # popup text
-          Ops.set(
-            @ret,
-            "warning",
-            _(
-              "No automatic proposal possible.\nSpecify mount points manually 
in the 'Partitioner' dialog."
-            )
-          )
-          Ops.set(@ret, "warning_level", :blocker)
+          @ret["warning"] ||=
+            _("No automatic proposal possible.\nSpecify mount points manually 
in the 'Partitioner' dialog.")
+          @ret["warning_level"] = :blocker
         end
 
         if @param["simple_mode"]


Reply via email to