Hello community, here is the log from the commit of package yast2-storage for openSUSE:Factory checked in at 2014-07-25 12:37:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-07-11 20:05:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 2014-07-25 12:37:16.000000000 +0200 @@ -1,0 +2,17 @@ +Tue Jul 22 10:23:00 CEST 2014 - aschnell@suse.de + +- disable btrfs quota again (see bnc#887046) +- version 3.1.39 + +------------------------------------------------------------------- +Tue Jul 15 13:55:00 CEST 2014 - aschnell@suse.de + +- fixed importing mount points (bnc#887155) +- version 3.1.38 + +------------------------------------------------------------------- +Mon Jul 14 16:07:49 CEST 2014 - aschnell@suse.de + +- fixed initialisation of btrfs subvolumes (bnc#872210) + +------------------------------------------------------------------- @@ -6,0 +24,6 @@ + +------------------------------------------------------------------- +Mon Jul 7 09:37:11 UTC 2014 - mrueckert@suse.de + +- switch to rubygem() based requires so we can easily pass the + preferred ruby version using rb_default_ruby_abi Old: ---- yast2-storage-3.1.37a.tar.bz2 New: ---- yast2-storage-3.1.39.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.q0DxVx/_old 2014-07-25 12:37:17.000000000 +0200 +++ /var/tmp/diff_new_pack.q0DxVx/_new 2014-07-25 12:37:17.000000000 +0200 @@ -17,11 +17,11 @@ Name: yast2-storage -Version: 3.1.37 +Version: 3.1.39 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: %{name}-%{version}a.tar.bz2 +Source0: %{name}-%{version}.tar.bz2 BuildRequires: docbook-xsl-stylesheets BuildRequires: doxygen @@ -31,8 +31,13 @@ BuildRequires: libtool BuildRequires: libxslt BuildRequires: perl-XML-Writer +%if 0%{?suse_version} == 1315 +BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) +BuildRequires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) +%else BuildRequires: rubygem-rspec BuildRequires: rubygem-ruby-dbus +%endif BuildRequires: sgml-skel BuildRequires: update-desktop-files BuildRequires: yast2 >= 3.1.22 @@ -42,7 +47,11 @@ BuildRequires: yast2-testsuite >= 2.19.0 Requires: libstorage-ruby >= 2.25.14 Requires: libstorage5 >= 2.25.14 +%if 0%{?suse_version} == 1315 +Requires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) +%else Requires: rubygem-ruby-dbus +%endif Requires: yast2 >= 3.1.22 Requires: yast2-core >= 2.18.3 Requires: yast2-libyui >= 2.18.7 ++++++ yast2-storage-3.1.37a.tar.bz2 -> yast2-storage-3.1.39.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.37/package/yast2-storage.changes new/yast2-storage-3.1.39/package/yast2-storage.changes --- old/yast2-storage-3.1.37/package/yast2-storage.changes 2014-07-10 12:59:28.000000000 +0200 +++ new/yast2-storage-3.1.39/package/yast2-storage.changes 2014-07-24 15:14:15.000000000 +0200 @@ -1,4 +1,21 @@ ------------------------------------------------------------------- +Tue Jul 22 10:23:00 CEST 2014 - aschnell@suse.de + +- disable btrfs quota again (see bnc#887046) +- version 3.1.39 + +------------------------------------------------------------------- +Tue Jul 15 13:55:00 CEST 2014 - aschnell@suse.de + +- fixed importing mount points (bnc#887155) +- version 3.1.38 + +------------------------------------------------------------------- +Mon Jul 14 16:07:49 CEST 2014 - aschnell@suse.de + +- fixed initialisation of btrfs subvolumes (bnc#872210) + +------------------------------------------------------------------- Thu Jul 10 12:25:03 CEST 2014 - aschnell@suse.de - fixed creating extended partitions in expert partitioner @@ -6,6 +23,12 @@ - version 3.1.37 ------------------------------------------------------------------- +Mon Jul 7 09:37:11 UTC 2014 - mrueckert@suse.de + +- switch to rubygem() based requires so we can easily pass the + preferred ruby version using rb_default_ruby_abi + +------------------------------------------------------------------- Fri Jul 04 14:30:52 CEST 2014 - aschnell@suse.de - added extra dialog to select role of device (fate#317140) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.37/package/yast2-storage.spec new/yast2-storage-3.1.39/package/yast2-storage.spec --- old/yast2-storage-3.1.37/package/yast2-storage.spec 2014-07-10 12:59:28.000000000 +0200 +++ new/yast2-storage-3.1.39/package/yast2-storage.spec 2014-07-24 15:14:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.1.37 +Version: 3.1.39 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -33,8 +33,13 @@ BuildRequires: libstorage-ruby >= 2.25.14 BuildRequires: libxslt BuildRequires: perl-XML-Writer +%if 0%{?suse_version} == 1315 +BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) +BuildRequires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) +%else BuildRequires: rubygem-rspec BuildRequires: rubygem-ruby-dbus +%endif BuildRequires: sgml-skel BuildRequires: update-desktop-files BuildRequires: yast2 >= 3.1.22 @@ -44,7 +49,11 @@ BuildRequires: yast2-testsuite >= 2.19.0 Requires: libstorage-ruby >= 2.25.14 Requires: libstorage5 >= 2.25.14 +%if 0%{?suse_version} == 1315 +Requires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) +%else Requires: rubygem-ruby-dbus +%endif Requires: yast2 >= 3.1.22 Requires: yast2-core >= 2.18.3 Requires: yast2-libyui >= 2.18.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.37/src/include/partitioning/custom_part_dialogs.rb new/yast2-storage-3.1.39/src/include/partitioning/custom_part_dialogs.rb --- old/yast2-storage-3.1.37/src/include/partitioning/custom_part_dialogs.rb 2014-07-10 12:59:28.000000000 +0200 +++ new/yast2-storage-3.1.39/src/include/partitioning/custom_part_dialogs.rb 2014-07-24 15:14:15.000000000 +0200 @@ -1681,7 +1681,10 @@ begin ret = UI.UserInput Builtins.y2milestone("SubvolHandling ret %1", ret) - if ret == :remove + + case ret + + when :remove pth = Convert.to_string(UI.QueryWidget(Id(:subvol), :CurrentItem)) Builtins.y2milestone("SubvolHandling remove path:%1", pth) Builtins.y2milestone( @@ -1707,8 +1710,8 @@ Builtins.y2milestone("SubvolHandling remove items:%1", items) changed = true UI.ChangeWidget(Id(:subvol), :Items, items) - end - if ret == :add + + when :add pth = Convert.to_string(UI.QueryWidget(Id(:new_path), :Value)) svtmp = Ops.add(FileSystems.default_subvol, "/") Builtins.y2milestone( @@ -1728,6 +1731,7 @@ svtmp ) Popup.Message(tmp) + pth = svtmp + pth end if Builtins.contains(SubvolNames(new), pth) Popup.Message( @@ -1747,9 +1751,8 @@ items = SubvolNames(new) UI.ChangeWidget(Id(:subvol), :Items, items) UI.ChangeWidget(Id(:new_path), :Value, "") - end - if ret == :ok + when :ok val = UI.QueryWidget(Id(:snapshots), :Value) if val old_userdata["/"] = "snapshots" @@ -1757,9 +1760,8 @@ old_userdata.delete("/") end Ops.set(new, "userdata", old_userdata) - end - if ret == :cancel + when :cancel if changed if Popup.YesNo( _("Modifications done so far in this dialog will be lost.") @@ -1769,7 +1771,9 @@ ret = :again end end + end + end until ret == :ok || ret == :cancel UI.CloseDialog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.37/src/include/partitioning/custom_part_lib.rb new/yast2-storage-3.1.39/src/include/partitioning/custom_part_lib.rb --- old/yast2-storage-3.1.37/src/include/partitioning/custom_part_lib.rb 2014-07-10 12:59:28.000000000 +0200 +++ new/yast2-storage-3.1.39/src/include/partitioning/custom_part_lib.rb 2014-07-24 15:14:15.000000000 +0200 @@ -694,6 +694,12 @@ UI.ChangeWidget(Id(:fstab_options), :Enabled, !Builtins.isempty(mp)) end end + + # set btrfs subvolumes (bnc#872210) + if init + new = HandleSubvol(new) + end + if init && UI.WidgetExists(Id(:format)) || ret == :do_format || ret == :do_not_format format = UI.QueryWidget(Id(:format), :Value) == :do_format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.37/src/include/partitioning/ep-dialogs.rb new/yast2-storage-3.1.39/src/include/partitioning/ep-dialogs.rb --- old/yast2-storage-3.1.37/src/include/partitioning/ep-dialogs.rb 2014-07-10 12:59:28.000000000 +0200 +++ new/yast2-storage-3.1.39/src/include/partitioning/ep-dialogs.rb 2014-07-24 15:14:15.000000000 +0200 @@ -249,6 +249,7 @@ data["fsid"] = Partitions.fsid_swap data["ori_fsid"] = Partitions.fsid_swap data["used_fs"] = used_fs + data["mount"] = mount_point_proposal when :raw mount_point_proposal = "" @@ -274,6 +275,7 @@ data["fsid"] = Partitions.fsid_native data["ori_fsid"] = Partitions.fsid_native data["used_fs"] = used_fs + data["mount"] = mount_point_proposal end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.37/src/include/partitioning/ep-import.rb new/yast2-storage-3.1.39/src/include/partitioning/ep-import.rb --- old/yast2-storage-3.1.37/src/include/partitioning/ep-import.rb 2014-07-10 12:59:28.000000000 +0200 +++ new/yast2-storage-3.1.39/src/include/partitioning/ep-import.rb 2014-07-24 15:14:15.000000000 +0200 @@ -229,7 +229,7 @@ fstab.each do |fstab_entry| type_fstab = fstab_entry["detected_fs"] - opts_fstab = fstab_entry["fstopt"] + opts_fstab = fstab_entry.fetch("fstopt", "") # YaST cannot handle multiple mount points per device so ignore all # subvolume mounts (bnc #874288) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.37/src/include/partitioning/partition_defines.rb new/yast2-storage-3.1.39/src/include/partitioning/partition_defines.rb --- old/yast2-storage-3.1.37/src/include/partitioning/partition_defines.rb 2014-07-10 12:59:28.000000000 +0200 +++ new/yast2-storage-3.1.39/src/include/partitioning/partition_defines.rb 2014-07-24 15:14:15.000000000 +0200 @@ -103,7 +103,7 @@ free_list = notUsedMountpoints( Storage.GetTargetMap, FileSystems.SuggestMPoints - ) # = filter( string point, base, + ) return Ops.get_string(free_list, 0, "") end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.37/src/modules/FileSystems.rb new/yast2-storage-3.1.39/src/modules/FileSystems.rb --- old/yast2-storage-3.1.37/src/modules/FileSystems.rb 2014-07-10 12:59:28.000000000 +0200 +++ new/yast2-storage-3.1.39/src/modules/FileSystems.rb 2014-07-24 15:14:15.000000000 +0200 @@ -456,15 +456,16 @@ Ops.get(order_m_mpoints, b, 99) ) end - Builtins.y2milestone("SuggestMPoints init:%1", @suggest_m_points) + Builtins.y2milestone("SuggestMPoints ret:%1", @suggest_m_points) end deep_copy(@suggest_m_points) end - def SuggesTmpfsMPoints + + def SuggestTmpfsMPoints if Builtins.size(@suggest_tmp_points) == 0 @suggest_tmp_points = ["/run", "/var/run", "/tmp", "/var/lock"] - Builtins.y2milestone("SuggesTmpfsMPoints init:%1", @suggest_tmp_points) + Builtins.y2milestone("SuggestTmpfsMPoints ret:%1", @suggest_tmp_points) end deep_copy(@suggest_tmp_points) end @@ -1296,7 +1297,7 @@ }, :tmpfs => { :name => "TmpFS", - :mountpoints => SuggesTmpfsMPoints(), + :mountpoints => SuggestTmpfsMPoints(), :mount_string => "tmpfs", :mount_option => "-t tmpfs", :fst_options => @tmpfs_fst_options @@ -2016,7 +2017,7 @@ publish :variable => :default_subvol, :type => "string" publish :variable => :nchars, :type => "string" publish :function => :SuggestMPoints, :type => "list <string> ()" - publish :function => :SuggesTmpfsMPoints, :type => "list <string> ()" + publish :function => :SuggestTmpfsMPoints, :type => "list <string> ()" publish :function => :GetGeneralFstabOptions, :type => "list