Hello community, here is the log from the commit of package yast2-kdump for openSUSE:Factory checked in at 2020-01-11 14:47:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-kdump (Old) and /work/SRC/openSUSE:Factory/.yast2-kdump.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-kdump" Sat Jan 11 14:47:28 2020 rev:98 rq:762121 version:4.2.7 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-kdump/yast2-kdump.changes 2019-11-20 10:25:10.990537722 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-kdump.new.6675/yast2-kdump.changes 2020-01-11 14:47:35.929363934 +0100 @@ -1,0 +2,7 @@ +Wed Jan 8 14:25:28 CET 2020 - sch...@suse.de + +- Showing default (expected) values for high/low kdump memory. + (bsc#1153940) +- 4.2.7 + +------------------------------------------------------------------- Old: ---- yast2-kdump-4.2.6.tar.bz2 New: ---- yast2-kdump-4.2.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-kdump.spec ++++++ --- /var/tmp/diff_new_pack.zIo8l8/_old 2020-01-11 14:47:36.397364117 +0100 +++ /var/tmp/diff_new_pack.zIo8l8/_new 2020-01-11 14:47:36.397364117 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-kdump # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-kdump -Version: 4.2.6 +Version: 4.2.7 Release: 0 Summary: Configuration of kdump License: GPL-2.0-only ++++++ yast2-kdump-4.2.6.tar.bz2 -> yast2-kdump-4.2.7.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.2.6/package/yast2-kdump.changes new/yast2-kdump-4.2.7/package/yast2-kdump.changes --- old/yast2-kdump-4.2.6/package/yast2-kdump.changes 2019-10-30 12:36:22.000000000 +0100 +++ new/yast2-kdump-4.2.7/package/yast2-kdump.changes 2020-01-09 12:00:54.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Jan 8 14:25:28 CET 2020 - sch...@suse.de + +- Showing default (expected) values for high/low kdump memory. + (bsc#1153940) +- 4.2.7 + +------------------------------------------------------------------- Wed Oct 30 10:48:37 UTC 2019 - Josef Reidinger <jreidin...@suse.com> - fix crash for empty kdump section (related to change for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.2.6/package/yast2-kdump.spec new/yast2-kdump-4.2.7/package/yast2-kdump.spec --- old/yast2-kdump-4.2.6/package/yast2-kdump.spec 2019-10-30 12:36:22.000000000 +0100 +++ new/yast2-kdump-4.2.7/package/yast2-kdump.spec 2020-01-09 12:00:54.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-kdump -Version: 4.2.6 +Version: 4.2.7 Release: 0 Summary: Configuration of kdump License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.2.6/src/include/kdump/dialogs.rb new/yast2-kdump-4.2.7/src/include/kdump/dialogs.rb --- old/yast2-kdump-4.2.6/src/include/kdump/dialogs.rb 2019-10-30 12:36:22.000000000 +0100 +++ new/yast2-kdump-4.2.7/src/include/kdump/dialogs.rb 2020-01-09 12:00:54.000000000 +0100 @@ -523,14 +523,18 @@ end def kdump_memory_widget - min = Kdump.memory_limits[:min_low].to_i - max = Kdump.memory_limits[:max_low].to_i + low_min = Kdump.memory_limits[:min_low].to_i + low_max = Kdump.memory_limits[:max_low].to_i + low_default = Kdump.memory_limits[:default_low].to_i low_label = if Kdump.high_memory_supported? _("Kdump &Low Memory [MiB]") else _("Kdump Memor&y [MiB]") end - low_label += " (#{min} - #{max})" + low_range = format(_("(%{min} - %{max}, default: %{default})"), + min: low_min, + max: low_max, + default: low_default) widgets = [ Left( HBox( @@ -539,6 +543,7 @@ HStretch() ) ), + VSpacing(1), Left( HBox( Left(Label(_("Usable Memory [MiB]:"))), @@ -546,30 +551,35 @@ HStretch() ) ), - Left( - IntField( - Id("allocated_low_memory"), - Opt(:notify), - low_label, - min, - max, - 0 - ) - ) + VSpacing(1), + Left(IntField(Id("allocated_low_memory"), + Opt(:notify), + low_label, + low_min, + low_max, + 0)), + Left(Label(low_range)) ] if Kdump.high_memory_supported? - min = Kdump.memory_limits[:min_high].to_i - max = Kdump.memory_limits[:max_high].to_i + high_min = Kdump.memory_limits[:min_high].to_i + high_max = Kdump.memory_limits[:max_high].to_i + high_default = Kdump.memory_limits[:default_high].to_i + high_range = format(_("(%{min} - %{max}, default: %{default})"), + min: high_min, + max: high_max, + default: high_default) + widgets << VSpacing(1) widgets << Left( IntField( Id("allocated_high_memory"), Opt(:notify), - _("Kdump &High Memory [MiB]") + " (#{min} - #{max})", - min, - max, + _("Kdump &High Memory [MiB]"), + high_min, + high_max, 0 ) ) + widgets << Left(Label(high_range)) end VBox(*widgets) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-4.2.6/src/lib/kdump/kdump_calibrator.rb new/yast2-kdump-4.2.7/src/lib/kdump/kdump_calibrator.rb --- old/yast2-kdump-4.2.6/src/lib/kdump/kdump_calibrator.rb 2019-10-30 12:36:22.000000000 +0100 +++ new/yast2-kdump-4.2.7/src/lib/kdump/kdump_calibrator.rb 2020-01-09 12:00:54.000000000 +0100 @@ -115,7 +115,8 @@ # # @return [Hash] Memory limits def memory_limits - { min_low: min_low, max_low: max_low, min_high: min_high, max_high: max_high } + { min_low: min_low, max_low: max_low, default_low: default_low, + min_high: min_high, max_high: max_high, default_high: default_high } end private