commit yast2 for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-10-23 12:20:17

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3463 (New)


Package is "yast2"

Fri Oct 23 12:20:17 2020 rev:497 rq:842825 version:4.3.38

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-10-18 
16:24:09.592563957 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3463/yast2.changes2020-10-23 
12:20:55.440622858 +0200
@@ -1,0 +2,6 @@
+Tue Oct 20 13:11:41 UTC 2020 - Ancor Gonzalez Sosa 
+
+- Added support for nested items in CWM::Table (bsc#1176402)
+- 4.3.38
+
+---

Old:

  yast2-4.3.37.tar.bz2

New:

  yast2-4.3.38.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.sYbmS4/_old  2020-10-23 12:20:56.916623899 +0200
+++ /var/tmp/diff_new_pack.sYbmS4/_new  2020-10-23 12:20:56.920623901 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.37
+Version:4.3.38
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -57,8 +57,8 @@
 # To have Yast::WFM.scr_root
 BuildRequires:  yast2-ruby-bindings >= 3.2.8
 BuildRequires:  yast2-testsuite
-# UI::.SetApplicationTitle
-BuildRequires:  yast2-ycp-ui-bindings >= 3.2.0
+# Nested items in tables
+BuildRequires:  yast2-ycp-ui-bindings >= 4.3.3
 # for the PackageExtractor tests, just make sure they are present,
 # these should be installed in the default build anyway
 BuildRequires:  cpio
@@ -92,8 +92,8 @@
 Requires:   yast2-pkg-bindings >= 4.3.0
 # for y2start
 Requires:   yast2-ruby-bindings >= 3.2.10
-# new UI::SetApplicationTitle
-Requires:   yast2-ycp-ui-bindings >= 3.2.0
+# Nested items in tables
+Requires:   yast2-ycp-ui-bindings >= 4.3.3
 Requires:   yui_backend
 # scripts for collecting YAST logs
 Requires:   yast2-logs

++ yast2-4.3.37.tar.bz2 -> yast2-4.3.38.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.37/package/yast2.changes 
new/yast2-4.3.38/package/yast2.changes
--- old/yast2-4.3.37/package/yast2.changes  2020-10-15 13:06:37.0 
+0200
+++ new/yast2-4.3.38/package/yast2.changes  2020-10-20 15:26:38.0 
+0200
@@ -1,4 +1,10 @@
 ---
+Tue Oct 20 13:11:41 UTC 2020 - Ancor Gonzalez Sosa 
+
+- Added support for nested items in CWM::Table (bsc#1176402)
+- 4.3.38
+
+---
 Thu Oct  8 20:21:22 UTC 2020 - José Iván López González 
 
 - Revert changes for hiding the heading of the dialog in text mode
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.37/package/yast2.spec 
new/yast2-4.3.38/package/yast2.spec
--- old/yast2-4.3.37/package/yast2.spec 2020-10-15 13:06:37.0 +0200
+++ new/yast2-4.3.38/package/yast2.spec 2020-10-20 15:26:38.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.37
+Version:4.3.38
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -57,8 +57,8 @@
 # To have Yast::WFM.scr_root
 BuildRequires:  yast2-ruby-bindings >= 3.2.8
 BuildRequires:  yast2-testsuite
-# UI::.SetApplicationTitle
-BuildRequires:  yast2-ycp-ui-bindings >= 3.2.0
+# Nested items in tables
+BuildRequires:  yast2-ycp-ui-bindings >= 4.3.3
 # for the PackageExtractor tests, just make sure they are present,
 # these should be installed in the default build anyway
 BuildRequires:  cpio
@@ -92,8 +92,8 @@
 Requires:  yast2-pkg-bindings >= 4.3.0
 # for y2start
 Requires:   yast2-ruby-bindings >= 3.2.10
-# new UI::SetApplicationTitle
-Requires:   yast2-ycp-ui-bindings >= 3.2.0
+# Nested items in tables
+Requires:   yast2-ycp-ui-bindings >= 4.3.3
 Requires:   yui_backend
 # scripts for collecting YAST logs
 Requires:   yast2-logs




commit yast2 for openSUSE:Factory

2020-10-18 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-10-18 16:23:53

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3486 (New)


Package is "yast2"

Sun Oct 18 16:23:53 2020 rev:496 rq:841899 version:4.3.37

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-09-24 
16:14:10.964894940 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3486/yast2.changes2020-10-18 
16:24:09.592563957 +0200
@@ -1,0 +2,58 @@
+Thu Oct  8 20:21:22 UTC 2020 - José Iván López González 
+
+- Revert changes for hiding the heading of the dialog in text mode
+  (the heading has no height if the title is empty).
+- bsc#1176808
+- 4.3.37
+
+---
+Thu Oct  8 19:35:48 UTC 2020 - Imobach Gonzalez Sosa 
+
+- AutoYaST: SectionWithAttributes#new_from_hashes accepts
+  an enumerable as first element (related to bsc#1177405).
+- 4.3.36
+
+---
+Wed Oct  7 13:23:28 UTC 2020 - Imobach Gonzalez Sosa 
+
+- AutoYaST: do not crash when sections like 'raid_options' are
+  empty (bsc#1177405).
+- 4.3.35
+
+---
+Thu Oct  1 15:16:20 UTC 2020 - Knut Anderssen 
+
+- Revert the drop of SuSEFirewall2 as there are still some packages
+  which need to be adapted (bsc#1177160)
+- 4.3.34
+
+---
+Tue Sep 29 09:46:21 UTC 2020 - Knut Anderssen 
+
+- Drop SuSEFirewall2 code completely (fate#323460)
+- 4.3.33
+
+---
+Mon Sep 28 08:53:39 UTC 2020 - Imobach Gonzalez Sosa 
+
+- Fix non-editable ComboBox handling (bsc#1136454).
+- 4.3.32
+
+---
+Fri Sep 25 08:59:57 UTC 2020 - Imobach Gonzalez Sosa 
+
+- Small improvements to CWM based widgets (related to bsc#1136454):
+  - An editable ComboBox will refresh the list of items when a new
+one is given as its current value.
+  - By default, a MenuButton widget listens to events from all its
+buttons.
+- 4.3.31
+
+---
+Thu Sep 24 07:25:01 UTC 2020 - Ladislav Slezák 
+
+- Do not crash when trying to parse non-existing ("nil") add-on
+  product control XML file (bsc#1176593)
+- 4.3.30
+
+---

Old:

  yast2-4.3.29.tar.bz2

New:

  yast2-4.3.37.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Jkn70P/_old  2020-10-18 16:24:11.804564942 +0200
+++ /var/tmp/diff_new_pack.Jkn70P/_new  2020-10-18 16:24:11.808564944 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.29
+Version:4.3.37
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.29.tar.bz2 -> yast2-4.3.37.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.29/library/control/src/modules/InstError.rb 
new/yast2-4.3.37/library/control/src/modules/InstError.rb
--- old/yast2-4.3.29/library/control/src/modules/InstError.rb   2020-09-23 
17:05:32.0 +0200
+++ new/yast2-4.3.37/library/control/src/modules/InstError.rb   2020-10-15 
13:06:37.0 +0200
@@ -40,6 +40,7 @@
   Yast.import "Label"
   Yast.import "String"
   Yast.import "Report"
+  Yast.import "OSRelease"
 end
 
 def SaveLogs
@@ -107,6 +108,8 @@
 # @param [String] error_text
 # @param [String] details (displayed as a plain text, can contain multiple 
lines)
 def ShowErrorPopUp(heading, error_text, details)
+  bugzilla_url = "http://bugzilla.suse.com/;
+  bugzilla_url = "http://bugzilla.opensuse.org; if 
OSRelease.ReleaseName.include? "openSUSE"
   success = UI.OpenDialog(
 Opt(:decorated, :warncolor),
 VBox(
@@ -146,7 +149,7 @@
 "Please, attach also all YaST logs stored in the '%2' 
directory.\n" \
 "See %3 for more information about YaST logs."
 ),
-"http://bugzilla.suse.com/;,
+bugzilla_url,
 "/var/log/YaST2/",
 # link to the Yast Bug Reporting HOWTO
 # for translators: use the localized page for your 
language if it exists,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.29/library/control/src/modules/WorkflowManager.rb 

commit yast2 for openSUSE:Factory

2020-09-24 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-09-24 16:13:34

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.4249 (New)


Package is "yast2"

Thu Sep 24 16:13:34 2020 rev:495 rq:836360 version:4.3.29

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-09-18 
14:36:32.403742076 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.4249/yast2.changes2020-09-24 
16:14:10.964894940 +0200
@@ -1,0 +2,15 @@
+Wed Sep 23 13:21:38 UTC 2020 - Ladislav Slezák 
+
+- Added "--plain" and "--full" options for the "systemctl"
+  calls, these are recommended when processing the output
+  by scripts (bsc#1176714)
+- 4.3.29
+
+---
+Mon Sep 21 11:28:33 UTC 2020 - Ladislav Slezák 
+
+- Decrease error logging to avoid false positives in the y2log
+  (bsc#1176653)
+- 4.3.28
+
+---

Old:

  yast2-4.3.27.tar.bz2

New:

  yast2-4.3.29.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.TCjRD1/_old  2020-09-24 16:14:13.288897265 +0200
+++ /var/tmp/diff_new_pack.TCjRD1/_new  2020-09-24 16:14:13.288897265 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.27
+Version:4.3.29
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.27.tar.bz2 -> yast2-4.3.29.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.27/library/packages/src/modules/Slides.rb 
new/yast2-4.3.29/library/packages/src/modules/Slides.rb
--- old/yast2-4.3.27/library/packages/src/modules/Slides.rb 2020-09-17 
13:37:53.0 +0200
+++ new/yast2-4.3.29/library/packages/src/modules/Slides.rb 2020-09-23 
17:05:32.0 +0200
@@ -192,7 +192,7 @@
   tmp = Convert.to_map(WFM.Read(path(".local.stat"), @slide_base_path))
 
   if !Ops.get_boolean(tmp, "isdir", false)
-Builtins.y2error("Using default path instead of %1", tmp)
+Builtins.y2milestone("Using default path instead of %1", tmp)
 @slide_base_path = 
"/var/adm/YaST/InstSrcManager/tmp/CurrentMedia/suse/setup/slide"
   end
 
@@ -214,7 +214,7 @@
 def CheckBasePath
   tmp = Convert.to_map(WFM.Read(path(".local.stat"), @slide_base_path))
   if !Ops.get_boolean(tmp, "isdir", false)
-Builtins.y2error("Using default path instead of %1", @slide_base_path)
+Builtins.y2milestone("Using default path instead of %1", 
@slide_base_path)
 @slide_base_path = 
"/var/adm/YaST/InstSrcManager/tmp/CurrentMedia/suse/setup/slide"
 
 return false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.27/library/systemd/src/lib/yast2/systemctl.rb 
new/yast2-4.3.29/library/systemd/src/lib/yast2/systemctl.rb
--- old/yast2-4.3.27/library/systemd/src/lib/yast2/systemctl.rb 2020-09-17 
13:37:53.0 +0200
+++ new/yast2-4.3.29/library/systemd/src/lib/yast2/systemctl.rb 2020-09-23 
17:05:32.0 +0200
@@ -23,7 +23,10 @@
 include Yast::Logger
 
 CONTROL = "/usr/bin/systemctl".freeze
-COMMAND_OPTIONS = " --no-legend --no-pager --no-ask-password ".freeze
+# The combination "--full --no-legend --no-pager --plain" is appropriate 
for
+# automated processing of systemctl output.
+# 
https://github.com/systemd/systemd/commit/1cabd2d0c56b7de73e4a4fb645f3bbed4a528d2c
+COMMAND_OPTIONS = " --plain --full --no-legend --no-pager 
--no-ask-password ".freeze
 ENV_VARS= " LANG=C TERM=dumb COLUMNS=1024 ".freeze
 SYSTEMCTL   = ENV_VARS + CONTROL + COMMAND_OPTIONS
 TIMEOUT = 40 # seconds
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.27/package/yast2.changes 
new/yast2-4.3.29/package/yast2.changes
--- old/yast2-4.3.27/package/yast2.changes  2020-09-17 13:37:53.0 
+0200
+++ new/yast2-4.3.29/package/yast2.changes  2020-09-23 17:05:32.0 
+0200
@@ -1,4 +1,19 @@
 ---
+Wed Sep 23 13:21:38 UTC 2020 - Ladislav Slezák 
+
+- Added "--plain" and "--full" options for the "systemctl"
+  calls, these are recommended when processing the output
+  by scripts (bsc#1176714)
+- 4.3.29
+
+---
+Mon Sep 21 11:28:33 UTC 2020 - Ladislav Slezák 
+
+- Decrease error logging to avoid false positives in the y2log
+  (bsc#1176653)
+- 4.3.28
+

commit yast2 for openSUSE:Factory

2020-09-18 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-09-18 14:33:54

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.4249 (New)


Package is "yast2"

Fri Sep 18 14:33:54 2020 rev:494 rq:835177 version:4.3.27

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-09-15 
16:14:44.821826533 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.4249/yast2.changes2020-09-18 
14:36:32.403742076 +0200
@@ -1,0 +2,17 @@
+Wed Sep 16 11:14:41 UTC 2020 - José Iván López González 
+
+- Hide heading of the dialog when no title is defined or title is
+  set to an empty string.
+- Related to bsc#1175489.
+- 4.3.27
+
+---
+Tue Sep 15 09:29:51 UTC 2020 - Ladislav Slezák 
+
+- Clear the download progres for the previous file when displaying
+  an error popup (bsc#1175926)
+- Enable additional callback logging when $Y2DEBUG_CALLBACKS is
+  set to "1"
+- 4.3.26
+
+---

Old:

  yast2-4.3.25.tar.bz2

New:

  yast2-4.3.27.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.lYNQS0/_old  2020-09-18 14:36:33.655743193 +0200
+++ /var/tmp/diff_new_pack.lYNQS0/_new  2020-09-18 14:36:33.655743193 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.25
+Version:4.3.27
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.25.tar.bz2 -> yast2-4.3.27.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.25/.rubocop.yml 
new/yast2-4.3.27/.rubocop.yml
--- old/yast2-4.3.25/.rubocop.yml   2020-09-10 12:53:09.0 +0200
+++ new/yast2-4.3.27/.rubocop.yml   2020-09-17 13:37:53.0 +0200
@@ -34,7 +34,7 @@
 - "library/*/test/**/*_test.rb"
 
 Metrics/PerceivedComplexity:
-  Max: 65
+  Max: 70
 
 # this needs more testing if we can have frozen string literals
 Style/FrozenStringLiteralComment:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.25/library/packages/src/modules/PackageCallbacks.rb 
new/yast2-4.3.27/library/packages/src/modules/PackageCallbacks.rb
--- old/yast2-4.3.25/library/packages/src/modules/PackageCallbacks.rb   
2020-09-10 12:53:09.0 +0200
+++ new/yast2-4.3.27/library/packages/src/modules/PackageCallbacks.rb   
2020-09-17 13:37:53.0 +0200
@@ -44,6 +44,52 @@
 # symbols for ticking in cmd line
 TICK_LABELS = ["/", "-", "\\", "|"].freeze
 
+# Debugging: log the called callbacks when Y2DEBUG_CALLBACKS is set to 1
+#
+# This uses some Ruby meta programming, the "method_added" is called 
whenever
+# a new method is added into this class, i.e. when each of the following 
"def"
+# is processed.
+#
+# @param name [Symbol] name of the added method
+def self.method_added(name)
+  # log the callbacks only when requested, it's quite verbose
+  return if ENV["Y2DEBUG_CALLBACKS"] != "1"
+
+  name_str = name.to_s
+
+  # do not add a hook for a hook itself otherwise it would result
+  # in an endless recursive loop adding a hook for a hook for a hook for...
+  if name_str.end_with?("_hook") ||
+  # ignore dynamically added helper methods for the published variables
+  name_str.start_with?("_") ||
+  # ignore lowercase methods, they are just some helper methods
+  name_str.match(/^[[:lower:]]/) ||
+  # already present
+  method_defined?("#{name}_hook")
+
+return
+  end
+
+  # add a new *_hook method as a wrapper for the original method,
+  # log the name of the called method
+  hook = <<-HOOK
+  def #{name}_hook(*params)
+log.info("Starting callback #{self}::#{name}")
+result = #{name}_without_hook(*params)
+log.info("Callback #{self}::#{name} returned: \#{result.inspect}")
+result
+  end
+  HOOK
+  # __FILE__ and __LINE__ are used in a backtrace
+  class_eval(hook, __FILE__, __LINE__)
+
+  # rename the original method
+  class_eval("alias #{name}_without_hook #{name}", __FILE__, __LINE__)
+
+  # replace the original method with the hook
+  class_eval("alias #{name} #{name}_hook", __FILE__, __LINE__)
+end
+
 def main
   Yast.import "Pkg"
   Yast.import "UI"
@@ -588,6 +634,12 @@
 current_device
   )
 
+  if full_screen
+# make sure the old subprogress is cleared when displaying a popup 
(bsc#1175926)
+Progress.SubprogressValue(0)
+

commit yast2 for openSUSE:Factory

2020-09-15 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-09-15 16:14:39

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.4249 (New)


Package is "yast2"

Tue Sep 15 16:14:39 2020 rev:493 rq:833457 version:4.3.25

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-09-03 
01:10:27.212392973 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.4249/yast2.changes2020-09-15 
16:14:44.821826533 +0200
@@ -1,0 +2,8 @@
+Thu Sep 10 07:30:52 UTC 2020 - Josef Reidinger 
+
+- Enhance GPG module with symmetric encryption
+  (related to bsc#1176336)
+- add new shared password dialog
+- 4.3.25
+
+---

Old:

  yast2-4.3.24.tar.bz2

New:

  yast2-4.3.25.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.KA8bQy/_old  2020-09-15 16:14:46.581828163 +0200
+++ /var/tmp/diff_new_pack.KA8bQy/_new  2020-09-15 16:14:46.581828163 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.24
+Version:4.3.25
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.24.tar.bz2 -> yast2-4.3.25.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.24/library/general/example/password_dialog.rb 
new/yast2-4.3.25/library/general/example/password_dialog.rb
--- old/yast2-4.3.24/library/general/example/password_dialog.rb 1970-01-01 
01:00:00.0 +0100
+++ new/yast2-4.3.25/library/general/example/password_dialog.rb 2020-09-10 
12:53:09.0 +0200
@@ -0,0 +1,8 @@
+$LOAD_PATH.unshift File.expand_path("../src/lib", __dir__)
+
+require "yast"
+require "yast2/popup"
+require "ui/password_dialog"
+
+res = UI::PasswordDialog.new("Test").run
+Yast2::Popup.show("Dialog returns #{res.inspect}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.24/library/general/example/password_dialog_confirm.rb 
new/yast2-4.3.25/library/general/example/password_dialog_confirm.rb
--- old/yast2-4.3.24/library/general/example/password_dialog_confirm.rb 
1970-01-01 01:00:00.0 +0100
+++ new/yast2-4.3.25/library/general/example/password_dialog_confirm.rb 
2020-09-10 12:53:09.0 +0200
@@ -0,0 +1,8 @@
+$LOAD_PATH.unshift File.expand_path("../src/lib", __dir__)
+
+require "yast"
+require "yast2/popup"
+require "ui/password_dialog"
+
+res = UI::PasswordDialog.new("Test", confirm: true).run
+Yast2::Popup.show("Dialog returns #{res.inspect}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.24/library/general/src/lib/ui/password_dialog.rb 
new/yast2-4.3.25/library/general/src/lib/ui/password_dialog.rb
--- old/yast2-4.3.24/library/general/src/lib/ui/password_dialog.rb  
1970-01-01 01:00:00.0 +0100
+++ new/yast2-4.3.25/library/general/src/lib/ui/password_dialog.rb  
2020-09-10 12:53:09.0 +0200
@@ -0,0 +1,78 @@
+# Copyright (c) [2020] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require "yast"
+require "shellwords"
+
+require "ui/dialog"
+require "yast2/popup"
+
+Yast.import "UI"
+Yast.import "Label"
+
+module UI
+  # Dialog that asks for password. It returns String password or nil if 
aborted.
+  #
+  class PasswordDialog < UI::Dialog
+extend Yast::I18n
+extend Yast::UIShortcuts
+
+# @param label [String] intention of password e.g. "Encrypted autoyast 
profile."
+# @param confirm [Boolean] if double password entry is required.
+#   Usually when new password is specified.
+def initialize(label, confirm: false)
+  textdomain "autoinst"
+  @confirm = confirm
+  @label = label
+
+  super()
+end
+
+def dialog_content
+  res = VBox(
+Left(Heading(@label)),
+Password(Id(:password), Yast::Label.Password, "")
+  )
+  res << Password(Id(:password2), Yast::Label.ConfirmPassword, "") if 

commit yast2 for openSUSE:Factory

2020-09-02 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-09-03 01:09:59

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3399 (New)


Package is "yast2"

Thu Sep  3 01:09:59 2020 rev:492 rq:829961 version:4.3.24

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-07-30 
10:00:47.771246140 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3399/yast2.changes2020-09-03 
01:10:27.212392973 +0200
@@ -1,0 +2,33 @@
+Thu Aug 27 10:37:14 UTC 2020 - Ladislav Slezák 
+
+- Fixed accidentaly broken dependencies (related to bsc#1175317)
+- 4.3.24
+
+---
+Thu Aug 27 09:20:42 UTC 2020 - Ladislav Slezák 
+
+- Yet another unit test architecture fix :-(
+  (related to bsc#1175317)
+- 4.3.23
+
+---
+Thu Aug 27 08:30:07 UTC 2020 - Ladislav Slezák 
+
+- Fix for the previous change: fixed unit test failure on non
+  x86_64 archs (related to bsc#1175317)
+- 4.3.22
+
+---
+Wed Aug 26 08:22:45 UTC 2020 - Ladislav Slezák 
+
+- Y2Packager::Resolvable.find(): improved error handling,
+  added more unit tests (related to bsc#1175317)
+- 4.3.21
+
+---
+Tue Aug 25 09:46:20 UTC 2020 - Imobach Gonzalez Sosa 
+
+- Unify profile element paths (bsc#1175680).
+- 4.3.20
+
+---

Old:

  yast2-4.3.19.tar.bz2

New:

  yast2-4.3.24.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.zikEG5/_old  2020-09-03 01:10:28.456393387 +0200
+++ /var/tmp/diff_new_pack.zikEG5/_new  2020-09-03 01:10:28.460393389 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,17 +12,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   yast2
-Version:4.3.19
+Version:4.3.24
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
 Group:  System/YaST
-Url:https://github.com/yast/yast-yast2
+URL:https://github.com/yast/yast-yast2
 
 Source0:%{name}-%{version}.tar.bz2
 Source1:yast2-rpmlintrc
@@ -49,8 +49,8 @@
 # Needed already in build time
 BuildRequires:  yast2-core >= 2.18.12
 BuildRequires:  yast2-devtools >= 3.1.10
-# Pkg.Resolvables()
-BuildRequires:  yast2-pkg-bindings >= 4.2.0
+# RPM dependency filters in Pkg.Resolvables()
+BuildRequires:  yast2-pkg-bindings >= 4.3.0
 BuildRequires:  rubygem(%rb_default_ruby_abi:yast-rake)
 # for XML module
 BuildRequires:  rubygem(%rb_default_ruby_abi:nokogiri)
@@ -88,8 +88,8 @@
 Requires:   yast2-hardware-detection
 # for SLPAPI.pm
 Requires:   yast2-perl-bindings
-# Pkg.Resolvables()
-Requires:   yast2-pkg-bindings >= 4.2.0
+# RPM dependency filters in Pkg.Resolvables()
+Requires:   yast2-pkg-bindings >= 4.3.0
 # for y2start
 Requires:   yast2-ruby-bindings >= 3.2.10
 # new UI::SetApplicationTitle

++ yast2-4.3.19.tar.bz2 -> yast2-4.3.24.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.19/.github/workflows/tests.yml 
new/yast2-4.3.24/.github/workflows/tests.yml
--- old/yast2-4.3.19/.github/workflows/tests.yml2020-07-29 
14:07:59.0 +0200
+++ new/yast2-4.3.24/.github/workflows/tests.yml2020-08-27 
12:51:22.0 +0200
@@ -18,5 +18,56 @@
 - name: Inspect Installed Packages
   run: rpm -qa | sort
 
-- name: Rubocop, Tests, Package Build
-  run: yast-travis-ruby
+- name: Unit Tests
+  run: rake test:unit
+
+  Rubocop:
+runs-on: ubuntu-latest
+container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+steps:
+
+- name: Git Checkout
+  uses: actions/checkout@v1
+
+- name: Inspect Installed Packages
+  run: rpm -qa | sort
+
+- name: Rubocop
+  run: rake check:rubocop
+
+  Package_and_POT:
+runs-on: ubuntu-latest
+container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+steps:
+
+- name: Git Checkout
+  uses: actions/checkout@v1
+
+

commit yast2 for openSUSE:Factory

2020-07-30 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-07-30 10:00:26

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3592 (New)


Package is "yast2"

Thu Jul 30 10:00:26 2020 rev:491 rq:823387 version:4.3.19

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-07-27 
17:36:09.590754739 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3592/yast2.changes2020-07-30 
10:00:47.771246140 +0200
@@ -1,0 +2,13 @@
+Tue Jul 28 14:27:40 UTC 2020 - Imobach Gonzalez Sosa 
+
+- XML: do not export the system ID if it is not defined
+  (boo#1174424).
+- 4.3.19
+
+---
+Tue Jul 28 09:07:05 UTC 2020 - Josef Reidinger 
+
+- Handle exceptions when parsing xml file (related to bsc#1170886)
+- 4.3.18
+
+---

Old:

  yast2-4.3.17.tar.bz2

New:

  yast2-4.3.19.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.MEPMdi/_old  2020-07-30 10:00:49.079246921 +0200
+++ /var/tmp/diff_new_pack.MEPMdi/_new  2020-07-30 10:00:49.083246924 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.17
+Version:4.3.19
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.17.tar.bz2 -> yast2-4.3.19.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.17/library/commandline/src/modules/CommandLine.rb 
new/yast2-4.3.19/library/commandline/src/modules/CommandLine.rb
--- old/yast2-4.3.17/library/commandline/src/modules/CommandLine.rb 
2020-07-24 10:58:12.0 +0200
+++ new/yast2-4.3.19/library/commandline/src/modules/CommandLine.rb 
2020-07-29 14:07:59.0 +0200
@@ -1021,7 +1021,17 @@
 Ops.set(exportmap, "commands", commands)
 Ops.set(exportmap, "module", Ops.get_string(@cmdlinespec, "id", ""))
 
-XML.YCPToXMLFile(:xmlhelp, exportmap, xmlfilename)
+begin
+  XML.YCPToXMLFile(:xmlhelp, exportmap, xmlfilename)
+rescue XMLSerializationError => e
+  # error message - creation of xml failed
+  Print(
+_("Failed to create XML file.")
+  )
+  Builtins.y2error("Failed to serialize xml help: #{e.inspect}")
+  return false
+end
+
 Builtins.y2milestone("exported XML map: %1", exportmap)
 return true
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.17/library/control/src/modules/ProductControl.rb 
new/yast2-4.3.19/library/control/src/modules/ProductControl.rb
--- old/yast2-4.3.17/library/control/src/modules/ProductControl.rb  
2020-07-24 10:58:12.0 +0200
+++ new/yast2-4.3.19/library/control/src/modules/ProductControl.rb  
2020-07-29 14:07:59.0 +0200
@@ -288,9 +288,12 @@
 # @param string control file
 # @return [Boolean]
 def ReadControlFile(controlfile)
-  @productControl = XML.XMLToYCPFile(controlfile)
-
-  return false if @productControl.nil?
+  begin
+@productControl = XML.XMLToYCPFile(controlfile)
+  rescue RuntimeError => e
+log.error "Failed to read control file: #{e.inspect}"
+return false
+  end
 
   # log the read control.xml
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.17/library/control/src/modules/WorkflowManager.rb 
new/yast2-4.3.19/library/control/src/modules/WorkflowManager.rb
--- old/yast2-4.3.17/library/control/src/modules/WorkflowManager.rb 
2020-07-24 10:58:12.0 +0200
+++ new/yast2-4.3.19/library/control/src/modules/WorkflowManager.rb 
2020-07-29 14:07:59.0 +0200
@@ -1231,9 +1231,10 @@
 end
 
 def IncorporateControlFileOptions(filename)
-  update_file = XML.XMLToYCPFile(filename)
-  if update_file.nil?
-Builtins.y2error("Unable to read the %1 control file", filename)
+  begin
+update_file = XML.XMLToYCPFile(filename)
+  rescue RuntimeError => e
+log.error "Unable to read the #{filename} control file: #{e.inspect}"
 return false
   end
 
@@ -1345,7 +1346,13 @@
 def IntegrateWorkflow(filename)
   Builtins.y2milestone("IntegrateWorkflow %1", filename)
 
-  update_file = XML.XMLToYCPFile(filename)
+  begin
+update_file = XML.XMLToYCPFile(filename)
+  rescue RuntimeError => e
+log.error "Failed to parse #{update_file}: #{e.inspect}"
+return false
+  end
+
   name = Ops.get_string(update_file, 

commit yast2 for openSUSE:Factory

2020-07-27 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-07-27 17:35:59

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3592 (New)


Package is "yast2"

Mon Jul 27 17:35:59 2020 rev:490 rq:822586 version:4.3.17

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-07-21 
15:49:10.428205421 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3592/yast2.changes2020-07-27 
17:36:09.590754739 +0200
@@ -1,0 +2,20 @@
+Fri Jul 24 08:53:31 UTC 2020 - Knut Anderssen 
+
+- Provide a way to determine which resources (zones, services...)
+  have been modified from the default values (bsc#1171356)
+- 4.3.17
+
+---
+Fri Jul 24 08:06:27 UTC 2020 - Jeff Kowalczyk 
+
+- update is_wsl function to match wsl1 and wsl2 osrelease spellings
+  (boo#1174183)
+
+---
+Thu Jul 23 14:03:42 UTC 2020 - José Iván López González 
+
+- Add Layout class to configure a Wizard layout.
+- Related to jsc#PM-1998.
+- 4.3.16
+
+---

Old:

  yast2-4.3.15.tar.bz2

New:

  yast2-4.3.17.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.uXsjC7/_old  2020-07-27 17:36:11.350756452 +0200
+++ /var/tmp/diff_new_pack.uXsjC7/_new  2020-07-27 17:36:11.350756452 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.15
+Version:4.3.17
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.15.tar.bz2 -> yast2-4.3.17.tar.bz2 ++
 2650 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2020-07-21 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-07-21 15:47:46

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3592 (New)


Package is "yast2"

Tue Jul 21 15:47:46 2020 rev:489 rq:822007 version:4.3.15

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-07-13 
09:06:25.316227617 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3592/yast2.changes2020-07-21 
15:49:10.428205421 +0200
@@ -1,0 +2,9 @@
+Thu Jul 16 12:48:24 UTC 2020 - Ancor Gonzalez Sosa 
+
+- Better management of libzypp repovars (eg. those enclosed in
+  curly brackets) introducing the new Y2Packager::ZyppUrl class
+- Do not crash during the upgrade process if some repository URL
+  cannot be parsed (bsc#1172867)
+- 4.3.15
+
+---

Old:

  yast2-4.3.14.tar.bz2

New:

  yast2-4.3.15.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.PVDPGT/_old  2020-07-21 15:49:11.512206761 +0200
+++ /var/tmp/diff_new_pack.PVDPGT/_new  2020-07-21 15:49:11.516206766 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.14
+Version:4.3.15
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.14.tar.bz2 -> yast2-4.3.15.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.14/.github/workflows/tests.yml 
new/yast2-4.3.15/.github/workflows/tests.yml
--- old/yast2-4.3.14/.github/workflows/tests.yml1970-01-01 
01:00:00.0 +0100
+++ new/yast2-4.3.15/.github/workflows/tests.yml2020-07-21 
08:58:01.0 +0200
@@ -0,0 +1,22 @@
+
+# See 
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
+
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+  Tests:
+runs-on: ubuntu-latest
+container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+steps:
+
+- name: Git Checkout
+  uses: actions/checkout@v1
+
+- name: Inspect Installed Packages
+  run: rpm -qa | sort
+
+- name: Rubocop, Tests, Package Build
+  run: yast-travis-ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.14/README.md new/yast2-4.3.15/README.md
--- old/yast2-4.3.14/README.md  2020-07-10 16:29:19.0 +0200
+++ new/yast2-4.3.15/README.md  2020-07-21 08:58:01.0 +0200
@@ -2,6 +2,7 @@
 ==
 
 [![Travis 
Build](https://travis-ci.org/yast/yast-yast2.svg?branch=master)](https://travis-ci.org/yast/yast-yast2)
+[![CI](https://github.com/yast/yast-yast2/workflows/CI/badge.svg)](https://github.com/yast/yast-yast2/actions?query=workflow%3ACI)
 [![Coverage 
Status](https://img.shields.io/coveralls/yast/yast-yast2.svg)](https://coveralls.io/r/yast/yast-yast2?branch=master)
 [![Jenkins 
Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-yast2-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-yast2-master/)
 [![Code 
Climate](https://codeclimate.com/github/yast/yast-yast2/badges/gpa.svg)](https://codeclimate.com/github/yast/yast-yast2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.14/doc/desktop_file.md 
new/yast2-4.3.15/doc/desktop_file.md
--- old/yast2-4.3.14/doc/desktop_file.md2020-07-10 16:29:19.0 
+0200
+++ new/yast2-4.3.15/doc/desktop_file.md2020-07-21 08:58:01.0 
+0200
@@ -81,7 +81,7 @@
   values are `list` and `map`. Default value is `map`.
 
 * *X-SuSE-YaST-AutoInstResource* Specifies top level XML node under which is 
located
-  module specific configuration in AutoYaST profile.
+  module specific configuration in AutoYaST profile. By default it is 
{module_name}.
 
 * *X-SuSE-YaST-AutoInstResourceAliases* Specifies a list of alternative names
   for the top level XML node. It is used to keep backward compatibility: for
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.14/library/packages/src/lib/y2packager/repository.rb 
new/yast2-4.3.15/library/packages/src/lib/y2packager/repository.rb
--- old/yast2-4.3.14/library/packages/src/lib/y2packager/repository.rb  
2020-07-10 16:29:19.0 +0200
+++ new/yast2-4.3.15/library/packages/src/lib/y2packager/repository.rb  
2020-07-21 08:58:01.0 +0200
@@ -10,7 +10,7 @@
 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 
details.
 # 
--
 
-require "uri"
+require "y2packager/zypp_url"
 require "y2packager/product"
 

commit yast2 for openSUSE:Factory

2020-07-13 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-07-13 09:06:13

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3060 (New)


Package is "yast2"

Mon Jul 13 09:06:13 2020 rev:488 rq:820006 version:4.3.14

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-07-09 
13:16:24.720709138 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3060/yast2.changes2020-07-13 
09:06:25.316227617 +0200
@@ -1,0 +2,12 @@
+Fri Jul 10 14:15:30 UTC 2020 - David Diaz 
+
+- Make CFA::MultiFileConfig fully reusable (related to bsc#1155735,
+  and bsc#1157541).
+
+---
+Thu Jul  9 14:35:43 UTC 2020 - Steffen Winterfeldt 
+
+- add space to SPACE_CHARS (bsc#1173907)
+- 4.3.14
+
+---

Old:

  yast2-4.3.13.tar.bz2

New:

  yast2-4.3.14.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Gk7hTj/_old  2020-07-13 09:06:26.572230775 +0200
+++ /var/tmp/diff_new_pack.Gk7hTj/_new  2020-07-13 09:06:26.576230785 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.13
+Version:4.3.14
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.13.tar.bz2 -> yast2-4.3.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.13/library/general/src/lib/cfa/multi_file_config.rb 
new/yast2-4.3.14/library/general/src/lib/cfa/multi_file_config.rb
--- old/yast2-4.3.13/library/general/src/lib/cfa/multi_file_config.rb   
2020-07-07 12:17:22.0 +0200
+++ new/yast2-4.3.14/library/general/src/lib/cfa/multi_file_config.rb   
2020-07-10 16:29:19.0 +0200
@@ -124,10 +124,10 @@
 
 # Return the involved configuration files
 #
-# @return [Array] Configuration files
+# @return [Array] Configuration files
 # @see #paths
 def files
-  @files ||= paths.map { |p| LoginDefs.new(file_path: p) }
+  @files ||= paths.map { |p| self.class.file_class.new(file_path: p) }
 end
 
 # Return the paths to the configuration files
@@ -194,14 +194,14 @@
 
 # Returns the YaST specific configuration file
 #
-# @return [LoginDefs]
+# @return [Class]
 def yast_config_file
   @yast_config_file ||= files.find { |f| f.file_path == yast_file_path }
 end
 
 # Returns the files with higher precedence that the YaST one
 #
-# @return [Array] List of files
+# @return [Array] List of files
 def higher_precedence_files
   return @higher_precedence_files if @higher_precedence_files
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.13/library/types/src/modules/String.rb 
new/yast2-4.3.14/library/types/src/modules/String.rb
--- old/yast2-4.3.13/library/types/src/modules/String.rb2020-07-07 
12:17:22.0 +0200
+++ new/yast2-4.3.14/library/types/src/modules/String.rb2020-07-10 
16:29:19.0 +0200
@@ -39,7 +39,7 @@
 ALPHA_NUM_CHARS = ALPHA_CHARS + DIGIT_CHARS
 PUNCT_CHARS = "!\"\#$%&'()*+,-./:;<=>?@[\\]^_`{|}~".freeze
 GRAPHICAL_CHARS = ALPHA_NUM_CHARS + PUNCT_CHARS
-SPACE_CHARS = "\f\r\n\t\v".freeze
+SPACE_CHARS = " \f\r\n\t\v".freeze
 PRINTABLE_CHARS = SPACE_CHARS + GRAPHICAL_CHARS
 
 def main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.13/package/yast2.changes 
new/yast2-4.3.14/package/yast2.changes
--- old/yast2-4.3.13/package/yast2.changes  2020-07-07 12:17:22.0 
+0200
+++ new/yast2-4.3.14/package/yast2.changes  2020-07-10 16:29:19.0 
+0200
@@ -1,4 +1,16 @@
 ---
+Fri Jul 10 14:15:30 UTC 2020 - David Diaz 
+
+- Make CFA::MultiFileConfig fully reusable (related to bsc#1155735,
+  and bsc#1157541).
+
+---
+Thu Jul  9 14:35:43 UTC 2020 - Steffen Winterfeldt 
+
+- add space to SPACE_CHARS (bsc#1173907)
+- 4.3.14
+
+---
 Tue Jul  7 09:48:04 CEST 2020 - sch...@suse.de
 
 - Command line interface: Do not start an UI while evaluating
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.13/package/yast2.spec 
new/yast2-4.3.14/package/yast2.spec
--- old/yast2-4.3.13/package/yast2.spec 2020-07-07 12:17:22.0 +0200
+++ new/yast2-4.3.14/package/yast2.spec 2020-07-10 16:29:19.0 +0200
@@ -17,7 +17,7 @@
 
 
 

commit yast2 for openSUSE:Factory

2020-07-09 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-07-09 13:16:22

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3060 (New)


Package is "yast2"

Thu Jul  9 13:16:22 2020 rev:487 rq:819189 version:4.3.13

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-07-01 
14:26:02.202645082 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3060/yast2.changes2020-07-09 
13:16:24.720709138 +0200
@@ -1,0 +2,7 @@
+Tue Jul  7 09:48:04 CEST 2020 - sch...@suse.de
+
+- Command line interface: Do not start an UI while evaluating
+  current language settings (bsc#1173133).
+- 4.3.13
+
+---

Old:

  yast2-4.3.12.tar.bz2

New:

  yast2-4.3.13.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Noutnz/_old  2020-07-09 13:16:26.308714157 +0200
+++ /var/tmp/diff_new_pack.Noutnz/_new  2020-07-09 13:16:26.308714157 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.12
+Version:4.3.13
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.12.tar.bz2 -> yast2-4.3.13.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.12/library/desktop/src/modules/Desktop.rb 
new/yast2-4.3.13/library/desktop/src/modules/Desktop.rb
--- old/yast2-4.3.12/library/desktop/src/modules/Desktop.rb 2020-06-30 
13:01:18.0 +0200
+++ new/yast2-4.3.13/library/desktop/src/modules/Desktop.rb 2020-07-07 
12:17:22.0 +0200
@@ -30,7 +30,6 @@
 module Yast
   class DesktopClass < Module
 def main
-  Yast.import "UI"
   textdomain "base"
   Yast.import "Arch"
   Yast.import "Map"
@@ -102,7 +101,12 @@
 def ReadLanguage
   # read language
   @LanguageFull = ""
-  @Language = UI.GetLanguage(true)
+  @Language = ""
+
+  # Do not use UI.GetLanguage. It would start an UI which is not
+  # needed for it.
+  @Language = ENV["LANG"].split(/[\.,@]/).first if ENV["LANG"]
+
   @LanguageFull = Builtins.regexpsub(@Language, "(.*_[^.]*)\\.?.*", "\\1") 
if Builtins.regexpmatch(@Language, "(.*_[^.]*)\\.?.*") # matches: ll_TT 
ll_TT.UTF-8
   @Language = Builtins.regexpsub(@Language, "(.*)_", "\\1") if 
Builtins.regexpmatch(@Language, "(.*)_")
   Builtins.y2debug("LanguageFull=%1", @LanguageFull)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.12/library/general/src/lib/installation/autoinst_profile/section_with_attributes.rb
 
new/yast2-4.3.13/library/general/src/lib/installation/autoinst_profile/section_with_attributes.rb
--- 
old/yast2-4.3.12/library/general/src/lib/installation/autoinst_profile/section_with_attributes.rb
   2020-06-30 13:01:18.0 +0200
+++ 
new/yast2-4.3.13/library/general/src/lib/installation/autoinst_profile/section_with_attributes.rb
   2020-07-07 12:17:22.0 +0200
@@ -21,7 +21,101 @@
 
 module Installation
   module AutoinstProfile
-# Abstract base class for some AutoYaST profile sections
+# Abstract base class to be used when dealing with AutoYaST profiles
+#
+# ## Motivation
+#
+# Historically, AutoYaST has used hash objects to handle the profile data.
+# The import method expects to receive a hash with the profile content 
while
+# the export method returns a hash. For simple cases, it is just fine.
+# However, for complex scenarios (like storage or networking settings),
+# using a hash can be somewhat limiting.
+#
+# ## Features
+#
+# This class offers a starting point for a better API when working with
+# AutoYaST profiles, abstracting some details. The idea is that by creating
+# a derived class and specifying the known profile elements (attributes)
+# you get a basic class that you can extend to offer a convenient API.
+#
+# These classes would be responsible for:
+#
+# * Converting profile related information from/to hash objects. It 
includes
+#   logic to support old-style profiles (renaming attributes and so on).
+#
+# * Generating a section from the running system. See
+#   [PartitioningSection#new_from_storage] or
+#   [NetworkingSection#new_from_network] to take some inspiration. Bear in
+#   mind that the former does not inherit from {SectionWithAttributes}, but
+#   relies on other classes that do so.
+#
+# * Offering convenient query methods when needed. See
+#   [PartitioningSection#disk_drives] or [PartitionSection#used?] as
+#   examples.
+#
+# * 

commit yast2 for openSUSE:Factory

2020-07-01 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-07-01 14:25:51

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3060 (New)


Package is "yast2"

Wed Jul  1 14:25:51 2020 rev:486 rq:817856 version:4.3.12

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-06-27 
23:21:58.157701754 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3060/yast2.changes2020-07-01 
14:26:02.202645082 +0200
@@ -1,0 +2,20 @@
+Mon Jun 29 15:26:44 UTC 2020 - sch...@suse.de
+- Products: Do not solve dependencies while checking libzypp
+  connection (bsc#1170322).
+- 4.3.12
+
+---
+Mon Jun 29 14:26:44 UTC 2020 - José Iván López González 
+
+- Avoid failure when downloading release notes from an inoperative
+  proxy (bsc#1173447).
+- 4.3.11
+
+---
+Fri Jun 26 15:00:17 UTC 2020 - Imobach Gonzalez Sosa 
+
+- AutoClient#export method can receive a hash as an argument
+  (bsc#1171356).
+- 4.3.10
+
+---

Old:

  yast2-4.3.9.tar.bz2

New:

  yast2-4.3.12.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.gWMUJt/_old  2020-07-01 14:26:02.942647377 +0200
+++ /var/tmp/diff_new_pack.gWMUJt/_new  2020-07-01 14:26:02.946647389 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2020 SUSE LLC
+# 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
@@ -12,17 +12,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:   yast2
-Version:4.3.9
+Version:4.3.12
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
 Group:  System/YaST
-URL:https://github.com/yast/yast-yast2
+Url:https://github.com/yast/yast-yast2
 
 Source0:%{name}-%{version}.tar.bz2
 Source1:yast2-rpmlintrc

++ yast2-4.3.9.tar.bz2 -> yast2-4.3.12.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.9/library/general/src/lib/installation/auto_client.rb 
new/yast2-4.3.12/library/general/src/lib/installation/auto_client.rb
--- old/yast2-4.3.9/library/general/src/lib/installation/auto_client.rb 
2020-06-22 09:07:29.0 +0200
+++ new/yast2-4.3.12/library/general/src/lib/installation/auto_client.rb
2020-06-30 13:01:18.0 +0200
@@ -61,7 +61,10 @@
   when "Import"
 import(param)
   when "Export"
-export
+target = param["target"] if param.is_a?(Hash)
+target ||= "default"
+m = method(:export)
+m.arity.zero? ? export : export(target: target.to_sym)
   when "Summary"
 summary
   when "Reset"
@@ -99,9 +102,11 @@
 #
 # The profile is a Hash or an Array according to the configuration item
 # `X-SuSE-YaST-AutoInstDataType`
+# @param target [Symbol] Control how much information should be exported
+#   (e.g., :default or :compact).
 # @return [Hash, Array] profile data
-def export
-  raise NotImplementedError, "Calling abstract method 'export'"
+def export(target:)
+  raise NotImplementedError, "Calling abstract method 'export' with target 
'#{target}'"
 end
 
 # Provide a brief summary of configuration.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.9/library/general/test/auto_client_test.rb 
new/yast2-4.3.12/library/general/test/auto_client_test.rb
--- old/yast2-4.3.9/library/general/test/auto_client_test.rb2020-06-22 
09:07:29.0 +0200
+++ new/yast2-4.3.12/library/general/test/auto_client_test.rb   2020-06-30 
13:01:18.0 +0200
@@ -9,11 +9,21 @@
 args.empty? ? "import" : args
   end
 
-  ["export", "summary", "reset", "change", "write", "packages", "read", 
"modified?", "modified"].each do |m|
+  def export(target:)
+target
+  end
+
+  ["summary", "reset", "change", "write", "packages", "read", "modified?", 
"modified"].each do |m|
 define_method(m.to_sym) { m }
   end
 end
 
+class ExportTestAuto < ::Installation::AutoClient
+  def export
+"export"
+  end
+end
+
 describe ::Installation::AutoClient do
   subject { 

commit yast2 for openSUSE:Factory

2020-06-27 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-06-27 23:21:54

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3060 (New)


Package is "yast2"

Sat Jun 27 23:21:54 2020 rev:485 rq:816572 version:4.3.9

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-06-19 
16:48:57.958247516 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3060/yast2.changes2020-06-27 
23:21:58.157701754 +0200
@@ -1,0 +2,7 @@
+Sun Jun 21 20:01:42 UTC 2020 - Knut Anderssen 
+
+- Add a method to change the selection of the network backend to be
+  used (related to bsc#1172749)
+- 4.3.9
+
+---

Old:

  yast2-4.3.8.tar.bz2

New:

  yast2-4.3.9.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Lf9alf/_old  2020-06-27 23:21:59.157705042 +0200
+++ /var/tmp/diff_new_pack.Lf9alf/_new  2020-06-27 23:21:59.157705042 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,17 +12,17 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   yast2
-Version:4.3.8
+Version:4.3.9
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
 Group:  System/YaST
-Url:https://github.com/yast/yast-yast2
+URL:https://github.com/yast/yast-yast2
 
 Source0:%{name}-%{version}.tar.bz2
 Source1:yast2-rpmlintrc

++ yast2-4.3.8.tar.bz2 -> yast2-4.3.9.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.8/library/network/src/modules/NetworkService.rb 
new/yast2-4.3.9/library/network/src/modules/NetworkService.rb
--- old/yast2-4.3.8/library/network/src/modules/NetworkService.rb   
2020-06-18 18:21:31.0 +0200
+++ new/yast2-4.3.9/library/network/src/modules/NetworkService.rb   
2020-06-22 09:07:29.0 +0200
@@ -157,6 +157,19 @@
 
 alias_method :is_disabled, :disabled?
 
+# Choose the given backend as the one to be used
+#
+# @param name [Symbol] backend name
+# @param [Boolean] return whether the given backend was selected or not
+def use(name)
+  return false unless BACKENDS.key?(name)
+
+  Read()
+  @cached_name = name
+
+  true
+end
+
 def use_network_manager
   Read()
   @cached_name = :network_manager
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.8/library/network/test/network_service_test.rb 
new/yast2-4.3.9/library/network/test/network_service_test.rb
--- old/yast2-4.3.8/library/network/test/network_service_test.rb
2020-06-18 18:21:31.0 +0200
+++ new/yast2-4.3.9/library/network/test/network_service_test.rb
2020-06-22 09:07:29.0 +0200
@@ -150,4 +150,44 @@
   expect(subject.wicked?).to eq(true)
 end
   end
+
+  describe "#use" do
+before do
+  allow(subject).to receive(:backend_in_use).and_return(:wicked)
+  subject.reset!
+end
+
+context "when the given backend is supported" do
+  it "ensures that the config is read before modifying it" do
+expect(subject).to receive(:Read).and_call_original
+subject.use(:network_manager)
+  end
+
+  it "changes the backend to the one given" do
+expect { subject.use(:network_manager) }
+  .to change { subject.cached_name }.from(:wicked).to(:network_manager)
+  end
+
+  it "returns true" do
+expect(subject.use(:wicked)).to eql(true)
+  end
+end
+
+context "when the given backend is not supported" do
+  it "does not try to read the current config" do
+expect(subject).to_not receive(:Read)
+subject.use(:not_supported)
+  end
+
+  it "does not modify the cached name" do
+value = subject.cached_name
+subject.use(:not_supported)
+expect(subject.cached_name).to eql(value)
+  end
+
+  it "returns false" do
+expect(subject.use(:not_supported)).to eql(false)
+  end
+end
+  end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.8/package/yast2.changes 

commit yast2 for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-06-19 16:48:48

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3606 (New)


Package is "yast2"

Fri Jun 19 16:48:48 2020 rev:484 rq:815784 version:4.3.8

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-06-11 
14:44:26.805337889 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3606/yast2.changes2020-06-19 
16:48:57.958247516 +0200
@@ -1,0 +2,16 @@
+Thu Jun 18 15:23:54 UTC 2020 - Ladislav Slezák 
+
+- Updated Yast::XML.validate arguments
+- Distinguish between a String argument (containing a XML
+  document/schema) and Pathname (path to a file)
+- Related to bsc#1170886
+- 4.3.8
+
+---
+Tue Jun 16 14:01:51 UTC 2020 - Imobach Gonzalez Sosa 
+
+- Add a method to determine the default start mode for a system
+  service (related to bsc#1172749).
+- 4.3.7
+
+---

Old:

  yast2-4.3.6.tar.bz2

New:

  yast2-4.3.8.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.0iqQc8/_old  2020-06-19 16:48:59.530252412 +0200
+++ /var/tmp/diff_new_pack.0iqQc8/_new  2020-06-19 16:48:59.530252412 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.6
+Version:4.3.8
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.6.tar.bz2 -> yast2-4.3.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.6/.rubocop.yml new/yast2-4.3.8/.rubocop.yml
--- old/yast2-4.3.6/.rubocop.yml2020-06-10 16:48:18.0 +0200
+++ new/yast2-4.3.8/.rubocop.yml2020-06-18 18:21:31.0 +0200
@@ -30,6 +30,8 @@
 # ExcludedMethods: refine
 Metrics/BlockLength:
   Max: 877
+  Exclude:
+- "library/*/test/**/*_test.rb"
 
 Metrics/PerceivedComplexity:
   Max: 65
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.6/library/systemd/doc/services_and_sockets.md 
new/yast2-4.3.8/library/systemd/doc/services_and_sockets.md
--- old/yast2-4.3.6/library/systemd/doc/services_and_sockets.md 2020-06-10 
16:48:18.0 +0200
+++ new/yast2-4.3.8/library/systemd/doc/services_and_sockets.md 2020-06-18 
18:21:31.0 +0200
@@ -7,7 +7,7 @@
 
 When a service is configured by using YaST (e.g., with the Services Manager), 
all units related to
 each service must be taken into account. For example, when a service is 
stopped, the socket
-associated to such service should be also stopped. Otherwise, the sevice could 
be automatically
+associated to such service should be also stopped. Otherwise, the service 
could be automatically
 activated again via its socket.
 
 This file extends the {Yast2::SystemService} class documentation describing 
how it works with the
@@ -24,8 +24,8 @@
   on demand or manually)
 * apply all changes in the "real system"
 
-One goal in this class is to offer an agnostic API. At this moment it uses 
Systemd in low levels
-layers, but in future this could change and the API should remain as much as 
possible.
+One of the goals of this class is to offer an agnostic API. At this moment it 
uses Systemd in low
+levels layers, but in future this could change and the API should remain as 
much as possible.
 
 ## Actions over Systemd units
 
@@ -41,7 +41,7 @@
 
 ## Detailed actions
 
-Here each `SystemService` action is decribed in a more detailed way.
+Here each `SystemService` action is described in a more detailed way.
 
 First of all, we are going to consider that a `SystemService` is 
stopped/running as follows:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.3.6/library/systemd/src/lib/yast2/system_service.rb 
new/yast2-4.3.8/library/systemd/src/lib/yast2/system_service.rb
--- old/yast2-4.3.6/library/systemd/src/lib/yast2/system_service.rb 
2020-06-10 16:48:18.0 +0200
+++ new/yast2-4.3.8/library/systemd/src/lib/yast2/system_service.rb 
2020-06-18 18:21:31.0 +0200
@@ -205,14 +205,16 @@
 def current_start_mode
   return @current_start_mode unless @current_start_mode.nil?
 
-  @current_start_mode =
-if service.enabled?
-  :on_boot
-elsif socket&.enabled?
-  :on_demand
-else
-  :manual
-end
+  @current_start_mode = start_mode_from(service, socket, :enabled?)
+end
+
+# Determines the default start mode for this service
+#
+# @return [Symbol] :on_boot, :on_demand, :manual
+def 

commit yast2 for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-06-11 14:43:55

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3606 (New)


Package is "yast2"

Thu Jun 11 14:43:55 2020 rev:483 rq:813265 version:4.3.6

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-06-10 
00:39:10.809520070 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3606/yast2.changes2020-06-11 
14:44:26.805337889 +0200
@@ -1,0 +2,6 @@
+Tue Jun  9 16:00:19 UTC 2020 - David Diaz 
+
+- Fix Xen detection (bsc#1172742).
+- 4.3.6
+
+---

Old:

  yast2-4.3.5.tar.bz2

New:

  yast2-4.3.6.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.ReAs03/_old  2020-06-11 14:44:27.473339834 +0200
+++ /var/tmp/diff_new_pack.ReAs03/_new  2020-06-11 14:44:27.477339846 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.3.5
+Version:4.3.6
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.3.5.tar.bz2 -> yast2-4.3.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.3.5/library/general/src/modules/Arch.rb 
new/yast2-4.3.6/library/general/src/modules/Arch.rb
--- old/yast2-4.3.5/library/general/src/modules/Arch.rb 2020-06-08 
12:26:06.0 +0200
+++ new/yast2-4.3.6/library/general/src/modules/Arch.rb 2020-06-10 
16:48:18.0 +0200
@@ -353,73 +353,52 @@
   @_is_uml = Convert.to_boolean(SCR.Read(path(".probe.is_uml"))) if 
@_is_uml.nil?
   @_is_uml
 end
+
 # 
 # XEN stuff
 
-# true if Xen kernel is running (dom0 or domU)
-# @return true if the Xen kernel is running
+# Whether the Xen kernel is running
+#
+# @see https://wiki.xen.org/wiki/Xen_Project_Software_Overview
+#
+# @return [Boolean] true if the Xen kernel is running; false otherwise
 def is_xen
-  if @_is_xen.nil?
-# XEN kernel has /proc/xen directory
-stat = Convert.to_map(SCR.Read(path(".target.stat"), "/proc/xen"))
-Builtins.y2milestone("stat /proc/xen: %1", stat)
-
-@_is_xen = Ops.greater_than(Builtins.size(stat), 0)
-
-if @_is_xen
-  Builtins.y2milestone("/proc/xen exists")
-
-  # check also the running kernel
-  # a FV machine has also /proc/xen, but the kernel is kernel-default
-  out = Convert.to_map(
-SCR.Execute(path(".target.bash_output"), "/usr/bin/uname -r", {})
-  )
-
-  kernel_ver = Ops.get_string(out, "stdout", "")
-  l = Builtins.splitstring(kernel_ver, "\n")
-  kernel_ver = Ops.get(l, 0, "")
-  Builtins.y2milestone("Kernel version: %1", kernel_ver)
-
-  if !Builtins.regexpmatch(kernel_ver, "-xen$") &&
-  !Builtins.regexpmatch(kernel_ver, "-xenpae$")
-# kernel default is running
-@_is_xen = false
-  end
-
-  Builtins.y2milestone("kernel-xen is running: %1", @_is_xen)
-end
-  end
+  return @_is_xen unless @_is_xen.nil?
 
-  @_is_xen
+  @_is_xen = SCR.Read(path(".target.stat"), "/proc/xen")["isdir"] || false
 end
 
-# true if dom0 Xen kernel is running
-# @see #is_xenU
+# Whether it is a Xen host (dom0)
+#
 # @see #is_xen
-# @return true if the Xen kernel is running in dom0
+# @see #is_xenU
+# @see https://wiki.xen.org/wiki/Dom0
+#
+# @return [Boolean] true if it is a Xen dom0; false otherwise
 def is_xen0
-  if @_is_xen0.nil?
-# dom0 Xen kernel has /proc/xen/xsd_port file
-stat = Convert.to_map(
-  SCR.Read(path(".target.stat"), "/proc/xen/xsd_port")
-)
-Builtins.y2milestone("stat /proc/xen/xsd_port: %1", stat)
+  return @_is_xen0 unless @_is_xen0.nil?
 
-@_is_xen0 = Ops.greater_than(Builtins.size(stat), 0)
-  end
-
-  @_is_xen0
+  @_is_xen0 = is_xen && xen_capabilities.include?("control_d")
 end
 
-# true if domU Xen kernel is running
+# Whether it is a Xen guest (domU)
 #
-# @see #is_xen0
 # @see #is_xen
-# @return true if the Xen kernel is running in another domain than dom0
+# @see #is_xen0
+# @see https://wiki.xen.org/wiki/DomU
+#
+# @return [Boolean] true if it is a Xen domU; false otherwise
 def is_xenU
   is_xen && !is_xen0
 end
 
+# Convenience method to retrieve the /proc/xen/capabilities content
+#
+# @return [String]
+def xen_capabilities
+  

commit yast2 for openSUSE:Factory

2020-06-09 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-06-10 00:38:46

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3606 (New)


Package is "yast2"

Wed Jun 10 00:38:46 2020 rev:482 rq:812542 version:4.3.5

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-05-09 
19:50:53.428649327 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3606/yast2.changes2020-06-10 
00:39:10.809520070 +0200
@@ -1,0 +2,53 @@
+Fri Jun  5 15:13:42 UTC 2020 - José Iván López González 
+
+- Improve actions to stop and start a system service.
+- Related to bsc#1162514.
+- 4.3.5
+
+---
+Thu Jun  4 13:16:21 UTC 2020 - Josef Reidinger 
+
+- Drop anyxml agent to unify used xml parsers. All usage replaced
+  by rubygem-nokogiri
+  (related to bsc#1170886)
+- 4.3.4
+
+---
+Mon Jun  1 08:45:51 UTC 2020 - Ladislav Slezák 
+
+- Improved XML validation, raise exception for not well formed
+  documents (related to bsc#1170886)
+- 4.3.3
+
+---
+Fri May 29 05:21:09 UTC 2020 - sch...@suse.de
+
+- autoinst_issues/list.add : Fixed documentation.
+  (bsc#1171335).
+
+---
+Mon May 18 10:21:09 UTC 2020 - sch...@suse.de
+
+- autoinst_issues/list.add : Changed first parameter from tag to
+  classes (bsc#1171335).
+- Added general AY issue classes: InvalidValue, MissingValue
+- 4.3.2
+
+---
+Mon May 18 08:21:09 UTC 2020 - Ladislav Slezák 
+
+- Restore back the perl-XML-Simple dependency, it is needed for
+  ag_anyxml (related to bsc#1170886)
+- 4.3.1
+
+---
+Thu May 14 07:32:16 UTC 2020 - Josef Reidinger 
+
+- Re-implement XML parser (bsc#1170886):
+-- use as backend nokogiri instead of hand written libxml2 wrapper
+-- Use exceptions instead of silently ignoring issues
+-- export map as type to xml
+-- add new method #validate to validate against relax-ng schema
+- 4.3.0
+
+---

Old:

  yast2-4.2.84.tar.bz2

New:

  yast2-4.3.5.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.zC9gzI/_old  2020-06-10 00:39:12.457524391 +0200
+++ /var/tmp/diff_new_pack.zC9gzI/_new  2020-06-10 00:39:12.461524402 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.84
+Version:4.3.5
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -33,7 +33,6 @@
 BuildRequires:  grep
 # for some system directories
 BuildRequires:  filesystem
-BuildRequires:  perl-XML-Writer
 # for defining abstract methods in libraries
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:abstract_method)
 # for file access using augeas
@@ -53,6 +52,8 @@
 # Pkg.Resolvables()
 BuildRequires:  yast2-pkg-bindings >= 4.2.0
 BuildRequires:  rubygem(%rb_default_ruby_abi:yast-rake)
+# for XML module
+BuildRequires:  rubygem(%rb_default_ruby_abi:nokogiri)
 # To have Yast::WFM.scr_root
 BuildRequires:  yast2-ruby-bindings >= 3.2.8
 BuildRequires:  yast2-testsuite
@@ -68,8 +69,6 @@
 Requires:   coreutils
 # for GPG.ycp
 Requires:   gpg2
-# for ag_anyxml
-Requires:   perl-XML-Simple
 # for defining abstract methods in libraries
 Requires:   rubygem(%{rb_default_ruby_abi}:abstract_method)
 # for file access using augeas
@@ -81,6 +80,8 @@
 Requires:   rubygem(%{rb_default_ruby_abi}:simpleidn)
 # for running scripts
 Requires:   rubygem(%{rb_default_ruby_abi}:cheetah)
+# for XML module
+Requires:   rubygem(%rb_default_ruby_abi:nokogiri)
 # ag_ini section_private
 # ag_ini with (un)quoting support
 Requires:   yast2-core >= 2.23.0
@@ -91,7 +92,6 @@
 Requires:   yast2-pkg-bindings >= 4.2.0
 # for y2start
 Requires:   yast2-ruby-bindings >= 3.2.10
-Requires:   yast2-xml
 # new UI::SetApplicationTitle
 Requires:   yast2-ycp-ui-bindings >= 3.2.0
 Requires:   yui_backend
@@ -117,8 +117,10 @@
 Conflicts:  yast2-installation < 4.2.9
 # moved cfg_mail.scr
 Conflicts:  yast2-mail < 3.1.7
-# y2packager/repository.rb has been moved here
-Conflicts:  yast2-packager < 4.2.46
+# anyxml droppped
+Conflicts:  yast2-packager < 4.3.2
+# anyxml droppped
+Conflicts:  yast2-update < 4.3.0
 # Older snapper does not provide machine-readable output
 Conflicts:  snapper < 0.8.6
 

++ yast2-4.2.84.tar.bz2 -> yast2-4.3.5.tar.bz2 ++
 2046 lines of diff (skipped)


commit yast2 for openSUSE:Factory

2020-05-09 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-05-09 19:50:39

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.2738 (New)


Package is "yast2"

Sat May  9 19:50:39 2020 rev:481 rq:801293 version:4.2.84

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-04-29 
20:44:04.639907794 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.2738/yast2.changes2020-05-09 
19:50:53.428649327 +0200
@@ -1,0 +2,6 @@
+Wed May  6 17:43:51 CEST 2020 - sch...@suse.de
+
+- AutoYaST: Cleanup/improve issue handling (bsc#1171335).
+- 4.2.84 
+
+---

Old:

  yast2-4.2.83.tar.bz2

New:

  yast2-4.2.84.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.nZQMeI/_old  2020-05-09 19:50:54.544651722 +0200
+++ /var/tmp/diff_new_pack.nZQMeI/_new  2020-05-09 19:50:54.544651722 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.83
+Version:4.2.84
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.83.tar.bz2 -> yast2-4.2.84.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.83/doc/desktop_file.md 
new/yast2-4.2.84/doc/desktop_file.md
--- old/yast2-4.2.83/doc/desktop_file.md2020-04-28 12:46:42.0 
+0200
+++ new/yast2-4.2.84/doc/desktop_file.md2020-05-07 17:01:23.0 
+0200
@@ -112,3 +112,8 @@
 * *X-SuSE-YaST-AutoLogResource* Specifies whether data in profile can be 
logged.
   Useful if data contains sensitive information. Possible values are `true` and
   `false`. By default `true`.
+
+## Miscellaneous Keys
+
+* *X-SuSE-DocTeamID* Specifies the identifier to be used when translating
+  the module's name. To be used by `Yast::Builtins.dpgettext`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.83/library/general/src/lib/installation/autoinst_issues/issue.rb 
new/yast2-4.2.84/library/general/src/lib/installation/autoinst_issues/issue.rb
--- 
old/yast2-4.2.83/library/general/src/lib/installation/autoinst_issues/issue.rb  
1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-4.2.84/library/general/src/lib/installation/autoinst_issues/issue.rb  
2020-05-07 17:01:23.0 +0200
@@ -0,0 +1,51 @@
+module Installation
+  module AutoinstIssues
+# Base class for autoinstallation problems.
+#
+# Installation::AutoinstIssues offers an API to register and report
+# AutoYaST problems.
+class Issue
+  include Yast::I18n
+
+  # @return [#parent,#section_name] Section where it was detected (see 
{AutoinstProfile})
+  attr_reader :section
+
+  # Return problem severity
+  #
+  # * :fatal: abort the installation.
+  # * :warn:  display a warning.
+  #
+  # @return [Symbol] Issue severity (:warn, :fatal)
+  # @raise NotImplementedError
+  def severity
+raise NotImplementedError
+  end
+
+  # Return the error message to be displayed
+  #
+  # @return [String] Error message
+  # @raise NotImplementedError
+  def message
+raise NotImplementedError
+  end
+
+  # Determine whether an error is fatal
+  #
+  # This is just a convenience method.
+  #
+  # @return [Boolean]
+  def fatal?
+severity == :fatal
+  end
+
+  # Determine whether an error is just a warning
+  #
+  # This is just a convenience method.
+  #
+  # @return [Boolean]
+  def warn?
+severity == :warn
+  end
+end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.83/library/general/src/lib/installation/autoinst_issues/issues_presenter.rb
 
new/yast2-4.2.84/library/general/src/lib/installation/autoinst_issues/issues_presenter.rb
--- 
old/yast2-4.2.83/library/general/src/lib/installation/autoinst_issues/issues_presenter.rb
   1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-4.2.84/library/general/src/lib/installation/autoinst_issues/issues_presenter.rb
   2020-05-07 17:01:23.0 +0200
@@ -0,0 +1,154 @@
+# Copyright (c) [2020] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the 

commit yast2 for openSUSE:Factory

2020-04-29 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-04-29 20:44:01

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.2738 (New)


Package is "yast2"

Wed Apr 29 20:44:01 2020 rev:480 rq:798636 version:4.2.83

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-04-15 
19:53:05.661561103 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.2738/yast2.changes2020-04-29 
20:44:04.639907794 +0200
@@ -1,0 +2,7 @@
+Fri Apr 24 14:53:03 UTC 2020 - Knut Anderssen 
+
+- Avoid using systemctl calls when already started with the
+  installation and thus, running inside the chroot (bsc#1168849)
+- 4.2.83
+
+---

Old:

  yast2-4.2.82.tar.bz2

New:

  yast2-4.2.83.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.gcNW9l/_old  2020-04-29 20:44:06.227911935 +0200
+++ /var/tmp/diff_new_pack.gcNW9l/_new  2020-04-29 20:44:06.227911935 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.82
+Version:4.2.83
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.82.tar.bz2 -> yast2-4.2.83.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.82/library/systemd/src/lib/yast2/systemd/unit.rb 
new/yast2-4.2.83/library/systemd/src/lib/yast2/systemd/unit.rb
--- old/yast2-4.2.82/library/systemd/src/lib/yast2/systemd/unit.rb  
2020-04-13 18:11:42.0 +0200
+++ new/yast2-4.2.83/library/systemd/src/lib/yast2/systemd/unit.rb  
2020-04-28 12:46:42.0 +0200
@@ -106,7 +106,9 @@
   # @return [Yast2::Systemd::UnitProperties]
   def show(property_text = nil)
 # Using different handler during first stage (installation, update, 
...)
-if Yast::Stage.initial && !Yast::Systemd.Running
+# Avoid to call systemctl when running inside a chroot (bsc#1168849) as
+# it reports an error by default.
+if Yast::WFM.scr_chrooted? || (Yast::Stage.initial && 
!Yast::Systemd.Running)
   UnitInstallationProperties.new(self)
 else
   UnitProperties.new(self, property_text)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.82/library/systemd/test/yast2/systemctl_test.rb 
new/yast2-4.2.83/library/systemd/test/yast2/systemctl_test.rb
--- old/yast2-4.2.82/library/systemd/test/yast2/systemctl_test.rb   
2020-04-13 18:11:42.0 +0200
+++ new/yast2-4.2.83/library/systemd/test/yast2/systemctl_test.rb   
2020-04-28 12:46:42.0 +0200
@@ -9,6 +9,7 @@
 
 before do
   allow(Yast::Systemd).to receive(:Running).and_return(true)
+  allow(Yast::WFM).to receive(:scr_chrooted?).and_return(false)
 end
 
 describe ".execute" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.82/library/systemd/test/yast2/systemd_unit_test.rb 
new/yast2-4.2.83/library/systemd/test/yast2/systemd_unit_test.rb
--- old/yast2-4.2.82/library/systemd/test/yast2/systemd_unit_test.rb
2020-04-13 18:11:42.0 +0200
+++ new/yast2-4.2.83/library/systemd/test/yast2/systemd_unit_test.rb
2020-04-28 12:46:42.0 +0200
@@ -22,7 +22,8 @@
 context "Installation system without full support of systemd" do
   before do
 allow(Yast::Stage).to receive(:initial).and_return(true)
-allow(Yast::Systemd).to receive(:Running).and_return(false)
+allow(Yast::WFM).to receive(:scr_chrooted?).and_return(true)
+allow(Yast::Systemd).to receive(:Running).and_return(true)
   end
 
   describe "#properties" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.82/package/yast2.changes 
new/yast2-4.2.83/package/yast2.changes
--- old/yast2-4.2.82/package/yast2.changes  2020-04-13 18:11:42.0 
+0200
+++ new/yast2-4.2.83/package/yast2.changes  2020-04-28 12:46:42.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Fri Apr 24 14:53:03 UTC 2020 - Knut Anderssen 
+
+- Avoid using systemctl calls when already started with the
+  installation and thus, running inside the chroot (bsc#1168849)
+- 4.2.83
+
+---
 Mon Apr 13 12:36:58 UTC 2020 - Knut Anderssen 
 
 - Remove ip aliases that were marked to be deleted from the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.82/package/yast2.spec 

commit yast2 for openSUSE:Factory

2020-04-15 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-04-15 19:53:03

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.2738 (New)


Package is "yast2"

Wed Apr 15 19:53:03 2020 rev:479 rq:793654 version:4.2.82

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-04-11 
23:45:28.167040514 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.2738/yast2.changes2020-04-15 
19:53:05.661561103 +0200
@@ -1,0 +2,7 @@
+Mon Apr 13 12:36:58 UTC 2020 - Knut Anderssen 
+
+- Remove ip aliases that were marked to be deleted from the
+  interface configuration files (bsc#1146020)
+- 4.2.82
+
+---

Old:

  yast2-4.2.81.tar.bz2

New:

  yast2-4.2.82.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Azp9GY/_old  2020-04-15 19:53:06.177561336 +0200
+++ /var/tmp/diff_new_pack.Azp9GY/_new  2020-04-15 19:53:06.181561338 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.81
+Version:4.2.82
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.81.tar.bz2 -> yast2-4.2.82.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.81/library/network/src/modules/NetworkInterfaces.rb 
new/yast2-4.2.82/library/network/src/modules/NetworkInterfaces.rb
--- old/yast2-4.2.81/library/network/src/modules/NetworkInterfaces.rb   
2020-04-07 14:46:40.0 +0200
+++ new/yast2-4.2.82/library/network/src/modules/NetworkInterfaces.rb   
2020-04-13 18:11:42.0 +0200
@@ -801,12 +801,11 @@
 
   # remove deleted devices
   log.info("Deleted=#{@Deleted}")
-  Builtins.foreach(@Deleted) do |d|
-# delete config file
-p = Builtins.add(path(".network.section"), d)
-log.debug("deleting: #{p}")
-SCR.Write(p, nil)
+  @Deleted.each do |d|
+iface, alias_num = d.split("#")
+alias_num ? delete_alias(original_devs, iface, alias_num) : 
delete_device(iface)
   end
+
   @Deleted = []
 
   # write all devices
@@ -1537,6 +1536,38 @@
   devices
 end
 
+# Convenience method to delete an interface config file from the system
+#
+# @param iface [String] interface name of the config file to be deleted
+def delete_device(iface)
+  p = path(".network.section") + iface
+  log.debug("deleting: #{p}")
+  SCR.Write(p, nil)
+end
+
+# Convenience method to delete an specific ip alias from an interface
+# config file
+#
+# @param devices [Hash>] hash with the devices
+#   to remove the aliases from
+# @param iface [String] interface name of the alias which alias need to be
+#   removed
+# @param alias_num [String] index num of the alias that needs to be removed
+def delete_alias(devices, iface, alias_num)
+  dev_map = devices.values.find { |d| d.keys.include?(iface) } || {}
+  dev_aliases = dev_map.fetch(iface, {}).fetch("_aliases", {})
+
+  base = path(".network.value") + iface
+  # look in OriginalDevs because we need to catch all variables
+  # of the alias
+
+  dev_aliases.fetch(alias_num, {}).keys.each do |key|
+p = base + "#{key}_#{alias_num}"
+log.debug("deleting: #{p}")
+SCR.Write(p, nil)
+  end
+end
+
 publish variable: :Name, type: "string"
 publish variable: :Current, type: "map "
 publish variable: :CardRegex, type: "map "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.81/library/network/test/network_interfaces_test.rb 
new/yast2-4.2.82/library/network/test/network_interfaces_test.rb
--- old/yast2-4.2.81/library/network/test/network_interfaces_test.rb
2020-04-07 14:46:40.0 +0200
+++ new/yast2-4.2.82/library/network/test/network_interfaces_test.rb
2020-04-13 18:11:42.0 +0200
@@ -322,6 +322,8 @@
 let(:network_path) { File.join(data_dir, "etc/sysconfig/network") }
 let(:ifcfg_copy) { File.join(network_path, "ifcfg-copy") }
 let(:ifcfg_file) { File.join(network_path, "ifcfg-eth1") }
+let(:eth0_back) { File.join(network_path, "ifcfg-eth0.backup") }
+let(:eth0) { File.join(network_path, "ifcfg-eth0") }
 
 before do
   subject.CleanCacheRead()
@@ -329,8 +331,11 @@
 
 around do |example|
   ::FileUtils.cp(ifcfg_file, ifcfg_copy)
+  ::FileUtils.cp(eth0, eth0_back)
   change_scr_root(data_dir, )
+  ::FileUtils.cp(eth0_back, eth0)
   ::FileUtils.rm(ifcfg_copy)
+  ::FileUtils.rm(eth0_back)
 end
 
 context "when the 

commit yast2 for openSUSE:Factory

2020-04-11 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-04-11 23:45:26

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3248 (New)


Package is "yast2"

Sat Apr 11 23:45:26 2020 rev:478 rq:791985 version:4.2.81

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-04-05 
20:49:51.472970956 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.3248/yast2.changes2020-04-11 
23:45:28.167040514 +0200
@@ -1,0 +2,6 @@
+Tue Apr  7 08:33:55 UTC 2020 - Stefan Hundhammer 
+
+- Retranslate wizard help button in NCurses UI (bsc#1167224)
+- 4.2.81
+
+---

Old:

  yast2-4.2.80.tar.bz2

New:

  yast2-4.2.81.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.dU36id/_old  2020-04-11 23:45:30.187041962 +0200
+++ /var/tmp/diff_new_pack.dU36id/_new  2020-04-11 23:45:30.187041962 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.80
+Version:4.2.81
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -225,7 +225,6 @@
 # documentation (not included in devel subpackage)
 %doc %dir %{yast_docdir}
 %license %{yast_docdir}/COPYING
-%doc %{yast_docdir}/CONTRIBUTING.md
 %doc %{yast_docdir}/README.md
 
 %{_mandir}/*/*

++ yast2-4.2.80.tar.bz2 -> yast2-4.2.81.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.80/CONTRIBUTING.md 
new/yast2-4.2.81/CONTRIBUTING.md
--- old/yast2-4.2.80/CONTRIBUTING.md2020-04-03 13:37:08.0 +0200
+++ new/yast2-4.2.81/CONTRIBUTING.md1970-01-01 01:00:00.0 +0100
@@ -1,89 +0,0 @@
-YaST Contribution Guidelines
-
-
-YaST is an open source project and as such it welcomes all kinds of
-contributions. If you decide to contribute, please follow these guidelines to
-ensure the process is effective and pleasant both for you and the YaST 
maintainers.
-
-There are two main forms of contribution: reporting bugs and performing code
-changes.
-
-Bug Reports

-
-If you find a problem, please report it either using
-[Bugzilla](https://bugzilla.suse.com/enter_bug.cgi?format=guided=openSUSE+Factory=YaST2)
-or [GitHub issues](../../issues). (For Bugzilla, use the [simplified
-registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp)
-if you don't have an account yet.)
-
-When creating a bug report, please follow our [bug reporting
-guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug).
-
-We can't guarantee that every bug will be fixed, but we'll try.
-
-Code Changes
-
-
-We welcome all kinds of code contributions, from simple bug fixes to 
significant
-refactorings and implementation of new features. However, before making any
-non-trivial contribution, get in touch with us first — this can prevent wasted
-effort on both sides. Also, have a look at our [development
-documentation](http://en.opensuse.org/openSUSE:YaST_development).
-
-To send us your code change, use GitHub pull requests. The workflow is as
-follows:
-
-  1. Fork the project.
-
-  2. Create a topic branch based on `master`.
-
-  3. Implement your change, including tests (if possible). Make sure you adhere
- to the [Ruby style
- guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md).
-
-  4. Update the package version (in `packages/*.spec`, usually by
- `rake version:bump`) and add a new entry to the `package/*.changes` file
- (by `osc vc package`).  
- For bigger changes or changes which need longer discussion it is advised 
to
- add this as a separate last commit so it can be easily updated when 
another
- change is merged in the meantime.
-
-  5. Make sure your change didn't break anything by building the RPM package
- (`rake osc:build`). The build process includes running the full testsuite.
-
-  6. Publish the branch and create a pull request.
-
-  7. YaST developers will review your change and possibly point out issues.
- Adapt the code under their guidance until they are all resolved.
-
-  8. Finally, the pull request will get merged or rejected.
-
-See also [GitHub's guide on
-contributing](https://help.github.com/articles/fork-a-repo).
-
-If you want to do multiple unrelated changes, use separate branches and pull
-requests.
-
-### Commits
-
-Each commit in the pull request should do only one thing, which is clearly
-described by its commit message. Especially avoid mixing formatting changes and
-functional changes into one commit. When writing commit messages, adhere to
-[widely used

commit yast2 for openSUSE:Factory

2020-04-05 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-04-05 20:49:50

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3248 (New)


Package is "yast2"

Sun Apr  5 20:49:50 2020 rev:477 rq:791177 version:4.2.80

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-03-27 
21:57:08.390787252 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.3248/yast2.changes2020-04-05 
20:49:51.472970956 +0200
@@ -1,0 +2,15 @@
+Fri Apr  3 09:55:17 UTC 2020 - Knut Anderssen 
+
+- Modify the way YaST detects whether systemd is running or not
+  (bsc#1168307)
+- 4.2.80
+
+---
+Fri Mar 27 13:12:00 UTC 2020 - Knut Anderssen 
+
+- Reread network interfaces configuration after writing it avoiding
+  wrong values when reopen network configuration dialog during an
+  installation (bsc#1166778)
+- 4.2.79
+
+---

Old:

  yast2-4.2.78.tar.bz2

New:

  yast2-4.2.80.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.HtZOFd/_old  2020-04-05 20:49:52.048971507 +0200
+++ /var/tmp/diff_new_pack.HtZOFd/_new  2020-04-05 20:49:52.052971511 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.78
+Version:4.2.80
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.78.tar.bz2 -> yast2-4.2.80.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.78/.travis.yml new/yast2-4.2.80/.travis.yml
--- old/yast2-4.2.78/.travis.yml2020-03-26 14:18:52.0 +0100
+++ new/yast2-4.2.80/.travis.yml2020-04-03 13:37:08.0 +0200
@@ -12,4 +12,4 @@
 script:
   # the "yast-travis-ruby" script is included in the base yastdevel/ruby image
   # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby
-  - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" 
yast-yast2-image yast-travis-ruby
+  - docker run -it -e TRAVIS=1 --privileged -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" 
yast-yast2-image yast-travis-ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.78/library/network/src/modules/NetworkInterfaces.rb 
new/yast2-4.2.80/library/network/src/modules/NetworkInterfaces.rb
--- old/yast2-4.2.78/library/network/src/modules/NetworkInterfaces.rb   
2020-03-26 14:18:52.0 +0100
+++ new/yast2-4.2.80/library/network/src/modules/NetworkInterfaces.rb   
2020-04-03 13:37:08.0 +0200
@@ -954,6 +954,9 @@
 
   # Finish him
   SCR.Write(path(".network"), nil)
+  # Reread all settings to avoid wrong values when reopen the network
+  # dialog during installation (bsc#1166778)
+  CleanCacheRead()
 
   true
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.78/library/network/test/data/etc/sysconfig/network/ifcfg-eth1 
new/yast2-4.2.80/library/network/test/data/etc/sysconfig/network/ifcfg-eth1
--- old/yast2-4.2.78/library/network/test/data/etc/sysconfig/network/ifcfg-eth1 
2020-03-26 14:18:52.0 +0100
+++ new/yast2-4.2.80/library/network/test/data/etc/sysconfig/network/ifcfg-eth1 
2020-04-03 13:37:08.0 +0200
@@ -1,4 +1,4 @@
-DEVICE=eth1
+DEVICE='eth1'
 BOOTPROTO='static'
 STARTMODE='auto'
-SLAVE=YES
+SLAVE='YES'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.78/library/network/test/data/etc/sysconfig/network/single_quote.test
 
new/yast2-4.2.80/library/network/test/data/etc/sysconfig/network/single_quote.test
--- 
old/yast2-4.2.78/library/network/test/data/etc/sysconfig/network/single_quote.test
  1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-4.2.80/library/network/test/data/etc/sysconfig/network/single_quote.test
  2020-04-03 13:37:08.0 +0200
@@ -0,0 +1,5 @@
+DEVICE='single'
+BOOTPROTO='dhcp'
+STARTMODE='auto'
+DHCLIENT_SET_HOSTNAME='yes'
+NAME='single 'quoted' name'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.78/library/network/test/network_interfaces_test.rb 
new/yast2-4.2.80/library/network/test/network_interfaces_test.rb
--- old/yast2-4.2.78/library/network/test/network_interfaces_test.rb
2020-03-26 14:18:52.0 +0100
+++ new/yast2-4.2.80/library/network/test/network_interfaces_test.rb
2020-04-03 13:37:08.0 +0200
@@ -52,6 +52,9 @@
 
   describe "#Read" do
 let(:data_dir) { File.join(File.dirname(__FILE__), "data") }
+let(:network_path) { 

commit yast2 for openSUSE:Factory

2020-03-27 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-03-27 21:56:28

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3160 (New)


Package is "yast2"

Fri Mar 27 21:56:28 2020 rev:476 rq:788558 version:4.2.78

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-03-22 
14:16:13.974020730 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.3160/yast2.changes2020-03-27 
21:57:08.390787252 +0100
@@ -1,0 +2,28 @@
+Thu Mar 26 12:57:33 UTC 2020 - David Diaz 
+
+- Remove no longer needed multi status selector since it
+  does not work as expected (bsc#1167523).
+- 4.2.78
+
+---
+Tue Mar 24 16:40:09 UTC 2020 - Ladislav Slezák 
+
+- Fixed alignment in the multi selection CWM widget
+  (part of bsc#1167523)
+- 4.2.77
+
+---
+Mon Mar 23 11:15:56 UTC 2020 - Josef Reidinger 
+
+- Add Popup#SuppressFeedback to allow to hide feedback for certain
+  actions (needed for bsc#1165705)
+- 4.2.76
+
+---
+Sat Mar 21 11:56:41 UTC 2020 - Knut Anderssen 
+
+- Force a reset of the firewalld API instance before reading the
+  firewalld configuration (bsc#1166698)
+- 4.2.75
+
+---

Old:

  yast2-4.2.74.tar.bz2

New:

  yast2-4.2.78.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Ywr1w5/_old  2020-03-27 21:57:08.866787529 +0100
+++ /var/tmp/diff_new_pack.Ywr1w5/_new  2020-03-27 21:57:08.870787532 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.74
+Version:4.2.78
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.74.tar.bz2 -> yast2-4.2.78.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.74/library/cwm/src/lib/cwm/multi_status_selector.rb 
new/yast2-4.2.78/library/cwm/src/lib/cwm/multi_status_selector.rb
--- old/yast2-4.2.74/library/cwm/src/lib/cwm/multi_status_selector.rb   
2020-03-18 09:20:55.0 +0100
+++ new/yast2-4.2.78/library/cwm/src/lib/cwm/multi_status_selector.rb   
1970-01-01 01:00:00.0 +0100
@@ -1,481 +0,0 @@
-# Copyright (c) [2020] SUSE LLC
-#
-# All Rights Reserved.
-#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2 of the GNU General Public License as published
-# by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, contact SUSE LLC.
-#
-# To contact SUSE LLC about this file by physical or electronic mail, you may
-# find current contact information at www.suse.com.
-
-require "cwm"
-require "abstract_method"
-
-module CWM
-  # Custom widget to manage multi status selection items
-  #
-  # It uses a RichText to emulate the multi selection list meeting following 
requirements:
-  #
-  #  - Allow to select more than one item.
-  #  - Able to represent multiple statuses: no selected, selected, auto 
selected.
-  #  - Items can be enable or disabled.
-  #  - Emit different events to distinguish the interaction through check box 
input or its label.
-  #  - Automatic text wrapping.
-  #  - Keep the vertical scroll.
-  #
-  # If you want to see it in action, have a look at yast2-registration or 
yast2-packager modules.
-  #
-  # TODO: make possible to use it more than once in the same dialog, maybe by 
using the parent
-  # widget_id as a prefix for the event_id. See 
{CWM::MultiStatusSelector#handle} and
-  # {CWM::MultiStatusSelector::Item.event_id}.
-  #
-  # @example Defining a MultiStatusSelector to manage products selection (with 
dependencies)
-  #
-  # require "cwm/multi_status_selector"
-  #
-  # class MyMultiStatusSelector < CWM::MultiStatusSelector
-  #   attr_reader :items
-  #
-  #   def initialize(products)
-  # @products = products
-  # @items = products.map { |p| Item.new(p) }
-  #   end
-  #
-  #   def contents
-  # VBox(
-  #   VWeight(60, super),
-  #   VWeight(40, details)
-  # )
-  #   end
-  #
-  #   def toggle(item)
-  # item.toggle
-  # select_dependencies
-  # label_event_handler(item)
-  #  

commit yast2 for openSUSE:Factory

2020-03-22 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-03-22 14:16:12

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3160 (New)


Package is "yast2"

Sun Mar 22 14:16:12 2020 rev:475 rq:786092 version:4.2.74

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-03-14 
09:54:52.519089653 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.3160/yast2.changes2020-03-22 
14:16:13.974020730 +0100
@@ -1,0 +2,7 @@
+Tue Mar 17 15:46:35 UTC 2020 - Ladislav Slezák 
+
+- Fixed CWM::MultiStatusSelector help text icons displayed during
+  installation (related to bsc#1157780, bsc#1161308, bsc#1161200)
+- 4.2.74
+
+---

Old:

  yast2-4.2.73.tar.bz2

New:

  yast2-4.2.74.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.bdWMkM/_old  2020-03-22 14:16:15.098021451 +0100
+++ /var/tmp/diff_new_pack.bdWMkM/_new  2020-03-22 14:16:15.102021454 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.73
+Version:4.2.74
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.73.tar.bz2 -> yast2-4.2.74.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.73/library/cwm/src/lib/cwm/multi_status_selector.rb 
new/yast2-4.2.74/library/cwm/src/lib/cwm/multi_status_selector.rb
--- old/yast2-4.2.73/library/cwm/src/lib/cwm/multi_status_selector.rb   
2020-03-13 11:47:39.0 +0100
+++ new/yast2-4.2.74/library/cwm/src/lib/cwm/multi_status_selector.rb   
2020-03-18 09:20:55.0 +0100
@@ -299,12 +299,12 @@
   def self.help
 help_text = ""
 # TRANSLATORS: help text for a not selected check box
-help_text << "#{icon_for(UNSELECTED)} = #{_("Not selected")}"
+help_text << "#{icon_for(UNSELECTED, mode: mode)} = #{_("Not 
selected")}"
 # TRANSLATORS: help text for a selected check box
-help_text << "#{icon_for(SELECTED)} = #{_("Selected")}"
+help_text << "#{icon_for(SELECTED, mode: mode)} = #{_("Selected")}"
 # TRANSLATORS: help text for an automatically selected check box
 # (it has a different look that a user selected check box)
-help_text << "#{icon_for(AUTO_SELECTED)} = #{_("Auto selected")}"
+help_text << "#{icon_for(AUTO_SELECTED, mode: mode)} = #{_("Auto 
selected")}"
 help_text << ""
 help_text
   end
@@ -405,11 +405,28 @@
 "#{checkbox_input} #{checkbox_label}"
   end
 
+  # Determines whether running in installation mode
+  #
+  # We do not use Stage.initial because of firstboot, which runs in 
'installation' mode
+  # but in 'firstboot' stage.
+  #
+  # @return [Boolean] Boolean if running in installation or update mode
+  def self.installation?
+Yast::Mode.installation || Yast::Mode.update
+  end
+
+  # Returns the current mode
+  #
+  # @return [String] "normal" in a running system; "inst" during the 
installation
+  def self.mode
+installation? ? "inst" : "normal"
+  end
+
 private
 
   # @see .icon_for
   def icon
-self.class.icon_for(status, mode: mode, state: state)
+self.class.icon_for(status, mode: self.class.mode, state: state)
   end
 
   # Builds the check box input representation
@@ -434,13 +451,6 @@
 end
   end
 
-  # Returns the current mode
-  #
-  # @return [String] "normal" in a running system; "inst" during the 
installation
-  def mode
-installation? ? "inst" : "normal"
-  end
-
   # Returns the current input state
   #
   # @return [String] "enabled" when item must be enabled; "disabled" 
otherwise
@@ -462,20 +472,10 @@
   #  "black" otherwise
   def color
 return "grey" unless enabled?
-return "white" if installation?
+return "white" if self.class.installation?
 
 "black"
   end
-
-  # Determines whether running in installation mode
-  #
-  # We do not use Stage.initial because of firstboot, which runs in 
'installation' mode
-  # but in 'firstboot' stage.
-  #
-  # @return [Boolean] Boolean if running in installation or update mode
-  def installation?
-Yast::Mode.installation || Yast::Mode.update
-  end
 end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.73/library/cwm/test/multi_status_selector_test.rb 

commit yast2 for openSUSE:Factory

2020-03-14 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-03-14 09:54:50

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.3160 (New)


Package is "yast2"

Sat Mar 14 09:54:50 2020 rev:474 rq:784611 version:4.2.73

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-03-01 
21:27:16.832467079 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.3160/yast2.changes2020-03-14 
09:54:52.519089653 +0100
@@ -1,0 +2,42 @@
+Fri Mar 13 01:54:58 UTC 2020 - David Diaz 
+
+- CWM::MultiStatusSelector minor improvements (related to
+  bsc#1157780).
+- 4.2.73
+
+---
+Thu Mar 12 09:14:16 UTC 2020 - David Diaz 
+
+- Add the new CWM::MultiStatusSelector custom widget (related to
+  bsc#1157780, bsc#1161308, bsc#1161200).
+- 4.2.72
+
+---
+Thu Mar 12 08:26:12 UTC 2020 - Ladislav Slezák 
+
+- Do not remove the installation repositories in the "Previously
+  Used Repositories" step (bsc#1163081)
+- 4.2.71
+
+---
+Fri Mar  6 13:26:57 UTC 2020 - David Diaz 
+
+- Allow to restore the vertical scroll of a CWM::RichText
+  (related to bsc#1049965)
+- 4.2.70
+
+---
+Fri Mar  6 12:00:43 UTC 2020 - David Diaz 
+
+- Read the list of network service properly, no matter where
+  it is stored (bsc#1162853).
+- 4.2.69
+
+---
+Fri Mar  6 08:58:24 UTC 2020 - Ladislav Slezák 
+
+- Skip repository reloading at installation to avoid unselecting
+  products to install (bsc#1165501)
+- 4.2.68
+
+---

Old:

  yast2-4.2.67.tar.bz2

New:

  yast2-4.2.73.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.zGtav5/_old  2020-03-14 09:54:53.363090273 +0100
+++ /var/tmp/diff_new_pack.zGtav5/_new  2020-03-14 09:54:53.371090279 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.67
+Version:4.2.73
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.67.tar.bz2 -> yast2-4.2.73.tar.bz2 ++
 1856 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2020-03-01 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-03-01 21:27:02

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.26092 (New)


Package is "yast2"

Sun Mar  1 21:27:02 2020 rev:473 rq:779355 version:4.2.67

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-01-30 
09:41:37.609497362 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.26092/yast2.changes   2020-03-01 
21:27:16.832467079 +0100
@@ -1,0 +2,46 @@
+Wed Feb 26 10:42:42 CET 2020 - sch...@suse.de
+
+- Updated docu for SysctlConfig class (bsc#1151649).
+
+---
+Mon Feb 24 15:02:15 CET 2020 - sch...@suse.de
+
+- Creating an own Augeas instance for each parsed sysctl file
+  (bsc#1151649).
+- 4.2.67
+
+---
+Mon Feb 17 17:59:07 UTC 2020 - sch...@suse.de
+
+- SysctlConfig class: Handle sysctl entries in different
+  directories (bsc#1151649).
+- 4.2.66  
+
+---
+Mon Feb 17 16:59:07 UTC 2020 - Stefan Hundhammer 
+
+- Fixed user-visible messages (bsc#1084015)
+- 4.2.65
+
+---
+Tue Feb  4 14:15:37 UTC 2020 - Josef Reidinger 
+
+- Show on WSL only WSL capable modules in control center
+  (bsc#1162650)
+- 4.2.64
+
+---
+Fri Jan 31 16:07:35 UTC 2020 - José Iván López González 
+
+- Add new widgets CWM::ProgressBar and CWM::DynamicProgressBar.
+- Needed for bsc#1135366.
+- 4.2.63
+
+---
+Thu Jan 30 11:19:00 UTC 2020 - Ladislav Slezák 
+
+- Do not crash when the "software/base_products" is not defined
+  in the control.xml (bsc#1161956)
+- 4.2.62
+
+---

Old:

  yast2-4.2.61.tar.bz2

New:

  yast2-4.2.67.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.q1XDxA/_old  2020-03-01 21:27:18.508470484 +0100
+++ /var/tmp/diff_new_pack.q1XDxA/_new  2020-03-01 21:27:18.516470500 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.61
+Version:4.2.67
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.61.tar.bz2 -> yast2-4.2.67.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.61/library/cwm/src/lib/cwm/dynamic_progress_bar.rb 
new/yast2-4.2.67/library/cwm/src/lib/cwm/dynamic_progress_bar.rb
--- old/yast2-4.2.61/library/cwm/src/lib/cwm/dynamic_progress_bar.rb
1970-01-01 01:00:00.0 +0100
+++ new/yast2-4.2.67/library/cwm/src/lib/cwm/dynamic_progress_bar.rb
2020-02-26 11:31:10.0 +0100
@@ -0,0 +1,86 @@
+# Copyright (c) [2020] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
+require "abstract_method"
+require "cwm/progress_bar"
+
+module CWM
+  # Widget for a dynamic progress bar, where the label can be set for every 
step.
+  #
+  # This progress bar is useful when steps are not known in advance or part of 
them are dynamically
+  # generated.
+  #
+  # @example
+  #
+  #   class MyProgressBar < CWM::DynamicProgessBar
+  # def steps_count
+  #   3
+  # end
+  #
+  # def label
+  #   "Progress"
+  # end
+  #   end
+  #
+  #   pg = MyProgressBar.new
+  #
+  #   pg.forward("step 1") #=> shows label "step 1"
+  #   pg.forward   #=> shows label "Progress"
+  #   pg.forward("step 3") #=> shows label "step 3"
+  class DynamicProgressBar < ProgressBar
+# Moves the progress forward and sets the given step as label
+#
+# @see ProgressBar#forward
+def forward(step = nil)
+  next_step(step) if step
+
+  super()
+end
+
+# @!method label
+#
+#   Label for the progress bar when no step is given, see {#forward}.
+#
+#   

commit yast2 for openSUSE:Factory

2020-01-30 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-01-30 09:40:51

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.26092 (New)


Package is "yast2"

Thu Jan 30 09:40:51 2020 rev:472 rq:768333 version:4.2.61

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-01-24 
14:11:02.122406867 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.26092/yast2.changes   2020-01-30 
09:41:37.609497362 +0100
@@ -1,0 +2,13 @@
+Wed Jan 29 13:22:50 UTC 2020 - Josef Reidinger 
+
+- Speed up run on WSL (bsc#1157575)
+- 4.2.61
+
+---
+Tue Jan 28 08:42:45 UTC 2020 - Ladislav Slezák 
+
+- Added classes for handling the old repository setup during
+  upgrade (related to bsc#1159433)
+- 4.2.60
+
+---

Old:

  yast2-4.2.59.tar.bz2

New:

  yast2-4.2.61.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Hsn5GP/_old  2020-01-30 09:41:38.877498041 +0100
+++ /var/tmp/diff_new_pack.Hsn5GP/_new  2020-01-30 09:41:38.881498043 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.59
+Version:4.2.61
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -117,8 +117,8 @@
 Conflicts:  yast2-installation < 4.2.9
 # moved cfg_mail.scr
 Conflicts:  yast2-mail < 3.1.7
-# Older packager use removed API e.g. user_switched_to_details
-Conflicts:  yast2-packager < 4.2.44
+# y2packager/repository.rb has been moved here
+Conflicts:  yast2-packager < 4.2.46
 # Older snapper does not provide machine-readable output
 Conflicts:  snapper < 0.8.6
 

++ yast2-4.2.59.tar.bz2 -> yast2-4.2.61.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.59/library/packages/src/lib/y2packager/original_repository_setup.rb
 
new/yast2-4.2.61/library/packages/src/lib/y2packager/original_repository_setup.rb
--- 
old/yast2-4.2.59/library/packages/src/lib/y2packager/original_repository_setup.rb
   1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-4.2.61/library/packages/src/lib/y2packager/original_repository_setup.rb
   2020-01-29 15:00:05.0 +0100
@@ -0,0 +1,61 @@
+# 
--
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuremberg, Germany.
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of version 2 of the GNU General Public License as published by the
+# Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 
details.
+# 
--
+
+require "singleton"
+
+require "yast"
+require "yast/logger"
+require "y2packager/repository"
+require "y2packager/service"
+
+module Y2Packager
+  #
+  # This class remembers the current repository setup. This is useful
+  # during upgrade when we need to know which repositories/services
+  # were already present in the original system and which are the new
+  # repositories used for migration.
+  #
+  # @since 4.2.60
+  class OriginalRepositorySetup
+include Yast::Logger
+include Singleton
+
+attr_reader :repositories, :services
+
+# constructor, initialize the stored lists to empty lists
+def initialize
+  @repositories = []
+  @services = []
+end
+
+# Read and store the current repository/service setup.
+def read
+  @repositories = Repository.all
+  @services = Service.all
+  log.info("Found #{repositories.size} repositories and #{services.size} 
services")
+end
+
+# Is the service present in the stored list?
+#
+# @param [String] service_alias Alias of the service
+def service?(service_alias)
+  services.any? { |s| s.alias == service_alias }
+end
+
+# Is the repository present in the stored list?
+#
+# @param [String] service_alias Alias of the service
+def repository?(repository_alias)
+  repositories.any? { |r| r.alias == repository_alias }
+end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.59/library/packages/src/lib/y2packager/repository.rb 
new/yast2-4.2.61/library/packages/src/lib/y2packager/repository.rb
--- old/yast2-4.2.59/library/packages/src/lib/y2packager/repository.rb  
1970-01-01 

commit yast2 for openSUSE:Factory

2020-01-24 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-01-24 14:10:54

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.26092 (New)


Package is "yast2"

Fri Jan 24 14:10:54 2020 rev:471 rq:766631 version:4.2.59

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-01-17 
16:03:42.120392215 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.26092/yast2.changes   2020-01-24 
14:11:02.122406867 +0100
@@ -1,0 +2,27 @@
+Thu Jan 23 14:29:49 UTC 2020 - Imobach Gonzalez Sosa 
+
+- Add an option to enable the online search in the package
+  selector (jsc#SLE-9109).
+- 4.2.59
+
+---
+Thu Jan 23 13:22:10 UTC 2020 - Steffen Winterfeldt 
+
+- don't use /bin/systemd compat symlink (bsc#1160890)
+- 4.2.58
+
+---
+Wed Jan 22 15:27:15 UTC 2020 - Josef Reidinger 
+
+- CommandLine: Add ability to actions to skip writing.
+  Useful for more CLI bug fixes e.g. bsc#1160928
+- 4.2.57
+
+---
+Wed Jan 22 11:44:01 CET 2020 - sch...@suse.de
+
+- Evaluating system release/version in an more understandable form
+  for the user e.g. "15-SP2" (improvement for fate#325834).
+- 4.2.56
+
+---

Old:

  yast2-4.2.55.tar.bz2

New:

  yast2-4.2.59.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.MOQx7W/_old  2020-01-24 14:11:04.030407513 +0100
+++ /var/tmp/diff_new_pack.MOQx7W/_new  2020-01-24 14:11:04.030407513 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.55
+Version:4.2.59
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.55.tar.bz2 -> yast2-4.2.59.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.55/library/commandline/MAINTAINER 
new/yast2-4.2.59/library/commandline/MAINTAINER
--- old/yast2-4.2.55/library/commandline/MAINTAINER 2020-01-17 
09:40:03.0 +0100
+++ new/yast2-4.2.59/library/commandline/MAINTAINER 1970-01-01 
01:00:00.0 +0100
@@ -1 +0,0 @@
-Ladislav Slezak 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.55/library/commandline/doc/CommandLine-section.xml 
new/yast2-4.2.59/library/commandline/doc/CommandLine-section.xml
--- old/yast2-4.2.55/library/commandline/doc/CommandLine-section.xml
2020-01-17 09:40:03.0 +0100
+++ new/yast2-4.2.59/library/commandline/doc/CommandLine-section.xml
1970-01-01 01:00:00.0 +0100
@@ -1,450 +0,0 @@
-
-
-
-
-
-
-Advanced YaST2 command line parsing
-
-
-
-Important features
-
-simple specification in the YaST 
module
-automatic help
-automatic checking of arguments (types, 
format)
-interactive session without UI
-
-
-
-Basic usage of module CommandLine
-
-The aim of the module is to provide as automatic interface as
-possible for controlling the module. To support interactive
-sessions, the YaST module needs to provide command-handling loop
-similar to concept of event-handling in GUIs.
-
-If the module does not need to do any special handling of the actions,
-it can use the "commandline" include (a wrapper for CommandLine). The
-include defines a single function "CommandLineRun()", which implements
-a standard event-loop and returns true on success. The module just
-needs to specify handlers for actions, user-interface, initialization
-and finishing.
-
-
-
-Simple CommandLine definition
-
-{
-
-define void deleteHandler( map options ) ``{
-string dev = options["device"]:"";
-CommandLine::Print("Deleting: "+dev);
-
-if(Lan::Delete(dev)  Lan::Commit())
-   CommandLine::Print("Success");
-else
-   CommandLine::Print("Error");
-}
-
-...
-
-map cmdline = $[
-"help" : "Configuration of network cards",
-"id"   : "lan",
-"guihandler": ``(LanSequence()),
-"initialize": ``(Lan::Read()),
-"finish"   : ``(Lan::Finish()),
-
-"actions"  : $[
-   "list" : $[
-   "help"  : "display configuration summary",
-   "example"   : "lan list configured",
-   "handler"   : ``(listHandler())
-   ],
-   "add" : $[
-   "help"  : "add a network card",
-   "handler"   : ``(addHandler())
-   ],
-   "delete" : $[
-   "help"  : "delete a network card",
-   "handler"   : ``(deleteHandler())
-   ]
-],
-...
-];
-
-import 

commit yast2 for openSUSE:Factory

2020-01-17 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-01-17 16:03:39

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.26092 (New)


Package is "yast2"

Fri Jan 17 16:03:39 2020 rev:470 rq:765154 version:4.2.55

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-01-11 
14:47:54.081371010 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.26092/yast2.changes   2020-01-17 
16:03:42.120392215 +0100
@@ -1,0 +2,16 @@
+Tue Jan 14 16:38:43 UTC 2020 - David Diaz 
+
+- Add a text helper to strip HTML tags (related bsc#1157780)
+- Moves text helpers to String refinements, keeping backward
+  compatibility.
+- 4.2.55
+
+---
+Fri Jan 10 14:43:20 UTC 2020 - sch...@suse.de
+
+- Do not refresh package installation overview if the medium has
+  been changed and the user has switched to the release notes tab.
+  (bsc#1129426, bsc#1159367)
+- 4.2.54
+
+---

Old:

  yast2-4.2.53.tar.bz2

New:

  yast2-4.2.55.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.d92NYY/_old  2020-01-17 16:03:43.644392935 +0100
+++ /var/tmp/diff_new_pack.d92NYY/_new  2020-01-17 16:03:43.664392944 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.53
+Version:4.2.55
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -117,8 +117,8 @@
 Conflicts:  yast2-installation < 4.2.9
 # moved cfg_mail.scr
 Conflicts:  yast2-mail < 3.1.7
-# Older packager use removed API
-Conflicts:  yast2-packager < 4.0.33
+# Older packager use removed API e.g. user_switched_to_details
+Conflicts:  yast2-packager < 4.2.44
 # Older snapper does not provide machine-readable output
 Conflicts:  snapper < 0.8.6
 

++ yast2-4.2.53.tar.bz2 -> yast2-4.2.55.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.53/library/general/src/lib/ui/text_helpers.rb 
new/yast2-4.2.55/library/general/src/lib/ui/text_helpers.rb
--- old/yast2-4.2.53/library/general/src/lib/ui/text_helpers.rb 2020-01-10 
17:18:34.0 +0100
+++ new/yast2-4.2.55/library/general/src/lib/ui/text_helpers.rb 2020-01-17 
09:40:03.0 +0100
@@ -17,64 +17,31 @@
 # current contact information at www.novell.com.
 # 
--
 
+require "yast2/refinements/string_manipulations"
+
 module UI
   # Provides a set of methods to manipulate and transform UI text
   module TextHelpers
-# Wrap text breaking lines in the first whitespace that does not exceed 
given line width
-#
-# Additionally, it also allows retrieving only an excerpt of the wrapped 
text according to the
-# maximum number of lines indicated, adding one more with the cut_text 
text when it is given.
-#
-# @param text [String] text to be wrapped
-# @param line_width [Integer] max line length
-# @param n_lines [Integer, nil] the maximum number of lines
-# @param cut_text [String] the omission text to be used when the text 
should be cut
-#
-# @return [String]
-def wrap_text(text, line_width = 76, n_lines: nil, cut_text: "")
-  return text if line_width > text.length
-
-  wrapped_text = text.lines.collect! do |line|
-l = (line.length > line_width) ? 
line.gsub(/(.{1,#{line_width}})(?:\s+|$)/, "\\1\n") : line
-l.strip
-  end
-
-  result = wrapped_text.join("\n")
-  result = head(result, n_lines, omission: cut_text) if n_lines
-  result
+using ::Yast2::Refinements::StringManipulations
+
+# (see Yast2::Refinements::StringManipulations#plain_text)
+def plain_text(text, *args, )
+  text.plain_text(*args, )
+end
+
+# (see Yast2::Refinements::StringManipulations#wrap_text)
+def wrap_text(text, *args)
+  text.wrap_text(*args)
 end
 
-# Returns only the first requested lines of the given text
-#
-# If the omission param is given, an extra line holding it will be included
-#
-# @param text [String]
-# @param max_lines [Integer]
-# @param omission [String] the text to be added
-#
-# @return [String] the first requested lines if the text has more; full 
text otherwise
-def head(text, max_lines, omission: "")
-  lines = text.lines
-
-  return text if lines.length <= max_lines
-
-  result = text.lines[0...max_lines]
-  result << omission unless omission.empty?
-  result.join
+# (see Yast2::Refinements::StringManipulations#head)
+def head(text, 

commit yast2 for openSUSE:Factory

2020-01-11 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-01-11 14:47:40

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.6675 (New)


Package is "yast2"

Sat Jan 11 14:47:40 2020 rev:469 rq:762884 version:4.2.53

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2020-01-04 
19:20:47.565122655 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.6675/yast2.changes2020-01-11 
14:47:54.081371010 +0100
@@ -1,0 +2,27 @@
+Fri Jan 10 13:43:20 UTC 2020 - Ancor Gonzalez Sosa 
+
+- Fixed error during upgrade if Btrfs is used and '/var/lib/YaST2'
+  is missing (bsc#1159562)
+- 4.2.53
+
+---
+Fri Jan 10 09:04:16 UTC 2020 - Martin Vidner 
+
+- Propagate an error status when a CommandLine module gets an
+  unknown command (related to bsc#1144351).
+- 4.2.52
+
+---
+Wed Jan  8 16:27:59 UTC 2020 - Ancor Gonzalez Sosa 
+
+- Fix an exception in the live installation caused by a missing
+  "require" clause (bsc#1160362).
+- 4.2.51
+
+---
+Mon Jan  6 15:03:45 UTC 2020 - Ladislav Slezák 
+
+- Persian is also an RTL language (related to bsc#1156437)
+- 4.2.50
+
+---

Old:

  yast2-4.2.49.tar.bz2

New:

  yast2-4.2.53.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Qo1UCa/_old  2020-01-11 14:47:54.657371235 +0100
+++ /var/tmp/diff_new_pack.Qo1UCa/_new  2020-01-11 14:47:54.657371235 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# 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
-Version:4.2.49
+Version:4.2.53
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.49.tar.bz2 -> yast2-4.2.53.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.49/library/commandline/src/modules/CommandLine.rb 
new/yast2-4.2.53/library/commandline/src/modules/CommandLine.rb
--- old/yast2-4.2.49/library/commandline/src/modules/CommandLine.rb 
2019-12-19 15:11:34.0 +0100
+++ new/yast2-4.2.53/library/commandline/src/modules/CommandLine.rb 
2020-01-10 17:18:34.0 +0100
@@ -360,7 +360,7 @@
 # translators: error message in command line interface
 Error(Builtins.sformat(_("Unknown Command: %1"), command))
 
-return { "command" => command }
+return {}
   end
 
   # build the list of options for the command
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.49/library/commandline/test/commandline_test.rb 
new/yast2-4.2.53/library/commandline/test/commandline_test.rb
--- old/yast2-4.2.49/library/commandline/test/commandline_test.rb   
2019-12-19 15:11:34.0 +0100
+++ new/yast2-4.2.53/library/commandline/test/commandline_test.rb   
2020-01-10 17:18:34.0 +0100
@@ -4,6 +4,10 @@
 
 Yast.import "CommandLine"
 
+# If these test fail (or succeed) in mysterious ways then it may be
+# wfm.rb eagerly rescuing a RSpec::Mocks::MockExpectationError
+# (fixed meanwhile in ruby-bindings). In such cases see the y2log.
+
 describe Yast::CommandLine do
   # restore the original modes to not accidentally influence the other tests
   # (these tests change the UI mode to "commandline")
@@ -38,4 +42,11 @@
 
 Yast::WFM.CallFunction("dummy_cmdline", ["crash"])
   end
+
+  it "complains about unknown commands and returns false" do
+expect(Yast::CommandLine).to receive(:Print).with(/Unknown Command:/)
+expect(Yast::CommandLine).to receive(:Print).with(/Use.*help.*available 
commands/)
+
+expect(Yast::WFM.CallFunction("dummy_cmdline", ["unknowncommand"])).to eq 
false
+  end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.49/library/general/src/lib/ui/text_helpers.rb 
new/yast2-4.2.53/library/general/src/lib/ui/text_helpers.rb
--- old/yast2-4.2.49/library/general/src/lib/ui/text_helpers.rb 2019-12-19 
15:11:34.0 +0100
+++ new/yast2-4.2.53/library/general/src/lib/ui/text_helpers.rb 2020-01-10 
17:18:34.0 +0100
@@ -72,7 +72,8 @@
 def div_with_direction(text, lang = nil)
   Yast.import "Language"
   

commit yast2 for openSUSE:Factory

2020-01-04 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2020-01-04 19:20:41

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.6675 (New)


Package is "yast2"

Sat Jan  4 19:20:41 2020 rev:468 rq:758203 version:4.2.49

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-12-14 
12:03:08.867405708 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.6675/yast2.changes2020-01-04 
19:20:47.565122655 +0100
@@ -1,0 +2,13 @@
+Thu Dec 19 14:51:23 UTC 2019 - Knut Anderssen 
+
+- Yast2::ServiceWidget: By default, propose to reload or restart
+  the service when it is active (bsc#1158946)
+- 4.2.49
+
+---
+Thu Dec 19 09:11:35 CET 2019 - aschn...@suse.com
+
+- Added helper to create UI sort-key term (bsc#1140018)
+- 4.2.48
+
+---

Old:

  yast2-4.2.47.tar.bz2

New:

  yast2-4.2.49.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.7evDyH/_old  2020-01-04 19:20:48.257122962 +0100
+++ /var/tmp/diff_new_pack.7evDyH/_new  2020-01-04 19:20:48.257122962 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.47
+Version:4.2.49
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.47.tar.bz2 -> yast2-4.2.49.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.47/library/cwm/src/lib/cwm/service_widget.rb 
new/yast2-4.2.49/library/cwm/src/lib/cwm/service_widget.rb
--- old/yast2-4.2.47/library/cwm/src/lib/cwm/service_widget.rb  2019-12-05 
08:52:54.0 +0100
+++ new/yast2-4.2.49/library/cwm/src/lib/cwm/service_widget.rb  2019-12-19 
15:11:34.0 +0100
@@ -23,6 +23,8 @@
 module CWM
   # CWM wrapper for Yast2::ServiceWidget
   class ServiceWidget < CustomWidget
+extend Forwardable
+
 # creates new widget instance for given service
 # @param service [Yast2::SystemService,Yast2::CompoundService] service to 
be configured
 def initialize(service)
@@ -30,14 +32,12 @@
   self.handle_all_events = true
 end
 
+def_delegators :@service_widget, :refresh, :store, :help, :default_action=
+
 def contents
   @service_widget.content
 end
 
-def refresh
-  @service_widget.refresh
-end
-
 def handle(event)
   log.info "handling event #{event.inspect}"
   return unless event
@@ -45,18 +45,10 @@
   @service_widget.handle_input(event["ID"])
 end
 
-def store
-  @service_widget.store
-end
-
 # The widget needs to be refreshed each time it is rendered. Otherwise, 
cached
 # service values would not be selected (e.g., when switching in a 
DialogTree)
 def init
   refresh
 end
-
-def help
-  @service_widget.help
-end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.47/library/cwm/src/lib/cwm/table.rb 
new/yast2-4.2.49/library/cwm/src/lib/cwm/table.rb
--- old/yast2-4.2.47/library/cwm/src/lib/cwm/table.rb   2019-12-05 
08:52:54.0 +0100
+++ new/yast2-4.2.49/library/cwm/src/lib/cwm/table.rb   2019-12-19 
15:11:34.0 +0100
@@ -91,6 +91,12 @@
   Yast::Term.new(:icon, path)
 end
 
+# helper to create sort-key term
+# @param value [String] sort-key
+def sort_key(value)
+  Yast::Term.new(:sortKey, value)
+end
+
 # helper to create icon term
 # @param args content of cell, often used to combine icon and string
 # @note Please see difference between `Cell` and `cell`. The first one is
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.47/library/systemd/src/lib/yast2/service_widget.rb 
new/yast2-4.2.49/library/systemd/src/lib/yast2/service_widget.rb
--- old/yast2-4.2.47/library/systemd/src/lib/yast2/service_widget.rb
2019-12-05 08:52:54.0 +0100
+++ new/yast2-4.2.49/library/systemd/src/lib/yast2/service_widget.rb
2019-12-19 15:11:34.0 +0100
@@ -34,12 +34,17 @@
   # end
   #
   # def propose
-  #   @service.action = :restart
+  #   # The default service widget action can be proposed by the current
+  #   # service action
+  #   @service.restart
   #   @service.start_mode = :on_demand
   # end
   #
   # def show_dialog
   #   service_widget = ServiceWidget.new(@service)
+  #   # Or can be set by the service_widget
+  #   service_widget.default_action = :reload if service.running?
+  #
   #   content = VBox(
   # ...,
   # 

commit yast2 for openSUSE:Factory

2019-12-14 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-12-14 12:02:44

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.4691 (New)


Package is "yast2"

Sat Dec 14 12:02:44 2019 rev:467 rq:754274 version:4.2.47

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-11-20 
10:27:15.750562584 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.4691/yast2.changes2019-12-14 
12:03:08.867405708 +0100
@@ -1,0 +2,93 @@
+Wed Dec  4 14:26:35 UTC 2019 - Josef Reidinger 
+
+- Add backward compatible hash accessors to Resolvable which solve
+  several crashes (related to bsc#1132650 and bsc#1140037)
+- 4.2.47
+
+---
+Mon Dec  2 16:27:25 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Use 70-yast.conf instead of 30-yast.conf to write YaST settings
+  under /etc/sysctl.d (related to jsc#SLE-9077).
+- 4.2.46
+
+---
+Fri Nov 29 13:42:50 CET 2019 - sch...@suse.de
+
+- Do not crash while reading the product info (related to
+  bsc#1132650 and bsc#1140037).
+- 4.2.45
+
+---
+Thu Nov 28 17:16:51 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Do not crash when no base product is found (related to
+  bsc#1132650 and bsc#1140037).
+- 4.2.44
+
+---
+Thu Nov 28 11:21:31 UTC 2019 - sch...@suse.de
+
+- Using Y2Packager::Resolvable.any? and Y2Packager::Resolvable.find
+  in order to decrease the required memory (bsc#1132650,
+  bsc#1140037).
+- 4.2.43
+
+---
+Thu Nov 28 10:21:31 UTC 2019 - Knut Anderssen 
+
+- Network: drop support for obsolete network device types
+  (jsc#SLE-7753)
+- 4.2.42
+
+---
+Wed Nov 27 10:24:28 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Use /etc/login.defs.d/70-yast.defs to write login.defs
+  values that are overridden by YaST (related to bsc#1155735).
+- 4.2.41
+
+---
+Tue Nov 26 12:02:18 UTC 2019 - Ludwig Nussel 
+
+- add is_wsl function to detect wsl (boo#1154962)
+- 4.2.40
+
+---
+Mon Nov 25 11:07:11 UTC 2019 - Imobach Gonzalez Sosa 
+
+- bsc#1155735, bsc#1157541:
+  - Read /usr/etc/login.defs.
+  - Write login.defs configuration to /etc/login.defs.d/.
+- 4.2.39
+
+---
+Fri Nov 22 09:19:32 UTC 2019 - Michal Filka 
+
+- bnc#1157532
+  - do not modify /etc/sysctl.conf in inst-sys as it is on r/o
+filesystem
+- 4.2.38
+
+---
+Thu Nov 21 21:28:58 UTC 2019 - Knut Anderssen 
+
+- Linuxrc: Ensure the new opened SCR instace is closed when reading
+  the /etc/install.inf file (bsc#1122493, bsc#1157476)
+- 4.2.37
+
+---
+Thu Nov 21 14:04:28 UTC 2019 - Knut Anderssen 
+
+- Ensure /etc/install.inf is not read from the target system but
+  from the local one. (bsc#1122493, bsc#1157476)
+- 4.2.36
+
+---
+Wed Nov 20 08:32:01 UTC 2019 - David Diaz 
+
+- Do not try to find licenses in the installation medium when they
+  have been already downloaded from SCC (bsc#1153326).
+- 4.2.35
+
+---

Old:

  yast2-4.2.34.tar.bz2

New:

  yast2-4.2.47.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.hTnPBs/_old  2019-12-14 12:03:11.615405298 +0100
+++ /var/tmp/diff_new_pack.hTnPBs/_new  2019-12-14 12:03:11.647405293 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.34
+Version:4.2.47
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -177,6 +177,14 @@
 %post
 %{fillup_only -n yast2}
 
+if [ -f "/etc/sysctl.d/30-yast.conf" ]; then
+if [ -f "/etc/sysctl.d/70-yast.conf" ]; then
+rm /etc/sysctl.d/30-yast.conf
+else
+mv /etc/sysctl.d/30-yast.conf /etc/sysctl.d/70-yast.conf
+fi
+fi
+
 %files
 
 # basic directory structure

++ yast2-4.2.34.tar.bz2 -> yast2-4.2.47.tar.bz2 ++
 3888 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2019-11-20 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-11-20 10:27:12

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.26869 (New)


Package is "yast2"

Wed Nov 20 10:27:12 2019 rev:466 rq:749338 version:4.2.34

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-11-03 
10:32:58.289165739 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.26869/yast2.changes   2019-11-20 
10:27:15.750562584 +0100
@@ -1,0 +2,28 @@
+Fri Nov 15 09:30:20 UTC 2019 - Josef Reidinger 
+
+- Fix crash in upgrade caused by wrong parameter to snapper
+  (bsc#1156819)
+- 4.2.34
+
+---
+Tue Nov 05 14:15:16 UTC 2019 - José Iván López González 
+
+- Use new snapper machine-readable output to retrieve snapshots
+  information (related to bsc#1149322).
+- 4.2.33
+
+---
+Tue Nov 05 13:24:40 UTC 2019 - Oliver Kurz 
+
+- Add linuxrc option "reboot_timeout" to configure the timeout
+  before reboot (bsc#1122493)
+- 4.2.32
+
+---
+Thu Oct 31 12:59:33 UTC 2019 - Knut Anderssen 
+
+- Network: During an installation, check which backend is in use
+  when Systemd is running. (bsc#1151291)
+- 4.2.31
+
+---

Old:

  yast2-4.2.30.tar.bz2

New:

  yast2-4.2.34.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.P9mjcO/_old  2019-11-20 10:27:16.446562723 +0100
+++ /var/tmp/diff_new_pack.P9mjcO/_new  2019-11-20 10:27:16.450562724 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.30
+Version:4.2.34
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -119,6 +119,8 @@
 Conflicts:  yast2-mail < 3.1.7
 # Older packager use removed API
 Conflicts:  yast2-packager < 4.0.33
+# Older snapper does not provide machine-readable output
+Conflicts:  snapper < 0.8.6
 
 Obsoletes:  yast2-devel-doc
 

++ yast2-4.2.30.tar.bz2 -> yast2-4.2.34.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.30/library/general/src/lib/ui/text_helpers.rb 
new/yast2-4.2.34/library/general/src/lib/ui/text_helpers.rb
--- old/yast2-4.2.30/library/general/src/lib/ui/text_helpers.rb 2019-10-29 
08:31:56.0 +0100
+++ new/yast2-4.2.34/library/general/src/lib/ui/text_helpers.rb 2019-11-18 
17:33:38.0 +0100
@@ -20,36 +20,47 @@
 module UI
   # Provides a set of methods to manipulate and transform UI text
   module TextHelpers
-# Wrap given text breaking lines longer than given wrap size. It supports
-# custom separator, max number of lines to split in and cut text to add
-# as last line if cut was needed.
-#
-# @param [String] text to be wrapped
-# @param [String] wrap size
-# @param [Hash ] optional parameters as separator and prepend_text.
-# @return [String] wrap text
-def wrap_text(text, wrap = 76, separator: " ", prepend_text: "",
-  n_lines: nil, cut_text: nil)
-  lines = []
-  message_line = prepend_text
-  text.split(/\s+/).each_with_index do |t, i|
-if !message_line.empty? && "#{message_line}#{t}".size > wrap
-  lines << message_line
-  message_line = ""
-end
+# Wrap text breaking lines in the first whitespace that does not exceed 
given line width
+#
+# Additionally, it also allows retrieving only an excerpt of the wrapped 
text according to the
+# maximum number of lines indicated, adding one more with the cut_text 
text when it is given.
+#
+# @param text [String] text to be wrapped
+# @param line_width [Integer] max line length
+# @param n_lines [Integer, nil] the maximum number of lines
+# @param cut_text [String] the omission text to be used when the text 
should be cut
+#
+# @return [String]
+def wrap_text(text, line_width = 76, n_lines: nil, cut_text: "")
+  return text if line_width > text.length
 
-message_line << separator if !message_line.empty? && i != 0
-message_line << t
+  wrapped_text = text.lines.collect! do |line|
+l = (line.length > line_width) ? 
line.gsub(/(.{1,#{line_width}})(?:\s+|$)/, "\\1\n") : line
+l.strip
   end
 
-  lines << message_line if !message_line.empty?
+  result = wrapped_text.join("\n")
+  result = head(result, n_lines, omission: cut_text) if n_lines
+  result
+end
 
-  if n_lines && lines.size > n_lines
-lines = lines[0..n_lines - 1]
-   

commit yast2 for openSUSE:Factory

2019-11-03 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-11-03 10:32:56

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.2990 (New)


Package is "yast2"

Sun Nov  3 10:32:56 2019 rev:465 rq:743728 version:4.2.30

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-10-27 
13:36:07.076898578 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.2990/yast2.changes2019-11-03 
10:32:58.289165739 +0100
@@ -1,0 +2,6 @@
+Tue Oct 29 07:22:13 UTC 2019 - Josef Reidinger 
+
+- fix showing release notes for online upgrade (bsc#1155134)
+- 4.2.30
+
+---

Old:

  yast2-4.2.29.tar.bz2

New:

  yast2-4.2.30.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.hjD8pY/_old  2019-11-03 10:32:58.821166375 +0100
+++ /var/tmp/diff_new_pack.hjD8pY/_new  2019-11-03 10:32:58.849166409 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.29
+Version:4.2.30
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.29.tar.bz2 -> yast2-4.2.30.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.29/library/packages/src/lib/y2packager/product_reader.rb 
new/yast2-4.2.30/library/packages/src/lib/y2packager/product_reader.rb
--- old/yast2-4.2.29/library/packages/src/lib/y2packager/product_reader.rb  
2019-10-25 16:27:19.0 +0200
+++ new/yast2-4.2.30/library/packages/src/lib/y2packager/product_reader.rb  
2019-10-29 08:31:56.0 +0100
@@ -85,6 +85,7 @@
 return Y2Packager::ProductControlProduct.products.each_with_object([]) 
do |p, result|
   result << Y2Packager::Product.new(name: p.name, display_name: 
p.label,
   version: p.version, arch: p.arch,
+  short_name: p.name, # TODO: verify that name and shortname are 
same for control products
   installation_package: "Test") # just hack as we do not know 
current package name yet
 end
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.29/package/yast2.changes 
new/yast2-4.2.30/package/yast2.changes
--- old/yast2-4.2.29/package/yast2.changes  2019-10-25 16:27:19.0 
+0200
+++ new/yast2-4.2.30/package/yast2.changes  2019-10-29 08:31:56.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Tue Oct 29 07:22:13 UTC 2019 - Josef Reidinger 
+
+- fix showing release notes for online upgrade (bsc#1155134)
+- 4.2.30
+
+---
 Fri Oct 25 12:57:30 UTC 2019 - Josef Reidinger 
 
 - Support for products on control file during upgrade
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.29/package/yast2.spec 
new/yast2-4.2.30/package/yast2.spec
--- old/yast2-4.2.29/package/yast2.spec 2019-10-25 16:27:19.0 +0200
+++ new/yast2-4.2.30/package/yast2.spec 2019-10-29 08:31:56.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.29
+Version:4.2.30
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only




commit yast2 for openSUSE:Factory

2019-10-27 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-10-27 13:36:05

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.2990 (New)


Package is "yast2"

Sun Oct 27 13:36:05 2019 rev:464 rq:742906 version:4.2.29

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-10-21 
12:27:12.707879832 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.2990/yast2.changes2019-10-27 
13:36:07.076898578 +0100
@@ -1,0 +2,7 @@
+Fri Oct 25 12:57:30 UTC 2019 - Josef Reidinger 
+
+- Support for products on control file during upgrade
+  (jsc#SLE-7214)
+- 4.2.29
+
+---

Old:

  yast2-4.2.28.tar.bz2

New:

  yast2-4.2.29.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.NKUK3Q/_old  2019-10-27 13:36:07.660899321 +0100
+++ /var/tmp/diff_new_pack.NKUK3Q/_new  2019-10-27 13:36:07.664899327 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.28
+Version:4.2.29
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.28.tar.bz2 -> yast2-4.2.29.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.28/library/packages/src/lib/y2packager/product.rb 
new/yast2-4.2.29/library/packages/src/lib/y2packager/product.rb
--- old/yast2-4.2.28/library/packages/src/lib/y2packager/product.rb 
2019-10-18 14:32:16.0 +0200
+++ new/yast2-4.2.29/library/packages/src/lib/y2packager/product.rb 
2019-10-25 16:27:19.0 +0200
@@ -98,7 +98,10 @@
   #
   # @return [Product] Selected base product
   def selected_base
-available_base_products.find(&:selected?)
+products = 
Y2Packager::ProductReader.new.available_base_products(force_repos: true)
+selected = products.find(&:selected?)
+selected ||= products.first
+selected
   end
 
   # Return the products with a given status
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.28/library/packages/src/lib/y2packager/product_reader.rb 
new/yast2-4.2.29/library/packages/src/lib/y2packager/product_reader.rb
--- old/yast2-4.2.28/library/packages/src/lib/y2packager/product_reader.rb  
2019-10-18 14:32:16.0 +0200
+++ new/yast2-4.2.29/library/packages/src/lib/y2packager/product_reader.rb  
2019-10-25 16:27:19.0 +0200
@@ -16,6 +16,7 @@
 
 Yast.import "Pkg"
 Yast.import "Linuxrc"
+Yast.import "Stage"
 
 module Y2Packager
   # Read the product information from libzypp
@@ -71,14 +72,26 @@
 # Available products
 #
 # @return [Array] Available products
-def all_products
+def all_products(force_repos: false)
   linuxrc_special_products = if Yast::Linuxrc.InstallInf("specialproduct")
 linuxrc_string(Yast::Linuxrc.InstallInf("specialproduct")).split(",")
   else
 []
   end
 
-  @all_products ||= available_products.each_with_object([]) do |prod, 
all_products|
+  return @all_products if @all_products && !force_repos
+
+  if Yast::Stage.initial && Y2Packager::MediumType.online? && !force_repos
+return Y2Packager::ProductControlProduct.products.each_with_object([]) 
do |p, result|
+  result << Y2Packager::Product.new(name: p.name, display_name: 
p.label,
+  version: p.version, arch: p.arch,
+  installation_package: "Test") # just hack as we do not know 
current package name yet
+end
+  end
+
+  @all_products = []
+
+  available_products.each do |prod|
 prod_pkg = product_package(prod["product_package"])
 
 if prod_pkg
@@ -95,28 +108,32 @@
   displayorder = Regexp.last_match[1].to_i if Regexp.last_match
 end
 
-all_products << Y2Packager::Product.new(
+@all_products << Y2Packager::Product.new(
   name: prod["name"], short_name: prod["short_name"], display_name: 
prod["display_name"],
   version: prod["version"], arch: prod["arch"], category: 
prod["category"],
   vendor: prod["vendor"], order: displayorder,
   installation_package: installation_package_mapping[prod["name"]]
 )
   end
+
+  @all_products
 end
 
 # In installation Read the available libzypp base products for installation
 # @return [Array] the found available base products,
 #   the products are sorted by the 'displayorder' provides value
-def available_base_products
+def available_base_products(force_repos: false)
   # If no product contains a 'system-installation()' tag but 

commit yast2 for openSUSE:Factory

2019-10-21 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-10-21 12:27:11

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.2352 (New)


Package is "yast2"

Mon Oct 21 12:27:11 2019 rev:463 rq:741069 version:4.2.28

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-10-16 
09:09:41.848331649 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.2352/yast2.changes2019-10-21 
12:27:12.707879832 +0200
@@ -1,0 +2,6 @@
+Fri Oct 18 12:20:52 UTC 2019 - Josef Reidinger 
+
+- Fix showing details for accessing media error (bsc#1153297)
+- 4.2.28
+
+---

Old:

  yast2-4.2.27.tar.bz2

New:

  yast2-4.2.28.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.2kdNeK/_old  2019-10-21 12:27:13.323880530 +0200
+++ /var/tmp/diff_new_pack.2kdNeK/_new  2019-10-21 12:27:13.327880535 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.27
+Version:4.2.28
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.27.tar.bz2 -> yast2-4.2.28.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.27/library/packages/src/modules/PackageCallbacks.rb 
new/yast2-4.2.28/library/packages/src/modules/PackageCallbacks.rb
--- old/yast2-4.2.27/library/packages/src/modules/PackageCallbacks.rb   
2019-10-09 11:00:07.0 +0200
+++ new/yast2-4.2.28/library/packages/src/modules/PackageCallbacks.rb   
2019-10-18 14:32:16.0 +0200
@@ -3112,8 +3112,9 @@
 end
 
 def show_log_info(message, buttonbox)
+  show_value = UI.QueryWidget(Id(:show), :Value)
   UI.CloseDialog
-  if UI.QueryWidget(Id(:show), :Value)
+  if show_value
 UI.OpenDialog(
   Opt(:decorated),
   layout_popup(message, buttonbox, true)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.27/package/yast2.changes 
new/yast2-4.2.28/package/yast2.changes
--- old/yast2-4.2.27/package/yast2.changes  2019-10-09 11:00:07.0 
+0200
+++ new/yast2-4.2.28/package/yast2.changes  2019-10-18 14:32:16.0 
+0200
@@ -1,4 +1,10 @@
 ---
+Fri Oct 18 12:20:52 UTC 2019 - Josef Reidinger 
+
+- Fix showing details for accessing media error (bsc#1153297)
+- 4.2.28
+
+---
 Wed Oct  9 08:02:32 UTC 2019 - Ladislav Slezák 
 
 - Fixed evaluating the available package versions, fixed crash
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.27/package/yast2.spec 
new/yast2-4.2.28/package/yast2.spec
--- old/yast2-4.2.27/package/yast2.spec 2019-10-09 11:00:07.0 +0200
+++ new/yast2-4.2.28/package/yast2.spec 2019-10-18 14:32:16.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.27
+Version:4.2.28
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only




commit yast2 for openSUSE:Factory

2019-10-16 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-10-16 09:09:40

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.2352 (New)


Package is "yast2"

Wed Oct 16 09:09:40 2019 rev:462 rq:736429 version:4.2.27

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-09-30 
15:53:35.818143066 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.2352/yast2.changes2019-10-16 
09:09:41.848331649 +0200
@@ -1,0 +2,19 @@
+Wed Oct  9 08:02:32 UTC 2019 - Ladislav Slezák 
+
+- Fixed evaluating the available package versions, fixed crash
+  when trying to download a non-existing package (bsc#1151824)
+- 4.2.27
+
+---
+Mon Oct  7 16:00:09 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Remove old values from /etc/sysctl.conf (jsc#SLE-9077).
+- 4.2.26
+
+---
+Thu Oct  3 12:31:35 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Add a CFA based class to adjust sysctl settings (jsc#SLE-9077).
+- 4.2.25
+
+---

Old:

  yast2-4.2.24.tar.bz2

New:

  yast2-4.2.27.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Y5QvEv/_old  2019-10-16 09:09:42.296330495 +0200
+++ /var/tmp/diff_new_pack.Y5QvEv/_new  2019-10-16 09:09:42.296330495 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.24
+Version:4.2.27
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -38,6 +38,8 @@
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:abstract_method)
 # for file access using augeas
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:cfa)
+# for used augeas lenses
+BuildRequires:  augeas-lenses
 # for running scripts
 BuildRequires:  update-desktop-files
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:cheetah)
@@ -72,6 +74,8 @@
 Requires:   rubygem(%{rb_default_ruby_abi}:abstract_method)
 # for file access using augeas
 Requires:   rubygem(%{rb_default_ruby_abi}:cfa)
+# for used augeas lenses
+Requires:   augeas-lenses
 # For converting to/from punycode strings
 Requires:   sysconfig >= 0.80.0
 Requires:   rubygem(%{rb_default_ruby_abi}:simpleidn)

++ yast2-4.2.24.tar.bz2 -> yast2-4.2.27.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.24/doc/etc-and-usr-etc.md 
new/yast2-4.2.27/doc/etc-and-usr-etc.md
--- old/yast2-4.2.24/doc/etc-and-usr-etc.md 1970-01-01 01:00:00.0 
+0100
+++ new/yast2-4.2.27/doc/etc-and-usr-etc.md 2019-10-09 11:00:07.0 
+0200
@@ -0,0 +1,93 @@
+# Adding Support for the `/etc` + `/usr/etc` Layout
+
+## About
+
+This document tries to summarize our findings about the proposal to split the 
configuration files
+into `/usr/etc` (vendor) and `/etc` (user) directories. As you may know, YaST 
reads and writes
+information to many files under `/etc`, so we need to find a way to cope with 
this (future) layout.
+
+## How to Read the Configuration
+
+In the future, it is expected that vendor configuration files live under 
`/usr/etc` and user
+configuration is placed in `/etc`. Given a `example` application, the rules to 
determine the
+configuration are:
+
+* If `/etc/example.conf` does not exist, read `/usr/etc/example.conf`, 
`/usr/etc/example.d/*.conf`
+  and, finally, `/etc/example.d/*.conf`. The latter has precedence.
+* If `/etc/example.conf` does exist, just ignore the configuration under 
`/usr/etc` and consider
+  `/etc/example.conf` and `/etc/example.d/*.conf` only.
+
+YaST will merge settings from those files.
+
+## Impact in YaST
+
+When it comes to reading or writing configuration files, YaST uses mainly two 
different mechanisms:
+
+* The new 
[config_files_api](https://github.com/config-files-api/config_files_api) 
(a.k.a. CFA) API.
+* The [good old agents](https://github.com/yast/yast-core/), which are spread 
through all YaST
+  codebase (search for `.scr`) files.
+
+It means that we need to adapt CFA classes and agents to the new scenario. The 
next section proposes
+a simple solution which we have just implemented to handle modifications to 
`sysctl` settings and,
+the last one, proposes a complex but more general solution.
+
+## A Simple Solution for `sysctl.conf`
+
+In a nutshell, jsc#SLE-9077 states that `/etc/sysctl.conf` should not be 
modified.  So if you want
+to modify any `sysctl` setting, you should drop a file in `/etc/sysctl.d` 
containing the new values.
+
+As a first step, we have added a {Yast2::CFA::Sysctl} class which offers an 
API to sysctl settings.
+This new class 

commit yast2 for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-09-30 15:53:34

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.2352 (New)


Package is "yast2"

Mon Sep 30 15:53:34 2019 rev:461 rq:733134 version:4.2.24

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-09-23 
13:17:24.613105028 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.2352/yast2.changes2019-09-30 
15:53:35.818143066 +0200
@@ -1,0 +2,7 @@
+Wed Sep 25 09:40:09 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Fix module name inference when reading .desktop files
+  (bsc#1151954)
+- 4.2.24
+
+---

Old:

  yast2-4.2.23.tar.bz2

New:

  yast2-4.2.24.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.K7Tx8L/_old  2019-09-30 15:53:36.222141990 +0200
+++ /var/tmp/diff_new_pack.K7Tx8L/_new  2019-09-30 15:53:36.222141990 +0200
@@ -17,9 +17,8 @@
 
 
 Name:   yast2
-Version:4.2.23
+Version:4.2.24
 Release:0
-
 Summary:YaST2 Main Package
 License:GPL-2.0-only
 Group:  System/YaST

++ yast2-4.2.23.tar.bz2 -> yast2-4.2.24.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.23/library/desktop/src/modules/Desktop.rb 
new/yast2-4.2.24/library/desktop/src/modules/Desktop.rb
--- old/yast2-4.2.23/library/desktop/src/modules/Desktop.rb 2019-09-23 
09:58:23.0 +0200
+++ new/yast2-4.2.24/library/desktop/src/modules/Desktop.rb 2019-09-25 
13:10:54.0 +0200
@@ -422,8 +422,11 @@
 return
   end
 
-  # E.g. 'AddOn' to 'add-on'
-  name.gsub(/([[:lower:]])([[:upper:]]+)/, '\1-\2').downcase
+  # E.g. 'AddOn' to 'add-on', 'DNSServer' to 'dns-server' and so on.
+  name
+.gsub(/([[:upper:]\d]*)([[:upper:]\d])([[:lower:]]+)/, '\1-\2\3')
+.sub(/\A-/, "")
+.downcase
 end
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.23/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.DNSServer.desktop
 
new/yast2-4.2.24/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.DNSServer.desktop
--- 
old/yast2-4.2.23/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.DNSServer.desktop
 1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-4.2.24/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.DNSServer.desktop
 2019-09-25 13:10:54.0 +0200
@@ -0,0 +1,27 @@
+[Desktop Entry]
+Type=Application
+Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Net_advanced;
+
+X-KDE-ModuleType=Library
+X-KDE-HasReadOnlyMode=true
+X-SuSE-YaST-Call=dns-server
+
+X-SuSE-YaST-Group=Net_advanced
+X-SuSE-YaST-Argument=
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-AutoInst=all
+X-SuSE-YaST-AutoInstClonable=true
+X-SuSE-YaST-Geometry=
+X-SuSE-YaST-SortKey=
+X-SuSE-YaST-AutoInstResource=dns-server
+X-SuSE-YaST-AutoInstRequires=lan,ldap,ldap-server,ldap-client
+X-SuSE-YaST-AutoInstSchema=dns-server.rnc
+X-SuSE-YaST-Keywords=dns,domain,nameserver,network,lookup
+
+Icon=yast-dns-server
+Exec=xdg-su -c "/sbin/yast2 dns-server"
+
+Name=YaST DNS Server
+GenericName=DNS Server
+Comment=Configure a DNS server
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.23/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.S390Extra.desktop
 
new/yast2-4.2.24/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.S390Extra.desktop
--- 
old/yast2-4.2.23/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.S390Extra.desktop
 1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-4.2.24/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.S390Extra.desktop
 2019-09-25 13:10:54.0 +0200
@@ -0,0 +1,27 @@
+[Desktop Entry]
+Type=Application
+Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Software;
+
+X-KDE-ModuleType=Library
+X-KDE-HasReadOnlyMode=true
+X-SuSE-YaST-Call=s390-extra
+
+X-SuSE-YaST-Group=Software
+X-SuSE-YaST-Argument=
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-AutoInst=configure
+X-SuSE-YaST-Geometry=
+X-SuSE-YaST-SortKey=
+X-SuSE-YaST-AutoInstResource=
+X-SuSE-YaST-AutoInstPath=install
+X-SuSE-YaST-AutoInstSchema=s390-extra.rnc
+X-SuSE-YaST-AutoInstClonable=true
+X-SuSE-YaST-Keywords=update,packages,repositories,software
+
+Icon=yast-addon
+Exec=xdg-su -c "/sbin/yast2 s390-extra"
+
+Name=YaST S390 Extra
+GenericName=S390 Extra
+Comment=Fictitious S390 module

commit yast2 for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-09-23 13:17:22

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.7948 (New)


Package is "yast2"

Mon Sep 23 13:17:22 2019 rev:460 rq:732625 version:4.2.23

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-09-04 
08:58:40.659072095 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.7948/yast2.changes2019-09-23 
13:17:24.613105028 +0200
@@ -1,0 +2,27 @@
+Mon Sep 23 07:27:27 UTC 2019 - Ladislav Slezák 
+
+- Use "display_name" tag for the product label, "label" marks a
+  translatable text (jsc#SLE-7214)
+- 4.2.23
+
+---
+Thu Sep 19 12:05:17 UTC 2019 - Ladislav Slezák 
+
+- Added support for reading products from control.xml file
+  (jsc#SLE-7104)
+- 4.2.22
+
+---
+Tue Sep 10 07:57:34 UTC 2019 - Steffen Winterfeldt 
+
+- support reading licenses from tar archive (jsc#SLE-7214)
+- 4.2.21
+
+---
+Fri Sep  6 11:15:40 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Fix a problem when long warnings reports in command line
+  (bsc#1149776).
+- 4.2.20
+
+---

Old:

  yast2-4.2.19.tar.bz2

New:

  yast2-4.2.23.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.kCzutQ/_old  2019-09-23 13:17:25.457104876 +0200
+++ /var/tmp/diff_new_pack.kCzutQ/_new  2019-09-23 13:17:25.465104875 +0200
@@ -17,8 +17,9 @@
 
 
 Name:   yast2
-Version:4.2.19
+Version:4.2.23
 Release:0
+
 Summary:YaST2 Main Package
 License:GPL-2.0-only
 Group:  System/YaST

++ yast2-4.2.19.tar.bz2 -> yast2-4.2.23.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.19/library/general/src/modules/Report.rb 
new/yast2-4.2.23/library/general/src/modules/Report.rb
--- old/yast2-4.2.19/library/general/src/modules/Report.rb  2019-08-30 
11:55:44.0 +0200
+++ new/yast2-4.2.23/library/general/src/modules/Report.rb  2019-09-23 
09:58:23.0 +0200
@@ -566,7 +566,7 @@
 
   if @display_warnings
 if Mode.commandline
-  CommandLine.Print("Warning: #{error_string}")
+  CommandLine.Print("Warning: #{warning_string}")
 elsif Ops.greater_than(@timeout_warnings, 0)
   Popup.TimedLongWarningGeometry(warning_string, @timeout_warnings, 
width, height)
 else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.19/library/general/test/report_test.rb 
new/yast2-4.2.23/library/general/test/report_test.rb
--- old/yast2-4.2.19/library/general/test/report_test.rb2019-08-30 
11:55:44.0 +0200
+++ new/yast2-4.2.23/library/general/test/report_test.rb2019-09-23 
09:58:23.0 +0200
@@ -108,6 +108,17 @@
   subject.LongWarning("Message")
   expect(subject.GetMessages(0, 1, 0, 0)).to match(/Message/)
 end
+
+context "when running on command line mode" do
+  before do
+allow(Yast::Mode).to receive(:commandline).and_return(true)
+  end
+
+  it "prints the message" do
+expect(Yast::CommandLine).to receive(:Print).with("Warning: message")
+subject.LongWarning("message")
+  end
+end
   end
 
   describe ".LongError" do
@@ -128,6 +139,17 @@
   subject.LongError("Message")
   expect(subject.GetMessages(0, 1, 0, 0)).to match(/Message/)
 end
+
+context "when running on command line mode" do
+  before do
+allow(Yast::Mode).to receive(:commandline).and_return(true)
+  end
+
+  it "prints the message" do
+expect(Yast::CommandLine).to receive(:Print).with("Error: message")
+subject.LongError("message")
+  end
+end
   end
 
   describe ".Settings" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.19/library/packages/src/lib/y2packager/licenses_fetchers/archive.rb
 
new/yast2-4.2.23/library/packages/src/lib/y2packager/licenses_fetchers/archive.rb
--- 
old/yast2-4.2.19/library/packages/src/lib/y2packager/licenses_fetchers/archive.rb
   1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-4.2.23/library/packages/src/lib/y2packager/licenses_fetchers/archive.rb
   2019-09-23 09:58:23.0 +0200
@@ -0,0 +1,167 @@
+# 
--
+# Copyright (c) 2018 SUSE LLC, All Rights Reserved.
+#
+# This program 

commit yast2 for openSUSE:Factory

2019-09-04 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-09-04 08:58:39

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.7948 (New)


Package is "yast2"

Wed Sep  4 08:58:39 2019 rev:459 rq:727190 version:4.2.19

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-08-15 
15:42:15.955211185 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.7948/yast2.changes2019-09-04 
08:58:40.659072095 +0200
@@ -1,0 +2,7 @@
+Fri Aug 30 09:30:26 UTC 2019 - Steffen Winterfeldt 
+
+- yast completions have to be named after their respective command
+  name (bsc#1122259)
+- 4.2.19
+
+---

Old:

  yast2-4.2.18.tar.bz2

New:

  yast2-4.2.19.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.BVTMaJ/_old  2019-09-04 08:58:41.271072025 +0200
+++ /var/tmp/diff_new_pack.BVTMaJ/_new  2019-09-04 08:58:41.271072025 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.18
+Version:4.2.19
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -206,7 +206,7 @@
 %{yast_agentdir}/ag_*
 %{_fillupdir}/sysconfig.yast2
 
-%{_datadir}/bash-completion/completions/yast2*.sh
+%{_datadir}/bash-completion/completions
 
 # documentation (not included in devel subpackage)
 %doc %dir %{yast_docdir}

++ yast2-4.2.18.tar.bz2 -> yast2-4.2.19.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.18/Rakefile new/yast2-4.2.19/Rakefile
--- old/yast2-4.2.18/Rakefile   2019-08-08 15:52:51.0 +0200
+++ new/yast2-4.2.19/Rakefile   2019-08-30 11:55:44.0 +0200
@@ -3,7 +3,7 @@
 Yast::Tasks.configuration do |conf|
   # lets ignore license check for now
   conf.skip_license_check << /.*/
-  conf.install_locations["scripts/yast2-completion.sh"] = 
File.join(Packaging::Configuration::DESTDIR, 
"/usr/share/bash-completion/completions")
+  conf.install_locations["scripts/completions"] = 
File.join(Packaging::Configuration::DESTDIR, "/usr/share/bash-completion/")
   conf.install_locations["scripts/yast2-funcs"] = 
File.join(Packaging::Configuration::YAST_LIB_DIR, "/bin/")
   conf.install_locations["scripts/yast2"] = 
File.join(Packaging::Configuration::DESTDIR, "/usr/sbin/")
   conf.install_locations["scripts/yast"] = 
File.join(Packaging::Configuration::DESTDIR, "/usr/sbin/")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.18/package/yast2.changes 
new/yast2-4.2.19/package/yast2.changes
--- old/yast2-4.2.18/package/yast2.changes  2019-08-08 15:52:51.0 
+0200
+++ new/yast2-4.2.19/package/yast2.changes  2019-08-30 11:55:44.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Fri Aug 30 09:30:26 UTC 2019 - Steffen Winterfeldt 
+
+- yast completions have to be named after their respective command
+  name (bsc#1122259)
+- 4.2.19
+
+---
 Thu Aug  8 09:28:03 UTC 2019 - Martin Vidner 
 
 - Remove the obsolete XVersion API (bsc#1144627).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.18/package/yast2.spec 
new/yast2-4.2.19/package/yast2.spec
--- old/yast2-4.2.18/package/yast2.spec 2019-08-08 15:52:51.0 +0200
+++ new/yast2-4.2.19/package/yast2.spec 2019-08-30 11:55:44.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.18
+Version:4.2.19
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -206,7 +206,7 @@
 %{yast_agentdir}/ag_*
 %{_fillupdir}/sysconfig.yast2
 
-%{_datadir}/bash-completion/completions/yast2*.sh
+%{_datadir}/bash-completion/completions
 
 # documentation (not included in devel subpackage)
 %doc %dir %{yast_docdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.18/scripts/completions/yast 
new/yast2-4.2.19/scripts/completions/yast
--- old/yast2-4.2.18/scripts/completions/yast   1970-01-01 01:00:00.0 
+0100
+++ new/yast2-4.2.19/scripts/completions/yast   2019-09-04 08:58:41.887071955 
+0200
@@ -0,0 +1 @@
+symbolic link to yast2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.18/scripts/completions/yast2 
new/yast2-4.2.19/scripts/completions/yast2
--- old/yast2-4.2.18/scripts/completions/yast2  1970-01-01 01:00:00.0 
+0100
+++ new/yast2-4.2.19/scripts/completions/yast2  2019-08-30 11:55:44.0 
+0200
@@ -0,0 +1,114 @@
+# 

commit yast2 for openSUSE:Factory

2019-08-15 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-08-15 15:42:14

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.9556 (New)


Package is "yast2"

Thu Aug 15 15:42:14 2019 rev:458 rq:721778 version:4.2.18

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-08-05 
19:25:50.634144499 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.9556/yast2.changes2019-08-15 
15:42:15.955211185 +0200
@@ -1,0 +2,7 @@
+Thu Aug  8 09:28:03 UTC 2019 - Martin Vidner 
+
+- Remove the obsolete XVersion API (bsc#1144627).
+- Detect missing textdomain during testing (bsc#1130822)
+- 4.2.18
+
+---

Old:

  yast2-4.2.17.tar.bz2

New:

  yast2-4.2.18.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.bZV2H9/_old  2019-08-15 15:42:16.427211076 +0200
+++ /var/tmp/diff_new_pack.bZV2H9/_new  2019-08-15 15:42:16.431211075 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.17
+Version:4.2.18
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
@@ -105,12 +105,12 @@
 # xdg-su in .desktops
 Recommends: xdg-utils
 
+# removed the XVersion API
+Conflicts:  yast2-country < 4.2.3
 # SrvStatusComponent moved to yast2.rpm
 Conflicts:  yast2-dns-server < 3.1.17
-# InstError
-Conflicts:  yast2-installation < 2.18.5
-# moved export method
-Conflicts:  yast2-installation < 4.1.8
+# removed the XVersion API
+Conflicts:  yast2-installation < 4.2.9
 # moved cfg_mail.scr
 Conflicts:  yast2-mail < 3.1.7
 # Older packager use removed API
@@ -137,6 +137,7 @@
 %setup -q
 
 %check
+export Y2STRICTTEXTDOMAIN=1
 %yast_check
 
 %build
@@ -206,8 +207,6 @@
 %{_fillupdir}/sysconfig.yast2
 
 %{_datadir}/bash-completion/completions/yast2*.sh
-# configuration files
-%config %{_sysconfdir}/YaST2/XVersion
 
 # documentation (not included in devel subpackage)
 %doc %dir %{yast_docdir}

++ yast2-4.2.17.tar.bz2 -> yast2-4.2.18.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.17/Rakefile new/yast2-4.2.18/Rakefile
--- old/yast2-4.2.17/Rakefile   2019-08-05 16:42:03.0 +0200
+++ new/yast2-4.2.18/Rakefile   2019-08-08 15:52:51.0 +0200
@@ -3,7 +3,6 @@
 Yast::Tasks.configuration do |conf|
   # lets ignore license check for now
   conf.skip_license_check << /.*/
-  conf.install_locations["data/XVersion"] = 
File.join(Packaging::Configuration::DESTDIR, "/etc/YaST2/")
   conf.install_locations["scripts/yast2-completion.sh"] = 
File.join(Packaging::Configuration::DESTDIR, 
"/usr/share/bash-completion/completions")
   conf.install_locations["scripts/yast2-funcs"] = 
File.join(Packaging::Configuration::YAST_LIB_DIR, "/bin/")
   conf.install_locations["scripts/yast2"] = 
File.join(Packaging::Configuration::DESTDIR, "/usr/sbin/")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.17/data/XVersion 
new/yast2-4.2.18/data/XVersion
--- old/yast2-4.2.17/data/XVersion  2019-08-05 16:42:03.0 +0200
+++ new/yast2-4.2.18/data/XVersion  1970-01-01 01:00:00.0 +0100
@@ -1,14 +0,0 @@
-Xbindir="/usr/bin"
-Xlibdir="/usr/lib"
-Xlib64dir="/usr/lib64"
-Xmandir="/usr/man"
-Xincludedir="/usr/include"
-Xsharedir="/usr/share"
-Xinfodir="/usr/info"
-Xfontdir="/usr/share/fonts"
-Xexecutable="Xorg -noreset"
-Xorgconftempl="/etc/X11/xorg.conf.template"
-Xstartpath=""
-Xdriverpath="/usr/lib/xorg/modules/drivers"
-Xdriver64path="/usr/lib64/xorg/modules/drivers"
-Xvncparam=""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.17/library/commandline/test/clients/dummy_cmdline.rb 
new/yast2-4.2.18/library/commandline/test/clients/dummy_cmdline.rb
--- old/yast2-4.2.17/library/commandline/test/clients/dummy_cmdline.rb  
2019-08-05 16:42:03.0 +0200
+++ new/yast2-4.2.18/library/commandline/test/clients/dummy_cmdline.rb  
2019-08-08 15:52:51.0 +0200
@@ -2,6 +2,7 @@
   class DummyCmdlineClient < Client
 def main
   Yast.import "CommandLine"
+  textdomain "example"
 
   # Command line definition
   cmdline = {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.17/library/general/example/popup_params.rb 
new/yast2-4.2.18/library/general/example/popup_params.rb
--- old/yast2-4.2.17/library/general/example/popup_params.rb2019-08-05 
16:42:03.0 +0200
+++ new/yast2-4.2.18/library/general/example/popup_params.rb2019-08-08 
15:52:51.0 +0200
@@ -39,5 

commit yast2 for openSUSE:Factory

2019-08-05 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-08-05 19:25:48

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.4126 (New)


Package is "yast2"

Mon Aug  5 19:25:48 2019 rev:457 rq:721080 version:4.2.17

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-07-31 
14:27:02.426238168 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.4126/yast2.changes2019-08-05 
19:25:50.634144499 +0200
@@ -1,0 +2,7 @@
+Mon Aug  5 07:55:15 UTC 2019 - David Diaz 
+
+- Allow to know if there is a forced base product
+  (bsc#1124590, bsc#1143943).
+- 4.2.17
+
+---

Old:

  yast2-4.2.16.tar.bz2

New:

  yast2-4.2.17.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.U3tZnw/_old  2019-08-05 19:25:51.190145082 +0200
+++ /var/tmp/diff_new_pack.U3tZnw/_new  2019-08-05 19:25:51.194145091 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.16
+Version:4.2.17
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.16.tar.bz2 -> yast2-4.2.17.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.16/library/packages/src/lib/y2packager/product.rb 
new/yast2-4.2.17/library/packages/src/lib/y2packager/product.rb
--- old/yast2-4.2.16/library/packages/src/lib/y2packager/product.rb 
2019-07-31 10:45:17.0 +0200
+++ new/yast2-4.2.17/library/packages/src/lib/y2packager/product.rb 
2019-08-05 16:42:03.0 +0200
@@ -48,6 +48,13 @@
   PKG_BINDINGS_ATTRS = ["name", "short_name", "display_name", "version", 
"arch",
 "category", "vendor"].freeze
 
+  # Resets cached attributes of the class
+  #
+  # @return [true]
+  def reset
+@forced_base_product = nil
+  end
+
   # Create a product from pkg-bindings hash data.
   # @param product [Hash] the pkg-bindings product hash
   # @return [Y2Packager::Product] converted product
@@ -100,6 +107,26 @@
   def with_status(*statuses)
 all.select { |p| p.status?(*statuses) }
   end
+
+  # Returns, if any, the base product which must be selected
+  #
+  # A base product can be forced to be selected through the 
`select_product`
+  # element in the software section of the control.xml file (bsc#1124590,
+  # bsc#1143943).
+  #
+  # @return [Y2Packager::Product, nil] the forced base product or nil when
+  # either, it wasn't selected or the selected wasn't found among the
+  # available ones.
+  def forced_base_product
+Yast.import "ProductFeatures"
+
+return @forced_base_product if @forced_base_product
+
+forced_product_name = 
Yast::ProductFeatures.GetStringFeature("software", "select_product")
+return if forced_product_name.to_s.empty?
+
+@forced_base_product = available_base_products.find { |p| p.name == 
forced_product_name }
+  end
 end
 
 # Constructor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.16/library/packages/test/y2packager/product_test.rb 
new/yast2-4.2.17/library/packages/test/y2packager/product_test.rb
--- old/yast2-4.2.16/library/packages/test/y2packager/product_test.rb   
2019-07-31 10:45:17.0 +0200
+++ new/yast2-4.2.17/library/packages/test/y2packager/product_test.rb   
2019-08-05 16:42:03.0 +0200
@@ -3,6 +3,7 @@
 require_relative "../test_helper"
 
 require "y2packager/product"
+Yast.import "ProductFeatures"
 
 describe Y2Packager::Product do
   PRODUCT_BASE_ATTRS = {
@@ -56,6 +57,71 @@
 end
   end
 
+  describe ".forced_base_product" do
+let(:select_product) { nil }
+
+let(:opensuse) do
+  instance_double(Y2Packager::Product, name: "openSUSE", 
installation_package: true)
+end
+
+let(:sle) do
+  instance_double(Y2Packager::Product, name: "SLE", installation_package: 
true)
+end
+
+before do
+  described_class.reset
+
+  allow(described_class).to receive(:available_base_products)
+.and_return([opensuse, sle])
+
+  allow(Yast::ProductFeatures).to receive(:GetStringFeature)
+.with("software", "select_product")
+.and_return(select_product)
+end
+
+context "when the control file is not forcing to select a base product 
selected" do
+  it "returns nil" do
+expect(described_class.forced_base_product).to be_nil
+  end
+end
+
+context "when the control file is not forcing to select a base product 
selected" do
+  context 

commit yast2 for openSUSE:Factory

2019-07-31 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-07-31 14:26:57

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.4126 (New)


Package is "yast2"

Wed Jul 31 14:26:57 2019 rev:456 rq:720003 version:4.2.16

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-05-21 
10:36:05.539254340 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.4126/yast2.changes2019-07-31 
14:27:02.426238168 +0200
@@ -1,0 +2,110 @@
+Wed Jul 31 07:16:08 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Add a dependency on hostname, as it is needed by the Hostname
+  module (boo#1142595).
+- 4.2.16
+
+---
+Mon Jul 29 08:58:52 UTC 2019 - Martin Vidner 
+
+- Stop "ls: write error: Broken pipe" messages (bsc#1128032)
+- 4.2.15
+
+---
+Thu Jul 25 12:25:37 UTC 2019 - Ladislav Slezák 
+
+- Release the sources to avoid using up all server connections
+  (bsc#1141127)
+- 4.2.14
+
+---
+Tue Jul 23 12:50:07 UTC 2019 - Ladislav Slezák 
+
+- Fixed evaluating the base products to avoid the "No base product
+  found" error message at upgrade, for reading the product data
+  prefer the new products (bsc#1142522)
+- 4.2.13
+
+---
+Tue Jul  9 12:05:19 UTC 2019 - Josef Reidinger 
+
+- fixed symlink creation in jenkins
+
+---
+Wed Jul  3 14:59:48 UTC 2019 - Imobach Gonzalez Sosa 
+
+- Infer the right module name from desktop files (bsc#1140233).
+- 4.2.12
+
+---
+Mon Jul  1 13:41:45 UTC 2019 - Knut Anderssen 
+
+- bsc#1138668
+  - Fixed failing old testsuite in yast2-dns-server package: do not
+depend on the environment, skip bind absence in Mode.test()
+- 4.2.11
+
+---
+Fri Jun 21 13:19:01 UTC 2019 - Josef Reidinger 
+
+- deprecate Arch.ia64 and drop all support for ia64 (last seen in
+  SLE 11)
+
+---
+Thu Jun 20 12:08:35 UTC 2019 - Knut Anderssen 
+
+- bsc#1137992
+  - PackageSystem.Installed: Fixed typo when passing the allowed
+return codes to Execute.
+- 4.2.10
+
+---
+Wed Jun 19 08:30:04 UTC 2019 - Knut Anderssen 
+
+- bsc#1137992
+  - PackageSystem.Installed: Use Yast::Execute instead of SCR
+to avoid false positives.
+- 4.2.9
+
+---
+Tue Jun 18 09:06:13 CEST 2019 - sch...@suse.de
+
+- Slideshow: Flag for switching on/off release notes tab.
+  (bsc#1136708)
+- 4.2.8
+
+---
+Thu Jun 13 11:56:37 UTC 2019 - Knut Anderssen 
+
+- bsc#1137992
+  - PackageSystem.Installed: Increase the logs details.
+- 4.2.7
+
+---
+Wed Jun  5 10:44:18 UTC 2019 - Knut Anderssen 
+
+- bsc#1086454
+  - Recognize IB interfaces based on IPOIB_MODE ifcfg attribute
+- 4.2.6
+
+---
+Fri May 31 19:14:11 UTC 2019 - Stasiek Michalski 
+
+- Use new schema of desktop files (boo#1084864)
+- Clean up spec
+- Rename desktop files
+- 4.2.5
+
+---
+Thu May 30 12:52:13 UTC 2019 - Josef Reidinger 
+
+- Drop old testsuite
+- Convert from autotools to rake based installation
+
+---
+Fri May 17 11:17:17 CEST 2019 - aschn...@suse.com
+
+- create log directory with control.xml and merged installation.xml
+- 4.2.4
+
+---

Old:

  yast2-4.2.3.tar.bz2

New:

  yast2-4.2.16.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.aow2Hd/_old  2019-07-31 14:27:02.914237791 +0200
+++ /var/tmp/diff_new_pack.aow2Hd/_new  2019-07-31 14:27:02.926237782 +0200
@@ -17,18 +17,22 @@
 
 
 Name:   yast2
-Version:4.2.3
+Version:4.2.16
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
 Group:  System/YaST
 Url:https://github.com/yast/yast-yast2
+
 Source0:%{name}-%{version}.tar.bz2
 Source1:yast2-rpmlintrc
+
 # for symlinking yardoc duplicates
 BuildRequires:  fdupes
 # Needed for tests
 BuildRequires:  grep
+# for 

commit yast2 for openSUSE:Factory

2019-05-21 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-05-21 10:36:02

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.5148 (New)


Package is "yast2"

Tue May 21 10:36:02 2019 rev:455 rq:703428 version:4.2.3

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-05-10 
09:12:31.375501738 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.5148/yast2.changes2019-05-21 
10:36:05.539254340 +0200
@@ -1,0 +2,7 @@
+Thu May 16 09:01:59 UTC 2019 - Stefan Hundhammer 
+
+- Make sure the wizard buttons always remain visible in NCurses
+  (bsc#1133367)
+- 4.2.3
+
+---

Old:

  yast2-4.2.2.tar.bz2

New:

  yast2-4.2.3.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.TMMl04/_old  2019-05-21 10:36:06.535253693 +0200
+++ /var/tmp/diff_new_pack.TMMl04/_new  2019-05-21 10:36:06.535253693 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.2
+Version:4.2.3
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.2.tar.bz2 -> yast2-4.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.2/library/wizard/src/modules/Wizard.rb 
new/yast2-4.2.3/library/wizard/src/modules/Wizard.rb
--- old/yast2-4.2.2/library/wizard/src/modules/Wizard.rb2019-05-07 
15:45:11.0 +0200
+++ new/yast2-4.2.3/library/wizard/src/modules/Wizard.rb2019-05-16 
12:12:38.0 +0200
@@ -279,22 +279,25 @@
   VBox(
 Id(:WizardDialog),
 ReplacePoint(Id(:topmenu), Empty()),
-HBox(
-  HSpacing(1),
-  VBox(
-VSpacing(0.2),
-HBox(
-  # translators: dialog title to appear before any content is 
initialized
-  Heading(Id(:title), Opt(:hstretch), _("Initializing ...")),
-  HStretch(),
-  ReplacePoint(Id(:relnotes_rp), Empty())
+VWeight(
+  1, # Layout trick: Lower layout priority with weight
+  HBox(
+HSpacing(1),
+VBox(
+  VSpacing(0.2),
+  HBox(
+# translators: dialog title to appear before any content is 
initialized
+Heading(Id(:title), Opt(:hstretch), _("Initializing ...")),
+HStretch(),
+ReplacePoint(Id(:relnotes_rp), Empty())
+  ),
+  VWeight(
+1, # Layout trick: Lower layout priority with weight
+HVCenter(Opt(:hvstretch), ReplacePoint(Id(:contents), Empty()))
+  )
 ),
-VWeight(
-  1, # Layout trick: Lower layout priority with weight
-  HVCenter(Opt(:hvstretch), ReplacePoint(Id(:contents), Empty()))
-)
-  ),
-  HSpacing(1)
+HSpacing(1)
+  )
 ),
 ReplacePoint(Id(:rep_button_box), button_box),
 VSpacing(0.2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.2/package/yast2.changes 
new/yast2-4.2.3/package/yast2.changes
--- old/yast2-4.2.2/package/yast2.changes   2019-05-07 15:45:11.0 
+0200
+++ new/yast2-4.2.3/package/yast2.changes   2019-05-16 12:12:38.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Thu May 16 09:01:59 UTC 2019 - Stefan Hundhammer 
+
+- Make sure the wizard buttons always remain visible in NCurses
+  (bsc#1133367)
+- 4.2.3
+
+---
 Tue May  7 13:10:46 UTC 2019 - Steffen Winterfeldt 
 
 - give more verbose feedback in 'view_anymsg' client (bsc#1132658)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.2.2/package/yast2.spec 
new/yast2-4.2.3/package/yast2.spec
--- old/yast2-4.2.2/package/yast2.spec  2019-05-07 15:45:11.0 +0200
+++ new/yast2-4.2.3/package/yast2.spec  2019-05-16 12:12:38.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.2
+Version:4.2.3
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only




commit yast2 for openSUSE:Factory

2019-05-10 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-05-10 09:12:27

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.5148 (New)


Package is "yast2"

Fri May 10 09:12:27 2019 rev:454 rq:701330 version:4.2.2

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-05-05 
21:17:05.784570590 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.5148/yast2.changes2019-05-10 
09:12:31.375501738 +0200
@@ -1,0 +2,6 @@
+Tue May  7 13:10:46 UTC 2019 - Steffen Winterfeldt 
+
+- give more verbose feedback in 'view_anymsg' client (bsc#1132658)
+- 4.2.2
+
+---

Old:

  yast2-4.2.1.tar.bz2

New:

  yast2-4.2.2.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.kdnjDG/_old  2019-05-10 09:12:32.115503851 +0200
+++ /var/tmp/diff_new_pack.kdnjDG/_new  2019-05-10 09:12:32.119503863 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.1
+Version:4.2.2
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.1.tar.bz2 -> yast2-4.2.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.1/library/system/src/lib/yast2/clients/view_anymsg.rb 
new/yast2-4.2.2/library/system/src/lib/yast2/clients/view_anymsg.rb
--- old/yast2-4.2.1/library/system/src/lib/yast2/clients/view_anymsg.rb 
2019-04-30 15:12:11.0 +0200
+++ new/yast2-4.2.2/library/system/src/lib/yast2/clients/view_anymsg.rb 
2019-05-07 15:45:11.0 +0200
@@ -111,22 +111,63 @@
 
   private
 
-def start_journal?
-  return false unless [nil, 0, 
-1].include?(FileUtils.GetSize(selected_filename))
-
-  res = Yast2::Popup.show(
-_(
-  "Selected log file does not exist or is empty.\n" \
-  "Many system components now log into systemd journal.\n" \
-  "Do you want to start YaST module for systemd journal?"
-),
-buttons: :yes_no,
-focus:   :no
-  ) == :yes
+# Helper method to assess file status.
+#
+# Return one of :ok, :empty, :missing, :no_file, :no_access.
+#
+def file_state(file)
+  begin
+File.stat(file)
+  rescue Errno::EACCES
+return :no_access
+  rescue Errno::ENOENT
+return :missing
+  rescue
+nil
+  end
+  return :no_access if !File.readable?(file)
+  return :no_file if !File.file?(file)
+  return :empty if !File.size?(file)
+  :ok
+end
 
-  return false unless res
+# Decide whether to read the log file or to start the 'journal' module 
instead.
+#
+# If the log can't be read, show some popups indicating the cause.
+#
+# Return true if the 'journal' module should be started.
+#
+def start_journal?
+  case file_state(selected_filename)
+  when :ok then
+false
+  when :empty then
+Yast2::Popup.show(_("The selected log file is empty."))
+false
+  when :no_file then
+Yast2::Popup.show(_("The selected item is not a file."))
+false
+  when :no_access then
+Yast2::Popup.show(
+  _(
+"You do not have permission to read the selected log file.\n\n" \
+"Run this YaST module as user 'root'."
+  )
+)
+false
+  when :missing then
+res = Yast2::Popup.show(
+  _(
+"The selected log file does not exist.\n\n" \
+"Many system components log into the systemd journal.\n" \
+"Do you want to start the YaST module for reading the systemd 
journal?"
+  ),
+  buttons: :yes_no,
+  focus:   :no
+) == :yes
 
-  Package.Install("yast2-journal")
+res && Package.Install("yast2-journal")
+  end
 end
 
 def dialog_content
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.2.1/library/system/test/clients/view_anymsg_test.rb 
new/yast2-4.2.2/library/system/test/clients/view_anymsg_test.rb
--- old/yast2-4.2.1/library/system/test/clients/view_anymsg_test.rb 
2019-04-30 15:12:11.0 +0200
+++ new/yast2-4.2.2/library/system/test/clients/view_anymsg_test.rb 
2019-05-07 15:45:11.0 +0200
@@ -24,8 +24,6 @@
   # WFM mock
   allow(Yast::WFM).to receive(:Args).and_return([])
   allow(Yast::WFM).to receive(:CallFunction)
-
-  allow(Yast::FileUtils).to receive(:GetSize).and_return(1)
 end
 
 it "returns true" do
@@ -178,15 +176,15 @@
   end
 end
 
-context "log file does not exist or 

commit yast2 for openSUSE:Factory

2019-05-05 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-05-05 21:17:03

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.5148 (New)


Package is "yast2"

Sun May  5 21:17:03 2019 rev:453 rq:699678 version:4.2.1

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-04-18 
09:55:21.317300927 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.5148/yast2.changes2019-05-05 
21:17:05.784570590 +0200
@@ -1,0 +2,7 @@
+Fri Apr 26 08:38:39 UTC 2019 - Ladislav Slezák 
+
+- Uninstall the "SUSE-Manager-Proxy" product when upgrading from
+  SLES12 + SUMA Proxy + SUMA Branch Server (bsc#1133215)
+- 4.2.1
+
+---

Old:

  yast2-4.2.0.tar.bz2

New:

  yast2-4.2.1.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Ad7HMq/_old  2019-05-05 21:17:06.300571996 +0200
+++ /var/tmp/diff_new_pack.Ad7HMq/_new  2019-05-05 21:17:06.308572018 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.2.0
+Version:4.2.1
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.2.0.tar.bz2 -> yast2-4.2.1.tar.bz2 ++
 1621 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2019-04-18 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-04-18 09:55:19

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.17052 (New)


Package is "yast2"

Thu Apr 18 09:55:19 2019 rev:452 rq:694957 version:4.2.0

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-04-12 
09:12:46.605623203 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.17052/yast2.changes   2019-04-18 
09:55:21.317300927 +0200
@@ -1,0 +2,8 @@
+Wed Apr 17 08:35:49 UTC 2019 - Rodion Iafarov 
+
+- Allow not prescribing UI in yast2, to use YUILoader::loadUI.
+  Required to load integration tests framework
+  (poo#36712, bsc#1132247)
+- 4.2.0
+
+---

Old:

  yast2-4.1.68.tar.bz2

New:

  yast2-4.2.0.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.XyFXQj/_old  2019-04-18 09:55:22.021301370 +0200
+++ /var/tmp/diff_new_pack.XyFXQj/_new  2019-04-18 09:55:22.021301370 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.68
+Version:4.2.0
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only

++ yast2-4.1.68.tar.bz2 -> yast2-4.2.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.68/package/yast2.changes 
new/yast2-4.2.0/package/yast2.changes
--- old/yast2-4.1.68/package/yast2.changes  2019-04-11 14:56:26.0 
+0200
+++ new/yast2-4.2.0/package/yast2.changes   2019-04-17 09:52:31.0 
+0200
@@ -1,4 +1,12 @@
 ---
+Wed Apr 17 08:35:49 UTC 2019 - Rodion Iafarov 
+
+- Allow not prescribing UI in yast2, to use YUILoader::loadUI.
+  Required to load integration tests framework
+  (poo#36712, bsc#1132247)
+- 4.2.0
+
+---
 Tue Apr  9 09:50:45 UTC 2019 - sch...@suse.de
 - Updated map for evaluating upgraded products
   (e.g. for SUSE-Manager). (bsc#1131503)
@@ -62,7 +70,7 @@
 - bnc#1127798
   - do not crash with internal error when enabling a network
 network service when no network service is active.
-- 4.1.61 
+- 4.1.61
 
 ---
 Wed Mar 06 12:09:35 CET 2019 - aschn...@suse.com
@@ -89,7 +97,7 @@
 ---
 Mon Mar  4 09:02:22 UTC 2019 - Michal Filka 
 
-- bnc#1127685 
+- bnc#1127685
   - made Report module long message reporting popups adjustable
 - 4.1.57
 
@@ -255,7 +263,7 @@
 ---
 Fri Nov 30 14:22:29 UTC 2018 - jreidin...@suse.com
 
-- firewalld: add ability to add/edit/remove zones (fate#324662) 
+- firewalld: add ability to add/edit/remove zones (fate#324662)
 - 4.1.37
 
 ---
@@ -392,7 +400,7 @@
 Mon Oct  1 17:29:17 UTC 2018 - mfi...@suse.com
 
 - bnc#964856
-  - fixed internal error - do not crash when updating device config 
+  - fixed internal error - do not crash when updating device config
 - 4.1.19
 
 ---
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.68/package/yast2.spec 
new/yast2-4.2.0/package/yast2.spec
--- old/yast2-4.1.68/package/yast2.spec 2019-04-11 14:56:26.0 +0200
+++ new/yast2-4.2.0/package/yast2.spec  2019-04-17 09:52:31.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.68
+Version:4.2.0
 Release:0
 Summary:YaST2 Main Package
 License:GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.68/scripts/yast2 
new/yast2-4.2.0/scripts/yast2
--- old/yast2-4.1.68/scripts/yast2  2019-04-11 14:56:26.0 +0200
+++ new/yast2-4.2.0/scripts/yast2   2019-04-17 09:52:31.0 +0200
@@ -412,6 +412,12 @@
 echo >&2 "Internal error, unhandled '$SELECTED_GUI'"
 fi
 
+# Used for intergation tests, using libyui YUILoader::loadUI logic instead
+# of direct loadPlugin plugin call. When using UI, dummy UI will be created
+if [ -n "$Y2TEST" ]; then
+  SELECTED_GUI="ui"
+  echo "Integration UI tests"
+fi
 
 # do it!
 # $@ are args for ycp




commit yast2 for openSUSE:Factory

2019-04-12 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-04-12 09:12:40

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.27019 (New)


Package is "yast2"

Fri Apr 12 09:12:40 2019 rev:451 rq:693253 version:4.1.68

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-04-01 
12:34:37.657817496 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new.27019/yast2.changes   2019-04-12 
09:12:46.605623203 +0200
@@ -1,0 +2,13 @@
+Tue Apr  9 09:50:45 UTC 2019 - sch...@suse.de
+- Updated map for evaluating upgraded products
+  (e.g. for SUSE-Manager). (bsc#1131503)
+- Upgrade: Evaluating product obsoletes in order to show it in
+  the proposal overview.
+- 4.1.68
+
+---
+Tue Apr  9 08:03:00 UTC 2019 - Jan Engelhardt 
+
+- Use noun phrase in summary.
+
+---

Old:

  yast2-4.1.67.tar.bz2

New:

  yast2-4.1.68.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.7pYQLG/_old  2019-04-12 09:12:48.121623853 +0200
+++ /var/tmp/diff_new_pack.7pYQLG/_new  2019-04-12 09:12:48.125623855 +0200
@@ -17,9 +17,9 @@
 
 
 Name:   yast2
-Version:4.1.67
+Version:4.1.68
 Release:0
-Summary:YaST2 - Main Package
+Summary:YaST2 Main Package
 License:GPL-2.0-only
 Group:  System/YaST
 Url:https://github.com/yast/yast-yast2
@@ -213,8 +213,7 @@
 %{yast_icondir}
 
 %package logs
-
-Summary:Collecting YAST information
+Summary:Scripts for handling YAST logs
 Group:  System/YaST
 
 Provides:   yast2:/usr/sbin/save_y2logs

++ yast2-4.1.67.tar.bz2 -> yast2-4.1.68.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.67/Dockerfile new/yast2-4.1.68/Dockerfile
--- old/yast2-4.1.67/Dockerfile 2019-03-29 12:02:36.0 +0100
+++ new/yast2-4.1.68/Dockerfile 2019-04-11 14:56:26.0 +0200
@@ -1,7 +1,7 @@
 # Use this base image
-# - built: https://hub.docker.com/r/yastdevel/ruby/
-# - source: https://github.com/yast/docker-yast-ruby
-FROM yastdevel/ruby
+# - built: https://registry.opensuse.org
+# - source: https://github.com/yast/ci-ruby-container
+FROM registry.opensuse.org/yast/head/containers/yast-ruby
 COPY . /usr/src/app
 # English messages, UTF-8, "C" locale for numeric formatting tests
 ENV LC_ALL= LANG=en_US.UTF-8 LC_NUMERIC=C
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.67/library/packages/src/lib/y2packager/product_upgrade.rb 
new/yast2-4.1.68/library/packages/src/lib/y2packager/product_upgrade.rb
--- old/yast2-4.1.67/library/packages/src/lib/y2packager/product_upgrade.rb 
2019-03-29 12:02:36.0 +0100
+++ new/yast2-4.1.68/library/packages/src/lib/y2packager/product_upgrade.rb 
2019-04-11 14:56:26.0 +0200
@@ -25,20 +25,23 @@
 MAPPING = {
   # SLES12 + HPC module => SLESHPC15
   # (a bit tricky, the module became a new base product!)
-  ["SLES", "sle-module-hpc"] => "SLE_HPC",
+  ["SLES", "sle-module-hpc"]  => 
"SLE_HPC",
+  ["SLES", "SUSE-Manager-Proxy"]  => 
"SUSE-Manager-Proxy",
+  ["SLES", "SUSE-Manager-Server"] => 
"SUSE-Manager-Server",
+  ["SLES", "SUSE-Manager-Proxy", "SUSE-Manager-Retail-Branch-Server"] => 
"SUSE-Manager-Retail-Branch-Server",
   # this is an internal product so far...
-  ["SLE-HPC"]=> "SLE_HPC",
+  ["SLE-HPC"] => 
"SLE_HPC",
   # SLES11 => SLES15
-  ["SUSE_SLES"]  => "SLES",
+  ["SUSE_SLES"]   => 
"SLES",
   # SLED11 => SLED15
-  ["SUSE_SLED"]  => "SLED",
+  ["SUSE_SLED"]   => 
"SLED",
   # SLES4SAP11 => SLES4SAP15
-  ["SUSE_SLES_SAP"]  => "SLES_SAP",
+  ["SUSE_SLES_SAP"]   => 
"SLES_SAP",
   # (installed) openSUSE => (available) SLES,
   # this one is used when openSUSE is not available, e.g. booting SLE 
medium
   # (moreover the openSUSE medium should contain only one product so that
   # product should be used unconditionally)
-  ["openSUSE"]   => "SLES"
+  ["openSUSE"]=> 
"SLES"
 }.freeze
 
 class << self
@@ 

commit yast2 for openSUSE:Factory

2019-04-01 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-04-01 12:34:36

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.25356 (New)


Package is "yast2"

Mon Apr  1 12:34:36 2019 rev:450 rq:689806 version:4.1.67

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-03-25 
09:47:58.492007801 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.25356/yast2.changes   2019-04-01 
12:34:37.657817496 +0200
@@ -1,0 +2,8 @@
+Tue Mar 26 22:46:58 UTC 2019 - kanders...@suse.com
+
+- Firewall: Zone name has been removed from the common attributes
+  declaration as it cannot be modified through the firewalld API.
+  (bsc#1130354)
+- 4.1.67
+
+---

Old:

  yast2-4.1.66.tar.bz2

New:

  yast2-4.1.67.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.5Ud7Dj/_old  2019-04-01 12:34:38.505817713 +0200
+++ /var/tmp/diff_new_pack.5Ud7Dj/_new  2019-04-01 12:34:38.509817714 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.66
+Version:4.1.67
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.66.tar.bz2 -> yast2-4.1.67.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.66/library/network/src/lib/y2firewall/firewalld/zone.rb 
new/yast2-4.1.67/library/network/src/lib/y2firewall/firewalld/zone.rb
--- old/yast2-4.1.66/library/network/src/lib/y2firewall/firewalld/zone.rb   
2019-03-22 09:40:07.0 +0100
+++ new/yast2-4.1.67/library/network/src/lib/y2firewall/firewalld/zone.rb   
2019-03-29 12:02:36.0 +0100
@@ -53,7 +53,10 @@
   has_many :services, :interfaces, :protocols, :ports, cache: true
 
   # @see Y2Firewall::Firewalld::Relations
-  has_attributes :name, :masquerade, :short, :description, :target, cache: 
true
+  has_attributes :masquerade, :short, :description, :target, cache: true
+
+  # @return [String] Zone name
+  attr_accessor :name
 
   alias_method :masquerade?, :masquerade
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.66/library/network/test/network_service_test.rb 
new/yast2-4.1.67/library/network/test/network_service_test.rb
--- old/yast2-4.1.66/library/network/test/network_service_test.rb   
2019-03-22 09:40:07.0 +0100
+++ new/yast2-4.1.67/library/network/test/network_service_test.rb   
2019-03-29 12:02:36.0 +0100
@@ -23,13 +23,6 @@
 expect { Yast::NetworkService.is_netconfig }.not_to raise_error
   end
 end
-
-describe "#EnableDisableNow" do
-  it "does not crash when current / cached service is nil" do
-allow(Yast::NetworkService).to receive(:Modified).and_return(true)
-expect { Yast::NetworkService.EnableDisableNow }.not_to raise_error 
ArgumentError
-  end
-end
   end
 
   describe "#RunSystemCtl" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.66/package/yast2.changes 
new/yast2-4.1.67/package/yast2.changes
--- old/yast2-4.1.66/package/yast2.changes  2019-03-22 09:40:07.0 
+0100
+++ new/yast2-4.1.67/package/yast2.changes  2019-03-29 12:02:36.0 
+0100
@@ -1,4 +1,12 @@
 ---
+Tue Mar 26 22:46:58 UTC 2019 - kanders...@suse.com
+
+- Firewall: Zone name has been removed from the common attributes
+  declaration as it cannot be modified through the firewalld API.
+  (bsc#1130354)
+- 4.1.67
+
+---
 Tue Mar 19 09:02:12 UTC 2019 - David Díaz 
 
 - Require tar as a dependency for yast2-logs (bsc#1125142).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.66/package/yast2.spec 
new/yast2-4.1.67/package/yast2.spec
--- old/yast2-4.1.66/package/yast2.spec 2019-03-22 09:40:07.0 +0100
+++ new/yast2-4.1.67/package/yast2.spec 2019-03-29 12:02:36.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.66
+Version:4.1.67
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only




commit yast2 for openSUSE:Factory

2019-03-25 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-03-25 09:47:52

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.25356 (New)


Package is "yast2"

Mon Mar 25 09:47:52 2019 rev:449 rq:687547 version:4.1.66

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-03-14 
22:42:23.438640068 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.25356/yast2.changes   2019-03-25 
09:47:58.492007801 +0100
@@ -1,0 +2,6 @@
+Tue Mar 19 09:02:12 UTC 2019 - David Díaz 
+
+- Require tar as a dependency for yast2-logs (bsc#1125142).
+- 4.1.66
+
+---

Old:

  yast2-4.1.65.tar.bz2

New:

  yast2-4.1.66.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.2TNEWt/_old  2019-03-25 09:47:59.992007584 +0100
+++ /var/tmp/diff_new_pack.2TNEWt/_new  2019-03-25 09:47:59.996007584 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.65
+Version:4.1.66
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only
@@ -219,6 +219,8 @@
 
 Provides:   yast2:/usr/sbin/save_y2logs
 
+Requires:   tar
+
 %description logs
 This package contains scripts for handling YAST logs.
 

++ yast2-4.1.65.tar.bz2 -> yast2-4.1.66.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.65/package/yast2.changes 
new/yast2-4.1.66/package/yast2.changes
--- old/yast2-4.1.65/package/yast2.changes  2019-03-14 17:42:46.0 
+0100
+++ new/yast2-4.1.66/package/yast2.changes  2019-03-22 09:40:07.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Tue Mar 19 09:02:12 UTC 2019 - David Díaz 
+
+- Require tar as a dependency for yast2-logs (bsc#1125142).
+- 4.1.66
+
+---
 Thu Mar 14 15:36:31 UTC 2019 - Ladislav Slezak 
 
 - Fixed evaluating the base product, the same products with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.65/package/yast2.spec 
new/yast2-4.1.66/package/yast2.spec
--- old/yast2-4.1.65/package/yast2.spec 2019-03-14 17:42:46.0 +0100
+++ new/yast2-4.1.66/package/yast2.spec 2019-03-22 09:40:07.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.65
+Version:4.1.66
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only
@@ -219,6 +219,8 @@
 
 Provides:   yast2:/usr/sbin/save_y2logs
 
+Requires:   tar
+
 %description logs
 This package contains scripts for handling YAST logs.
 




commit yast2 for openSUSE:Factory

2019-03-14 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-03-14 22:42:21

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Thu Mar 14 22:42:21 2019 rev:448 rq:685077 version:4.1.65

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-03-13 
09:09:30.499422172 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-03-14 
22:42:23.438640068 +0100
@@ -1,0 +2,23 @@
+Thu Mar 14 15:36:31 UTC 2019 - Ladislav Slezak 
+
+- Fixed evaluating the base product, the same products with
+  the available and selected status must be treated as duplicate
+  products (bsc#1129257)
+- 4.1.65
+
+---
+Wed Mar 13 15:34:17 UTC 2019 - Ladislav Slezak 
+
+- Process the "specialproduct" value like a linuxrc parameter
+  (ignore "-_." characters, ignore case) (bsc#1128901)
+- 4.1.64
+
+---
+Wed Mar 13 09:02:12 UTC 2019 - David Díaz 
+
+- Fix how a product features is read in a running system.
+- Update default path for base product licenses
+  (fate#324053, jsc#SLE-4173).
+- 4.1.63
+
+---

Old:

  yast2-4.1.62.tar.bz2

New:

  yast2-4.1.65.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.cWuYAk/_old  2019-03-14 22:42:24.190639807 +0100
+++ /var/tmp/diff_new_pack.cWuYAk/_new  2019-03-14 22:42:24.194639805 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.62
+Version:4.1.65
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.62.tar.bz2 -> yast2-4.1.65.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.62/library/control/src/modules/ProductFeatures.rb 
new/yast2-4.1.65/library/control/src/modules/ProductFeatures.rb
--- old/yast2-4.1.62/library/control/src/modules/ProductFeatures.rb 
2019-03-12 16:59:48.0 +0100
+++ new/yast2-4.1.65/library/control/src/modules/ProductFeatures.rb 
2019-03-14 17:42:46.0 +0100
@@ -71,7 +71,7 @@
   "disable_os_prober"   => false,
   "enable_local_users"  => true,
   # FATE #304865
-  "base_product_license_directory"  => "/etc/YaST2/licenses/base/",
+  "base_product_license_directory"  => 
"/usr/share/licenses/product/base/",
   "full_system_media_name"  => "",
   "full_system_download_url"=> "",
   "save_y2logs" => true
@@ -168,7 +168,8 @@
 # Restore product features in running system
 # @note This is a stable API function
 def Restore
-  InitFeatures(true)
+  InitFeatures(false)
+
   groups = SCR.Dir(path(".product.features.section"))
   Builtins.foreach(groups) do |group|
 Ops.set(@features, group, Ops.get(@features, group, {}))
@@ -191,7 +192,6 @@
 # @note This is a stable API function
 # Either read from /etc/YaST2/ProductFeatures or set default values
 def InitIfNeeded
-  return if !@features.nil?
   if Stage.normal || Stage.firstboot
 Restore()
   else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.62/library/control/test/ProductFeatures_test.rb 
new/yast2-4.1.65/library/control/test/ProductFeatures_test.rb
--- old/yast2-4.1.62/library/control/test/ProductFeatures_test.rb   
2019-03-12 16:59:48.0 +0100
+++ new/yast2-4.1.65/library/control/test/ProductFeatures_test.rb   
2019-03-14 17:42:46.0 +0100
@@ -158,4 +158,81 @@
   end
 end
   end
+
+  describe "#GetFeature" do
+let(:scr_root_dir) { File.join(File.dirname(__FILE__), "data") }
+let(:normal_stage) { false }
+let(:firstboot_stage) { false }
+
+before do
+  allow(Yast::Stage).to receive(:normal).and_return(normal_stage)
+  allow(Yast::Stage).to receive(:firstboot).and_return(firstboot_stage)
+end
+
+around do |example|
+  change_scr_root(scr_root_dir, )
+end
+
+it "initializes feature if needed" do
+  expect(subject).to receive(:InitIfNeeded)
+
+  subject.GetFeature("globals", "base_product_license_directory")
+end
+
+context "in normal stage" do
+  let(:normal_stage) { true }
+
+  it "reads the value from the running system" do
+# value read from data/etc/YaST2/ProductFeatures file
+expect(subject.GetFeature("globals", "base_product_license_directory"))
+  .to 

commit yast2 for openSUSE:Factory

2019-03-13 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-03-13 09:09:29

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Wed Mar 13 09:09:29 2019 rev:447 rq:684405 version:4.1.62

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-03-10 
09:30:18.772251224 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-03-13 
09:09:30.499422172 +0100
@@ -1,0 +2,8 @@
+Tue Mar 12 08:38:32 UTC 2019 - lsle...@suse.cz
+
+- Fixed product filtering in product_reader.rb, fixes problem
+  when upgrading SLE15-SP1 to SLE15-SP1 (usually used to fix
+  a broken system) (bsc#1128459)
+- 4.1.62
+
+---

Old:

  yast2-4.1.61.tar.bz2

New:

  yast2-4.1.62.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.w2Zbss/_old  2019-03-13 09:09:33.099421904 +0100
+++ /var/tmp/diff_new_pack.w2Zbss/_new  2019-03-13 09:09:33.103421903 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.61
+Version:4.1.62
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.61.tar.bz2 -> yast2-4.1.62.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.61/library/packages/src/lib/y2packager/product_reader.rb 
new/yast2-4.1.62/library/packages/src/lib/y2packager/product_reader.rb
--- old/yast2-4.1.61/library/packages/src/lib/y2packager/product_reader.rb  
2019-03-08 12:14:26.0 +0100
+++ new/yast2-4.1.62/library/packages/src/lib/y2packager/product_reader.rb  
2019-03-12 16:59:48.0 +0100
@@ -148,8 +148,9 @@
 
   # remove duplicates, there migth be different flavors ("DVD"/"POOL")
   # or archs (x86_64/i586), when selecting the product to install later
-  # libzypp will select the correct arch automatically
-  products.uniq! { |p| "#{p["name"]}__#{p["version"]}" }
+  # libzypp will select the correct arch automatically,
+  # keep products with different state, they are filtered out later
+  products.uniq! { |p| "#{p["name"]}__#{p["version"]}__#{p["status"]}" }
   log.info "Found products: #{products.map { |p| p["name"] }}"
 
   products
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.61/library/packages/test/y2packager/product_reader_test.rb 
new/yast2-4.1.62/library/packages/test/y2packager/product_reader_test.rb
--- old/yast2-4.1.61/library/packages/test/y2packager/product_reader_test.rb
2019-03-08 12:14:26.0 +0100
+++ new/yast2-4.1.62/library/packages/test/y2packager/product_reader_test.rb
2019-03-12 16:59:48.0 +0100
@@ -126,10 +126,10 @@
   allow(subject).to receive(:product_package).with("SLES_BCL-release")
 .and_return("deps" => [{ "conflicts"=>"kernel < 4.4" },
{ "provides"=>"specialproduct(SLES_BCL)" }])
+  allow(Yast::Linuxrc).to 
receive(:InstallInf).with("specialproduct").and_return(nil)
 end
 
 it "returns available products without special products" do
-  allow(Yast::Linuxrc).to 
receive(:InstallInf).with("specialproduct").and_return(nil)
   expect(subject.all_products.size).to eq(1)
 end
 
@@ -137,5 +137,18 @@
   allow(Yast::Linuxrc).to 
receive(:InstallInf).with("specialproduct").and_return("SLES_BCL")
   expect(subject.all_products.size).to eq(2)
 end
+
+it "returns the available product also when an installed product is found" 
do
+  installed = products.first.dup
+  installed["status"] = :installed
+  available = products.first.dup
+  available["status"] = :available
+
+  # return the installed product first to ensure the following available 
duplicate is not lost
+  allow(Yast::Pkg).to receive(:ResolvableProperties).with("", :product, "")
+.and_return([installed, available])
+
+  expect(subject.all_products).to_not be_empty
+end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.61/package/yast2.changes 
new/yast2-4.1.62/package/yast2.changes
--- old/yast2-4.1.61/package/yast2.changes  2019-03-08 12:14:26.0 
+0100
+++ new/yast2-4.1.62/package/yast2.changes  2019-03-12 16:59:48.0 
+0100
@@ -1,4 +1,12 @@
 ---
+Tue Mar 12 08:38:32 UTC 2019 - lsle...@suse.cz
+
+- Fixed product filtering in product_reader.rb, fixes problem
+  when upgrading SLE15-SP1 to SLE15-SP1 (usually used to fix
+  

commit yast2 for openSUSE:Factory

2019-03-10 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-03-10 09:30:15

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Sun Mar 10 09:30:15 2019 rev:446 rq:682763 version:4.1.61

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-03-06 
19:03:15.957076892 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-03-10 
09:30:18.772251224 +0100
@@ -1,0 +2,8 @@
+Fri Mar  8 08:15:47 UTC 2019 - Michal Filka 
+
+- bnc#1127798
+  - do not crash with internal error when enabling a network
+network service when no network service is active.
+- 4.1.61 
+
+---
@@ -4 +12,2 @@
-- added "Modify" button label (related to gh#yast/yast-yast2#713)
+- added "Modify" button label (related to bsc#1128279, or just as
+  good gh#yast/yast-yast2#713)

Old:

  yast2-4.1.60.tar.bz2

New:

  yast2-4.1.61.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.uCF1eJ/_old  2019-03-10 09:30:20.508250789 +0100
+++ /var/tmp/diff_new_pack.uCF1eJ/_new  2019-03-10 09:30:20.532250783 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.60
+Version:4.1.61
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.60.tar.bz2 -> yast2-4.1.61.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.60/library/network/src/modules/NetworkService.rb 
new/yast2-4.1.61/library/network/src/modules/NetworkService.rb
--- old/yast2-4.1.60/library/network/src/modules/NetworkService.rb  
2019-03-06 12:35:40.0 +0100
+++ new/yast2-4.1.61/library/network/src/modules/NetworkService.rb  
2019-03-08 12:14:26.0 +0100
@@ -47,8 +47,10 @@
 
 module Yast
   class NetworkServiceClass < Module
-# @current_name - current network backend identification
-# @cached_name  - the new network backend identification
+# return [String, nil] current network backend identification, nil is 
valid value for "no service selected / running"
+attr_accessor :current_name
+# return [String, nil] new network backend identification, nil is valid 
value for "no service selected / running"
+attr_accessor :cached_name
 
 # network backend identification to service name mapping
 BACKENDS = {
@@ -93,6 +95,7 @@
 # @param force [Boolean] if action should be forced
 # @return exit code
 def RunSystemCtl(service, action, force: false)
+  raise ArgumentError, "No network service defined." if service.nil?
   cmd = "/usr/bin/systemctl "\
 "#{force ? "--force" : ""} " \
 "#{action.shellescape} " \
@@ -208,10 +211,12 @@
 def EnableDisableNow
   return if !Modified()
 
-  stop_service(@current_name)
-  disable_service(@current_name)
+  if current_name
+stop_service(current_name)
+disable_service(current_name)
+  end
 
-  RunSystemCtl(BACKENDS[@cached_name], "enable", force: true)
+  RunSystemCtl(BACKENDS[cached_name], "enable", force: true) if cached_name
 
   @initialized = false
   Read()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.60/library/network/test/network_service_test.rb 
new/yast2-4.1.61/library/network/test/network_service_test.rb
--- old/yast2-4.1.60/library/network/test/network_service_test.rb   
2019-03-06 12:35:40.0 +0100
+++ new/yast2-4.1.61/library/network/test/network_service_test.rb   
2019-03-08 12:14:26.0 +0100
@@ -23,6 +23,13 @@
 expect { Yast::NetworkService.is_netconfig }.not_to raise_error
   end
 end
+
+describe "#EnableDisableNow" do
+  it "does not crash when current / cached service is nil" do
+allow(Yast::NetworkService).to receive(:Modified).and_return(true)
+expect { Yast::NetworkService.EnableDisableNow }.not_to raise_error 
ArgumentError
+  end
+end
   end
 
   describe "#RunSystemCtl" do
@@ -39,5 +46,56 @@
 
   subject.RunSystemCtl("wicked", "disable | evil")
 end
+
+it "raises an exception when no service name is provided" do
+  expect { Yast::NetworkService.RunSystemCtl(nil, "enable") }.to 
raise_error
+end
+  end
+
+  describe "#EnableDisableNow" do
+subject { Yast::NetworkService }
+
+before(:each) do
+  expect(subject).to receive(:Modified).and_return(true)
+end
+
+context "When changing running service" do
+  before(:each) do
+allow(subject).to receive(:current_name).and_return(:netconfig)
+
+ 

commit yast2 for openSUSE:Factory

2019-03-06 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-03-06 19:03:11

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Wed Mar  6 19:03:11 2019 rev:445 rq:682117 version:4.1.60

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-02-28 
21:47:22.897423167 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-03-06 
19:03:15.957076892 +0100
@@ -1,0 +2,28 @@
+Wed Mar 06 12:09:35 CET 2019 - aschn...@suse.com
+
+- added "Modify" button label (related to gh#yast/yast-yast2#713)
+- 4.1.60
+
+---
+Tue Mar  5 09:41:23 UTC 2019 - Ladislav Slezák 
+
+- Added command line support also for the other Report module
+  methods (related to bnc#1127685)
+- 4.1.59
+
+---
+Tue Mar  5 08:00:03 UTC 2019 - Ladislav Slezák 
+
+- Fixed a failing testsuite, the Report.LongError used in the
+  global exception handler did not support the command line mode
+  (related to bnc#1127685)
+- 4.1.58
+
+---
+Mon Mar  4 09:02:22 UTC 2019 - Michal Filka 
+
+- bnc#1127685 
+  - made Report module long message reporting popups adjustable
+- 4.1.57
+
+---

Old:

  yast2-4.1.56.tar.bz2

New:

  yast2-4.1.60.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.1y3EG4/_old  2019-03-06 19:03:16.769076697 +0100
+++ /var/tmp/diff_new_pack.1y3EG4/_new  2019-03-06 19:03:16.773076696 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.56
+Version:4.1.60
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.56.tar.bz2 -> yast2-4.1.60.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.56/library/commandline/test/commandline_test.rb 
new/yast2-4.1.60/library/commandline/test/commandline_test.rb
--- old/yast2-4.1.56/library/commandline/test/commandline_test.rb   
2019-02-27 13:38:25.0 +0100
+++ new/yast2-4.1.60/library/commandline/test/commandline_test.rb   
2019-03-06 12:35:40.0 +0100
@@ -19,18 +19,22 @@
 allow(Yast::Debugger).to receive(:installed?).and_return(false)
   end
 
+  # NOTE: when using the byebug debugger here temporarily comment out
+  # all "expect($stdout)" lines otherwise the byebug output will be
+  # lost in the rspec mocks and you won't see anything.
+
   it "invokes initialize, handler and finish" do
-expect(STDOUT).to receive(:puts).with("Initialize called").ordered
-expect(STDOUT).to receive(:puts).with("something").ordered
-expect(STDOUT).to receive(:puts).with("Finish called").ordered
+expect($stdout).to receive(:puts).with("Initialize called").ordered
+expect($stdout).to receive(:puts).with("something").ordered
+expect($stdout).to receive(:puts).with("Finish called").ordered
 
 Yast::WFM.CallFunction("dummy_cmdline", ["echo", "text=something"])
   end
 
   it "displays errors and aborts" do
-expect(STDOUT).to receive(:puts).with("Initialize called").ordered
+expect($stdout).to receive(:puts).with("Initialize called").ordered
 expect(Yast::CommandLine).to receive(:Print).with(/I crashed/).ordered
-expect(STDOUT).to_not receive(:puts).with("Finish called")
+expect($stdout).to_not receive(:puts).with("Finish called")
 
 Yast::WFM.CallFunction("dummy_cmdline", ["crash"])
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.56/library/general/src/modules/Label.rb 
new/yast2-4.1.60/library/general/src/modules/Label.rb
--- old/yast2-4.1.56/library/general/src/modules/Label.rb   2019-02-27 
13:38:25.0 +0100
+++ new/yast2-4.1.60/library/general/src/modules/Label.rb   2019-03-06 
12:35:40.0 +0100
@@ -184,6 +184,12 @@
   _("Remo")
 end
 
+# Modify Button
+def ModifyButton
+  # Button label
+  _("")
+end
+
 # Refresh Button
 def RefreshButton
   # Button label
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.56/library/general/src/modules/Report.rb 
new/yast2-4.1.60/library/general/src/modules/Report.rb
--- old/yast2-4.1.56/library/general/src/modules/Report.rb  2019-02-27 
13:38:25.0 +0100
+++ new/yast2-4.1.60/library/general/src/modules/Report.rb  2019-03-06 
12:35:40.0 +0100
@@ -478,7 +478,9 @@
   

commit yast2 for openSUSE:Factory

2019-02-28 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-02-28 21:47:21

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Thu Feb 28 21:47:21 2019 rev:444 rq:679798 version:4.1.56

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-02-24 
18:02:26.287794267 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-02-28 
21:47:22.897423167 +0100
@@ -1,0 +2,7 @@
+Wed Feb 27 12:10:49 UTC 2019 - mvid...@suse.com
+
+- Use /sbin/rpcinfo only, /usr/sbin/rpcinfo is gone (bsc#1127138).
+- Use the correct path for /usr/bin/ifconfig (bsc#1127138).
+- 4.1.56
+
+---

Old:

  yast2-4.1.55.tar.bz2

New:

  yast2-4.1.56.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.l7YGlH/_old  2019-02-28 21:47:24.205422609 +0100
+++ /var/tmp/diff_new_pack.l7YGlH/_new  2019-02-28 21:47:24.205422609 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.55
+Version:4.1.56
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.55.tar.bz2 -> yast2-4.1.56.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.55/library/general/src/scrconf/run_ifconfig.scr 
new/yast2-4.1.56/library/general/src/scrconf/run_ifconfig.scr
--- old/yast2-4.1.55/library/general/src/scrconf/run_ifconfig.scr   
2019-02-18 09:33:35.0 +0100
+++ new/yast2-4.1.56/library/general/src/scrconf/run_ifconfig.scr   
2019-02-27 13:38:25.0 +0100
@@ -46,7 +46,7 @@
 
 `ag_anyagent(
   `Description (
-   (`Run("/sbin/ifconfig | /bin/sed -e '/.*inet6.*/d'")),
+   (`Run("/usr/bin/ifconfig | /bin/sed -e '/.*inet6.*/d'")),
"\n",
true,
(`List(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.55/library/network/src/modules/NetworkPopup.rb 
new/yast2-4.1.56/library/network/src/modules/NetworkPopup.rb
--- old/yast2-4.1.55/library/network/src/modules/NetworkPopup.rb
2019-02-18 09:33:35.0 +0100
+++ new/yast2-4.1.56/library/network/src/modules/NetworkPopup.rb
2019-02-27 13:38:25.0 +0100
@@ -195,7 +195,7 @@
 UI.OpenDialog(Label(_("Scanning for hosts on this LAN...")))
 # #71064
 # this works also if ICMP broadcasts are ignored
-cmd = "/usr/sbin/rpcinfo -b mountd 1 | /usr/bin/cut -d ' ' -f 2 | 
/usr/bin/sort -u"
+cmd = "/sbin/rpcinfo -b mountd 1 | /usr/bin/cut -f 2 | /usr/bin/sort 
-u"
 out = Convert.to_map(SCR.Execute(path(".target.bash_output"), cmd))
 @found_nfs_servers = Builtins.filter(
   Builtins.splitstring(Ops.get_string(out, "stdout", ""), "\n")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.55/package/yast2.changes 
new/yast2-4.1.56/package/yast2.changes
--- old/yast2-4.1.55/package/yast2.changes  2019-02-18 09:33:35.0 
+0100
+++ new/yast2-4.1.56/package/yast2.changes  2019-02-27 13:38:25.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Wed Feb 27 12:10:49 UTC 2019 - mvid...@suse.com
+
+- Use /sbin/rpcinfo only, /usr/sbin/rpcinfo is gone (bsc#1127138).
+- Use the correct path for /usr/bin/ifconfig (bsc#1127138).
+- 4.1.56
+
+---
 Mon Feb 18 07:47:37 UTC 2019 - lsle...@suse.cz
 
 - Fixed license file ordering issue causing a random test failure
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.55/package/yast2.spec 
new/yast2-4.1.56/package/yast2.spec
--- old/yast2-4.1.55/package/yast2.spec 2019-02-18 09:33:35.0 +0100
+++ new/yast2-4.1.56/package/yast2.spec 2019-02-27 13:38:25.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.55
+Version:4.1.56
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only




commit yast2 for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-02-24 18:02:24

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Sun Feb 24 18:02:24 2019 rev:443 rq:676944 version:4.1.55

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-02-11 
21:17:50.775322595 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-02-24 
18:02:26.287794267 +0100
@@ -1,0 +2,7 @@
+Mon Feb 18 07:47:37 UTC 2019 - lsle...@suse.cz
+
+- Fixed license file ordering issue causing a random test failure
+  (bsc#1125722)
+- 4.1.55
+
+---

Old:

  yast2-4.1.54.tar.bz2

New:

  yast2-4.1.55.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.xVqlmo/_old  2019-02-24 18:02:26.755794107 +0100
+++ /var/tmp/diff_new_pack.xVqlmo/_new  2019-02-24 18:02:26.755794107 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.54
+Version:4.1.55
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.54.tar.bz2 -> yast2-4.1.55.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.54/library/commandline/test/commandline_test.rb 
new/yast2-4.1.55/library/commandline/test/commandline_test.rb
--- old/yast2-4.1.54/library/commandline/test/commandline_test.rb   
2019-02-07 11:49:53.0 +0100
+++ new/yast2-4.1.55/library/commandline/test/commandline_test.rb   
2019-02-18 09:33:35.0 +0100
@@ -15,6 +15,10 @@
 Yast::Mode.SetUI(orig_ui)
   end
 
+  before do
+allow(Yast::Debugger).to receive(:installed?).and_return(false)
+  end
+
   it "invokes initialize, handler and finish" do
 expect(STDOUT).to receive(:puts).with("Initialize called").ordered
 expect(STDOUT).to receive(:puts).with("something").ordered
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.54/library/network/test/firewalld_wrapper_test.rb 
new/yast2-4.1.55/library/network/test/firewalld_wrapper_test.rb
--- old/yast2-4.1.54/library/network/test/firewalld_wrapper_test.rb 
2019-02-07 11:49:53.0 +0100
+++ new/yast2-4.1.55/library/network/test/firewalld_wrapper_test.rb 
2019-02-18 09:33:35.0 +0100
@@ -15,6 +15,7 @@
 allow(subject).to receive(:firewalld).and_return(firewalld)
 allow(firewalld).to receive(:zones).and_return(zones)
 allow(firewalld).to receive(:installed?).and_return(true)
+allow(Yast::NetworkInterfaces).to receive(:List).with("").and_return([])
 external.interfaces = ["eth0"]
 external.services = ["dhcp"]
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.54/library/packages/src/lib/y2packager/release_notes_fetchers/rpm.rb
 
new/yast2-4.1.55/library/packages/src/lib/y2packager/release_notes_fetchers/rpm.rb
--- 
old/yast2-4.1.54/library/packages/src/lib/y2packager/release_notes_fetchers/rpm.rb
  2019-02-07 11:49:53.0 +0100
+++ 
new/yast2-4.1.55/library/packages/src/lib/y2packager/release_notes_fetchers/rpm.rb
  2019-02-18 09:33:35.0 +0100
@@ -174,9 +174,15 @@
 langs << prefs.user_lang.split("_", 2).first if 
prefs.user_lang.include?("_")
 langs << prefs.fallback_lang
 
-path = Dir.glob(
-  File.join(directory, "**", 
"RELEASE-NOTES.{#{langs.join(",")}}.#{prefs.format}")
-).first
+path = nil
+langs.each do |lang|
+  path = Dir.glob(
+File.join(directory, "**", "RELEASE-NOTES.#{lang}.#{prefs.format}")
+  ).first
+
+  break unless path.nil?
+end
+
 return nil if path.nil?
 [path, path[/RELEASE-NOTES\.(.+)\.#{prefs.format}\z/, 1]] if path
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.54/package/yast2.changes 
new/yast2-4.1.55/package/yast2.changes
--- old/yast2-4.1.54/package/yast2.changes  2019-02-07 11:49:53.0 
+0100
+++ new/yast2-4.1.55/package/yast2.changes  2019-02-18 09:33:35.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Mon Feb 18 07:47:37 UTC 2019 - lsle...@suse.cz
+
+- Fixed license file ordering issue causing a random test failure
+  (bsc#1125722)
+- 4.1.55
+
+---
 Thu Feb  7 10:01:59 UTC 2019 - knut.anders...@suse.com
 
 - Firewall: added some help methods for moving interfaces between
diff -urN 

commit yast2 for openSUSE:Factory

2019-02-11 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-02-11 21:17:49

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Mon Feb 11 21:17:49 2019 rev:442 rq:672409 version:4.1.54

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-01-24 
14:00:59.108217751 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-02-11 
21:17:50.775322595 +0100
@@ -1,0 +2,7 @@
+Thu Feb  7 10:01:59 UTC 2019 - knut.anders...@suse.com
+
+- Firewall: added some help methods for moving interfaces between
+  zones in a safe way (fate#324662).
+- 4.1.54
+
+---

Old:

  yast2-4.1.53.tar.bz2

New:

  yast2-4.1.54.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.eFJr38/_old  2019-02-11 21:17:51.359322284 +0100
+++ /var/tmp/diff_new_pack.eFJr38/_new  2019-02-11 21:17:51.363322283 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.53
+Version:4.1.54
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.53.tar.bz2 -> yast2-4.1.54.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.53/library/network/src/lib/y2firewall/firewalld/interface.rb 
new/yast2-4.1.54/library/network/src/lib/y2firewall/firewalld/interface.rb
--- old/yast2-4.1.53/library/network/src/lib/y2firewall/firewalld/interface.rb  
2019-01-18 09:50:21.0 +0100
+++ new/yast2-4.1.54/library/network/src/lib/y2firewall/firewalld/interface.rb  
2019-02-07 11:49:53.0 +0100
@@ -96,6 +96,15 @@
 fw.zones.find { |z| z.interfaces.include?(name) }
   end
 
+  # Assign the interface to the given zone
+  #
+  # @param zone_name [String] the name of the zone to be assigned to
+  def zone=(zone_name)
+fw.zones.each { |z| z.remove_interface(name) if 
z.interfaces.include?(name) }
+z = fw.find_zone(zone_name)
+z && z.add_interface(name)
+  end
+
 private
 
   # Return an instance of Y2Firewall::Firewalld
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.53/library/network/src/lib/y2firewall/firewalld/zone.rb 
new/yast2-4.1.54/library/network/src/lib/y2firewall/firewalld/zone.rb
--- old/yast2-4.1.53/library/network/src/lib/y2firewall/firewalld/zone.rb   
2019-01-18 09:50:21.0 +0100
+++ new/yast2-4.1.54/library/network/src/lib/y2firewall/firewalld/zone.rb   
2019-02-07 11:49:53.0 +0100
@@ -136,6 +136,15 @@
 api.change_interface(name, interface)
   end
 
+  # Assign the interface to the zone removing it previously from any other
+  # zone that was including it.
+  #
+  # @param interface [String] interface name
+  def change_interface(interface)
+firewalld.zones.each { |z| z.remove_interface(interface) }
+add_interface(interface)
+  end
+
 private
 
   # Convenience method which return an instance of Y2Firewall::Firewalld
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.53/library/network/src/modules/NetworkInterfaces.rb 
new/yast2-4.1.54/library/network/src/modules/NetworkInterfaces.rb
--- old/yast2-4.1.53/library/network/src/modules/NetworkInterfaces.rb   
2019-01-18 09:50:21.0 +0100
+++ new/yast2-4.1.54/library/network/src/modules/NetworkInterfaces.rb   
2019-02-07 11:49:53.0 +0100
@@ -865,7 +865,6 @@
   # TODO : delete PREFIXLEN from config file
 end
   end
-  devmap["ZONE"] = nil if devmap["ZONE"] && devmap["ZONE"].empty?
   # write all keys to config
   Builtins.maplist(
 Convert.convert(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.53/library/network/test/y2firewall/firewalld/interface_test.rb 
new/yast2-4.1.54/library/network/test/y2firewall/firewalld/interface_test.rb
--- 
old/yast2-4.1.53/library/network/test/y2firewall/firewalld/interface_test.rb
2019-01-18 09:50:21.0 +0100
+++ 
new/yast2-4.1.54/library/network/test/y2firewall/firewalld/interface_test.rb
2019-02-07 11:49:53.0 +0100
@@ -123,4 +123,27 @@
   end
 end
   end
+
+  describe "#zone=" do
+let(:public_zone) { Y2Firewall::Firewalld::Zone.new(name: "public") }
+let(:dmz_zone) { Y2Firewall::Firewalld::Zone.new(name: "dmz") }
+
+before do
+  allow(Y2Firewall::Firewalld.instance).to receive(:zones)
+

commit yast2 for openSUSE:Factory

2019-01-24 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-01-24 14:00:55

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Thu Jan 24 14:00:55 2019 rev:441 rq:667692 version:4.1.53

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-01-10 
15:16:01.646765339 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-01-24 
14:00:59.108217751 +0100
@@ -1,0 +2,36 @@
+Thu Jan 17 00:55:03 UTC 2019 - knut.anders...@suse.com
+
+- CWM: Added date field and time field widgets (fate#322722)
+- 4.1.53
+
+---
+Wed Jan 16 16:52:19 CET 2019 - sch...@suse.de
+
+- Support special products which will be enabled via linuxrc
+  (flag "specialproduct") (fate#327099)
+- 4.1.52
+
+---
+Wed Jan 16 13:03:59 UTC 2019 - jreidin...@suse.com
+
+- Firewall: drop not needed relations and its related methods
+- Firewall: move export method to yast2-firewall (fate#324662)
+- 4.1.51
+
+---
+Mon Jan 14 10:55:20 UTC 2019 - Josef Reidinger 
+
+- CWM: Add method focus to object CWM widgets (FATE#324662)
+- CWM: Add rspec helper for common CWM widgets
+- CWM: Allow CWM dialogs/popups to have own help
+- CWM: Fix showing help for CWM Popup (FATE#324662)
+- 4.1.50
+
+---
+Thu Jan 10 14:45:03 UTC 2019 - Josef Reidinger 
+
+- Fix crashes of many modules when invoking from ncurses control
+  center (bsc#1121425)
+- 4.1.49
+
+---

Old:

  yast2-4.1.48.tar.bz2

New:

  yast2-4.1.53.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.u97x3q/_old  2019-01-24 14:00:59.792216971 +0100
+++ /var/tmp/diff_new_pack.u97x3q/_new  2019-01-24 14:00:59.796216967 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.48
+Version:4.1.53
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only
@@ -95,6 +95,8 @@
 Conflicts:  yast2-dns-server < 3.1.17
 # InstError
 Conflicts:  yast2-installation < 2.18.5
+# moved export method
+Conflicts:  yast2-installation < 4.1.8
 # moved cfg_mail.scr
 Conflicts:  yast2-mail < 3.1.7
 # Older packager use removed API

++ yast2-4.1.48.tar.bz2 -> yast2-4.1.53.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.48/library/cwm/examples/date_time.rb 
new/yast2-4.1.53/library/cwm/examples/date_time.rb
--- old/yast2-4.1.48/library/cwm/examples/date_time.rb  1970-01-01 
01:00:00.0 +0100
+++ new/yast2-4.1.53/library/cwm/examples/date_time.rb  2019-01-18 
09:50:21.0 +0100
@@ -0,0 +1,69 @@
+# Simple example to demonstrate object API for CWM
+
+require_relative "example_helper"
+
+require "cwm"
+require "cwm/popup"
+
+Yast.import "CWM"
+
+class Name < CWM::InputField
+  def initialize
+textdomain "example"
+  end
+
+  def label
+_("Name")
+  end
+end
+
+class EventDate < CWM::DateField
+  def initialize
+textdomain "example"
+  end
+
+  def init
+self.value = Time.now.strftime("%Y-%m-%d")
+  end
+
+  def label
+_("Event date")
+  end
+end
+
+class EventTime < CWM::TimeField
+  def initialize
+textdomain "example"
+  end
+
+  def init
+self.value = Time.now.strftime("%H:%M:%S")
+  end
+
+  def label
+_("Event time")
+  end
+end
+
+class Event < ::CWM::Popup
+  def initialize
+textdomain "example"
+  end
+
+  def contents
+VBox(
+  Name.new,
+  HBox(
+EventDate.new,
+HSpacing(1),
+EventTime.new
+  )
+)
+  end
+
+  def title
+_("Event Example")
+  end
+end
+
+Event.new.run
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.48/library/cwm/examples/popup.rb 
new/yast2-4.1.53/library/cwm/examples/popup.rb
--- old/yast2-4.1.48/library/cwm/examples/popup.rb  1970-01-01 
01:00:00.0 +0100
+++ new/yast2-4.1.53/library/cwm/examples/popup.rb  2019-01-18 
09:50:21.0 +0100
@@ -0,0 +1,74 @@
+# Simple example to demonstrate object API for CWM
+
+require_relative "example_helper"
+
+require "cwm"
+require "cwm/popup"
+
+Yast.import "CWM"
+
+class Goat < CWM::CheckBox
+  def initialize
+textdomain "example"
+  end
+
+  def label
+_("Goat")
+  end
+
+  def help
+_("Goat will eat cabbage.")
+  end
+end
+
+class Cabbage < CWM::CheckBox
+  def initialize
+textdomain "example"
+  end

commit yast2 for openSUSE:Factory

2019-01-10 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-01-10 15:15:59

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Thu Jan 10 15:15:59 2019 rev:440 rq:663325 version:4.1.48

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2019-01-05 
14:40:35.960569832 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-01-10 
15:16:01.646765339 +0100
@@ -1,0 +2,7 @@
+Mon Jan  7 08:40:21 UTC 2019 - lsle...@suse.cz
+
+- Ignore the old packages when fetching the release notes
+  (bsc#1112866)
+- 4.1.48
+
+---

Old:

  yast2-4.1.47.tar.bz2

New:

  yast2-4.1.48.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.W6RbUb/_old  2019-01-10 15:16:02.166764841 +0100
+++ /var/tmp/diff_new_pack.W6RbUb/_new  2019-01-10 15:16:02.166764841 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.47
+Version:4.1.48
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.47.tar.bz2 -> yast2-4.1.48.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.47/library/packages/src/lib/y2packager/release_notes_fetchers/rpm.rb
 
new/yast2-4.1.48/library/packages/src/lib/y2packager/release_notes_fetchers/rpm.rb
--- 
old/yast2-4.1.47/library/packages/src/lib/y2packager/release_notes_fetchers/rpm.rb
  2019-01-03 14:10:51.0 +0100
+++ 
new/yast2-4.1.48/library/packages/src/lib/y2packager/release_notes_fetchers/rpm.rb
  2019-01-07 11:39:08.0 +0100
@@ -89,15 +89,26 @@
   # @return [Package,nil] Package containing the release notes; nil if not 
found
   def release_notes_package
 return @release_notes_package if @release_notes_package
+
+log.info "Searching release notes for product #{product.name}..."
 provides = Yast::Pkg.PkgQueryProvides("release-notes()")
 release_notes_packages = provides.map(&:first).uniq
 package_name = release_notes_packages.sort.find do |name|
-  dependencies = Yast::Pkg.ResolvableDependencies(name, :package, 
"").first["deps"]
+  package_list = Yast::Pkg.ResolvableDependencies(name, :package, "")
+
+  log.debug "Evaluating #{name} provides: #{package_list}"
+  package = package_list.find { |p| p["status"] == :selected } || 
package_list.find { |p| p["status"] == :available }
+  log.debug "Checking package #{package}"
+  next false unless package
+
+  dependencies = package["deps"]
   dependencies.any? do |dep|
 # mind $ at the end of the regexp, otherwise for SLES you may get 
RNs of any SLES.* product
-
dep["provides"].to_s.match(/release-notes\(\)\s*=\s*#{product.name}\s*$/)
+
dep["provides"].to_s.match(/^\s*release-notes\(\)\s*=\s*#{Regexp.escape(product.name)}\s*$/)
   end
 end
+
+log.info "Found release package: #{package_name}"
 return nil if package_name.nil?
 
 @release_notes_package = find_package(package_name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.47/library/packages/test/y2packager/release_notes_fetchers/rpm_test.rb
 
new/yast2-4.1.48/library/packages/test/y2packager/release_notes_fetchers/rpm_test.rb
--- 
old/yast2-4.1.47/library/packages/test/y2packager/release_notes_fetchers/rpm_test.rb
2019-01-03 14:10:51.0 +0100
+++ 
new/yast2-4.1.48/library/packages/test/y2packager/release_notes_fetchers/rpm_test.rb
2019-01-07 11:39:08.0 +0100
@@ -11,7 +11,10 @@
   let(:package) { Y2Packager::Package.new("release-notes-dummy", 2, "15.1") }
   let(:dependencies) do
 [
-  { "deps" => [{ "provides" => "release-notes() = dummy" }] }
+  {
+"status" => :selected,
+"deps"   => [{ "provides" => "release-notes() = dummy" }]
+  }
 ]
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.47/package/yast2.changes 
new/yast2-4.1.48/package/yast2.changes
--- old/yast2-4.1.47/package/yast2.changes  2019-01-03 14:10:51.0 
+0100
+++ new/yast2-4.1.48/package/yast2.changes  2019-01-07 11:39:08.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Mon Jan  7 08:40:21 UTC 2019 - lsle...@suse.cz
+
+- Ignore the old packages when fetching the release notes
+  (bsc#1112866)
+- 4.1.48
+

commit yast2 for openSUSE:Factory

2019-01-05 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2019-01-05 14:40:32

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Sat Jan  5 14:40:32 2019 rev:439 rq:662663 version:4.1.47

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-12-31 
09:45:57.846237457 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2019-01-05 
14:40:35.960569832 +0100
@@ -1,0 +2,30 @@
+Thu Jan  3 12:51:47 UTC 2019 - dgonza...@suse.com
+
+- Fix a fragile unit test (related to changes introduced
+  for fate#325482)
+- 4.1.47
+
+---
+Thu Jan  3 11:37:36 UTC 2019 - dgonza...@suse.com
+
+- Fetch and display properly the license content from the
+  fallback rpm when using a product definition located at
+  /usr/share/installation-products (part of fate#325482)
+- 4.1.46
+
+---
+Wed Jan  2 13:52:34 UTC 2019 - jreidin...@suse.com
+
+- Drop no longer used ALog module without replacement
+- Drop no longer used Cron module without replacement
+- Drop obsolete DebugHooks module for installation. Replaced by
+  integrated installation debugger and installation hooks.
+- Drop no longer used SuSEFirewallExpertRules module. Replaced by
+  firewalld related classes.
+- replace old testsuite for Wizard module by rspec tests
+- Drop no longer installed desktop files for remotechooser and
+  remoteinstall from git.
+- Drop obsolete ycp syntax checker check-all-syntax without
+  replacement.
+
+---

Old:

  yast2-4.1.45.tar.bz2

New:

  yast2-4.1.47.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.nBxMQ3/_old  2019-01-05 14:40:36.520569357 +0100
+++ /var/tmp/diff_new_pack.nBxMQ3/_new  2019-01-05 14:40:36.520569357 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
-Version:4.1.45
+Version:4.1.47
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only
@@ -60,8 +60,6 @@
 Requires:   coreutils
 # for GPG.ycp
 Requires:   gpg2
-# For Cron Agent, Module
-Requires:   perl-Config-Crontab
 # for ag_anyxml
 Requires:   perl-XML-Simple
 # for defining abstract methods in libraries
@@ -183,8 +181,8 @@
 %{yast_agentdir}/ag_*
 %{_fillupdir}/sysconfig.yast2
 
+%{_datadir}/bash-completion/completions/yast2*.sh
 # configuration files
-%config %{_sysconfdir}/bash_completion.d/yast2*.sh
 %config %{_sysconfdir}/YaST2/XVersion
 
 # documentation (not included in devel subpackage)

++ yast2-4.1.45.tar.bz2 -> yast2-4.1.47.tar.bz2 ++
 6548 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2018-12-31 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-12-31 09:45:52

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.28833 (New)


Package is "yast2"

Mon Dec 31 09:45:52 2018 rev:438 rq:661838 version:4.1.45

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-11-20 
22:24:47.254868119 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.28833/yast2.changes   2018-12-31 
09:45:57.846237457 +0100
@@ -1,0 +2,85 @@
+Fri Dec 28 15:43:49 UTC 2018 - dgonza...@suse.com
+
+- Add missing help for the service configuration
+
+---
+Wed Dec 19 12:15:33 UTC 2018 - jreidin...@suse.com
+
+- NetworkService: fix invoking forced enable (bsc#1119657)
+- 4.1.45
+
+---
+Tue Dec 18 11:21:31 UTC 2018 - igonzalezs...@suse.com
+
+- Add a  section to the control file
+  (fate#322722).
+- 4.1.44
+
+---
+Tue Dec 18 10:42:10 CET 2018 - aschn...@suse.com
+
+- avoid use of shellescape function on non string types
+  (bsc#1119678)
+- 4.1.43
+
+---
+Mon Dec 17 08:09:10 UTC 2018 - jlo...@suse.com
+
+- Extend Yast::Execute API (needed for bsc#1118291)
+- Add method Yast::Execute.stdout
+- Allow to chain methods
+- 4.1.42
+
+---
+Mon Dec 17 07:23:47 UTC 2018 - Ancor Gonzalez Sosa 
+
+- WorkflowManager: find product definitions located at
+  /usr/share/installation-products/ (part of fate#325482)
+- 4.1.41
+
+---
+Wed Dec 12 15:36:34 UTC 2018 - sch...@suse.de
+
+- Added more testcases if e.g. system is running in chroot
+  environment and systemd does not work properly (bsc#1113732)
+
+---
+Wed Dec 12 14:17:02 UTC 2018 - Stefan Hundhammer 
+
+- Removed dead code (bsc#1118291)
+- 4.1.40
+
+---
+Thu Dec  6 12:54:59 UTC 2018 - Josef Reidinger 
+
+- always use absolute path to binaries (bsc#1118291)
+- properly escape shell arguments (bsc#1118291)
+- 4.1.39
+
+---
+Wed Dec  5 16:27:45 UTC 2018 - Stasiek Michalski 
+
+- Ship only primary icons with module to avoid conflicts (boo#1118521)
+- 4.1.38
+
+---
+Fri Nov 30 14:22:29 UTC 2018 - jreidin...@suse.com
+
+- firewalld: add ability to add/edit/remove zones (fate#324662) 
+- 4.1.37
+
+---
+Mon Nov 26 07:07:26 UTC 2018 - Noah Davis 
+
+- Provide icon with module (boo#1109310)
+- Move virtualization group from yast-vm to yast2
+- 4.1.36
+
+---
+Wed Nov 21 17:23:00 UTC 2018 - Stefan Hundhammer 
+
+- Added global parameter enable_local_users (Fate#326447)
+- Added ProductFeatures::GetBooleanFeatureWithFallback
+- 4.1.35
+
+---

Old:

  yast2-4.1.34.tar.bz2

New:

  yast2-4.1.45.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.NIhkKt/_old  2018-12-31 09:45:58.390237011 +0100
+++ /var/tmp/diff_new_pack.NIhkKt/_new  2018-12-31 09:45:58.394237007 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.34
+Version:4.1.45
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only
@@ -200,15 +200,18 @@
 %dir %{yast_yncludedir}/wizard
 %{yast_yncludedir}/wizard/*.rb
 
-#packags
+# packages
 %dir %{yast_yncludedir}/packages
 %{yast_yncludedir}/packages/*.rb
 
-#system
+# system
 %dir %{yast_yncludedir}/hwinfo
 %{yast_yncludedir}/hwinfo/*.rb
 %{yast_desktopdir}/messages.desktop
 
+# icons
+%{yast_icondir}
+
 %package logs
 
 Summary:Collecting YAST information

++ yast2-4.1.34.tar.bz2 -> yast2-4.1.45.tar.bz2 ++
 4556 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2018-11-20 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-11-20 22:24:41

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new.19453 (New)


Package is "yast2"

Tue Nov 20 22:24:41 2018 rev:437 rq:649596 version:4.1.34

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-11-10 
16:48:40.980546001 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.19453/yast2.changes   2018-11-20 
22:24:47.254868119 +0100
@@ -1,0 +2,6 @@
+Fri Nov 16 14:38:31 CET 2018 - aschn...@suse.com
+
+- check return value of OpenDialog to prevent crash (bsc#1115745)
+- 4.1.34
+
+---

Old:

  yast2-4.1.33.tar.bz2

New:

  yast2-4.1.34.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.gXbSal/_old  2018-11-20 22:24:48.262867548 +0100
+++ /var/tmp/diff_new_pack.gXbSal/_new  2018-11-20 22:24:48.262867548 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.33
+Version:4.1.34
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.33.tar.bz2 -> yast2-4.1.34.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.33/library/packages/src/modules/PackagesUI.rb 
new/yast2-4.1.34/library/packages/src/modules/PackagesUI.rb
--- old/yast2-4.1.33/library/packages/src/modules/PackagesUI.rb 2018-11-06 
15:54:20.0 +0100
+++ new/yast2-4.1.34/library/packages/src/modules/PackagesUI.rb 2018-11-16 
15:09:47.0 +0100
@@ -312,7 +312,8 @@
 widget_options
   )
 
-  UI.OpenDialog(
+  # exception text
+  raise _("Opening package selector failed.") if !UI.OpenDialog(
 Opt(:defaultsize),
 if !widget_options.empty?
   PackageSelector(Id(:packages), widget_options, "")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.33/package/yast2.changes 
new/yast2-4.1.34/package/yast2.changes
--- old/yast2-4.1.33/package/yast2.changes  2018-11-06 15:54:20.0 
+0100
+++ new/yast2-4.1.34/package/yast2.changes  2018-11-16 15:09:47.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Fri Nov 16 14:38:31 CET 2018 - aschn...@suse.com
+
+- check return value of OpenDialog to prevent crash (bsc#1115745)
+- 4.1.34
+
+---
 Tue Nov  6 14:14:04 UTC 2018 - jreidin...@suse.com
 
 - WorkflowManager: Allow system roles to live in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.33/package/yast2.spec 
new/yast2-4.1.34/package/yast2.spec
--- old/yast2-4.1.33/package/yast2.spec 2018-11-06 15:54:20.0 +0100
+++ new/yast2-4.1.34/package/yast2.spec 2018-11-16 15:09:47.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.33
+Version:4.1.34
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only




commit yast2 for openSUSE:Factory

2018-11-10 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-11-10 16:48:37

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sat Nov 10 16:48:37 2018 rev:436 rq:646685 version:4.1.33

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-11-01 
19:05:24.474018561 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-11-10 
16:48:40.980546001 +0100
@@ -1,0 +2,7 @@
+Tue Nov  6 14:14:04 UTC 2018 - jreidin...@suse.com
+
+- WorkflowManager: Allow system roles to live in
+  /usr/share/system-roles/*.xml (bsc#1108176)
+- 4.1.33
+
+---

Old:

  yast2-4.1.32.tar.bz2

New:

  yast2-4.1.33.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.7cI6wo/_old  2018-11-10 16:48:42.416544181 +0100
+++ /var/tmp/diff_new_pack.7cI6wo/_new  2018-11-10 16:48:42.420544175 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.32
+Version:4.1.33
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.1.32.tar.bz2 -> yast2-4.1.33.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.32/library/control/src/modules/WorkflowManager.rb 
new/yast2-4.1.33/library/control/src/modules/WorkflowManager.rb
--- old/yast2-4.1.32/library/control/src/modules/WorkflowManager.rb 
2018-10-26 14:47:43.0 +0200
+++ new/yast2-4.1.33/library/control/src/modules/WorkflowManager.rb 
2018-11-06 15:54:20.0 +0100
@@ -439,7 +439,18 @@
   dir = addon_control_dir(src, cleanup: true)
   fetch_package(src, package, dir)
 
-  path = File.join(dir, "installation.xml")
+  # lets first try FHS compliant path (bsc#1114573)
+  # sadly no glob escaping - https://bugs.ruby-lang.org/issues/8258
+  # but as we generate directory, it should be ok
+  files = Dir.glob("#{dir}/usr/share/system-roles/*.xml")
+  if files.size == 1
+path = files.first
+  elsif files.size > 1
+log.error "more then one file in system role #{files.inspect}"
+path = files.first
+  else
+path = File.join(dir, "installation.xml")
+  end
   return nil unless File.exist?(path)
 
   log.info("installation.xml path: #{path}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.1.32/library/control/test/workflow_manager_test.rb 
new/yast2-4.1.33/library/control/test/workflow_manager_test.rb
--- old/yast2-4.1.32/library/control/test/workflow_manager_test.rb  
2018-10-26 14:47:43.0 +0200
+++ new/yast2-4.1.33/library/control/test/workflow_manager_test.rb  
2018-11-06 15:54:20.0 +0100
@@ -396,6 +396,13 @@
   # the returned path contains "/installation.xml" at the end
   expect(subject.control_file(repo_id)).to end_with("/installation.xml")
 end
+
+it "returns path leading to system-roles dir if it exists" do
+  allow(Dir).to 
receive(:glob).and_return(["/tmp/usr/share/system-roles/superyast.xml"])
+  expect(File).to 
receive(:exist?).with("/tmp/usr/share/system-roles/superyast.xml").and_return(true)
+
+  expect(subject.control_file(repo_id)).to eq 
"/tmp/usr/share/system-roles/superyast.xml"
+end
   end
 
   describe "#addon_control_dir" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.32/package/yast2.changes 
new/yast2-4.1.33/package/yast2.changes
--- old/yast2-4.1.32/package/yast2.changes  2018-10-26 14:47:43.0 
+0200
+++ new/yast2-4.1.33/package/yast2.changes  2018-11-06 15:54:20.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Tue Nov  6 14:14:04 UTC 2018 - jreidin...@suse.com
+
+- WorkflowManager: Allow system roles to live in
+  /usr/share/system-roles/*.xml (bsc#1108176)
+- 4.1.33
+
+---
 Fri Oct 26 11:46:16 UTC 2018 - jreidin...@suse.com
 
 - view_anymsg: allow user to switch to yast2-journal if file does
@@ -10,7 +17,7 @@
 
 - Added flag save_y2logs to control.xml file in order to save
   YaST logs at the end of installation (fate#325737)
-- 4.1.31  
+- 4.1.31
 
 ---
 Wed Oct 24 15:55:08 UTC 2018 - jreidin...@suse.com
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.1.32/package/yast2.spec 
new/yast2-4.1.33/package/yast2.spec
--- 

commit yast2 for openSUSE:Factory

2018-11-02 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-11-01 19:05:21

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Thu Nov  1 19:05:21 2018 rev:435 rq:644847 version:4.1.32

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-09-04 
22:51:49.748109493 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-11-01 
19:05:24.474018561 +0100
@@ -1,0 +2,213 @@
+Fri Oct 26 11:46:16 UTC 2018 - jreidin...@suse.com
+
+- view_anymsg: allow user to switch to yast2-journal if file does
+  not exist or is empty (bsc#948729)
+- 4.1.32
+
+---
+Wed Oct 24 16:55:08 UTC 2018 - sch...@suse.de
+
+- Added flag save_y2logs to control.xml file in order to save
+  YaST logs at the end of installation (fate#325737)
+- 4.1.31  
+
+---
+Wed Oct 24 15:55:08 UTC 2018 - jreidin...@suse.com
+
+- Ensure that Installation.sourcedir exists (bsc#1097700)
+- Use LSB compliant Installation.sourcedir
+- 4.1.30
+
+---
+Wed Oct 24 12:48:18 UTC 2018 - knut.anders...@suse.com
+
+- CWMFirewallInterfaces: make some "current state" methods public
+  needed by yast2-rmt (fate#326634)
+- 4.1.29
+
+---
+Tue Oct 23 08:55:40 UTC 2018 - knut.anders...@suse.com
+
+- Network (Firewall): Added modify_masquerade method to zones API
+  unifying the way changes are applied to single value attributes.
+  (bsc#1112547)
+- 4.1.28
+
+---
+Thu Oct 18 21:29:45 CEST 2018 - aschn...@suse.com
+
+- adapted to extended output of snapper (fate#326479, bsc#831)
+- 4.1.27
+
+---
+Thu Oct 18 13:28:51 UTC 2018 - mvid...@suse.com
+
+- Small CWM optimization by avoiding deep_copy on big data
+  (bsc#1112402).
+- 4.1.26
+
+---
+Wed Oct 17 15:17:04 UTC 2018 - knut.anders...@suse.com
+
+- CWMFirewallInterfaces: Improved the user UX replacing the api
+  calls for checking supported services once the list supported
+  ones are already known by the firewalld instance (fate#324662)
+- 4.1.25
+
+---
+Mon Oct 15 16:40:32 CEST 2018 - sch...@suse.de
+
+- Splitting yast2 package into yast2 and yast2-logs. yast2-logs
+  contains only scripts for handling YaST logs (fate#325737).
+- 4.1.24
+
+---
+Fri Oct 12 10:28:48 CEST 2018 - sch...@suse.de
+
+- Added tags full_system_media_name and full_system_download_url
+  in control.xml which describe the location for the
+  "all-packages" medium. This information will be shown if the
+  registration has been scipped by the user. No hint will be shown
+  if these tags have not been defined. (fate#325834)
+- 4.1.23
+
+---
+Tue Oct  9 13:57:18 CEST 2018 - sch...@suse.de
+
+- Added new methods to firewalld_wrapper in order to switch
+  yast2-dhcp-server to new firewall module. (bsc#1108942)
+- 4.1.22
+
+---
+Tue Oct  9 08:25:42 UTC 2018 - lsle...@suse.cz
+
+- Log viewer: replace invalid UTF-8 characters from the displayed
+  log to avoid a crash (bsc#1110549)
+- 4.1.21
+
+---
+Wed Oct  3 07:48:30 UTC 2018 - knut.anders...@suse.com
+
+- Network (Firewall):
+  - Added some methods needed for AutoYaST configuration
+  (fate#324662)
+
+---
+
+Tue Oct  2 11:11:26 UTC 2018 - lsle...@suse.cz
+
+- Make the service status label stretchable so the updated status
+  is displayed correctly (bsc#1110407)
+- 4.1.20
+
+---
+Mon Oct  1 17:29:17 UTC 2018 - mfi...@suse.com
+
+- bnc#964856
+  - fixed internal error - do not crash when updating device config 
+- 4.1.19
+
+---
+Fri Sep 28 08:05:15 UTC 2018 - knut.anders...@suse.com
+
+- Y2Firewall::Firewalld: Single attributes setter will not modify
+  the value of the attribute in case it is the same (bsc#1109812)
+- 4.1.18
+
+---
+Wed Sep 19 13:36:40 UTC 2018 - igonzalezs...@suse.com
+
+- Improve Y2Firewall::Firewalld::Interface#zone to return an
+  Zone object (fate#324662).
+- 4.1.17
+

commit yast2 for openSUSE:Factory

2018-09-04 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-09-04 22:51:45

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Tue Sep  4 22:51:45 2018 rev:434 rq:633036 version:4.1.6

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-08-10 
09:47:54.658089578 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-09-04 
22:51:49.748109493 +0200
@@ -1,0 +2,48 @@
+Thu Aug 30 13:39:02 UTC 2018 - igonzalezs...@suse.com
+
+- Add missing CompoundService#support_start_on_boot?
+  (bsc#1106591).
+- 4.1.6
+
+---
+Thu Aug 30 11:21:14 UTC 2018 - dgonza...@suse.com
+
+- Increase timeout for the execution of systemctl commands
+  (bsc#1098910).
+- 4.1.5
+
+---
+Fri Aug 24 13:36:42 UTC 2018 - igonzalezs...@suse.com
+
+- Fix the Yast2::ServiceWidget to not show the "On Boot" option
+  when it is not supported (related to fate#319428).
+- 4.1.4
+
+---
+Tue Aug 21 14:15:07 UTC 2018 - dgonza...@suse.com
+
+- Refactor systemd classes, reorganizing them in real classes
+  under the Yast2::Systemd namespace instead of using modules
+  (related to fate#319428).
+- 4.1.3
+
+---
+Mon Aug 20 17:13:52 CEST 2018 - sch...@suse.de
+
+- Changed dir of COPYING file
+
+---
+Tue Aug 14 17:32:02 UTC 2018 - igonzalezs...@suse.com
+
+- Add support for systemd services that can only be started
+  on-demand (fate#319428 and bsc#1104568).
+- 4.1.2
+
+---
+Thu Aug  9 13:02:38 UTC 2018 - igonzalezs...@suse.com
+
+- Improve systemd socket detection (related to fate#319428).
+- SystemService#find_many does not raise an exception anymore.
+- 4.1.1
+
+---
@@ -73,6 +120,0 @@
-

-Tue May 15 09:12:23 UTC 2018 - knut.anders...@suse.com
-
-- Replace the deprecated firewallctl command with firewall-cmd for
-  obtaining the firewalld state (bsc#1093111)

Old:

  yast2-4.1.0.tar.bz2

New:

  yast2-4.1.6.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.TYp9zY/_old  2018-09-04 22:51:50.216111098 +0200
+++ /var/tmp/diff_new_pack.TYp9zY/_new  2018-09-04 22:51:50.22011 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.1.0
+Version:4.1.6
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only
@@ -187,7 +187,7 @@
 
 # documentation (not included in devel subpackage)
 %doc %dir %{yast_docdir}
-%doc %{yast_docdir}/COPYING
+%license %{yast_docdir}/COPYING
 %{_mandir}/*/*
 %doc %{yast_vardir}/hooks/README.md
 

++ yast2-4.1.0.tar.bz2 -> yast2-4.1.6.tar.bz2 ++
 5382 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2018-08-10 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-08-10 09:47:51

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Fri Aug 10 09:47:51 2018 rev:433 rq:628358 version:4.1.0

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-08-04 
21:51:16.617038333 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-08-10 
09:47:54.658089578 +0200
@@ -1,0 +2,14 @@
+Wed Aug  8 15:14:29 UTC 2018 - jlo...@suse.com
+
+- Added widget to configure services (part of fate#319428).
+- 4.1.0
+
+---
+Wed Aug  8 10:09:55 UTC 2018 - igonzalezs...@suse.com
+
+- Add a method to detect whether a systemd service exists in
+  the underlying system or not (related to fate#319428).
+- Fix systemd socket detection.
+- 4.0.83
+
+---

Old:

  yast2-4.0.82.tar.bz2

New:

  yast2-4.1.0.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Mh9Wbl/_old  2018-08-10 09:47:55.182090422 +0200
+++ /var/tmp/diff_new_pack.Mh9Wbl/_new  2018-08-10 09:47:55.190090435 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.82
+Version:4.1.0
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.0.82.tar.bz2 -> yast2-4.1.0.tar.bz2 ++
 1663 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2018-08-04 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-08-04 21:51:07

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sat Aug  4 21:51:07 2018 rev:432 rq:627353 version:4.0.82

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-07-07 
21:54:20.731626431 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-08-04 
21:51:16.617038333 +0200
@@ -1,0 +2,27 @@
+Wed Aug  1 10:48:04 UTC 2018 - igonzalezs...@suse.com
+
+- Fix support to handle services during early 1st stage
+  (related to fate#319428).
+- 4.0.82
+
+---
+Tue Jul 31 14:10:06 UTC 2018 - lsle...@suse.cz
+
+- Do not display "download failed" error when using unsigned
+  packages (bsc#1096027)
+- 4.0.81
+
+---
+Wed Jul 25 08:13:31 UTC 2018 - jlo...@suse.com
+
+- Services: add class to manage systemd services with associated
+  socket (needed for bsc#1080738 and fate#319428).
+- 4.0.80
+
+---
+Mon Jul 16 09:12:23 UTC 2018 - knut.anders...@suse.com
+
+- Replace the deprecated firewallctl command with firewall-cmd for
+  obtaining the firewalld state (bsc#1093111)
+
+---

Old:

  yast2-4.0.79.tar.bz2

New:

  yast2-4.0.82.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.tgmOZc/_old  2018-08-04 21:51:17.041039129 +0200
+++ /var/tmp/diff_new_pack.tgmOZc/_new  2018-08-04 21:51:17.045039136 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.79
+Version:4.0.82
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.0.79.tar.bz2 -> yast2-4.0.82.tar.bz2 ++
 2821 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2018-07-07 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-07-07 21:54:14

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sat Jul  7 21:54:14 2018 rev:431 rq:620597 version:4.0.79

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-07-03 
23:31:42.832636133 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-07-07 
21:54:20.731626431 +0200
@@ -1,0 +2,7 @@
+Tue Jul  3 08:01:07 UTC 2018 - knut.anders...@suse.com
+
+- Network: Prevent from crashing when trying to delete some ip
+  aliases from the original devices (bsc#1098919)
+- 4.0.79
+
+---

Old:

  yast2-4.0.78.tar.bz2

New:

  yast2-4.0.79.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.8XmVGM/_old  2018-07-07 21:54:21.175625867 +0200
+++ /var/tmp/diff_new_pack.8XmVGM/_new  2018-07-07 21:54:21.175625867 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.78
+Version:4.0.79
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.0.78.tar.bz2 -> yast2-4.0.79.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.78/library/network/src/lib/network/susefirewall2.rb 
new/yast2-4.0.79/library/network/src/lib/network/susefirewall2.rb
--- old/yast2-4.0.78/library/network/src/lib/network/susefirewall2.rb   
2018-07-02 16:21:14.0 +0200
+++ new/yast2-4.0.79/library/network/src/lib/network/susefirewall2.rb   
2018-07-04 11:19:05.0 +0200
@@ -1627,7 +1627,7 @@
   # starting firewall during second stage can cause deadlock in systemd - 
bnc#798620
   # Moreover, it is not needed. Firewall gets started via dependency on 
multi-user.target
   # when second stage is over.
-  if Mode.installation
+  if Mode.installation && !Mode.autoinst
 Builtins.y2milestone("Do not touch firewall services during 
installation")
 
 return true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.78/library/network/src/modules/NetworkInterfaces.rb 
new/yast2-4.0.79/library/network/src/modules/NetworkInterfaces.rb
--- old/yast2-4.0.78/library/network/src/modules/NetworkInterfaces.rb   
2018-07-02 16:21:14.0 +0200
+++ new/yast2-4.0.79/library/network/src/modules/NetworkInterfaces.rb   
2018-07-04 11:19:05.0 +0200
@@ -848,8 +848,8 @@
   # look in OriginalDevs because we need to catch all variables
   # of the alias
 
-  dev_aliases = original_devs[typ][dev]["_aliases"][anum] || {}
-  dev_aliases.keys.each do |key|
+  dev_aliases = original_devs.fetch(typ, {}).fetch(dev, 
{}).fetch("_aliases", {})
+  dev_aliases.fetch(anum, {}).keys.each do |key|
 p = base + "#{key}_#{anum}"
 log.debug("deleting: #{p}")
 SCR.Write(p, nil)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.78/package/yast2.changes 
new/yast2-4.0.79/package/yast2.changes
--- old/yast2-4.0.78/package/yast2.changes  2018-07-02 16:21:14.0 
+0200
+++ new/yast2-4.0.79/package/yast2.changes  2018-07-04 11:19:05.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Tue Jul  3 08:01:07 UTC 2018 - knut.anders...@suse.com
+
+- Network: Prevent from crashing when trying to delete some ip
+  aliases from the original devices (bsc#1098919)
+- 4.0.79
+
+---
 Wed Jun 27 15:42:04 CEST 2018 - sch...@suse.de
 
 - Added additional searchkeys to desktop file (fate#321043).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.78/package/yast2.spec 
new/yast2-4.0.79/package/yast2.spec
--- old/yast2-4.0.78/package/yast2.spec 2018-07-02 16:21:14.0 +0200
+++ new/yast2-4.0.79/package/yast2.spec 2018-07-04 11:19:05.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.78
+Version:4.0.79
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only




commit yast2 for openSUSE:Factory

2018-07-03 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-07-03 23:31:39

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Tue Jul  3 23:31:39 2018 rev:430 rq:620259 version:4.0.78

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-06-19 
11:51:30.429112705 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-07-03 
23:31:42.832636133 +0200
@@ -0,0 +1,7 @@
+---
+Wed Jun 27 15:42:04 CEST 2018 - sch...@suse.de
+
+- Added additional searchkeys to desktop file (fate#321043).
+- 4.0.78
+
+---

Old:

  yast2-4.0.77.tar.bz2

New:

  yast2-4.0.78.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.4KjKn3/_old  2018-07-03 23:31:43.316635436 +0200
+++ /var/tmp/diff_new_pack.4KjKn3/_new  2018-07-03 23:31:43.316635436 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.77
+Version:4.0.78
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only

++ yast2-4.0.77.tar.bz2 -> yast2-4.0.78.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.77/library/system/src/desktop/messages.desktop 
new/yast2-4.0.78/library/system/src/desktop/messages.desktop
--- old/yast2-4.0.77/library/system/src/desktop/messages.desktop
2018-06-08 09:32:51.0 +0200
+++ new/yast2-4.0.78/library/system/src/desktop/messages.desktop
2018-07-02 16:21:14.0 +0200
@@ -14,6 +14,7 @@
 X-SuSE-YaST-Geometry=
 X-SuSE-YaST-SortKey=
 X-SuSE-YaST-AutoInstResource=
+X-SuSE-YaST-Keywords=system,log,messages
 
 Icon=yast-messages
 Exec=/sbin/yast2 view_anymsg /var/log/messages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.77/package/yast2.changes 
new/yast2-4.0.78/package/yast2.changes
--- old/yast2-4.0.77/package/yast2.changes  2018-06-08 09:32:51.0 
+0200
+++ new/yast2-4.0.78/package/yast2.changes  2018-07-02 16:21:14.0 
+0200
@@ -1,3 +1,10 @@
+---
+Wed Jun 27 15:42:04 CEST 2018 - sch...@suse.de
+
+- Added additional searchkeys to desktop file (fate#321043).
+- 4.0.78
+
+---
 Wed Jun  6 06:06:10 UTC 2018 - jsr...@suse.cz
 
 - display proper release notes for product (bsc#1096138)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.77/package/yast2.spec 
new/yast2-4.0.78/package/yast2.spec
--- old/yast2-4.0.77/package/yast2.spec 2018-06-08 09:32:51.0 +0200
+++ new/yast2-4.0.78/package/yast2.spec 2018-07-02 16:21:14.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.77
+Version:4.0.78
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0-only




commit yast2 for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-06-19 11:51:26

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Tue Jun 19 11:51:26 2018 rev:429 rq:615156 version:4.0.77

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-05-17 
19:32:09.657800991 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-06-19 
11:51:30.429112705 +0200
@@ -0,0 +1,18 @@
+Wed Jun  6 06:06:10 UTC 2018 - jsr...@suse.cz
+
+- display proper release notes for product (bsc#1096138)
+- 4.0.77
+
+---
+Tue May 29 14:26:11 UTC 2018 - jsr...@suse.cz
+
+- rename SLES_HPC -> SLE_HPC (bsc#1095053)
+- 4.0.76
+
+---
+Wed May 23 15:25:04 CEST 2018 - sch...@suse.de
+
+- Calling YAST module: Do not create a post Snapper image if the
+  pre Snapper image has already been failed (bnc#1093374)
+- 4.0.75
+
@@ -5,0 +24,6 @@
+
+---
+Mon May 14 09:00:43 UTC 2018 - lsle...@suse.cz
+
+- Support multiple "system-installation()" provides in one
+  package (bsc#1092965)

Old:

  yast2-4.0.74.tar.bz2

New:

  yast2-4.0.77.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.ajB0EI/_old  2018-06-19 11:51:31.281081073 +0200
+++ /var/tmp/diff_new_pack.ajB0EI/_new  2018-06-19 11:51:31.285080925 +0200
@@ -17,10 +17,10 @@
 
 
 Name:   yast2
-Version:4.0.74
+Version:4.0.77
 Release:0
 Summary:YaST2 - Main Package
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/YaST
 Url:https://github.com/yast/yast-yast2
 Source0:%{name}-%{version}.tar.bz2

++ yast2-4.0.74.tar.bz2 -> yast2-4.0.77.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.74/library/packages/src/lib/y2packager/product_reader.rb 
new/yast2-4.0.77/library/packages/src/lib/y2packager/product_reader.rb
--- old/yast2-4.0.74/library/packages/src/lib/y2packager/product_reader.rb  
2018-05-15 13:21:03.0 +0200
+++ new/yast2-4.0.77/library/packages/src/lib/y2packager/product_reader.rb  
2018-06-08 09:32:51.0 +0200
@@ -43,15 +43,18 @@
   # There can be more instances of same package in different version. 
We except that one
   # package provide same product installation. So we just pick the 
first one.
   dependencies = Yast::Pkg.ResolvableDependencies(pkg_name, :package, 
"").first["deps"]
-  install_provide = dependencies.find do |d|
+  install_provides = dependencies.find_all do |d|
 d["provides"] && d["provides"].match(/system-installation\(\)/)
   end
 
   # parse product name from provides. Format of provide is
   # `system-installation() = `
-  product_name = 
install_provide["provides"][/system-installation\(\)\s*=\s*(\S+)/, 1]
-  log.info "package #{pkg_name} install product #{product_name}"
-  installation_package_mapping[product_name] = pkg_name
+  install_provides.each do |install_provide|
+product_name = 
install_provide["provides"][/system-installation\(\)\s*=\s*(\S+)/, 1]
+log.info "package #{pkg_name} install product #{product_name}"
+installation_package_mapping[product_name] = pkg_name
+  end
+
 end
 
 installation_package_mapping
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.74/library/packages/src/lib/y2packager/product_upgrade.rb 
new/yast2-4.0.77/library/packages/src/lib/y2packager/product_upgrade.rb
--- old/yast2-4.0.74/library/packages/src/lib/y2packager/product_upgrade.rb 
2018-05-15 13:21:03.0 +0200
+++ new/yast2-4.0.77/library/packages/src/lib/y2packager/product_upgrade.rb 
2018-06-08 09:32:51.0 +0200
@@ -25,9 +25,9 @@
 MAPPING = {
   # SLES12 + HPC module => SLESHPC15
   # (a bit tricky, the module became a new base product!)
-  ["SLES", "sle-module-hpc"] => "SLES_HPC",
+  ["SLES", "sle-module-hpc"] => "SLE_HPC",
   # this is an internal product so far...
-  ["SLE-HPC"]=> "SLES_HPC",
+  ["SLE-HPC"]=> "SLE_HPC",
   # SLES11 => SLES15
   ["SUSE_SLES"]  => "SLES",
   # SLED11 => SLED15
@@ -107,7 +107,7 @@
 
 # sort the keys by length, try more products first
 # to find the most specific upgrade, prefer the
-# SLES + 

commit yast2 for openSUSE:Factory

2018-05-17 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-05-17 19:32:07

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Thu May 17 19:32:07 2018 rev:428 rq:607494 version:4.0.74

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-05-10 
15:45:10.678547966 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-05-17 
19:32:09.657800991 +0200
@@ -1,0 +2,7 @@
+Tue May 15 09:12:23 UTC 2018 - knut.anders...@suse.com
+
+- Replace the deprecated firewallctl command with firewall-cmd for
+  obtaining the firewalld state (bsc#1093111)
+- 4.0.74
+
+---

Old:

  yast2-4.0.73.tar.bz2

New:

  yast2-4.0.74.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.h3o8HJ/_old  2018-05-17 19:32:10.305777318 +0200
+++ /var/tmp/diff_new_pack.h3o8HJ/_new  2018-05-17 19:32:10.309777171 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.73
+Version:4.0.74
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.73.tar.bz2 -> yast2-4.0.74.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.73/library/network/src/lib/y2firewall/firewalld/api.rb 
new/yast2-4.0.74/library/network/src/lib/y2firewall/firewalld/api.rb
--- old/yast2-4.0.73/library/network/src/lib/y2firewall/firewalld/api.rb
2018-05-08 16:52:01.0 +0200
+++ new/yast2-4.0.74/library/network/src/lib/y2firewall/firewalld/api.rb
2018-05-15 13:21:03.0 +0200
@@ -103,9 +103,13 @@
 offline? ? run_command("--disable") : 
Yast::Service.Disable("firewalld")
   end
 
-  # @return [Boolean] The firewalld service state (exit code)
+  # Return the current state of the firewalld service (running or not
+  # running)
+  #
+  # @return [String] firewalld service state
+  # @see http://www.firewalld.org/documentation/man-pages/firewall-cmd.html
   def state
-case Yast::Execute.on_target("firewallctl", "state", 
allowed_exitstatus: [0, 252])
+case Yast::Execute.on_target("firewall-cmd", "--state", 
allowed_exitstatus: [0, 252])
 when 0
   "running"
 when 252
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.73/package/yast2.changes 
new/yast2-4.0.74/package/yast2.changes
--- old/yast2-4.0.73/package/yast2.changes  2018-05-08 16:52:01.0 
+0200
+++ new/yast2-4.0.74/package/yast2.changes  2018-05-15 13:21:03.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Tue May 15 09:12:23 UTC 2018 - knut.anders...@suse.com
+
+- Replace the deprecated firewallctl command with firewall-cmd for
+  obtaining the firewalld state (bsc#1093111)
+- 4.0.74
+
+---
 Tue May  8 10:21:07 UTC 2018 - jlo...@suse.com
 
 - CWM: allow to define back handler for CWM#show.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.73/package/yast2.spec 
new/yast2-4.0.74/package/yast2.spec
--- old/yast2-4.0.73/package/yast2.spec 2018-05-08 16:52:01.0 +0200
+++ new/yast2-4.0.74/package/yast2.spec 2018-05-15 13:21:03.0 +0200
@@ -16,7 +16,7 @@
 #
 
 Name:   yast2
-Version:4.0.73
+Version:4.0.74
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0




commit yast2 for openSUSE:Factory

2018-05-10 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-05-10 15:45:08

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Thu May 10 15:45:08 2018 rev:427 rq:605384 version:4.0.73

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-05-01 
22:40:06.299510864 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-05-10 
15:45:10.678547966 +0200
@@ -1,0 +2,8 @@
+Tue May  8 10:21:07 UTC 2018 - jlo...@suse.com
+
+- CWM: allow to define back handler for CWM#show.
+- CWM: define default handlers for back and abort in CWM::Dialog.
+- Needed for Expert Partitioner fate#318196.
+- 4.0.73
+
+---

Old:

  yast2-4.0.72.tar.bz2

New:

  yast2-4.0.73.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.M1EpIl/_old  2018-05-10 15:45:11.454519527 +0200
+++ /var/tmp/diff_new_pack.M1EpIl/_new  2018-05-10 15:45:11.454519527 +0200
@@ -17,10 +17,10 @@
 
 
 Name:   yast2
-Version:4.0.72
+Version:4.0.73
 Release:0
 Summary:YaST2 - Main Package
-License:GPL-2.0-only
+License:GPL-2.0
 Group:  System/YaST
 Url:https://github.com/yast/yast-yast2
 Source0:%{name}-%{version}.tar.bz2

++ yast2-4.0.72.tar.bz2 -> yast2-4.0.73.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.72/library/cwm/examples/object_api.rb 
new/yast2-4.0.73/library/cwm/examples/object_api.rb
--- old/yast2-4.0.72/library/cwm/examples/object_api.rb 2018-04-27 
16:57:00.0 +0200
+++ new/yast2-4.0.73/library/cwm/examples/object_api.rb 2018-05-08 
16:52:01.0 +0200
@@ -58,8 +58,12 @@
   )
 
   Yast::Wizard.CreateDialog
+  back_handler = proc { Yast::Popup.YesNo("Really go back?") }
   abort_handler = proc { Yast::Popup.YesNo("Really abort?") }
-  CWM.show(contents, caption: _("Lucky number"), abort_handler: 
abort_handler)
+  CWM.show(contents,
+caption:   _("Lucky number"),
+back_handler:  back_handler,
+abort_handler: abort_handler)
   Yast::Wizard.CloseDialog
 
   lucky_number_widget.result
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.72/library/cwm/src/lib/cwm/dialog.rb 
new/yast2-4.0.73/library/cwm/src/lib/cwm/dialog.rb
--- old/yast2-4.0.72/library/cwm/src/lib/cwm/dialog.rb  2018-04-27 
16:57:00.0 +0200
+++ new/yast2-4.0.73/library/cwm/src/lib/cwm/dialog.rb  2018-05-08 
16:52:01.0 +0200
@@ -76,6 +76,24 @@
   []
 end
 
+# Handler when the back button is used
+#
+# If returns false, then it does not go back.
+#
+# @return [Boolean]
+def back_handler
+  true
+end
+
+# Handler when the abort button is used
+#
+# If returns false, then it does not abort.
+#
+# @return [Boolean]
+def abort_handler
+  true
+end
+
   private
 
 # Create a wizard dialog, run the *block*, ensure the dialog is closed.
@@ -97,7 +115,9 @@
 abort_button:abort_button,
 next_button: next_button,
 skip_store_for:  skip_store_for,
-disable_buttons: disable_buttons
+disable_buttons: disable_buttons,
+back_handler:proc { back_handler },
+abort_handler:   proc { abort_handler }
   )
 end
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.72/library/cwm/src/modules/CWM.rb 
new/yast2-4.0.73/library/cwm/src/modules/CWM.rb
--- old/yast2-4.0.72/library/cwm/src/modules/CWM.rb 2018-04-27 
16:57:00.0 +0200
+++ new/yast2-4.0.73/library/cwm/src/modules/CWM.rb 2018-05-08 
16:52:01.0 +0200
@@ -942,12 +942,15 @@
 #   Useful mainly when some widget returns an event that should not 
trigger the storing,
 #   like a reset button or a redrawing.  It will skip also validation, 
because it is not needed
 #   as nothing is stored.
-# @param [Proc] abort_handler handler that is called after click on abort. 
If it returns false,
-#   then it stops abort. If it return true, then it returns :abort symbol. 
If handler is not
-#   defined, then it acts like if it return true.
+# @param [Proc] back_handler handler that is called after clicking on 
back. If it returns false,
+#   then it does not go back. If it returns true, then :back symbol is 
returned. If handler is not
+#   defined, then it acts like if it returns true.
+# @param [Proc] abort_handler handler 

commit yast2 for openSUSE:Factory

2018-05-01 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-05-01 22:40:03

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Tue May  1 22:40:03 2018 rev:426 rq:602085 version:4.0.72

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-04-26 
13:28:56.540060962 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-05-01 
22:40:06.299510864 +0200
@@ -1,0 +2,7 @@
+Mon Apr 23 19:03:40 UTC 2018 - igonzalezs...@suse.com
+
+- Add a text helper to wrap richtext in directional markers
+  (bsc#1089846).
+- 4.0.72
+
+---

Old:

  yast2-4.0.71.tar.bz2

New:

  yast2-4.0.72.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.ZQxK3i/_old  2018-05-01 22:40:07.223477227 +0200
+++ /var/tmp/diff_new_pack.ZQxK3i/_new  2018-05-01 22:40:07.227477082 +0200
@@ -17,10 +17,10 @@
 
 
 Name:   yast2
-Version:4.0.71
+Version:4.0.72
 Release:0
 Summary:YaST2 - Main Package
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/YaST
 Url:https://github.com/yast/yast-yast2
 Source0:%{name}-%{version}.tar.bz2

++ yast2-4.0.71.tar.bz2 -> yast2-4.0.72.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.71/library/general/src/lib/ui/text_helpers.rb 
new/yast2-4.0.72/library/general/src/lib/ui/text_helpers.rb
--- old/yast2-4.0.71/library/general/src/lib/ui/text_helpers.rb 2018-04-16 
16:35:04.0 +0200
+++ new/yast2-4.0.72/library/general/src/lib/ui/text_helpers.rb 2018-04-27 
16:57:00.0 +0200
@@ -53,5 +53,18 @@
 
   lines.join("\n")
 end
+
+# Wrap a given text in direction markers
+#
+# @param [String] text to be wrapped. This text may contain tags and they
+#   will not be escaped
+# @param [String] language code (it gets the current one by default)
+# @return [String] wrapped text
+def div_with_direction(text, lang = nil)
+  Yast.import "Language"
+  lang ||= Yast::Language.language
+  direction = lang.start_with?("ar", "he") ? "rtl" : "ltr"
+  "#{text}"
+end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.71/library/general/test/text_helpers_test.rb 
new/yast2-4.0.72/library/general/test/text_helpers_test.rb
--- old/yast2-4.0.71/library/general/test/text_helpers_test.rb  2018-04-16 
16:35:04.0 +0200
+++ new/yast2-4.0.72/library/general/test/text_helpers_test.rb  2018-04-27 
16:57:00.0 +0200
@@ -9,8 +9,9 @@
 end
 
 describe ::UI::TextHelpers do
-  describe ".wrap_text" do
-subject { TestTextHelpers.new }
+  subject { TestTextHelpers.new }
+
+  describe "#wrap_text" do
 let(:devices) { ["eth0", "eth1", "eth2", "eth3", 
"a_very_long_device_name"] }
 let(:more_devices) do
   [
@@ -49,4 +50,56 @@
   end
 end
   end
+
+  describe "#div_with_direction" do
+let(:language) { double("Yast::Language") }
+let(:lang) { "de_DE" }
+
+before do
+  stub_const("Yast::Language", language)
+  allow(language).to receive(:language).and_return(lang)
+  allow(Yast).to receive(:import).with("Language")
+end
+
+context "when language is not 'arabic' or 'hebrew'" do
+  let(:lang) { "de_DE" }
+
+  it "wraps the text in a 'ltr' marker" do
+expect(subject.div_with_direction("sample"))
+  .to eq("sample")
+  end
+end
+
+context "when current language is 'arabic'" do
+  let(:lang) { "ar_AR" }
+
+  it "wraps the text in a 'rtl' marker" do
+expect(subject.div_with_direction("sample"))
+  .to eq("sample")
+  end
+end
+
+context "when current language is 'arabic'" do
+  let(:lang) { "he_HE" }
+
+  it "wraps the text in a 'rtl' marker" do
+expect(subject.div_with_direction("sample"))
+  .to eq("sample")
+  end
+end
+
+context "when the language is specified as argument" do
+  it "wraps the text according to the given language" do
+expect(subject.div_with_direction("sample", "ar_AR"))
+  .to eq("sample")
+  end
+end
+
+context "when the text contains tags" do
+  it "does not escape those tags" do
+expect(subject.div_with_direction("SAMPLE", "ar_AR"))
+  .to eq("SAMPLE")
+  end
+end
+  end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.71/package/yast2.changes 

commit yast2 for openSUSE:Factory

2018-04-26 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-04-26 13:28:54

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Thu Apr 26 13:28:54 2018 rev:425 rq:597095 version:4.0.71

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-04-07 
20:51:59.053406901 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-04-26 
13:28:56.540060962 +0200
@@ -1,0 +2,43 @@
+Mon Apr 16 13:47:10 UTC 2018 - igonzalezs...@suse.com
+
+- Do not crash when reading trying to determine available locales
+  for some licenses (bsc#1089610).
+- 4.0.71
+
+---
+Mon Apr 16 14:48:27 CEST 2018 - snw...@suse.de
+
+- save_y2logs: save kernel messages and udev log (bsc#1089647,
+  bsc#1085212)
+- 4.0.70
+
+---
+Thu Apr 12 13:38:26 UTC 2018 - igonzalezs...@suse.com
+
+- Handle input/output errors in the DoneProvide package callback
+  (bsc#1088682).
+- 4.0.69
+
+---
+Thu Apr 12 12:01:49 UTC 2018 - knut.anders...@suse.com
+
+- Wizard: Fall back to smaller and/or hicolor icon if the icon for
+  the launched module cannot be found (bsc#1087224)
+- 4.0.68
+
+---
+Tue Apr 10 11:38:23 UTC 2018 - lsle...@suse.cz
+
+- Do not use the solver for finding the best product upgrade
+  candidate, it does not work correctly in the SLES + sle-module-hpc
+  => SLES_HPC case (bsc#1086734)
+- 4.0.67
+
+---
+Tue Apr 10 07:25:08 UTC 2018 - jreidin...@suse.com
+
+- Fix early exit of installation when initial install url is
+  invalid and later fixed (bsc#1086840)
+- 4.0.66
+
+---

Old:

  yast2-4.0.65.tar.bz2

New:

  yast2-4.0.71.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.AS9JUL/_old  2018-04-26 13:28:57.668019649 +0200
+++ /var/tmp/diff_new_pack.AS9JUL/_new  2018-04-26 13:28:57.672019503 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.65
+Version:4.0.71
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.65.tar.bz2 -> yast2-4.0.71.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.65/library/cwm/src/modules/CWMServiceStart.rb 
new/yast2-4.0.71/library/cwm/src/modules/CWMServiceStart.rb
--- old/yast2-4.0.65/library/cwm/src/modules/CWMServiceStart.rb 2018-04-06 
14:48:24.0 +0200
+++ new/yast2-4.0.71/library/cwm/src/modules/CWMServiceStart.rb 2018-04-16 
16:35:04.0 +0200
@@ -21,16 +21,13 @@
 # you may find current contact information at www.novell.com
 #
 # ***
-# File:modules/CWMServiceStart.ycp
-# Package: Common widget manipulation, service start widget
-# Summary: Routines for service start widget handling
-# Authors: Jiri Srain 
-#
-# $Id$
-#
+
 require "yast"
 
 module Yast
+  # Routines for service start widget handling.
+  #
+  # NOTE: a modern API for this is {::UI::ServiceStatus}
   class CWMServiceStartClass < Module
 def main
   Yast.import "UI"
@@ -274,6 +271,9 @@
 
 # Get the widget description map of the widget for service auto starting
 # settings
+#
+# NOTE: a modern API for this is {::UI::ServiceStatus}
+#
 # @param [Hash{String => Object}] settings a map of all parameters needed 
to create the widget properly
 # 
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.65/library/packages/src/lib/y2packager/license.rb 
new/yast2-4.0.71/library/packages/src/lib/y2packager/license.rb
--- old/yast2-4.0.65/library/packages/src/lib/y2packager/license.rb 
2018-04-06 14:48:24.0 +0200
+++ new/yast2-4.0.71/library/packages/src/lib/y2packager/license.rb 
2018-04-16 16:35:04.0 +0200
@@ -126,8 +126,9 @@
 
 # Return license's available locales
 #
-# @return [String] List of available locales
+# @return [Array] List of available locales
 def locales
+  return [DEFAULT_LANG] unless fetcher
   fetcher.locales
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.65/library/packages/src/lib/y2packager/product_reader.rb 

commit yast2 for openSUSE:Factory

2018-04-07 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-04-07 20:51:55

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sat Apr  7 20:51:55 2018 rev:424 rq:593989 version:4.0.65

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-03-26 
12:17:07.780576901 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-04-07 
20:51:59.053406901 +0200
@@ -1,0 +2,35 @@
+Fri Apr  6 09:19:55 UTC 2018 - jreidin...@suse.com
+
+- improve wayland support (bsc#1083907)
+- 4.0.65
+
+---
+Thu Apr  5 17:38:35 UTC 2018 - igonzalezs...@suse.com
+
+- Use SHA2 instead of MD5 when determining whether a license
+  was already accepted or not (related to fate#325461).
+- 4.0.64
+
+---
+Thu Apr  5 12:28:12 UTC 2018 - knut.anders...@suse.com
+
+- Add a new API to handle product licenses.
+- Given a license, remember whether another one with the same
+  content was already accepted (fate#325461).
+- 4.0.63
+
+---
+Tue Apr  3 15:32:31 UTC 2018 - lsle...@suse.cz
+
+- Added ProductUpgrade class to better evaluate the product for
+  upgrading (related to bsc#1086259)
+- 4.0.62
+
+---
+Tue Mar 27 15:00:20 UTC 2018 - an...@suse.com
+
+- Make possible to use the Yast2::Popup class from the Report
+  module (part of bsc#1082542).
+- 4.0.61
+
+---

Old:

  yast2-4.0.60.tar.bz2

New:

  yast2-4.0.65.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.S8lM5A/_old  2018-04-07 20:52:00.301361733 +0200
+++ /var/tmp/diff_new_pack.S8lM5A/_new  2018-04-07 20:52:00.305361588 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.60
+Version:4.0.65
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.60.tar.bz2 -> yast2-4.0.65.tar.bz2 ++
 2047 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2018-03-26 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-03-26 12:17:00

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Mon Mar 26 12:17:00 2018 rev:423 rq:590631 version:4.0.60

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-03-14 
19:34:03.871800709 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-03-26 
12:17:07.780576901 +0200
@@ -1,0 +2,7 @@
+Fri Mar 23 09:17:01 UTC 2018 - jreidin...@suse.com
+
+- fix behavior of showing timed error popup (found during
+  debugging bsc#1083672)
+- 4.0.60
+
+---

Old:

  yast2-4.0.59.tar.bz2

New:

  yast2-4.0.60.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.BS4Q2j/_old  2018-03-26 12:17:09.044531579 +0200
+++ /var/tmp/diff_new_pack.BS4Q2j/_new  2018-03-26 12:17:09.052531292 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.59
+Version:4.0.60
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.59.tar.bz2 -> yast2-4.0.60.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.59/library/general/example/old_popup.rb 
new/yast2-4.0.60/library/general/example/old_popup.rb
--- old/yast2-4.0.59/library/general/example/old_popup.rb   1970-01-01 
01:00:00.0 +0100
+++ new/yast2-4.0.60/library/general/example/old_popup.rb   2018-03-23 
12:49:40.0 +0100
@@ -0,0 +1,6 @@
+require "yast"
+
+Yast.import "Popup"
+
+ret = Yast::Popup.TimedErrorAnyQuestion("head", "msg", "yes", "no", :focus_no, 
10)
+Yast::Popup.Message("Returned #{ret.inspect}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.59/library/general/src/lib/yast2/popup.rb 
new/yast2-4.0.60/library/general/src/lib/yast2/popup.rb
--- old/yast2-4.0.59/library/general/src/lib/yast2/popup.rb 2018-03-12 
11:12:43.0 +0100
+++ new/yast2-4.0.60/library/general/src/lib/yast2/popup.rb 2018-03-23 
12:49:40.0 +0100
@@ -275,6 +275,8 @@
   end
 when :__stop
   loop do
+Yast::UI.ChangeWidget(:__stop, :Enabled, false)
+Yast::UI.SetFocus(focus)
 res = Yast::UI.UserInput
 res = handle_event(res, details, remaining_time, focus)
 return res if res
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.59/library/general/src/modules/Popup.rb 
new/yast2-4.0.60/library/general/src/modules/Popup.rb
--- old/yast2-4.0.59/library/general/src/modules/Popup.rb   2018-03-12 
11:12:43.0 +0100
+++ new/yast2-4.0.60/library/general/src/modules/Popup.rb   2018-03-23 
12:49:40.0 +0100
@@ -37,6 +37,8 @@
 # See also README.popups
 require "yast"
 require "erb"
+# when we need to modify some old method, then sometimes it is easier to 
replace it with new one
+require "yast2/popup"
 
 module Yast
   class PopupClass < Module
@@ -447,56 +449,12 @@
 # @return [Boolean]  True if Yes, False if no
 # @see #AnyQuestion
 def TimedErrorAnyQuestion(headline, message, yes_button_message, 
no_button_message, focus, timeout_seconds)
-  button_box = AnyQuestionButtonBox(
-yes_button_message,
-no_button_message,
-focus
-  )
-  timed = ReplacePoint(
-Id(:replace_buttons),
-VBox(
-  HCenter(Label(Id(:remaining_time), Ops.add("", timeout_seconds))),
-  ButtonBox(
-# FIXME: BNC #422612, Use `opt(`noSanityCheck) later
-PushButton(Id(:timed_stop), Opt(:cancelButton), Label.StopButton),
-PushButton(
-  Id(:timed_ok),
-  Opt(:default, :key_F10, :okButton),
-  Label.OKButton
-)
-  ),
-  VSpacing(0.2)
-)
-  )
-
-  success = UI.OpenDialog(
-Opt(:decorated),
-popupLayoutInternal(headline, message, timed)
-  )
-
-  while Ops.greater_than(timeout_seconds, 0)
-which_input = UI.TimeoutUserInput(1000)
+  buttons = { yes: yes_button_message, no: no_button_message }
+  focus_symbol = focus == :focus_no ? :no : :yes
+  ret = Yast2::Popup.show(message, headline: headline, buttons: buttons,
+focus: focus_symbol, timeout: timeout_seconds)
 
-break if which_input == :timed_ok
-if which_input == :timed_stop
-  UI.ReplaceWidget(Id(:replace_buttons), button_box)
-  which_input = UI.UserInput while which_input 

commit yast2 for openSUSE:Factory

2018-03-14 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-03-14 19:34:02

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Wed Mar 14 19:34:02 2018 rev:422 rq:586019 version:4.0.59

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-03-11 
18:02:02.917851759 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-03-14 
19:34:03.871800709 +0100
@@ -1,0 +2,8 @@
+Fri Mar  9 11:51:07 UTC 2018 - jreidin...@suse.com
+
+- Fix extracting kernel parameters from installation when there is
+  parameter with '=' in value like
+  pci=hpiosize=0,hpmemsize=0,nobar (bsc#1081353)
+- 4.0.59
+
+---

Old:

  yast2-4.0.58.tar.bz2

New:

  yast2-4.0.59.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.iRNmMD/_old  2018-03-14 19:34:04.735770025 +0100
+++ /var/tmp/diff_new_pack.iRNmMD/_new  2018-03-14 19:34:04.747769599 +0100
@@ -17,10 +17,10 @@
 
 
 Name:   yast2
-Version:4.0.58
+Version:4.0.59
 Release:0
 Summary:YaST2 - Main Package
-License:GPL-2.0-only
+License:GPL-2.0
 Group:  System/YaST
 Url:https://github.com/yast/yast-yast2
 Source0:%{name}-%{version}.tar.bz2

++ yast2-4.0.58.tar.bz2 -> yast2-4.0.59.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.58/library/system/src/modules/Kernel.rb 
new/yast2-4.0.59/library/system/src/modules/Kernel.rb
--- old/yast2-4.0.58/library/system/src/modules/Kernel.rb   2018-03-07 
11:17:47.0 +0100
+++ new/yast2-4.0.59/library/system/src/modules/Kernel.rb   2018-03-12 
11:12:43.0 +0100
@@ -161,92 +161,11 @@
   nil
 end
 
-# @param   cmdline string
-#
-# @return  [void]
-# Filters out yast2 specific boot parameters and sets
-# Parameters to the important cmdline parts.
-def ExtractCmdlineParameters(line)
-  # discard \n
-  line = Builtins.deletechars(line, "\n")
-
-  # list of parameters to be discarded (yast internals)
-
-  discardlist = []
-
-  cmdlist = []
-
-  parse_index = 0
-  in_quotes = false
-  after_backslash = false
-  current_param = ""
-  while Ops.less_than(parse_index, Builtins.size(line))
-current_char = Builtins.substring(line, parse_index, 1)
-in_quotes = !in_quotes if current_char == "\"" && !after_backslash
-if current_char == " " && !in_quotes
-  cmdlist = Builtins.add(cmdlist, current_param)
-  current_param = ""
-else
-  current_param = Ops.add(current_param, current_char)
-end
-after_backslash = current_char == "\\"
-parse_index = Ops.add(parse_index, 1)
-  end
-  cmdlist = Builtins.add(cmdlist, current_param)
-
-  #this is wrong because of eg. >>o="p a r a m"<<, see bugzilla 
26147
-  #list cmdlist = splitstring (line, " ");
-
-  # some systems (pseries) can autodetect the serial console
-  if Builtins.contains(cmdlist, "AUTOCONSOLE")
-discardlist = Builtins.add(discardlist, "console")
-discardlist = Builtins.add(discardlist, "AUTOCONSOLE")
-  end
-
-  # add special key filtering for s390
-  # bnc#462276 Extraneous parameters in /etc/zipl.conf from the installer
-  if Arch.s390
-discardlist = Builtins.add(discardlist, "User")
-discardlist = Builtins.add(discardlist, "init")
-discardlist = Builtins.add(discardlist, "ramdisk_size")
-  end
-
-  # get rid of live-installer-specific parameters
-  if Mode.live_installation
-discardlist.push("initrd", "ramdisk_size", "ramdisk_blocksize", 
"liveinstall", "splash", "quiet", "lang")
-  end
-
-  # backdoor to re-enable update on UL/SLES
-  if Builtins.contains(cmdlist, "suse_update")
-discardlist = Builtins.add(discardlist, "suse_update")
-@suse_update = true
-  end
-
-  Builtins.foreach(cmdlist) do |parameter|
-# split "key=value" to ["key", "value"]
-param_value_list = Builtins.splitstring(parameter, "=")
-key = Ops.get(param_value_list, 0, "")
-value = Ops.get(param_value_list, 1, "")
-# now only collect keys not in discardlist
-if Ops.greater_than(Builtins.size(param_value_list), 0)
-  if !Builtins.contains(discardlist, key)
-if Ops.get(param_value_list, 0, "") == "vga"
-  if Builtins.regexpmatch(value, "^(0x)?[0-9a-fA-F]+$") ||
-  

commit yast2 for openSUSE:Factory

2018-03-11 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-03-11 18:02:00

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sun Mar 11 18:02:00 2018 rev:421 rq:583841 version:4.0.58

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-03-04 
11:49:58.743827332 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-03-11 
18:02:02.917851759 +0100
@@ -1,0 +2,6 @@
+Wed Mar  7 07:12:27 UTC 2018 - igonzalezs...@suse.com
+
+- Use the correct release notes URL during upgrade (bsc#1073488).
+- 4.0.58
+
+---
@@ -6 +12 @@
-- 4.0.55
+- 4.0.56

Old:

  yast2-4.0.56.tar.bz2

New:

  yast2-4.0.58.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.kS1SKD/_old  2018-03-11 18:02:03.961814333 +0100
+++ /var/tmp/diff_new_pack.kS1SKD/_new  2018-03-11 18:02:03.965814190 +0100
@@ -17,10 +17,10 @@
 
 
 Name:   yast2
-Version:4.0.56
+Version:4.0.58
 Release:0
 Summary:YaST2 - Main Package
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  System/YaST
 Url:https://github.com/yast/yast-yast2
 Source0:%{name}-%{version}.tar.bz2

++ yast2-4.0.56.tar.bz2 -> yast2-4.0.58.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.56/library/packages/src/lib/y2packager/product.rb 
new/yast2-4.0.58/library/packages/src/lib/y2packager/product.rb
--- old/yast2-4.0.56/library/packages/src/lib/y2packager/product.rb 
2018-02-28 14:20:36.0 +0100
+++ new/yast2-4.0.58/library/packages/src/lib/y2packager/product.rb 
2018-03-07 11:17:47.0 +0100
@@ -243,6 +243,18 @@
   ReleaseNotesReader.new(self).release_notes(user_lang: user_lang, format: 
format)
 end
 
+# Return release notes URL
+#
+# Release notes might not be defined in libzypp and this method returns 
the URL
+# to get release notes from.
+#
+# @return [String,nil] Release notes URL or nil if it is not defined.
+def relnotes_url
+  return nil unless resolvable_properties
+  url = resolvable_properties["relnotes_url"]
+  url.empty? ? nil : url
+end
+
 # Determine whether a product is in a given status
 #
 # Only the 'name' will be used to find out whether the product status,
@@ -256,5 +268,18 @@
 statuses.include?(res["status"])
   end
 end
+
+# Return product's resolvable properties
+#
+# Only the 'name' and 'version' will be used to find out the product
+# properties, ignoring the architecture, vendor or any other property.
+# libzypp will take care of finding the proper product.
+#
+# @return [Hash] properties
+def resolvable_properties
+  @resolvable_properties ||= Yast::Pkg.ResolvableProperties(name, 
:product, "").find do |data|
+data["version"] == version
+  end
+end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.56/library/packages/src/lib/y2packager/release_notes_fetchers/url.rb
 
new/yast2-4.0.58/library/packages/src/lib/y2packager/release_notes_fetchers/url.rb
--- 
old/yast2-4.0.56/library/packages/src/lib/y2packager/release_notes_fetchers/url.rb
  2018-02-28 14:20:36.0 +0100
+++ 
new/yast2-4.0.58/library/packages/src/lib/y2packager/release_notes_fetchers/url.rb
  2018-03-07 11:17:47.0 +0100
@@ -200,7 +200,7 @@
   #
   # @return [Boolean]
   def relnotes_url_valid?
-if relnotes_url.nil? || relnotes_url.empty?
+if relnotes_url.nil?
   log.error "No release notes URL for #{product.name}"
   return false
 end
@@ -217,9 +217,7 @@
   #
   # @return [String] Release notes URL
   def relnotes_url
-return @relnotes_url if @relnotes_url
-data = Yast::Pkg.ResolvableProperties(product.name, :product, "").first
-@relnotes_url = data["relnotes_url"]
+@relnotes_url ||= product.relnotes_url
   end
 
   # Return release notes URL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.56/library/packages/test/y2packager/product_test.rb 
new/yast2-4.0.58/library/packages/test/y2packager/product_test.rb
--- old/yast2-4.0.56/library/packages/test/y2packager/product_test.rb   
2018-02-28 14:20:36.0 +0100
+++ new/yast2-4.0.58/library/packages/test/y2packager/product_test.rb   
2018-03-07 11:17:47.0 +0100
@@ -394,4 +394,36 @@
   end
 end
   end
+
+  

commit yast2 for openSUSE:Factory

2018-03-04 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-03-04 11:49:50

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sun Mar  4 11:49:50 2018 rev:420 rq:580958 version:4.0.56

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-02-24 
16:36:15.792178938 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-03-04 
11:49:58.743827332 +0100
@@ -1,0 +2,15 @@
+Wed Feb 28 13:03:21 UTC 2018 - an...@suse.com
+
+- Fixed a typo and the list item marker in the firewall widget
+  (bsc#1083058).
+- 4.0.55
+
+---
+Tue Feb 27 15:19:25 CET 2018 - sch...@suse.de
+
+- NIS configuration fails while executing firewall-offline-cmd.
+  Fix: Ensure that the firewalld configuration is read before
+  writing. (bnc#1082827)
+- 4.0.55
+
+---

Old:

  yast2-4.0.54.tar.bz2

New:

  yast2-4.0.56.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.NtuVZr/_old  2018-03-04 11:49:59.375804438 +0100
+++ /var/tmp/diff_new_pack.NtuVZr/_new  2018-03-04 11:49:59.379804293 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.54
+Version:4.0.56
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.54.tar.bz2 -> yast2-4.0.56.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.54/library/cwm/examples/replace_point_with_nested_custom.rb 
new/yast2-4.0.56/library/cwm/examples/replace_point_with_nested_custom.rb
--- old/yast2-4.0.54/library/cwm/examples/replace_point_with_nested_custom.rb   
2018-02-23 12:11:35.0 +0100
+++ new/yast2-4.0.56/library/cwm/examples/replace_point_with_nested_custom.rb   
2018-02-28 14:20:36.0 +0100
@@ -82,6 +82,7 @@
 class GenerateButton < CWM::PushButton
   def initialize(lucky_number_widget)
 @lucky_number_widget = lucky_number_widget
+textdomain "example"
   end
 
   def label
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.54/library/cwm/examples/replace_point_with_nested_replace_point.rb
 
new/yast2-4.0.56/library/cwm/examples/replace_point_with_nested_replace_point.rb
--- 
old/yast2-4.0.54/library/cwm/examples/replace_point_with_nested_replace_point.rb
2018-02-23 12:11:35.0 +0100
+++ 
new/yast2-4.0.56/library/cwm/examples/replace_point_with_nested_replace_point.rb
2018-02-28 14:20:36.0 +0100
@@ -72,6 +72,7 @@
   def initialize
 @minimum = 0
 @maximum = 1000
+textdomain "example"
   end
 
   def label
@@ -86,6 +87,7 @@
 class GenerateButton < CWM::PushButton
   def initialize(lucky_number_widget)
 @lucky_number_widget = lucky_number_widget
+textdomain "example"
   end
 
   def label
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.54/library/network/src/lib/y2firewall/firewalld.rb 
new/yast2-4.0.56/library/network/src/lib/y2firewall/firewalld.rb
--- old/yast2-4.0.54/library/network/src/lib/y2firewall/firewalld.rb
2018-02-23 12:11:35.0 +0100
+++ new/yast2-4.0.56/library/network/src/lib/y2firewall/firewalld.rb
2018-02-28 14:20:36.0 +0100
@@ -142,6 +142,7 @@
 # Apply the changes to the modified zones and sets the logging option
 def write_only
   return false unless installed?
+  read unless read?
   zones.each { |z| z.apply_changes! if z.modified? }
   api.log_denied_packets = log_denied_packets if log_denied_packets != 
api.log_denied_packets
   api.default_zone   = default_zone if default_zone != api.default_zone
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.54/library/network/src/modules/CWMFirewallInterfaces.rb 
new/yast2-4.0.56/library/network/src/modules/CWMFirewallInterfaces.rb
--- old/yast2-4.0.54/library/network/src/modules/CWMFirewallInterfaces.rb   
2018-02-23 12:11:35.0 +0100
+++ new/yast2-4.0.56/library/network/src/modules/CWMFirewallInterfaces.rb   
2018-02-28 14:20:36.0 +0100
@@ -1055,9 +1055,13 @@
   services_list =
 services.map do |service|
   if !firewalld.api.service_supported?(service)
-HBox(HSpacing(2), Left(Label(_("* %{service} (Not available)") % { 
service: service })))
+# TRANSLATORS: do not modify '%{service}', it will be replaced 
with service name.
+# TRANSLATORS: item in a list, '-' is used as marker. Feel free to 

commit yast2 for openSUSE:Factory

2018-02-24 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-02-24 16:36:14

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sat Feb 24 16:36:14 2018 rev:419 rq:579478 version:4.0.54

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-02-16 
21:41:45.013410737 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-02-24 
16:36:15.792178938 +0100
@@ -1,0 +2,7 @@
+Fri Feb 23 10:50:59 UTC 2018 - knut.anders...@suse.com
+
+- Added missing textdomain to firewalld zone class for translations
+  (bsc#1082246).
+- 4.0.54
+
+---

Old:

  yast2-4.0.53.tar.bz2

New:

  yast2-4.0.54.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.U4juH7/_old  2018-02-24 16:36:16.672147266 +0100
+++ /var/tmp/diff_new_pack.U4juH7/_new  2018-02-24 16:36:16.672147266 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.53
+Version:4.0.54
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.53.tar.bz2 -> yast2-4.0.54.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.53/library/network/src/lib/y2firewall/firewalld/zone.rb 
new/yast2-4.0.54/library/network/src/lib/y2firewall/firewalld/zone.rb
--- old/yast2-4.0.53/library/network/src/lib/y2firewall/firewalld/zone.rb   
2018-02-16 10:06:50.0 +0100
+++ new/yast2-4.0.54/library/network/src/lib/y2firewall/firewalld/zone.rb   
2018-02-23 12:11:35.0 +0100
@@ -31,6 +31,8 @@
   include Yast::I18n
   extend Yast::I18n
 
+  textdomain "base"
+
   # Map of known zone names and description
   KNOWN_ZONES = {
 "block"=> N_("Block Zone"),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.53/package/yast2.changes 
new/yast2-4.0.54/package/yast2.changes
--- old/yast2-4.0.53/package/yast2.changes  2018-02-16 10:06:50.0 
+0100
+++ new/yast2-4.0.54/package/yast2.changes  2018-02-23 12:11:35.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Fri Feb 23 10:50:59 UTC 2018 - knut.anders...@suse.com
+
+- Added missing textdomain to firewalld zone class for translations
+  (bsc#1082246).
+- 4.0.54
+
+---
 Thu Feb 15 17:34:40 UTC 2018 - lsle...@suse.cz
 
 - Fixed list of the URL schemes without host, fixes processing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.53/package/yast2.spec 
new/yast2-4.0.54/package/yast2.spec
--- old/yast2-4.0.53/package/yast2.spec 2018-02-16 10:06:50.0 +0100
+++ new/yast2-4.0.54/package/yast2.spec 2018-02-23 12:11:35.0 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:   yast2
-Version:4.0.53
+Version:4.0.54
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0




commit yast2 for openSUSE:Factory

2018-02-16 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-02-16 21:41:45

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Fri Feb 16 21:41:45 2018 rev:418 rq:577190 version:4.0.53

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-02-12 
10:07:03.443144376 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-02-16 
21:41:45.013410737 +0100
@@ -1,0 +2,20 @@
+Thu Feb 15 17:34:40 UTC 2018 - lsle...@suse.cz
+
+- Fixed list of the URL schemes without host, fixes processing
+  URLs with the "hd:/" scheme (bsc#1077310)
+- 4.0.53
+
+---
+Wed Feb 14 12:48:54 UTC 2018 - igonzalezs...@suse.com
+
+- Add a method to get the list of available license translations
+  for a given product (related to FATE#322276).
+- 4.0.52
+
+---
+Mon Feb 12 09:23:34 UTC 2018 - knut.anders...@suse.com
+
+- Firewalld: Added interfaces helpers (fate#323460)
+- 4.0.51
+
+---

Old:

  yast2-4.0.50.tar.bz2

New:

  yast2-4.0.53.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.dB1otx/_old  2018-02-16 21:41:45.693386215 +0100
+++ /var/tmp/diff_new_pack.dB1otx/_new  2018-02-16 21:41:45.697386071 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.50
+Version:4.0.53
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.50.tar.bz2 -> yast2-4.0.53.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.50/library/network/src/Makefile.am 
new/yast2-4.0.53/library/network/src/Makefile.am
--- old/yast2-4.0.50/library/network/src/Makefile.am2018-02-09 
11:48:29.0 +0100
+++ new/yast2-4.0.53/library/network/src/Makefile.am2018-02-16 
10:06:50.0 +0100
@@ -52,6 +52,12 @@
   lib/y2firewall/firewalld/api/services.rb \
   lib/y2firewall/firewalld/api/zones.rb
 
-EXTRA_DIST = $(module_DATA) $(scrconf_DATA) $(agent_SCRIPTS) $(ylib_DATA) 
$(yfwlib_DATA) $(yfwdlib_DATA) $(yfwdapilib_DATA)
+yfwhelperslibdir = @ylibdir@/y2firewall/helpers
+yfwhelperslib_DATA = \
+  lib/y2firewall/helpers/interfaces.rb
+
+EXTRA_DIST = \
+  $(module_DATA) $(scrconf_DATA) $(agent_SCRIPTS) $(ylib_DATA) \
+  $(yfwlib_DATA) $(yfwdlib_DATA) $(yfwdapilib_DATA) $(yfwhelperslib_DATA)
 
 include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.0.50/library/network/src/lib/y2firewall/helpers/interfaces.rb 
new/yast2-4.0.53/library/network/src/lib/y2firewall/helpers/interfaces.rb
--- old/yast2-4.0.50/library/network/src/lib/y2firewall/helpers/interfaces.rb   
1970-01-01 01:00:00.0 +0100
+++ new/yast2-4.0.53/library/network/src/lib/y2firewall/helpers/interfaces.rb   
2018-02-16 10:06:50.0 +0100
@@ -0,0 +1,96 @@
+# encoding: utf-8
+#
+# ***
+#
+# Copyright (c) 2018 SUSE LLC.
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of version 2 or 3 of the GNU General
+# Public License as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE about this file by physical or electronic mail,
+# you may find current contact information at www.suse.com
+#
+# ***
+require "yast"
+require "y2firewall/firewalld"
+
+module Y2Firewall
+  module Helpers
+# Set of helpers methods for operating with NetworkInterfaces and firewalld
+# zones.
+module Interfaces
+  def self.included(_base)
+Yast.import "NetworkInterfaces"
+  end
+
+  # Return an instance of Y2Firewall::Firewalld
+  #
+  # @return [Y2Firewall::Firewalld] a firewalld instance
+  def firewalld
+Y2Firewall::Firewalld.instance
+  end
+
+  # Return the name of interfaces which belongs to the default zone
+  #
+  # @return [Array] default zone interface names
+  def default_interfaces
+

commit yast2 for openSUSE:Factory

2018-02-12 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-02-12 10:07:02

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Mon Feb 12 10:07:02 2018 rev:417 rq:574594 version:4.0.50

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-02-02 
22:18:55.847263234 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-02-12 
10:07:03.443144376 +0100
@@ -1,0 +2,8 @@
+Thu Feb  8 12:10:29 UTC 2018 - knut.anders...@suse.com
+
+- Drop (x)inetd agents
+- CWMServiceStart: Replace xinetd by systemd socket activation
+  (fate#323373)
+- 4.0.50
+
+---

Old:

  yast2-4.0.49.tar.bz2

New:

  yast2-4.0.50.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.ALAh2J/_old  2018-02-12 10:07:04.279114247 +0100
+++ /var/tmp/diff_new_pack.ALAh2J/_new  2018-02-12 10:07:04.279114247 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.49
+Version:4.0.50
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.49.tar.bz2 -> yast2-4.0.50.tar.bz2 ++
 1677 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2018-02-02 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-02-02 22:18:55

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Fri Feb  2 22:18:55 2018 rev:416 rq:572018 version:4.0.49

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-01-28 
00:38:23.816393325 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-02-02 
22:18:55.847263234 +0100
@@ -1,0 +2,69 @@
+Fri Feb  2 11:25:21 UTC 2018 - igonzalezs...@suse.com
+
+- Y2Packager::Product does not depend on Yast::Language module
+  anymore (related to bsc#1079045)
+- 4.0.49
+
+---
+Thu Feb  1 11:36:31 UTC 2018 - igonzalezs...@suse.com
+
+- Replace idnconv with simpleidn library (related to bsc#1071552).
+- Move some Y2Packager classes from yast2-packager here to
+  fix the package build.
+- 4.0.48
+
+---
+Thu Feb  1 10:36:26 UTC 2018 - knut.anders...@suse.com
+
+- Firewalld: Cache modifications for performance improvements.
+  (fate#323460)
+- 4.0.47
+
+---
+Thu Feb  1 08:09:28 UTC 2018 - lsle...@suse.cz
+
+- Move some Y2Packager classes from yast2-packager here to avoid
+  circular dependency (related to fate#323163)
+- 4.0.46
+
+---
+Wed Jan 31 13:54:12 UTC 2018 - knut.anders...@suse.com
+
+- Firewalld API: Cache whether the configuration has been read
+  (fate#323460)
+- 4.0.45
+
+---
+Tue Jan 30 11:06:59 UTC 2018 - knut.anders...@suse.com
+
+- Installation::AutoClient: modified packages default and improved
+  documentation (fate#323460 bsc#1077987)
+- 4.0.44
+
+---
+Tue Jan 30 06:45:17 UTC 2018 - an...@suse.com
+
+- Fixed a bug causing pages of all CWM::TreePager to be rendered
+  twice on every page switch (bsc#1078212)
+- 4.0.43
+
+---
+Mon Jan 29 17:11:19 UTC 2018 - knut.anders...@suse.com
+
+- Firewalld API: reload and complete reload return true in offline
+  mode (fate#323460)
+- 4.0.42
+
+---
+Mon Jan 29 14:11:59 UTC 2018 - knut.anders...@suse.com
+
+- Fixed logging typo (fate#1076513)
+- 4.0.41
+
+---
+Fri Jan 26 14:25:07 UTC 2018 - lsle...@suse.cz
+
+- Improved base product detection at upgrade (fate#1076513)
+- 4.0.40
+
+---

Old:

  yast2-4.0.39.tar.bz2

New:

  yast2-4.0.49.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.MyDbuD/_old  2018-02-02 22:18:56.483233544 +0100
+++ /var/tmp/diff_new_pack.MyDbuD/_new  2018-02-02 22:18:56.483233544 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.39
+Version:4.0.49
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
@@ -39,6 +39,8 @@
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:cheetah)
 # For running RSpec tests during build
 BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
+# For converting to/from punycode strings
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:simpleidn)
 # Needed already in build time
 BuildRequires:  yast2-core >= 2.18.12
 BuildRequires:  yast2-devtools >= 3.1.10
@@ -65,8 +67,10 @@
 # for defining abstract methods in libraries
 Requires:   rubygem(%{rb_default_ruby_abi}:abstract_method)
 # for file access using augeas
-Requires:   sysconfig >= 0.80.0
 Requires:   rubygem(%{rb_default_ruby_abi}:cfa)
+# For converting to/from punycode strings
+Requires:   sysconfig >= 0.80.0
+Requires:   rubygem(%{rb_default_ruby_abi}:simpleidn)
 # for running scripts
 Requires:   rubygem(%{rb_default_ruby_abi}:cheetah)
 # ag_ini section_private
@@ -94,15 +98,8 @@
 # moved cfg_mail.scr
 Conflicts:  yast2-mail < 3.1.7
 # Older packager use removed API
-Conflicts:  yast2-packager < 3.1.34
+Conflicts:  yast2-packager < 4.0.33
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# for Punycode.rb (bnc#651893) - the idnconv tool is located in
-# different packages (SLE12/Leap-42.1: bind-utils, TW/Factory: idnkit)
-%if 0%{?suse_version} >= 1330
-Requires:   idnkit
-%else
-Requires:   bind-utils
-%endif
 Obsoletes:  yast2-devel-doc
 # for the PackageExtractor class, just make sure they are present,
 # these should be 

commit yast2 for openSUSE:Factory

2018-01-27 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-01-28 00:38:21

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sun Jan 28 00:38:21 2018 rev:415 rq:569867 version:4.0.39

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2018-01-17 
21:44:22.202356433 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-01-28 
00:38:23.816393325 +0100
@@ -1,0 +2,28 @@
+Wed Jan 24 14:13:13 UTC 2018 - knut.anders...@suse.com
+
+- Firewalld: Added methods to the wrapper class for opening ports
+  by YaPI modules (fate#323460 bsc#1071548 bsc#1076837)
+- 4.0.39
+
+---
+Wed Jan 24 13:23:14 UTC 2018 - jreidin...@suse.com
+
+- CWM: Add possibility to define abort handler for CWM.show
+  (needed for expert partitioner fate#318196)
+- 4.0.38
+
+---
+Tue Jan 23 11:53:09 UTC 2018 - knut.anders...@suse.com
+
+- Firewalld: Added missing firewalld service file to the Makefile
+  (fate#323460).
+- 4.0.37
+
+---
+Tue Jan 23 07:31:21 UTC 2018 - knut.anders...@suse.com
+
+- CWMFirewallInterfaces: Replaced SuSEFirewall2 by firewalld.
+  (fate#323460)
+- 4.0.36
+
+---

Old:

  yast2-4.0.35.tar.bz2

New:

  yast2-4.0.39.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.433ySY/_old  2018-01-28 00:38:24.484362207 +0100
+++ /var/tmp/diff_new_pack.433ySY/_new  2018-01-28 00:38:24.488362020 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.35
+Version:4.0.39
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.35.tar.bz2 -> yast2-4.0.39.tar.bz2 ++
 2949 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2018-01-17 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2018-01-17 21:44:20

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Wed Jan 17 21:44:20 2018 rev:414 rq:566613 version:4.0.35

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-10-23 
16:42:41.714439989 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2018-01-17 
21:44:22.202356433 +0100
@@ -1,0 +2,197 @@
+Tue Jan 16 14:43:14 UTC 2018 - jreidin...@suse.com
+
+- fix having some roles without description when choosing
+  different extensions during installation (bsc#1070726)
+- 4.0.35
+
+---
+Fri Jan 12 14:13:38 CET 2018 - sch...@suse.de
+
+- Firewalld export: Return empty hash if the package has not
+  been installed. (fate#323460)
+- 4.0.34
+
+---
+Wed Jan 10 17:24:18 CET 2018 - sch...@suse.de
+
+- Adding a workflow from other products: If there are no modules
+  have beed defined we are using the modules defined in
+  append_modules. (bnc#1075182)
+- 4.0.33
+
+---
+Mon Jan  8 17:34:27 UTC 2018 - knut.anders...@suse.com
+
+- Firewalld: Allow to modify default zone and export configuration
+  (fate#323460).
+- 4.0.32
+
+---
+Mon Jan  8 09:19:09 UTC 2018 - mfi...@suse.com
+
+- bnc#1073727
+  - ignored some of typical backup extensions (like .bak, .orig)
+when loading ifcfg files
+- 4.0.31
+
+---
+Wed Dec 20 08:31:29 UTC 2017 - knut.anders...@suse.com
+
+- Firewalld: Extend handling of zones for AutoYaST configuration
+  (fate#323460).
+- 4.0.30
+
+---
+Fri Dec 15 10:26:00 UTC 2017 - knut.anders...@suse.com
+
+- Firewalld API: Use string command with all api methods which
+  expect string outputs (bsc#1070559)
+- 4.0.29
+
+---
+Thu Dec 14 11:35:30 UTC 2017 - knut.anders...@suse.com
+
+- Firewalld API: Added convenient methods for query commands and
+  string expected output commands (bnc#1070559).
+- 4.0.28
+
+---
+Mon Dec 11 17:12:46 CET 2017 - sch...@suse.de
+
+- Warn the user if the infrastructure is not available for running
+  the second stage (bnc#1061754)
+- 4.0.27
+
+---
+Mon Dec 11 08:40:33 UTC 2017 - jlo...@suse.com
+
+- Improve tests for CWM::Pager (part of fate#318196).
+- 4.0.26
+
+---
+Fri Dec  8 14:05:59 UTC 2017 - mvid...@suse.com
+
+- Recognize CTC devices named like slc600 (bsc#1058227).
+- Stopped treating old-style hotplug devices specially.
+- 4.0.25
+
+---
+Fri Dec  8 11:24:46 UTC 2017 - lsle...@suse.cz
+
+- save_y2logs: save also /linuxrc.config and /etc/os-release files
+  for easier debugging
+
+---
+Tue Dec  5 17:01:44 UTC 2017 - jlo...@suse.com
+
+- CWM: make method Pager#current_page public.
+- Necessary for fate#318196.
+- 4.0.24
+
+---
+Mon Dec  4 08:51:41 UTC 2017 - mfi...@suse.com
+
+- bnc#1061306
+  - provided new function for querying net device configuration to
+avoid internal errors when querying cached devices
+inconsistently
+- 4.0.23
+
+---
+Thu Nov 30 06:38:15 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new
+  %_fillupdir macro (boo#1069468).
+- 4.0.22
+
+---
+Wed Nov 29 10:09:45 UTC 2017 - knut.anders...@suse.com
+
+- Added missing y2firewall/firewalld/zone.rb file to the Makefile
+  (fate#323460).
+- 4.0.21
+
+---
+Wed Nov 29 09:10:59 UTC 2017 - an...@suse.com
+
+- Fixed a bug selecting rows programmatically for CWM::Table
+  (bsc#1070287).
+- 4.0.20
+
+---
+Tue Nov 28 11:44:30 UTC 2017 - jreidin...@suse.com
+
+- Add new Yast2::Popup class providing nicer API for invoking
+  popups (hackweek project)
+- 4.0.19
+
+---
+Tue Nov 28 09:50:05 UTC 2017 - mfi...@suse.com
+
+- bnc#956755, bnc#1061306 (mfilka)
+  - fixed storing 

commit yast2 for openSUSE:Factory

2017-10-23 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-10-23 16:42:40

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Mon Oct 23 16:42:40 2017 rev:413 rq:535235 version:4.0.11

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-10-07 
17:49:15.295024681 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-10-23 
16:42:41.714439989 +0200
@@ -1,0 +2,9 @@
+Thu Oct 19 14:42:09 CEST 2017 - loci...@suse.com
+
+- Fixing disabling vnc, ssh, ... installation to handle service
+  names independently on using upper/lower case as they are used
+  in different context at different places of the code
+  (bsc#1055279).
+- 4.0.11
+
+---

Old:

  yast2-4.0.10.tar.bz2

New:

  yast2-4.0.11.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.ECPlLg/_old  2017-10-23 16:42:42.338410787 +0200
+++ /var/tmp/diff_new_pack.ECPlLg/_new  2017-10-23 16:42:42.338410787 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:4.0.10
+Version:4.0.11
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-4.0.10.tar.bz2 -> yast2-4.0.11.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.10/library/general/src/modules/Linuxrc.rb 
new/yast2-4.0.11/library/general/src/modules/Linuxrc.rb
--- old/yast2-4.0.10/library/general/src/modules/Linuxrc.rb 2017-10-06 
13:34:57.439539673 +0200
+++ new/yast2-4.0.11/library/general/src/modules/Linuxrc.rb 2017-10-19 
15:50:11.236545051 +0200
@@ -244,12 +244,16 @@
 # Reset settings for vnc, ssh,... in install.inf which have been made
 # by linuxrc settings.
 #
-# @param [Array] list of services which will be disabled.
+# @param [Array] list of remote-management services that will be 
disabled.
 def disable_remote(services)
   return if !services || services.empty?
-  log.warn "Disabling #{services} due missing packages."
+
+  log.warn "Disabling #{services} due to missing packages."
   services.each do |service|
-case service
+# Service IDs are also used in another context in the code
+# Making sure we always compare apples with apples
+case polish(service.dup)
+
 when "vnc"
   SCR.Write(path(".etc.install_inf.VNC"), 0)
   SCR.Write(path(".etc.install_inf.VNCPassword"), "")
@@ -257,10 +261,11 @@
   SCR.Write(path(".etc.install_inf.UseSSH"), 0)
 when "braille"
   SCR.Write(path(".etc.install_inf.Braille"), 0)
-when "display-ip"
+when "displayip"
   SCR.Write(path(".etc.install_inf.DISPLAY_IP"), 0)
 else
-  log.error "#{service} not supported"
+  log.error "Unknown service #{service}"
+  raise ArgumentError, "Cannot disable #{service}: Unknown service."
 end
   end
   SCR.Write(path(".etc.install_inf"), nil) # Flush the cache
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.0.10/library/general/test/linuxrc_test.rb 
new/yast2-4.0.11/library/general/test/linuxrc_test.rb
--- old/yast2-4.0.10/library/general/test/linuxrc_test.rb   2017-10-06 
13:34:57.451539673 +0200
+++ new/yast2-4.0.11/library/general/test/linuxrc_test.rb   2017-10-19 
15:50:11.396545051 +0200
@@ -237,31 +237,45 @@
 .with(path(".etc.install_inf"), nil)
 end
 
-context "when vnc will be disabled" do
+context "when vnc should be disabled" do
   it "updates install.inf" do
+# twice, because there are two services, thus two calls to do the same
 expect(Yast::SCR).to receive(:Write)
-  .with(path(".etc.install_inf.VNC"), 0)
+  .with(path(".etc.install_inf.VNC"), 0).twice
+# twice, because there are two services, thus two calls to do the same
 expect(Yast::SCR).to receive(:Write)
-  .with(path(".etc.install_inf.VNCPassword"), "")
-subject.disable_remote(["vnc"])
+  .with(path(".etc.install_inf.VNCPassword"), "").twice
+subject.disable_remote(["vnc", "VNC"])
   end
 end
 
-context "when ssh will be disabled" do
+context "when ssh should be disabled" do
   it "updates install.inf" do
+# twice, because there are two services, thus two calls to do the same
 expect(Yast::SCR).to receive(:Write)
-  .with(path(".etc.install_inf.UseSSH"), 0)
-subject.disable_remote(["ssh"])
+  .with(path(".etc.install_inf.UseSSH"), 

commit yast2 for openSUSE:Factory

2017-10-07 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-10-07 17:49:13

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sat Oct  7 17:49:13 2017 rev:412 rq:532184 version:4.0.10

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-08-13 
14:54:21.817427892 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-10-07 
17:49:15.295024681 +0200
@@ -1,0 +2,95 @@
+Thu Oct  5 14:04:46 UTC 2017 - sch...@suse.de
+
+- Disable vnc, ssh,... installation in install.inf if it is not
+  supported. (bnc#1055279, bnc#1058071)
+- 4.0.10
+
+---
+Thu Oct  5 13:04:46 UTC 2017 - mvid...@suse.com
+
+- Stop using tmpnam, it is no longer supported in perl 5.26
+  (bsc#1061620)
+- 4.0.9
+
+---
+Tue Sep 26 10:31:03 UTC 2017 - jreidin...@suse.com
+
+- Add support for merging to workflow extensions from modules
+  (bsc#1049297)
+- 4.0.8
+
+---
+Fri Sep 15 11:10:39 UTC 2017 - jreidin...@suse.com
+
+- fix starting gnome control center (bsc#1058376)
+- 4.0.7
+
+---
+Thu Sep 14 07:51:58 UTC 2017 - mvid...@suse.com
+
+- systemd services (bsc#1045658)
+  - reverted a command change that broke brittle tests
+- 4.0.6
+
+---
+Thu Sep  7 13:29:54 UTC 2017 - mvid...@suse.com
+
+- systemd services (bsc#1045658)
+  - add SystemdService.find_many for a speed-up
+  - SystemdUnit fix for units with multiple dots in name
+  - consistent logging of systemctl calls
+- 4.0.5
+
+---
+Thu Sep  7 12:15:56 UTC 2017 - igonzalezs...@suse.com
+
+- Fix handling of PGP signatures when running in insecure mode
+  (bsc#1054663)
+- 4.0.4
+
+---
+Mon Sep  4 11:32:04 UTC 2017 - an...@suse.com
+
+- Added methods to Yast2::FsSnapshot allowing to finish the
+  Snapper configuration (part of fate#318196).
+- 4.0.3
+
+---
+Thu Aug 31 15:30:24 UTC 2017 - igonzalezs...@suse.com
+
+- Add support to disable buttons on CWM::Dialog
+- Add a method WorkflowManager#merge_product_workflow which allows
+  to merge a product workflow (fate#322267)
+- 4.0.2
+
+---
+Wed Aug 30 14:02:08 UTC 2017 - knut.anders...@suse.com
+
+- Added UI:TextHelpers with a wrap_text method moved from
+  yast2-network (bsc#1055643)
+- 4.0.1
+
+---
+Tue Aug 29 14:57:52 UTC 2017 - lsle...@suse.cz
+
+- Fixed the cursor theme in the installation (the DMZ theme has
+  been replaced by DMZ-White and DMZ-Black) (bsc#1051664)
+- 4.0.0
+
+---
+Fri Aug 25 11:10:29 UTC 2017 - igonzalezs...@suse.com
+
+- Restore Packages::Repository and Packages::Product in order
+  to retain compatibility with yast2-packager 3.3.2 which is
+  the version on Factory until storage-ng is finally
+  merged (bsc#1055677)
+- 3.3.10
+
+---
+Fri Aug 11 14:16:33 UTC 2017 - igonzalezs...@suse.com
+
+- Move Packages::Repository and Packages::Product to yast2-packager
+  (FATE#322276)
+- 3.3.9
+
+---

Old:

  yast2-3.3.8.tar.bz2

New:

  yast2-4.0.10.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.80IF3M/_old  2017-10-07 17:49:15.831001120 +0200
+++ /var/tmp/diff_new_pack.80IF3M/_new  2017-10-07 17:49:15.835000944 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.3.8
+Version:4.0.10
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.3.8.tar.bz2 -> yast2-4.0.10.tar.bz2 ++
 1834 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2017-08-13 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-08-13 14:54:18

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sun Aug 13 14:54:18 2017 rev:411 rq:515849 version:3.3.8

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-08-04 
11:57:40.810023718 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-08-13 
14:54:21.817427892 +0200
@@ -1,0 +2,7 @@
+Wed Aug  9 14:06:05 UTC 2017 - jreidin...@suse.com
+
+- workaround false warning from Forwardable when using OpenStruct
+  in ruby 2.4 (bsc#1049433)
+- 3.3.8
+
+---

Old:

  yast2-3.3.7.tar.bz2

New:

  yast2-3.3.8.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.HlTOwb/_old  2017-08-13 14:54:23.073251676 +0200
+++ /var/tmp/diff_new_pack.HlTOwb/_new  2017-08-13 14:54:23.073251676 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.3.7
+Version:3.3.8
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.3.7.tar.bz2 -> yast2-3.3.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.7/.travis.yml new/yast2-3.3.8/.travis.yml
--- old/yast2-3.3.7/.travis.yml 2017-08-03 10:29:13.371219746 +0200
+++ new/yast2-3.3.8/.travis.yml 2017-08-10 10:09:28.168270412 +0200
@@ -5,6 +5,9 @@
 
 before_install:
   - docker build -t yast-yast2-image .
+  # list the installed packages (just for easier debugging)
+  - docker run --rm -it yast-yast2-image rpm -qa | sort
+
 script:
   # the "yast-travis-ruby" script is included in the base yastdevel/ruby image
   # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.3.7/library/systemd/src/lib/yast2/systemd_unit.rb 
new/yast2-3.3.8/library/systemd/src/lib/yast2/systemd_unit.rb
--- old/yast2-3.3.7/library/systemd/src/lib/yast2/systemd_unit.rb   
2017-08-03 10:29:13.791219746 +0200
+++ new/yast2-3.3.8/library/systemd/src/lib/yast2/systemd_unit.rb   
2017-08-10 10:09:28.268270412 +0200
@@ -1,7 +1,6 @@
 require "yast2/systemctl"
 
 require "ostruct"
-require "forwardable"
 
 module Yast
   ###
@@ -48,12 +47,14 @@
   path:"FragmentPath"
 }.freeze
 
-extend Forwardable
-
-def_delegators :@properties, :id, :path, :description, :active?, 
:enabled?, :loaded?
-
 attr_reader :name, :unit_name, :unit_type, :input_properties, :error, 
:properties
 
+# with ruby 2.4 delegating ostruct with Forwardable start to write warning
+# so define it manually (bsc#1049433)
+[:id, :path, :description, :active?, :enabled?, :loaded?].each do |m|
+  define_method(m) { properties.public_send(m) }
+end
+
 def initialize(full_unit_name, properties = {})
   @unit_name, @unit_type = full_unit_name.split(".")
   raise "Missing unit type suffix" unless unit_type
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.7/package/yast2.changes 
new/yast2-3.3.8/package/yast2.changes
--- old/yast2-3.3.7/package/yast2.changes   2017-08-03 10:29:13.839219746 
+0200
+++ new/yast2-3.3.8/package/yast2.changes   2017-08-10 10:09:28.296270412 
+0200
@@ -1,4 +1,11 @@
 ---
+Wed Aug  9 14:06:05 UTC 2017 - jreidin...@suse.com
+
+- workaround false warning from Forwardable when using OpenStruct
+  in ruby 2.4 (bsc#1049433)
+- 3.3.8
+
+---
 Thu Aug  3 07:39:49 UTC 2017 - lsle...@suse.cz
 
 - run_ifconfig.scr - make "inet" section optional, handle
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.7/package/yast2.spec 
new/yast2-3.3.8/package/yast2.spec
--- old/yast2-3.3.7/package/yast2.spec  2017-08-03 10:29:13.839219746 +0200
+++ new/yast2-3.3.8/package/yast2.spec  2017-08-10 10:09:28.296270412 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.3.7
+Version:3.3.8
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0




commit yast2 for openSUSE:Factory

2017-08-04 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-08-04 11:57:39

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Fri Aug  4 11:57:39 2017 rev:410 rq:514183 version:3.3.7

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-08-02 
11:26:53.544999628 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-08-04 
11:57:40.810023718 +0200
@@ -1,0 +2,12 @@
+Thu Aug  3 07:39:49 UTC 2017 - lsle...@suse.cz
+
+- run_ifconfig.scr - make "inet" section optional, handle
+  additional whitespace characters (bsc#811760)
+- 3.3.7
+
+---
+Wed Aug  2 15:39:25 UTC 2017 - jlo...@suse.com
+
+- More robust systemctl test to avoid possible timeout error
+
+---

Old:

  yast2-3.3.6.tar.bz2

New:

  yast2-3.3.7.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.cEmDaz/_old  2017-08-04 11:57:43.537638727 +0200
+++ /var/tmp/diff_new_pack.cEmDaz/_new  2017-08-04 11:57:43.581632517 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.3.6
+Version:3.3.7
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.3.6.tar.bz2 -> yast2-3.3.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.3.6/library/general/src/scrconf/run_ifconfig.scr 
new/yast2-3.3.7/library/general/src/scrconf/run_ifconfig.scr
--- old/yast2-3.3.6/library/general/src/scrconf/run_ifconfig.scr
2017-07-31 11:06:26.200824981 +0200
+++ new/yast2-3.3.7/library/general/src/scrconf/run_ifconfig.scr
2017-08-03 10:29:13.579219746 +0200
@@ -15,7 +15,7 @@
  *   Read(.run.ifconfig)
  *   ([$["name":"eth0",
  *   "value":$["flags":["UP", "BROADCAST", "RUNNING", "MULTICAST",
- *  " MTU:1500", " Metric:1"],
+ *  "MTU:1500", "Metric:1"],
  * "inet":$["addr":168427678,
  *  "bcast":168493055,
  *  "mask":4294901760],
@@ -24,7 +24,7 @@
  * ],
  * $["name":"lo",
  *   "value":$["flags":["UP", "LOOPBACK", "RUNNING",
- *  " MTU:3924", " Metric:1"],
+ *  "MTU:3924", "Metric:1"],
  * "inet":$["addr":2130706433,
  *  "mask":4278190080],
  * "link":"Link encap:Local Loopback  "]
@@ -53,8 +53,8 @@
`Tuple(
`name(`String("^\t ")),
`value(`Tuple(
-   `Whitespace(), `link(`String("^\n")), "\n",
-   `Whitespace(), "inet", `inet(
+   `Whitespace(), `link(`String("^\n", " ")), "\n",
+   `Optional(`Sequence(`Whitespace(), "inet", `inet(
`Tuple (
`Optional (`Whitespace ()),
`Choice (
@@ -80,9 +80,10 @@
]
),
`Continue (`Whitespace ())
-   )
-   ), "\n",
-   `Whitespace(), 
`flags(`List(`Sequence(`Optional(`Whitespace()), `String("^ \n")), " ")), "\n",
+   )),
+   "\n")),
+
+   `Whitespace(), 
`flags(`List(`Sequence(`Optional(`Whitespace()), `String("^ \n")), 
`Separator("\t "))), "\n",
// the rest is not important
`List(
`Sequence(`Whitespace(), `String("^\n")),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.6/library/systemd/test/systemctl_test.rb 
new/yast2-3.3.7/library/systemd/test/systemctl_test.rb
--- old/yast2-3.3.6/library/systemd/test/systemctl_test.rb  2017-07-31 
11:06:26.272824981 +0200
+++ new/yast2-3.3.7/library/systemd/test/systemctl_test.rb  2017-08-03 
10:29:13.791219746 +0200
@@ -22,7 +22,7 @@
 
   it "raises exception if the execution has timed out" do
 stub_const("Yast::Systemctl::TIMEOUT", 1)
-allow(SCR).to receive(:Execute) { sleep 1.1 }
+allow(SCR).to receive(:Execute) { sleep 5 }
 expect(SCR).to receive(:Execute)
 expect { Systemctl.execute("disable cups.service") }.to 
raise_error(SystemctlError)
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.6/package/yast2.changes 
new/yast2-3.3.7/package/yast2.changes
--- 

commit yast2 for openSUSE:Factory

2017-08-02 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-08-02 11:26:51

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Wed Aug  2 11:26:51 2017 rev:409 rq:513150 version:3.3.6

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-07-22 
02:32:04.474650749 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-08-02 
11:26:53.544999628 +0200
@@ -1,0 +2,15 @@
+Mon Jul 31 08:23:57 UTC 2017 - jreidin...@suse.com
+
+- WorkflowManager: allow to extend workflow from rpm package
+  (needed for FATE#323450)
+- WorkflowManager: drop never used support to extend workflow from
+  pattern
+- 3.3.6
+
+---
+Thu Jul 27 12:28:09 UTC 2017 - jreidin...@suse.com
+
+- drop reading /content file (FATE#322386)
+- 3.3.5
+
+---

Old:

  yast2-3.3.4.tar.bz2

New:

  yast2-3.3.6.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.73ckxv/_old  2017-08-02 11:26:54.072924990 +0200
+++ /var/tmp/diff_new_pack.73ckxv/_new  2017-08-02 11:26:54.072924990 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.3.4
+Version:3.3.6
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.3.4.tar.bz2 -> yast2-3.3.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.3.4/library/control/src/modules/WorkflowManager.rb 
new/yast2-3.3.6/library/control/src/modules/WorkflowManager.rb
--- old/yast2-3.3.4/library/control/src/modules/WorkflowManager.rb  
2017-07-21 16:47:07.656722812 +0200
+++ new/yast2-3.3.6/library/control/src/modules/WorkflowManager.rb  
2017-07-31 11:06:26.160824981 +0200
@@ -398,28 +398,40 @@
 # Download and extract the control file (installation.xml) from the add-on
 # repository.
 #
-# @param src_id [Fixnum] repository ID
+# @param source [String, Fixnum] source where to get control file. It can 
be fixnum for
+#   addon type or package name for package type
 # @return [String, nil] path to downloaded installation.xml file or nil
 #   or nil when no workflow is defined or the workflow package is missing
-def addon_control_file(src_id)
-  product = find_product(src_id)
-  return nil unless product && product["product_package"]
-
-  # the dependencies are bound to the product's -release package
-  release_package = Pkg.ResolvableDependencies(product["product_package"], 
:package, "").first
-
-  # find the package name with installer update in its Provide dependencies
-  control_file_package = find_control_package(release_package)
-  return nil unless control_file_package
+def control_file(source)
+  package = case source
+  when ::Integer
+product = find_product(source)
+return nil unless product && product["product_package"]
+
+product_package = product["product_package"]
+
+# the dependencies are bound to the product's -release package
+release_package = Pkg.ResolvableDependencies(product_package, 
:package, "").first
+
+# find the package name with installer update in its Provide 
dependencies
+control_file_package = find_control_package(release_package)
+return nil unless control_file_package
+
+control_file_package
+  when ::String
+source
+  else
+raise ArgumentError, "Invalid argument source #{source.inspect}"
+  end
 
   # get the repository ID of the package
-  src = package_repository(control_file_package)
+  src = package_repository(package)
   return nil unless src
 
-  # ensure the previous content is removed, the src_id should avoid
+  # ensure the previous content is removed, the src should avoid
   # collisions but rather be safe...
-  dir = addon_control_dir(src_id, cleanup: true)
-  fetch_package(src, control_file_package, dir)
+  dir = addon_control_dir(src, cleanup: true)
+  fetch_package(src, package, dir)
 
   path = File.join(dir, "installation.xml")
   return nil unless File.exist?(path)
@@ -452,21 +464,28 @@
 # Returns requested control filename. Parameter 'name' is ignored
 # for Add-Ons.
 #
-# @param [Symbol] type `addon or `pattern
+# @param [Symbol] type :addon or :package
 # @param [Fixnum] src_id with Source ID
-# @param [String] name with unique identification
-# @return [String] path to already cached workflow file, control file is 
downloaded if not 

commit yast2 for openSUSE:Factory

2017-07-21 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-07-22 02:32:02

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sat Jul 22 02:32:02 2017 rev:408 rq:511883 version:3.3.4

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-07-17 
10:31:24.873508492 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-07-22 
02:32:04.474650749 +0200
@@ -1,0 +2,21 @@
+Fri Jul 21 14:18:57 UTC 2017 - lsle...@suse.cz
+
+- cwm/rspec.rb: added tests in "CWM::RadioButtons" group for
+  optional #hspacing and #vspacing methods
+
+---
+Thu Jul 20 08:17:41 UTC 2017 - jreidin...@suse.com
+
+- CWM::WrapperWidget#cwm_defintion: also include widget id,
+  otherwise the widget would not show in a Pager, eg. Tabs
+  (bsc#1049595)
+- 3.3.4
+
+---
+Tue Jul 18 10:14:07 UTC 2017 - igonzalezs...@suse.com
+
+- Add YaST2 logs to the default list of files for System Log browser
+  (bsc#1049138)
+- 3.3.3
+
+---

Old:

  yast2-3.3.2.tar.bz2

New:

  yast2-3.3.4.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.NL90IS/_old  2017-07-22 02:32:05.070566512 +0200
+++ /var/tmp/diff_new_pack.NL90IS/_new  2017-07-22 02:32:05.070566512 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.3.2
+Version:3.3.4
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.3.2.tar.bz2 -> yast2-3.3.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.2/library/cwm/src/lib/cwm/rspec.rb 
new/yast2-3.3.4/library/cwm/src/lib/cwm/rspec.rb
--- old/yast2-3.3.2/library/cwm/src/lib/cwm/rspec.rb2017-07-13 
14:12:05.456949739 +0200
+++ new/yast2-3.3.4/library/cwm/src/lib/cwm/rspec.rb2017-07-21 
16:47:07.716722812 +0200
@@ -88,9 +88,26 @@
   include_examples "CWM::AbstractWidget"
 end
 
+RSpec.shared_examples "CWM spacing" do |method|
+  describe "##{method}" do
+it "returns and Integer or a Float number if defined" do
+  if subject.respond_to?(method)
+expect(subject.send(method)).to be_an(Integer).or be_a(Float)
+  end
+end
+
+it "returns a positive number or zero if defined" do
+  expect(subject.send(method)).to be >= 0 if subject.respond_to?(method)
+end
+  end
+end
+
 RSpec.shared_examples "CWM::RadioButtons" do
   include_examples "CWM::AbstractWidget"
   include_examples "CWM::ItemsSelection"
+
+  include_examples "CWM spacing", :hspacing
+  include_examples "CWM spacing", :vspacing
 end
 
 RSpec.shared_examples "CWM::ValueBasedWidget" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.3.2/library/cwm/src/lib/cwm/wrapper_widget.rb 
new/yast2-3.3.4/library/cwm/src/lib/cwm/wrapper_widget.rb
--- old/yast2-3.3.2/library/cwm/src/lib/cwm/wrapper_widget.rb   2017-07-13 
14:12:05.456949739 +0200
+++ new/yast2-3.3.4/library/cwm/src/lib/cwm/wrapper_widget.rb   2017-07-21 
16:47:07.732722812 +0200
@@ -25,7 +25,7 @@
 
 # returns given hash specification
 def cwm_definition
-  @content
+  @content.merge("_cwm_key" => widget_id)
 end
 
 def handle_all_events
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.2/library/cwm/test/wrapper_widget_test.rb 
new/yast2-3.3.4/library/cwm/test/wrapper_widget_test.rb
--- old/yast2-3.3.2/library/cwm/test/wrapper_widget_test.rb 2017-07-13 
14:12:05.460949739 +0200
+++ new/yast2-3.3.4/library/cwm/test/wrapper_widget_test.rb 2017-07-21 
16:47:07.768722812 +0200
@@ -7,15 +7,20 @@
 describe CWM::WrapperWidget do
   describe "#cwm_definition" do
 it "returns passed hash content" do
-  content = { "test" => "test" }
-  expect(described_class.new(content).cwm_definition).to eq content
+  content = { "test" => "value" }
+  expect(described_class.new(content).cwm_definition["test"]).to eq "value"
+end
+
+it "return hash that has _cwm_key key with widget id" do
+  content = { "test" => "value" }
+  expect(described_class.new(content, id: 
"wid").cwm_definition["_cwm_key"]).to eq "wid"
 end
   end
 
   describe "#widget_id" do
 it "returns passed widget id" do
-  content = { "test" => "test" }
-  expect(described_class.new(content, id: "test").widget_id).to eq "test"
+  content = { "test" => "value" }
+  expect(described_class.new(content, id: 

commit yast2 for openSUSE:Factory

2017-07-17 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-07-17 10:31:23

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Mon Jul 17 10:31:23 2017 rev:407 rq:510064 version:3.3.2

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-07-11 
08:23:51.324287791 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-07-17 
10:31:24.873508492 +0200
@@ -1,0 +2,14 @@
+Thu Jul 13 10:45:59 UTC 2017 - jreidin...@suse.com
+
+- Add Yast::Execute.on_target! and Yast::Execute.locally! variants
+  which raise a Cheetah exception if the command fails (bsc#1048512)
+- 3.3.2
+
+---
+Wed Jul 12 13:38:08 UTC 2017 - jreidin...@suse.com
+
+- convert Object#timeout usage to Timeout.timeout as ruby2.4 makes
+  it obsolete ( ruby2.4 will be for SLE15 so part of bsc#1044312)
+- 3.3.1
+
+---

Old:

  yast2-3.3.0.tar.bz2

New:

  yast2-3.3.2.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.TLH1gN/_old  2017-07-17 10:31:25.621403052 +0200
+++ /var/tmp/diff_new_pack.TLH1gN/_new  2017-07-17 10:31:25.625402488 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.3.0
+Version:3.3.2
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.3.0.tar.bz2 -> yast2-3.3.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.0/library/system/src/lib/yast2/execute.rb 
new/yast2-3.3.2/library/system/src/lib/yast2/execute.rb
--- old/yast2-3.3.0/library/system/src/lib/yast2/execute.rb 2017-07-10 
11:22:17.312954640 +0200
+++ new/yast2-3.3.2/library/system/src/lib/yast2/execute.rb 2017-07-13 
14:12:05.528949739 +0200
@@ -24,8 +24,10 @@
 require "cheetah"
 
 module Yast
-  # Module for executing scripts/programs in safe way. Uses cheetah as backend,
-  # but adds support for chrooting in installation.
+  # A module for executing scripts/programs in a safe way
+  # (not prone to shell quoting bugs).
+  # It uses {http://www.rubydoc.info/github/openSUSE/cheetah/ Cheetah}
+  # as the backend, but adds support for chrooting during the installation.
   class Execute
 # use y2log by default
 Cheetah.default_options = { logger: Y2Logger.instance }
@@ -33,10 +35,22 @@
 extend Yast::I18n
 textdomain "base"
 
-# Runs arguments with respect of changed root in installation.
-# @see http://www.rubydoc.info/github/openSUSE/cheetah/Cheetah.run 
parameter docs
-# @raise Cheetah::ExecutionFailed
+# Runs with chroot; a failure becomes a popup.
+# Runs a command described by *args*,
+# in a `chroot(2)` specified by the installation (WFM.scr_root).
+# Shows a {ReportClass#Error popup} if the command fails
+# and returns `nil` in such case.
+# @param args see 
http://www.rubydoc.info/github/openSUSE/cheetah/Cheetah.run
 def self.on_target(*args)
+  popup_error { on_target!(*args) }
+end
+
+# Runs with chroot; a failure becomes an exception.
+# Runs a command described by *args*,
+# in a `chroot(2)` specified by the installation (WFM.scr_root).
+# @param args see 
http://www.rubydoc.info/github/openSUSE/cheetah/Cheetah.run
+# @raise Cheetah::ExecutionFailed if the command fails
+def self.on_target!(*args)
   root = Yast::WFM.scr_root
 
   if args.last.is_a? ::Hash
@@ -45,17 +59,31 @@
 args.push(chroot: root)
   end
 
-  popup_error { Cheetah.run(*args) }
+  Cheetah.run(*args)
 end
 
-# Runs arguments without changed root.
-# @see http://www.rubydoc.info/github/openSUSE/cheetah/Cheetah.run 
parameter docs
-# @raise Cheetah::ExecutionFailed
+# Runs without chroot; a failure becomes a popup.
+# Runs a command described by *args*,
+# *disregarding* a `chroot(2)` specified by the installation 
(WFM.scr_root).
+# Shows a {ReportClass#Error popup} if the command fails
+# and returns `nil` in such case.
+# @param args see 
http://www.rubydoc.info/github/openSUSE/cheetah/Cheetah.run
 def self.locally(*args)
-  popup_error { Cheetah.run(*args) }
+  popup_error { locally!(*args) }
 end
 
-def self.popup_error()
+# Runs without chroot; a failure becomes an exception.
+# Runs a command described by *args*,
+# *disregarding* a `chroot(2)` specified by the installation 
(WFM.scr_root).
+# In other words, this is just an alias for `Cheetah.run`, provided for
+# API orthogonality.
+# @param args see 

commit yast2 for openSUSE:Factory

2017-07-11 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-07-11 08:23:49

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Tue Jul 11 08:23:49 2017 rev:406 rq:509120 version:3.3.0

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-07-02 
13:32:35.318353535 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-07-11 
08:23:51.324287791 +0200
@@ -1,0 +2,7 @@
+Mon Jul 10 08:09:15 UTC 2017 - jreidin...@suse.com
+
+- Fix omitting button in CWM::Dialog and make API consistent with
+  CWM.show (boo#1039901)
+- 3.3.0
+
+---

Old:

  yast2-3.2.40.tar.bz2

New:

  yast2-3.3.0.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.1QL23Z/_old  2017-07-11 08:23:51.936201488 +0200
+++ /var/tmp/diff_new_pack.1QL23Z/_new  2017-07-11 08:23:51.936201488 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.40
+Version:3.3.0
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.40.tar.bz2 -> yast2-3.3.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.40/library/cwm/src/lib/cwm/dialog.rb 
new/yast2-3.3.0/library/cwm/src/lib/cwm/dialog.rb
--- old/yast2-3.2.40/library/cwm/src/lib/cwm/dialog.rb  2017-06-29 
10:29:38.862757928 +0200
+++ new/yast2-3.3.0/library/cwm/src/lib/cwm/dialog.rb   2017-07-10 
11:22:16.620954640 +0200
@@ -1,6 +1,8 @@
 require "yast"
+require "abstract_method"
 
 Yast.import "CWM"
+Yast.import "Wizard"
 
 module CWM
   # An OOP API and the pieces missing from {Yast::CWMClass#show 
Yast::CWM.show}:
@@ -43,24 +45,24 @@
 end
 
 # The :back button
-# @return [String,true,nil] button label,
-#   `true` to use the default label, or `nil` to omit the button
+# @return [String, nil] button label,
+#   `nil` to use the default label, `""` to omit the button
 def back_button
-  true
+  nil
 end
 
 # The :abort button
-# @return [String,true,nil] button label,
-#   `true` to use the default label, or `nil` to omit the button
+# @return [String, nil] button label,
+#   `nil` to use the default label, `""` to omit the button
 def abort_button
-  true
+  nil
 end
 
 # The :next button
-# @return [String,true,nil] button label,
-#   `true` to use the default label, or `nil` to omit the button
+# @return [String, nil] button label,
+#   `nil` to use the default label, `""` to omit the button
 def next_button
-  true
+  nil
 end
 
 # @return [Array]
@@ -86,19 +88,11 @@
   Yast::CWM.show(
 contents,
 caption:title,
-back_button:replace_true(back_button, Yast::Label.BackButton),
-abort_button:   replace_true(abort_button, Yast::Label.AbortButton),
-next_button:replace_true(next_button, Yast::Label.NextButton),
+back_button:back_button,
+abort_button:   abort_button,
+next_button:next_button,
 skip_store_for: skip_store_for
   )
 end
-
-def replace_true(value, replacement)
-  if value == true
-replacement
-  else
-value
-  end
-end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.40/library/cwm/src/lib/cwm/rspec.rb 
new/yast2-3.3.0/library/cwm/src/lib/cwm/rspec.rb
--- old/yast2-3.2.40/library/cwm/src/lib/cwm/rspec.rb   2017-06-29 
10:29:38.866757928 +0200
+++ new/yast2-3.3.0/library/cwm/src/lib/cwm/rspec.rb2017-07-10 
11:22:16.620954640 +0200
@@ -137,20 +137,20 @@
   end
 
   describe "#back_button" do
-it "produces a String or true or nil" do
-  expect(subject.back_button).to be_a(String).or be(true).or be_nil
+it "produces a String or nil" do
+  expect(subject.back_button).to be_a(String).or be_nil
 end
   end
 
   describe "#abort_button" do
-it "produces a String or true or nil" do
-  expect(subject.abort_button).to be_a(String).or be(true).or be_nil
+it "produces a String or nil" do
+  expect(subject.abort_button).to be_a(String).or be_nil
 end
   end
 
   describe "#next_button" do
-it "produces a String or true or nil" do
-  expect(subject.next_button).to be_a(String).or be(true).or be_nil
+it "produces a String or nil" do
+  expect(subject.next_button).to be_a(String).or be_nil
 end
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit yast2 for openSUSE:Factory

2017-07-02 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-07-02 13:32:34

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sun Jul  2 13:32:34 2017 rev:405 rq:506966 version:3.2.40

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-06-24 
08:33:25.133173431 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-07-02 
13:32:35.318353535 +0200
@@ -1,0 +2,10 @@
+Fri Jun 23 07:26:03 UTC 2017 - mvid...@suse.com
+
+- Support for the new Expert Partitioner (boo#1039901):
+- Added UI::Sequence, UI::Greasemonkey
+- Added CWM::Dialog
+- RSpec.shared_examples for CWM: Page, PushButton, RadioButtons,
+  RichText.
+- 3.2.40
+
+---

Old:

  yast2-3.2.39.tar.bz2

New:

  yast2-3.2.40.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.o8XTyK/_old  2017-07-02 13:32:35.970261611 +0200
+++ /var/tmp/diff_new_pack.o8XTyK/_new  2017-07-02 13:32:35.970261611 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.39
+Version:3.2.40
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.39.tar.bz2 -> yast2-3.2.40.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.39/library/cwm/src/Makefile.am 
new/yast2-3.2.40/library/cwm/src/Makefile.am
--- old/yast2-3.2.39/library/cwm/src/Makefile.am2017-06-22 
16:34:32.438119103 +0200
+++ new/yast2-3.2.40/library/cwm/src/Makefile.am2017-06-29 
10:29:38.850757928 +0200
@@ -15,6 +15,7 @@
   lib/cwm/abstract_widget.rb \
   lib/cwm/common_widgets.rb \
   lib/cwm/custom_widget.rb \
+  lib/cwm/dialog.rb \
   lib/cwm/page.rb \
   lib/cwm/pager.rb \
   lib/cwm/replace_point.rb \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.39/library/cwm/src/lib/cwm/dialog.rb 
new/yast2-3.2.40/library/cwm/src/lib/cwm/dialog.rb
--- old/yast2-3.2.39/library/cwm/src/lib/cwm/dialog.rb  1970-01-01 
01:00:00.0 +0100
+++ new/yast2-3.2.40/library/cwm/src/lib/cwm/dialog.rb  2017-06-29 
10:29:38.862757928 +0200
@@ -0,0 +1,104 @@
+require "yast"
+
+Yast.import "CWM"
+
+module CWM
+  # An OOP API and the pieces missing from {Yast::CWMClass#show 
Yast::CWM.show}:
+  # - creating and closing a wizard dialog
+  # - Back/Abort/Next buttons
+  #
+  # @see UI::Dialog
+  # @see CWM::AbstractWidget
+  class Dialog
+include Yast::Logger
+include Yast::I18n
+include Yast::UIShortcuts
+
+# @return [String,nil] The dialog title. `nil`: keep the existing title.
+def title
+  nil
+end
+
+# @return [CWM::WidgetTerm]
+abstract_method :contents
+
+# A shortcut for `.new(*args).run`
+def self.run(*args)
+  new(*args).run
+end
+
+# The entry point.
+# Will open (and close) a wizard dialog unless one already exists.
+# @return [Symbol]
+def run
+  if should_open_dialog?
+wizard_create_dialog { cwm_show }
+  else
+cwm_show
+  end
+end
+
+def should_open_dialog?
+  !Yast::Wizard.IsWizardDialog
+end
+
+# The :back button
+# @return [String,true,nil] button label,
+#   `true` to use the default label, or `nil` to omit the button
+def back_button
+  true
+end
+
+# The :abort button
+# @return [String,true,nil] button label,
+#   `true` to use the default label, or `nil` to omit the button
+def abort_button
+  true
+end
+
+# The :next button
+# @return [String,true,nil] button label,
+#   `true` to use the default label, or `nil` to omit the button
+def next_button
+  true
+end
+
+# @return [Array]
+#   Events for which `store` won't be called, see {Yast::CWMClass#show}
+def skip_store_for
+  []
+end
+
+  private
+
+# Create a wizard dialog, run the *block*, ensure the dialog is closed.
+# @param block
+def wizard_create_dialog()
+  Yast::Wizard.CreateDialog
+  block.call
+ensure
+  Yast::Wizard.CloseDialog
+end
+
+# Call {Yast::CWMClass#show} with appropriate arguments
+# @return [Symbol] wizard sequencer symbol
+def cwm_show
+  Yast::CWM.show(
+contents,
+caption:title,
+back_button:replace_true(back_button, Yast::Label.BackButton),
+abort_button:   replace_true(abort_button, Yast::Label.AbortButton),
+next_button:replace_true(next_button, Yast::Label.NextButton),
+skip_store_for: skip_store_for
+  )
+end
+
+def 

commit yast2 for openSUSE:Factory

2017-06-24 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-06-24 08:33:23

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Sat Jun 24 08:33:23 2017 rev:404 rq:505698 version:3.2.39

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-06-20 
09:32:37.381824443 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-06-24 
08:33:25.133173431 +0200
@@ -1,0 +2,6 @@
+Thu Jun 22 11:27:46 UTC 2017 - jreidin...@suse.com
+
+- Add hint for UI about application name and its icon (bsc#1037891)
+- 3.2.39
+
+---

Old:

  yast2-3.2.38.tar.bz2

New:

  yast2-3.2.39.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.kR4AQy/_old  2017-06-24 08:33:25.721090298 +0200
+++ /var/tmp/diff_new_pack.kR4AQy/_new  2017-06-24 08:33:25.721090298 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.38
+Version:3.2.39
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.38.tar.bz2 -> yast2-3.2.39.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.38/package/yast2.changes 
new/yast2-3.2.39/package/yast2.changes
--- old/yast2-3.2.38/package/yast2.changes  2017-06-16 15:53:41.986328511 
+0200
+++ new/yast2-3.2.39/package/yast2.changes  2017-06-22 16:34:32.606119103 
+0200
@@ -1,4 +1,10 @@
 ---
+Thu Jun 22 11:27:46 UTC 2017 - jreidin...@suse.com
+
+- Add hint for UI about application name and its icon (bsc#1037891)
+- 3.2.39
+
+---
 Tue Jun  6 10:33:22 UTC 2017 - jreidin...@suse.com
 
 - Fix showing help text when CWM::ReplacePoint contains another
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.38/package/yast2.spec 
new/yast2-3.2.39/package/yast2.spec
--- old/yast2-3.2.38/package/yast2.spec 2017-06-16 15:53:41.986328511 +0200
+++ new/yast2-3.2.39/package/yast2.spec 2017-06-22 16:34:32.606119103 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.38
+Version:3.2.39
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.38/scripts/yast2 
new/yast2-3.2.39/scripts/yast2
--- old/yast2-3.2.38/scripts/yast2  2017-06-16 15:53:41.986328511 +0200
+++ new/yast2-3.2.39/scripts/yast2  2017-06-22 16:34:32.610119103 +0200
@@ -67,7 +67,8 @@
 # --fullscreen
 # --noborder
 # well also for gtk and ncurses
-Y2UI_ARGS=""
+# add hints for ui about app name and icon
+Y2UI_ARGS="-name YaST2 -icon yast"
 GNOME_SHELL="$ybindir/y2controlcenter-gnome"
 KDE_SHELL="$ybindir/y2controlcenter"
 




commit yast2 for openSUSE:Factory

2017-06-20 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-06-20 09:32:33

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Tue Jun 20 09:32:33 2017 rev:403 rq:504224 version:3.2.38

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-06-07 
13:08:54.911376395 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-06-20 
09:32:37.381824443 +0200
@@ -1,0 +2,9 @@
+Tue Jun  6 10:33:22 UTC 2017 - jreidin...@suse.com
+
+- Fix showing help text when CWM::ReplacePoint contains another
+  CWM::ReplacePoint. Fix including new
+  CWM::AbstractWidget#refresh_help functionality for widgets where
+  help text can change during its lifetime. (boo#1039901)
+- 3.2.38
+
+---

Old:

  yast2-3.2.37.tar.bz2

New:

  yast2-3.2.38.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.4xtsEa/_old  2017-06-20 09:32:38.013735295 +0200
+++ /var/tmp/diff_new_pack.4xtsEa/_new  2017-06-20 09:32:38.017734731 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.37
+Version:3.2.38
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.37.tar.bz2 -> yast2-3.2.38.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.37/library/cwm/examples/replace_point_with_nested_replace_point.rb
 
new/yast2-3.2.38/library/cwm/examples/replace_point_with_nested_replace_point.rb
--- 
old/yast2-3.2.37/library/cwm/examples/replace_point_with_nested_replace_point.rb
1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-3.2.38/library/cwm/examples/replace_point_with_nested_replace_point.rb
2017-06-16 15:53:41.894328511 +0200
@@ -0,0 +1,164 @@
+# Simple example to demonstrate object oriented replace_point widget
+
+require_relative "example_helper"
+
+require "yast"
+
+require "cwm"
+
+Yast.import "UI"
+Yast.import "CWM"
+Yast.import "Wizard"
+Yast.import "Popup"
+
+class SwitchWidget < CWM::PushButton
+  def initialize(replace_point, widgets)
+@replace_point = replace_point
+@widgets = widgets
+  end
+
+  def label
+"Switch"
+  end
+
+  def handle
+@widgets.rotate!
+@replace_point.replace(@widgets.first)
+  end
+end
+
+class PopupButtonWidget < CWM::PushButton
+  def label
+"Popup"
+  end
+
+  def handle
+Yast::Popup.Message("Click!")
+  end
+
+  def help
+"shows nice click popup"
+  end
+end
+
+class WrappedPopup < CWM::CustomWidget
+  def contents
+VBox(
+  PopupButtonWidget.new
+)
+  end
+end
+
+class StoreWidget < CWM::InputField
+  def label
+"write here"
+  end
+
+  def validate
+return true unless value.empty?
+
+Yast::Popup.Error("Empty value!")
+false
+  end
+
+  def store
+Yast::Popup.Message(value)
+  end
+end
+
+class LuckyNumberWidget < CWM::IntField
+  attr_reader :result, :minimum, :maximum
+
+  def initialize
+@minimum = 0
+@maximum = 1000
+  end
+
+  def label
+_("Lucky number")
+  end
+
+  def store
+@result = value
+  end
+end
+
+class GenerateButton < CWM::PushButton
+  def initialize(lucky_number_widget)
+@lucky_number_widget = lucky_number_widget
+  end
+
+  def label
+_("Generate Lucky Number")
+  end
+
+  def handle
+Yast::Builtins.y2milestone("handle called")
+@lucky_number_widget.value = rand(1000)
+
+nil
+  end
+end
+
+class LuckyNumberGenerator < CWM::CustomWidget
+  def contents
+HBox(
+  button_widget,
+  lucky_number_widget
+)
+  end
+
+  def result
+lucky_number_widget.result
+  end
+
+private
+
+  def button_widget
+@button_widget ||= GenerateButton.new(lucky_number_widget)
+  end
+
+  def lucky_number_widget
+@lucky_number_widget ||= LuckyNumberWidget.new
+  end
+end
+
+class Page < CWM::CustomWidget
+  def contents
+VBox(
+  PushButton(Id(:innew_switch), "Inner Switch"),
+  replace_point
+)
+  end
+
+  def handle
+widgets.rotate!
+replace_point.replace(widgets.first)
+  end
+
+  def lucky_number_generator
+@lng = LuckyNumberGenerator.new
+  end
+
+  def widgets
+@widgets ||= [
+  CWM::Empty.new("test_empty"),
+  PopupButtonWidget.new
+]
+  end
+
+  def replace_point
+@replace_point ||= CWM::ReplacePoint.new(id: "inner_replace", widget: 
widgets.first)
+  end
+end
+
+widgets = [WrappedPopup.new, StoreWidget.new, Page.new]
+replace_point = CWM::ReplacePoint.new(widget: widgets.first)
+
+content = Yast::Term.new(:VBox,
+  SwitchWidget.new(replace_point, widgets),
+  replace_point)
+
+Yast::Wizard.CreateDialog

commit yast2 for openSUSE:Factory

2017-06-07 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-06-07 13:08:53

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Wed Jun  7 13:08:53 2017 rev:402 rq:501166 version:3.2.37

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-04-25 
08:56:18.854988355 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-06-07 
13:08:54.911376395 +0200
@@ -1,0 +2,64 @@
+Fri Jun  2 15:54:34 UTC 2017 - jlo...@suse.com
+
+- Add EventDispatcher#event_handler to allow custom events
+  management, for example to delegate to a widget. Part of
+  (fate#305633)
+- 3.2.37
+
+---
+Thu Jun  1 12:45:01 UTC 2017 - jreidin...@suse.com
+
+- Fix distribution of new CWM::WrapperWidget (bsc#1032725)
+- 3.2.36
+
+---
+Thu Jun 01 08:13:57 UTC 2017 - jreidin...@suse.com
+
+- CWM: Add object wrapper to allow running object CWM with old
+  hash style widgets (bsc#1032725)
+- fix nested pagers to have unique ids
+- 3.2.35
+
+---
+Wed May 31 08:13:57 UTC 2017 - jreidin...@suse.com
+
+- Fix CWM::ReplacePoint to work with CWM::Custom widget and use it
+  in all pagers (boo#1039901)
+- Fix calling handle in CWM::RadioButtons
+- 3.2.34
+
+---
+Wed May 31 08:13:56 UTC 2017 - gso...@suse.com
+
+- Warning messages shouldn't open UI in command-line mode
+  (bsc#1036440).
+- 3.2.33
+
+---
+Mon May 22 12:01:15 UTC 2017 - mvid...@suse.com
+
+- Added CWM::Pager, CWM::Tree + CWM::TreeItem,
+  CWM::TreePager + CWM::PagerTreeItem (boo#1039901)
+- 3.2.32
+
+---
+Fri May 19 12:24:43 UTC 2017 - mvid...@suse.com
+
+- Added CWM::Table (boo#1039901)
+- 3.2.31
+
+---
+Thu May 18 13:35:05 UTC 2017 - lsle...@suse.cz
+
+- Translation fix: Ruby gettext cannot extract translatable texts
+  from interpolated strings (bsc#1038077)
+- 3.2.30
+
+---
+Tue May 16 12:04:40 UTC 2017 - mvid...@suse.com
+
+- Added cwm/rspec with shared_examples for CWM::AbstractWidget
+  and its children (boo#1039302)
+- 3.2.29
+
+---
@@ -14874 +14937,0 @@
-

Old:

  yast2-3.2.28.tar.bz2

New:

  yast2-3.2.37.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.AfNpl2/_old  2017-06-07 13:08:56.231190151 +0200
+++ /var/tmp/diff_new_pack.AfNpl2/_new  2017-06-07 13:08:56.235189588 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.28
+Version:3.2.37
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.28.tar.bz2 -> yast2-3.2.37.tar.bz2 ++
 5227 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2017-04-25 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-04-25 08:56:16

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Tue Apr 25 08:56:16 2017 rev:401 rq:489337 version:3.2.28

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-04-12 
17:10:45.565609375 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-04-25 
08:56:18.854988355 +0200
@@ -1,0 +2,6 @@
+Wed Apr 19 14:16:33 UTC 2017 - lsle...@suse.cz
+
+- Fixed parsing whitespace lines in /etc/fstab (bsc#1030425)
+- 3.2.28
+
+---

Old:

  yast2-3.2.27.tar.bz2

New:

  yast2-3.2.28.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.QJXnWg/_old  2017-04-25 08:56:20.674731042 +0200
+++ /var/tmp/diff_new_pack.QJXnWg/_new  2017-04-25 08:56:20.674731042 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.27
+Version:3.2.28
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.27.tar.bz2 -> yast2-3.2.28.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.27/library/general/src/scrconf/etc_fstab.scr 
new/yast2-3.2.28/library/general/src/scrconf/etc_fstab.scr
--- old/yast2-3.2.27/library/general/src/scrconf/etc_fstab.scr  2017-04-12 
10:35:57.058772663 +0200
+++ new/yast2-3.2.28/library/general/src/scrconf/etc_fstab.scr  2017-04-19 
16:32:39.495807122 +0200
@@ -42,10 +42,17 @@
  */
 .etc.fstab
 
+/*
+ * Note: the same agent definition is used in
+ * 
https://github.com/yast/yast-update/blob/e2052274034f5240e9f09bceae7c6d888b18468d/src/modules/RootPart.rb#L812
+ * apply any fixes also there.
+ */
+
 `ag_anyagent(
   `Description (
   (`File("/etc/fstab")),   // real file name
-  "#\n",   // Comment
+  // tab and space is a workaround for white space only lines (bsc#1030425)
+  "#\n\t ",// Comment
   false,   // read-only
   (`List (
`Tuple (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.27/library/general/test/agents_test/fstab_agent_test.rb 
new/yast2-3.2.28/library/general/test/agents_test/fstab_agent_test.rb
--- old/yast2-3.2.27/library/general/test/agents_test/fstab_agent_test.rb   
2017-04-12 10:35:57.058772663 +0200
+++ new/yast2-3.2.28/library/general/test/agents_test/fstab_agent_test.rb   
2017-04-19 16:32:39.519807122 +0200
@@ -21,7 +21,14 @@
   root = File.join(File.dirname(__FILE__), "test_root2")
   change_scr_root(root)
   expect(content).to be_a(Array)
+end
 
+it "can read fstab containing just whitespace lines" do
+  reset_scr_root
+  root = File.join(File.dirname(__FILE__), "test_root3")
+  change_scr_root(root)
+  # all lines are returned
+  expect(content.size).to eq(6)
 end
 
 it "returns an array containing nfs entries" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.27/library/general/test/agents_test/test_root3/etc/fstab 
new/yast2-3.2.28/library/general/test/agents_test/test_root3/etc/fstab
--- old/yast2-3.2.27/library/general/test/agents_test/test_root3/etc/fstab  
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.2.28/library/general/test/agents_test/test_root3/etc/fstab  
2017-04-19 16:32:39.587807122 +0200
@@ -0,0 +1,8 @@
+UUID=b66c1028-cd4a-4c08-b92d-fc4b9840845d  /   ext4
noatime,data=writeback,acl,user_xattr 1 1 
+UUID=d2811ace-66e0-4ef2-9b68-9b2758359391  /home   ext4
noatime,data=writeback,acl 1 2 
+ 
+192.168.1.2:/home/kv   /home/kv2   nfs defaults 0 0 
+192.168.1.2:/media/new2/media/new2 nfs defaults 0 0 
+192.168.1.2:/media/new /media/new  nfs defaults 0 0 
+# my fine comment
+tmpfs/tmp tmpfs  defaults,size=25% 
 0 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.27/library/network/src/lib/network/susefirewall2.rb 
new/yast2-3.2.28/library/network/src/lib/network/susefirewall2.rb
--- old/yast2-3.2.27/library/network/src/lib/network/susefirewall2.rb   
2017-04-12 10:35:57.066772663 +0200
+++ new/yast2-3.2.28/library/network/src/lib/network/susefirewall2.rb   
2017-04-19 16:32:39.843807122 +0200
@@ -259,12 +259,12 @@
 # This is just a helper function that could avoid from filling y2log up 
with
 # a lot of the very same messages - 'foreach()' is a very 

commit yast2 for openSUSE:Factory

2017-04-12 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-04-12 17:10:43

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Wed Apr 12 17:10:43 2017 rev:400 rq:487507 version:3.2.27

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-03-29 
13:23:11.740126687 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-04-12 
17:10:45.565609375 +0200
@@ -1,0 +2,25 @@
+Mon Apr 10 15:23:06 UTC 2017 - jreidin...@suse.com
+
+- Set correct title when wizard is supported (bsc#1033161#c4)
+- 3.2.27
+
+---
+Fri Apr  7 12:35:24 UTC 2017 - jreidin...@suse.com
+
+- start using y2start instead of y2base (bsc#1027181)
+- 3.2.26
+
+---
+Mon Apr  3 16:00:22 CEST 2017 - mgerst...@suse.de
+
+- don't generate multiline entries, it's against SuSEfirewall2 recommendation
+  multiline entries create trouble with fillup, see bsc#798468
+- 3.2.25
+
+---
+Thu Mar 30 11:51:43 UTC 2017 - lsle...@suse.cz
+
+- Fixed downloading installer extension package (FATE#320772)
+- 3.2.24
+
+---

Old:

  yast2-3.2.23.tar.bz2

New:

  yast2-3.2.27.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.eHUpNR/_old  2017-04-12 17:10:46.341499539 +0200
+++ /var/tmp/diff_new_pack.eHUpNR/_new  2017-04-12 17:10:46.345498973 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.23
+Version:3.2.27
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
@@ -46,7 +46,8 @@
 # To have Yast::WFM.scr_root
 BuildRequires:  yast2-ruby-bindings >= 3.2.8
 BuildRequires:  yast2-testsuite
-BuildRequires:  yast2-ycp-ui-bindings >= 3.1.8
+# UI::.SetApplicationTitle
+BuildRequires:  yast2-ycp-ui-bindings >= 3.2.0
 # for the PackageExtractor tests, just make sure they are present,
 # these should be installed in the default build anyway
 BuildRequires:  cpio
@@ -76,10 +77,11 @@
 Requires:   yast2-perl-bindings
 # changed StartPackage callback signature
 Requires:   yast2-pkg-bindings >= 2.20.3
-Requires:   yast2-ruby-bindings >= 3.2.8
+# for y2start
+Requires:   yast2-ruby-bindings >= 3.2.10
 Requires:   yast2-xml
-# new UI::SetApplicationIcon
-Requires:   yast2-ycp-ui-bindings >= 3.1.8
+# new UI::SetApplicationTitle
+Requires:   yast2-ycp-ui-bindings >= 3.2.0
 Requires:   yui_backend
 # pre-requires for filling the sysconfig template (sysconfig.yast2)
 PreReq: %fillup_prereq

++ yast2-3.2.23.tar.bz2 -> yast2-3.2.27.tar.bz2 ++
 1882 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2017-03-29 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-03-29 13:23:10

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Wed Mar 29 13:23:10 2017 rev:399 rq:482978 version:3.2.23

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-03-21 
22:47:38.594948976 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-03-29 
13:23:11.740126687 +0200
@@ -1,0 +2,31 @@
+Tue Mar 28 07:25:39 WEST 2017 - knut.anders...@suse.com
+
+- SlideShow: Escape plain text release notes being shown properly
+  in RichText (bsc#1028721).
+- 3.2.23
+
+---
+Fri Mar 24 09:37:44 UTC 2017 - lsle...@suse.cz
+
+- Download the addon installation.xml file from a package
+  referenced by the "installerextension" provides dependency
+  (FATE#320772)
+- 3.2.22
+
+---
+
+Wed Mar 22 16:53:07 UTC 2017 - jreidin...@suse.com
+
+- Use for Yast::TargetFile and Yast::Execute real path where scr
+  operates. It allows easier switching scr in unit tests.
+  (needed for testing fix for bsc#1023204)
+- 3.2.21
+
+---
+Wed Mar 22 15:37:51 UTC 2017 - an...@suse.com
+
+- Added options to CWM::RadioButtons to set some extra spaces
+  (related to poo#14936 and bsc#1025415).
+- 3.2.20
+
+---

Old:

  yast2-3.2.19.tar.bz2

New:

  yast2-3.2.23.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.eRZxNh/_old  2017-03-29 13:23:12.548012432 +0200
+++ /var/tmp/diff_new_pack.eRZxNh/_new  2017-03-29 13:23:12.552011867 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.19
+Version:3.2.23
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
@@ -43,8 +43,8 @@
 BuildRequires:  yast2-core >= 2.18.12
 BuildRequires:  yast2-devtools >= 3.1.10
 BuildRequires:  yast2-pkg-bindings >= 2.20.3
-# To have Yast::CoreExt::AnsiString
-BuildRequires:  yast2-ruby-bindings >= 3.1.36
+# To have Yast::WFM.scr_root
+BuildRequires:  yast2-ruby-bindings >= 3.2.8
 BuildRequires:  yast2-testsuite
 BuildRequires:  yast2-ycp-ui-bindings >= 3.1.8
 # for the PackageExtractor tests, just make sure they are present,
@@ -76,7 +76,7 @@
 Requires:   yast2-perl-bindings
 # changed StartPackage callback signature
 Requires:   yast2-pkg-bindings >= 2.20.3
-Requires:   yast2-ruby-bindings >= 3.1.33
+Requires:   yast2-ruby-bindings >= 3.2.8
 Requires:   yast2-xml
 # new UI::SetApplicationIcon
 Requires:   yast2-ycp-ui-bindings >= 3.1.8

++ yast2-3.2.19.tar.bz2 -> yast2-3.2.23.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.19/library/control/src/modules/WorkflowManager.rb 
new/yast2-3.2.23/library/control/src/modules/WorkflowManager.rb
--- old/yast2-3.2.19/library/control/src/modules/WorkflowManager.rb 
2017-03-20 15:26:45.025124529 +0100
+++ new/yast2-3.2.23/library/control/src/modules/WorkflowManager.rb 
2017-03-28 10:04:21.924733274 +0200
@@ -21,7 +21,7 @@
 # you may find current contact information at www.novell.com
 #
 # ***
-# File:modules/WorkflowManager.ycp
+# File:modules/WorkflowManager.rb
 # Package: yast2
 # Summary: Provides API for configuring workflows
 # Authors: Lukas Ocilka 
@@ -34,9 +34,11 @@
 #
 # Module unifies Add-Ons and Patterns modifying the workflow.
 #
-# $Id: $
 require "yast"
 
+require "packages/package_downloader"
+require "packages/package_extractor"
+
 module Yast
   class WorkflowManagerClass < Module
 include Yast::Logger
@@ -393,6 +395,60 @@
   file_location
 end
 
+# Download and extract the control file (installation.xml) from the add-on
+# repository.
+#
+# @param src_id [Fixnum] repository ID
+# @return [String, nil] path to downloaded installation.xml file or nil
+#   or nil when no workflow is defined or the workflow package is missing
+def addon_control_file(src_id)
+  product = find_product(src_id)
+  return nil unless product && product["product_package"]
+
+  # the dependencies are bound to the product's -release package
+  release_package = Pkg.ResolvableDependencies(product["product_package"], 
:package, "").first
+
+  # find the package name with installer update in its Provide dependencies
+  control_file_package = 

commit yast2 for openSUSE:Factory

2017-03-21 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-03-21 22:47:36

Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and  /work/SRC/openSUSE:Factory/.yast2.new (New)


Package is "yast2"

Tue Mar 21 22:47:36 2017 rev:398 rq:481344 version:3.2.19

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-02-18 
03:16:30.810262675 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-03-21 
22:47:38.594948976 +0100
@@ -1,0 +2,34 @@
+Mon Mar 20 10:11:52 UTC 2017 - lsle...@suse.cz
+
+- Added PackageDownloader and PackageExtractor classes for sharing
+  the package downloading and extracting functions (fate#320772)
+- 3.2.19
+
+---
+Mon Mar 20 08:09:06 UTC 2017 - mfi...@suse.com
+
+- bnc#1026027
+  - removed insserv calls
+- 3.2.18
+
+---
+Thu Mar 16 13:48:06 CET 2017 - sch...@suse.de
+
+- UnitFileState will be used for evaluating enable state of
+  services. If it has an invalid value "systemctl is-enabled"
+  has to be called instead. (bnc#1012047)
+- 3.2.17
+
+---
+Wed Mar 15 14:19:44 UTC 2017 - an...@suse.com
+
+- Added FileChanges.created_files (part of fix for bsc#1027582)
+- 3.2.16
+
+---
+Wed Mar  8 15:26:48 UTC 2017 - igonzalezs...@suse.com
+
+- Support to add roles through addons (FATE#320772)
+- 3.2.15
+
+---

Old:

  yast2-3.2.14.tar.bz2

New:

  yast2-3.2.19.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.KQKR2Y/_old  2017-03-21 22:47:39.290850594 +0100
+++ /var/tmp/diff_new_pack.KQKR2Y/_new  2017-03-21 22:47:39.294850029 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.14
+Version:3.2.19
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
@@ -47,6 +47,11 @@
 BuildRequires:  yast2-ruby-bindings >= 3.1.36
 BuildRequires:  yast2-testsuite
 BuildRequires:  yast2-ycp-ui-bindings >= 3.1.8
+# for the PackageExtractor tests, just make sure they are present,
+# these should be installed in the default build anyway
+BuildRequires:  cpio
+BuildRequires:  rpm
+
 # for ag_tty (/bin/stty)
 # for /usr/bin/md5sum
 Requires:   coreutils
@@ -97,6 +102,10 @@
 Requires:   bind-utils
 %endif
 Obsoletes:  yast2-devel-doc
+# for the PackageExtractor class, just make sure they are present,
+# these should be present even in a very minimal installation
+Requires:   cpio
+Requires:   rpm
 
 %description
 This package contains scripts and data needed for SUSE Linux

++ yast2-3.2.14.tar.bz2 -> yast2-3.2.19.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.14/library/control/src/modules/ProductControl.rb 
new/yast2-3.2.19/library/control/src/modules/ProductControl.rb
--- old/yast2-3.2.14/library/control/src/modules/ProductControl.rb  
2017-02-16 17:10:05.542221488 +0100
+++ new/yast2-3.2.19/library/control/src/modules/ProductControl.rb  
2017-03-20 15:26:45.021124529 +0100
@@ -33,6 +33,12 @@
 
 module Yast
   class ProductControlClass < Module
+include Yast::Logger
+
+# Product control system roles key
+# @return [String] System roles
+SYSTEM_ROLES_KEY = "system_roles".freeze
+
 def main
   Yast.import "UI"
   textdomain "base"
@@ -67,6 +73,9 @@
   # modules to be offered to clone configuration at the end of installation
   @clone_modules = []
 
+  # roles
+  @system_roles = []
+
   # additional workflow parameters
   # workflow doesn't only match mode and stage but also these params
   # bnc #427002
@@ -293,6 +302,7 @@
   @proposals = Ops.get_list(@productControl, "proposals", [])
   @inst_finish = Ops.get_list(@productControl, "inst_finish_stages", [])
   @clone_modules = Ops.get_list(@productControl, "clone_modules", [])
+  @system_roles = @productControl.fetch(SYSTEM_ROLES_KEY, [])
 
   Builtins.foreach(
 ["software", "globals", "network", "partitioning", "texts"]
@@ -1591,11 +1601,27 @@
   nil
 end
 
+# Add new system roles
+#
+# For the time being, new roles are appended to the list of roles.
+#
+# @example Adding a simple role
+#   ProductControl.system_roles #=> [{"id" => "normal_role"}]
+#   ProductControl.add_system_roles([{"id" => "new_role"}])
+#   ProductControl.system_roles #=> [{"id" => "normal_roles"}, {"id" => 
"new_role"}]
+#
+# @param 

  1   2   3   >