Hello community, here is the log from the commit of package yast2-storage for openSUSE:Factory checked in at 2014-10-05 20:29:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-09-26 10:51:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 2014-10-05 20:29:11.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Oct 01 13:56:52 CEST 2014 - [email protected] + +- removed some code only used by dropped yast2-repair +- version 3.1.46 + +------------------------------------------------------------------- Old: ---- yast2-storage-3.1.45.tar.bz2 New: ---- yast2-storage-3.1.46.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.AJTtgs/_old 2014-10-05 20:29:12.000000000 +0200 +++ /var/tmp/diff_new_pack.AJTtgs/_new 2014-10-05 20:29:12.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.1.45 +Version: 3.1.46 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-storage-3.1.45.tar.bz2 -> yast2-storage-3.1.46.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/package/yast2-storage.changes new/yast2-storage-3.1.46/package/yast2-storage.changes --- old/yast2-storage-3.1.45/package/yast2-storage.changes 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/package/yast2-storage.changes 2014-10-01 14:08:14.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Oct 01 13:56:52 CEST 2014 - [email protected] + +- removed some code only used by dropped yast2-repair +- version 3.1.46 + +------------------------------------------------------------------- Thu Sep 18 16:34:43 CEST 2014 - [email protected] - fixed btrfs subvolume handling for non-root devices (bnc#895075) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/package/yast2-storage.spec new/yast2-storage-3.1.46/package/yast2-storage.spec --- old/yast2-storage-3.1.45/package/yast2-storage.spec 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/package/yast2-storage.spec 2014-10-01 14:08:14.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.1.45 +Version: 3.1.46 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/src/clients/inst_disk.rb new/yast2-storage-3.1.46/src/clients/inst_disk.rb --- old/yast2-storage-3.1.45/src/clients/inst_disk.rb 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/src/clients/inst_disk.rb 2014-10-01 14:08:14.000000000 +0200 @@ -68,7 +68,7 @@ Storage.CreateTargetBackup("disk") if !Storage.CheckBackupState("disk") - @handle_dialog = Mode.normal || Mode.repair + @handle_dialog = Mode.normal if @handle_dialog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/src/include/partitioning/custom_part_dialogs.rb new/yast2-storage-3.1.46/src/include/partitioning/custom_part_dialogs.rb --- old/yast2-storage-3.1.45/src/include/partitioning/custom_part_dialogs.rb 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/src/include/partitioning/custom_part_dialogs.rb 2014-10-01 14:08:14.000000000 +0200 @@ -1397,60 +1397,6 @@ end - #FIXME: y2-repair uses this, need to find - #a better place for it - def ReallyInstPrepdisk - ret = :none - - doto = Storage.ChangeText - Builtins.y2milestone("ReallyInstPrepdisk doto:%1", doto) - - if Builtins.size(doto) == 0 - # popup text - Popup.Message(_("No unsaved changes exist.")) - ret = :back - else - dlg = VBox( - VSpacing(1), - HSpacing(60), - # label text - Left(Heading(_("Changes:"))), - RichText(doto) - ) - - UI.OpenDialog( - Opt(:decorated, :warncolor), - HBox( - HSpacing(1), - VBox( - dlg, - VSpacing(1), - # popup text - Heading(_(" Do you really want to execute these changes?")), - VSpacing(1), - HBox( - PushButton(Id(:back), Label.CancelButton), - HStretch(), - # button text - PushButton(Id(:apply), _("&Apply")), - PushButton(Id(:finish), Label.FinishButton) - ), - VSpacing(0.2) - ), - HSpacing(1) - ) - ) - - ret = Convert.to_symbol(UI.UserInput) - UI.CloseDialog - end - - Builtins.y2milestone("ReallyInstPrepdisk ret=%1", ret) - - ret - end - - # Delete all partition in targetMap from the device "del_dev" and return # a new targetMap. # Check if LVM partition exists on the device. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/src/include/partitioning/custom_part_lib.rb new/yast2-storage-3.1.46/src/include/partitioning/custom_part_lib.rb --- old/yast2-storage-3.1.45/src/include/partitioning/custom_part_lib.rb 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/src/include/partitioning/custom_part_lib.rb 2014-10-01 14:08:14.000000000 +0200 @@ -929,13 +929,7 @@ FileSystemOptions(Ops.get_map(new, "fs_options", {}), selected_fs) ) end - if Mode.repair - UI.ChangeWidget(Id(:do_mount), :Enabled, false) - UI.ChangeWidget(Id(:do_not_mount), :Enabled, false) - UI.ChangeWidget(Id(:do_mount_attachment), :Enabled, false) - UI.ChangeWidget(Id(:fstab_options), :Enabled, false) - UI.ChangeWidget(Id(:crypt_fs), :Enabled, false) - end + Builtins.y2milestone("HandlePartWidgetChanges old:%1", old) Builtins.y2milestone("HandlePartWidgetChanges new:%1", new) deep_copy(new) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/src/include/partitioning/ep-main.rb new/yast2-storage-3.1.46/src/include/partitioning/ep-main.rb --- old/yast2-storage-3.1.45/src/include/partitioning/ep-main.rb 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/src/include/partitioning/ep-main.rb 2014-10-01 14:08:14.000000000 +0200 @@ -706,7 +706,7 @@ StorageSettings.GetModified if !check_created_partition_table( Storage.GetTargetMap, - Stage.initial && !Mode.repair + Stage.initial ) widget = :again else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/src/modules/Storage.rb new/yast2-storage-3.1.46/src/modules/Storage.rb --- old/yast2-storage-3.1.45/src/modules/Storage.rb 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/src/modules/Storage.rb 2014-10-01 14:08:14.000000000 +0200 @@ -4532,7 +4532,7 @@ tmp = AddSwapMp(tmp) end CreateTargetBackup("initial") - if (Stage.initial || Mode.repair) && !Mode.autoinst + if Stage.initial && !Mode.autoinst AddMountPointsForWin(tmp) end Ops.set(@StorageMap, @targets_key, GetTargetMap()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/src/modules/StorageDevices.rb new/yast2-storage-3.1.46/src/modules/StorageDevices.rb --- old/yast2-storage-3.1.45/src/modules/StorageDevices.rb 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/src/modules/StorageDevices.rb 2014-10-01 14:08:14.000000000 +0200 @@ -280,21 +280,6 @@ Ops.greater_than(Builtins.size(@cd_drives), 0) end - def cddrives - ProbeCDROMs() if @cd_drives == nil - deep_copy(@cd_drives) - end - - def GetCdromEntry(device) - ret = {} - Builtins.y2milestone("GetCdromEntry device %1", device) - ret = Builtins.find(@cd_drives) do |e| - Ops.get_string(e, "dev_orig", Ops.get_string(e, "dev_name", "")) == device - end - ret = {} if ret == nil - Builtins.y2milestone("GetCdromEntry ret %1", ret) - deep_copy(ret) - end # FloppyReady () # @return floppy media status @@ -664,10 +649,7 @@ nil end - publish :function => :cddrives, :type => "list <map> ()" - publish :function => :GetCdromEntry, :type => "map (string)" publish :function => :FloppyReady, :type => "boolean ()" - publish :function => :ZipDrives, :type => "map <string, map> ()" publish :function => :FloppyPresent, :type => "boolean ()" publish :function => :FloppyDevice, :type => "string ()" publish :function => :FloppyDrives, :type => "list <map> ()" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.45/src/modules/StorageInit.rb new/yast2-storage-3.1.46/src/modules/StorageInit.rb --- old/yast2-storage-3.1.45/src/modules/StorageInit.rb 2014-09-24 17:00:23.000000000 +0200 +++ new/yast2-storage-3.1.46/src/modules/StorageInit.rb 2014-10-01 14:08:14.000000000 +0200 @@ -66,7 +66,7 @@ env.instsys ) env.testmode = Mode.test; env.autodetect = !Mode.test; - env.instsys = Stage.initial || Mode.repair; + env.instsys = Stage.initial Builtins.y2milestone("ro:%1 test:%2 auto:%3 instsys:%4", env.readonly, env.testmode, env.autodetect, env.instsys ) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
