commit yast2 for openSUSE:Factory

2017-02-17 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-02-18 03:16:29

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-01-23 
11:27:33.457526556 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-02-18 
03:16:30.810262675 +0100
@@ -1,0 +2,14 @@
+Wed Feb  8 14:39:13 UTC 2017 - jreidin...@suse.com
+
+- Allow Pattern selector to have more generic button names and
+  enablement (needed for poo#14936, bsc#1025415)
+- 3.2.14
+
+---
+Fri Jan 20 18:58:27 UTC 2017 - jreidin...@suse.com
+
+- Fix error popup when replacing widget with CWM::ReplacePoint
+  (FATE#322328)
+- 3.2.13
+
+---

Old:

  yast2-3.2.12.tar.bz2

New:

  yast2-3.2.14.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.zHPC8M/_old  2017-02-18 03:16:31.394180206 +0100
+++ /var/tmp/diff_new_pack.zHPC8M/_new  2017-02-18 03:16:31.394180206 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.12
+Version:3.2.14
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.12.tar.bz2 -> yast2-3.2.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.12/library/cwm/src/lib/cwm/widget.rb 
new/yast2-3.2.14/library/cwm/src/lib/cwm/widget.rb
--- old/yast2-3.2.12/library/cwm/src/lib/cwm/widget.rb  2017-01-20 
08:38:44.930398301 +0100
+++ new/yast2-3.2.14/library/cwm/src/lib/cwm/widget.rb  2017-02-16 
17:10:05.654221488 +0100
@@ -836,7 +836,7 @@
 # placeholder needed to be in dialog. Parameter type is limited by 
component
 # system
 # @param widget [CWM::AbstractWidget] initial widget in placeholder
-def initialize(id: :_placeholder, widget: Empty.new(:_initial_placeholder))
+def initialize(id: "_placeholder", widget: 
Empty.new("_initial_placeholder"))
   self.handle_all_events = true
   self.widget_id = id
   @widget = widget
@@ -855,7 +855,7 @@
 # @param widget [CWM::AbstractWidget] widget to display and process events
 def replace(widget)
   log.info "replacing with new widget #{widget.inspect}"
-  Yast::UI.ReplaceWidget(@id, widget_content(widget))
+  Yast::UI.ReplaceWidget(Id(widget_id), widget_content(widget))
   @widget = widget
   init
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.12/library/packages/src/modules/PackagesUI.rb 
new/yast2-3.2.14/library/packages/src/modules/PackagesUI.rb
--- old/yast2-3.2.12/library/packages/src/modules/PackagesUI.rb 2017-01-20 
08:38:44.974398301 +0100
+++ new/yast2-3.2.14/library/packages/src/modules/PackagesUI.rb 2017-02-16 
17:10:06.306221488 +0100
@@ -335,7 +335,7 @@
 # @return [Symbol] Return `accept or `cancel
 #
 #
-def RunPatternSelector
+def RunPatternSelector(enable_back: false, cancel_label: 
Label.CancelButton)
   Builtins.y2milestone("Running pattern selection dialog")
 
   if !UI.HasSpecialWidget(:PatternSelector) ||
@@ -378,9 +378,9 @@
   # [ Back ] [ Cancel ] [ Accept ] buttons with [ Back ] disabled
   Wizard.OpenNextBackDialog
   Wizard.SetBackButton(:back, Label.BackButton)
-  Wizard.SetAbortButton(:cancel, Label.CancelButton)
+  Wizard.SetAbortButton(:cancel, cancel_label)
   Wizard.SetNextButton(:accept, Label.OKButton)
-  Wizard.DisableBackButton
+  enable_back ? Wizard.EnableBackButton : Wizard.DisableBackButton
 
   Wizard.SetContents(
 # Dialog title
@@ -388,7 +388,7 @@
 _("Software Selection and System Tasks"),
 PatternSelector(Id(:patterns)),
 help_text,
-false, # has_back
+enable_back,
 true
   ) # has_next
 
@@ -408,7 +408,7 @@
 result = nil
   end
 end
-break if result == :cancel || result == :accept
+break if result == :cancel || result == :accept || result == :back
   end
 
   Wizard.CloseDialog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.12/package/yast2.changes 
new/yast2-3.2.14/package/yast2.changes
--- old/yast2-3.2.12/package/yast2.changes  2017-01-20 08:38:45.022398301 
+0100
+++ new/yast2-3.2.14/package/yast2.changes  2017-02-16 17:10:06.686221488 
+0100
@@ -1,4 +1,18 @@
 ---
+Wed Feb  8 14:39:13 UTC 2017 - j

commit yast2 for openSUSE:Factory

2017-01-23 Thread root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-01-23 11:27:32

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2017-01-10 
10:33:29.695865017 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-01-23 
11:27:33.457526556 +0100
@@ -1,0 +2,12 @@
+Thu Jan 19 13:49:10 UTC 2017 - jreidin...@suse.com
+
+- Added a CWM::ReplacePoint widget
+- 3.2.12
+
+---
+Wed Jan 18 13:56:27 UTC 2017 - jreidin...@suse.com
+
+- CWM: when skipping storing of widget values, skip also its
+  validation (FATE#322328)
+
+---

Old:

  yast2-3.2.11.tar.bz2

New:

  yast2-3.2.12.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.kdLQWL/_old  2017-01-23 11:27:33.949456818 +0100
+++ /var/tmp/diff_new_pack.kdLQWL/_new  2017-01-23 11:27:33.953456251 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.11
+Version:3.2.12
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.11.tar.bz2 -> yast2-3.2.12.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.11/.travis.yml new/yast2-3.2.12/.travis.yml
--- old/yast2-3.2.11/.travis.yml2017-01-05 12:49:01.000477635 +0100
+++ new/yast2-3.2.12/.travis.yml2017-01-20 08:38:44.906398301 +0100
@@ -1,19 +1,11 @@
-language: cpp
-compiler:
-- gcc
+sudo: required
+language: ruby
+services:
+  - docker
+
 before_install:
-# disable rvm, use system Ruby
-- rvm reset
-- wget 
https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
-- sh ./travis_setup.sh -p "rake yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2-pkg-bindings ruby2.1-dev libaugeas-dev pkg-config" -g 
"rspec:3.3.0 yast-rake gettext simplecov coveralls rubocop:0.41.2 cheetah 
abstract_method cfa"
+  - docker build -t yast-yast2-image .
 script:
-- rake check:pot
-- rubocop
-- make -s -f Makefile.cvs
-- make -s
-- sudo make -s install
-# English messages, UTF-8, "C" locale for numeric formatting tests
-- LC_ALL= LANG=en_US.UTF-8 LC_NUMERIC=C make -s check
-# English messages, UTF-8, "C" locale for numeric formatting tests, enable 
test coverage report
-- LC_ALL= LANG=en_US.UTF-8 LC_NUMERIC=C COVERAGE=1 rake test:unit
-
+  # 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_JOB_ID="$TRAVIS_JOB_ID" yast-yast2-image 
yast-travis-ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.11/Dockerfile new/yast2-3.2.12/Dockerfile
--- old/yast2-3.2.11/Dockerfile 1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.2.12/Dockerfile 2017-01-20 08:38:44.906398301 +0100
@@ -0,0 +1,5 @@
+FROM yastdevel/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-3.2.11/library/commandline/test/commandline_test.rb 
new/yast2-3.2.12/library/commandline/test/commandline_test.rb
--- old/yast2-3.2.11/library/commandline/test/commandline_test.rb   
2017-01-05 12:49:01.008477636 +0100
+++ new/yast2-3.2.12/library/commandline/test/commandline_test.rb   
2017-01-20 08:38:44.914398301 +0100
@@ -5,6 +5,16 @@
 Yast.import "CommandLine"
 
 describe Yast::CommandLine do
+  # restore the original modes to not accidentally influence the other tests
+  # (these tests change the UI mode to "commandline")
+  around(:example) do |example|
+orig_mode = Yast::Mode.mode
+orig_ui = Yast::Mode.ui
+example.run
+Yast::Mode.SetMode(orig_mode)
+Yast::Mode.SetUI(orig_ui)
+  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-3.2.11/library/cwm/examples/replace_point_example.rb 
new/yast2-3.2.12/library/cwm/examples/replace_point_example.rb
--- old/yast2-3.2.11/library/cwm/examples/replace_point_example.rb  
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.2.12/library/cwm/examples/replace_poin

commit yast2 for openSUSE:Factory

2016-12-03 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-12-03 18:24:12

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-11-25 
12:05:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-12-03 
18:24:13.0 +0100
@@ -1,0 +2,7 @@
+Wed Nov 30 09:18:23 UTC 2016 - lsle...@suse.cz
+
+- Enhanced PackagesProposal API to handle required and optional
+  resolvables separately (bsc#885496)
+- 3.2.7
+
+---

Old:

  yast2-3.2.6.tar.bz2

New:

  yast2-3.2.7.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.rXOUwA/_old  2016-12-03 18:24:14.0 +0100
+++ /var/tmp/diff_new_pack.rXOUwA/_new  2016-12-03 18:24:14.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.6
+Version:3.2.7
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.6.tar.bz2 -> yast2-3.2.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.6/library/general/src/modules/PackagesProposal.rb 
new/yast2-3.2.7/library/general/src/modules/PackagesProposal.rb
--- old/yast2-3.2.6/library/general/src/modules/PackagesProposal.rb 
2016-11-23 17:54:27.0 +0100
+++ new/yast2-3.2.7/library/general/src/modules/PackagesProposal.rb 
2016-11-30 17:32:04.0 +0100
@@ -3,6 +3,7 @@
 # ***
 #
 # Copyright (c) 2002 - 2012 Novell, Inc.
+# Copyright (c) 2016 SUSE LLC
 # All Rights Reserved.
 #
 # This program is free software; you can redistribute it and/or
@@ -21,16 +22,17 @@
 # you may find current contact information at www.novell.com
 #
 # ***
-# File:PackagesProposal.ycp
-# Package: Packages installation
-# Summary: API for selecting or de-selecting packages for installation
-# Authors: Lukas Ocilka 
-#
-# $Id$
+
 require "yast"
 
 module Yast
+  # API for selecting or de-selecting packages or patterns for installation.
+  # It stores two separate lists, one for required resolvables and the other 
one
+  # for optional resolvables. The optional resolvables can be deselected by 
user
+  # manually and the installation proposal will not complain that they are 
missing.
   class PackagesProposalClass < Module
+include Yast::Logger
+
 def main
   textdomain "base"
 
@@ -44,20 +46,19 @@
   #  ]
   #  ]
   @resolvables_to_install = {}
+  # the same as above but the resolvables are considered optional
+  @opt_resolvables_to_install = {}
 
   # List of currently supported types of resolvables
   @supported_resolvables = [:package, :pattern]
 end
 
-# Resets all resolvables to install. Use carefully.
+# Resets all resolvables to install (both required and optional). Use 
carefully.
 def ResetAll
-  if @resolvables_to_install != {}
-Builtins.y2warning("Reseting all PackagesProposal items")
-  else
-Builtins.y2milestone("Reseting all PackagesProposal items")
-  end
+  log.info("Resetting all PackagesProposal items")
 
-  @resolvables_to_install = {}
+  @resolvables_to_install.clear
+  @opt_resolvables_to_install.clear
 
   nil
 end
@@ -68,42 +69,13 @@
 #
 # @return [Array] of resolvables
 def GetSupportedResolvables
-  deep_copy(@supported_resolvables)
+  @supported_resolvables
 end
 
 def IsSupportedResolvableType(type)
-  if type.nil?
-Builtins.y2error("Wrong type: %1", type)
-return false
-  end
+  log.warn("Type cannot be nil") if type.nil?
 
-  Builtins.contains(@supported_resolvables, type)
-end
-
-# Checks the currently created data structure and creates
-# missing keys if needed.
-#
-# @param [String] unique_ID
-# @param [Symbol] type
-def CreateEmptyStructureIfMissing(unique_ID, type)
-  if !Builtins.haskey(@resolvables_to_install, unique_ID)
-Builtins.y2debug(
-  "Creating '%1' key in resolvables_to_install",
-  unique_ID
-)
-Ops.set(@resolvables_to_install, unique_ID, {})
-  end
-
-  if !Builtins.haskey(Ops.get(@resolvables_to_install, unique_ID, {}), 
type)
-Builtins.y2debug(
-  "Creating '%1' key in resolvables_to_install[%2]",
-  type,
-  unique_ID
-)
-Ops.set(@reso

commit yast2 for openSUSE:Factory

2016-11-25 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-11-25 12:05:11

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-11-23 
13:35:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-11-25 
12:05:12.0 +0100
@@ -1,0 +2,6 @@
+Wed Nov 23 15:23:24 UTC 2016 - igonzalezs...@suse.com
+
+- Fix replacement of workflow modules (bsc#1011869)
+- 3.2.6
+
+---

Old:

  yast2-3.2.5.tar.bz2

New:

  yast2-3.2.6.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.OL9Qbi/_old  2016-11-25 12:05:13.0 +0100
+++ /var/tmp/diff_new_pack.OL9Qbi/_new  2016-11-25 12:05:13.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.5
+Version:3.2.6
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.5.tar.bz2 -> yast2-3.2.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.5/library/control/src/modules/WorkflowManager.rb 
new/yast2-3.2.6/library/control/src/modules/WorkflowManager.rb
--- old/yast2-3.2.5/library/control/src/modules/WorkflowManager.rb  
2016-11-21 09:22:01.0 +0100
+++ new/yast2-3.2.6/library/control/src/modules/WorkflowManager.rb  
2016-11-23 17:54:27.0 +0100
@@ -39,6 +39,8 @@
 
 module Yast
   class WorkflowManagerClass < Module
+include Yast::Logger
+
 def main
   Yast.import "UI"
   Yast.import "Pkg"
@@ -748,7 +750,7 @@
   found = false
 
   modules = Builtins.maplist(Ops.get_list(workflow, "modules", [])) do |m|
-next if Ops.get_string(m, "name", "") != old
+next [m] if Ops.get_string(m, "name", "") != old
 
 new_list = Builtins.maplist(new) do |n|
   Ops.set(n, "textdomain", domain)
@@ -762,15 +764,8 @@
 deep_copy(new_list)
   end
 
-  if !found
-Builtins.y2internal(
-  "Insert/Replace/Remove workflow module %1 not found",
-  old
-)
-  end
-
+  log.warn("Insert/Replace/Remove workflow module '#{old}' not found") if 
!found
   Ops.set(workflow, "modules", Builtins.flatten(modules))
-
   deep_copy(workflow)
 end
 
@@ -783,6 +778,7 @@
 def MergeWorkflow(base, addon, _prod_name, domain)
   base = deep_copy(base)
   addon = deep_copy(addon)
+
   # Merging - removing steps, settings
   removes = Ops.get_list(addon, "remove_modules", [])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.5/library/control/test/Makefile.am 
new/yast2-3.2.6/library/control/test/Makefile.am
--- old/yast2-3.2.5/library/control/test/Makefile.am2016-11-21 
09:22:01.0 +0100
+++ new/yast2-3.2.6/library/control/test/Makefile.am2016-11-23 
17:54:27.0 +0100
@@ -1,6 +1,7 @@
 TESTS = \
   InstExtensionImage_test.rb \
-  ProductFeatures_test.rb
+  ProductFeatures_test.rb \
+  workflow_manager_test.rb
 
 TEST_EXTENSIONS = .rb
 RB_LOG_COMPILER = rspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.5/library/control/test/workflow_manager_test.rb 
new/yast2-3.2.6/library/control/test/workflow_manager_test.rb
--- old/yast2-3.2.5/library/control/test/workflow_manager_test.rb   
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.2.6/library/control/test/workflow_manager_test.rb   
2016-11-23 17:54:27.0 +0100
@@ -0,0 +1,58 @@
+#!/usr/bin/env rspec
+
+require_relative "test_helper"
+
+Yast.import "WorkflowManager"
+
+describe Yast::WorkflowManager do
+  subject { Yast::WorkflowManager }
+
+  describe "#ReplaceWorkflowModule" do
+let(:workflow) do
+  {
+"defaults" => { "archs" => "all" },
+"stage"=> "continue",
+"mode" => "autoinstallation",
+"modules"  => [
+  { "label" => "Perform Installation", "name" => "autopost" },
+  { "label" => "System Configuration", "name" => "autoconfigure" }
+]
+  }
+end
+let(:old) { "autoconfigure" }
+let(:new) { { "label" => "Custom Module", "name" => "custom" } }
+let(:domain) { "some-domain" }
+let(:keep) { true }
+
+context "when keep is set to true" do
+  it "inserts the new modules before the old one" do
+replaced = subject.ReplaceWorkflowModule(workflow, old, [new], domain, 
keep)
+expect(replaced["modules"]).to include(new.merge("textdomain" => 
domain))
+
+   

commit yast2 for openSUSE:Factory

2016-11-23 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-11-23 13:35:21

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-11-19 
12:49:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-11-23 
13:35:22.0 +0100
@@ -1,0 +2,7 @@
+Fri Nov 18 16:33:56 UTC 2016 - lsle...@suse.cz
+
+- Remove the restart file when starting YaST to avoid possible
+  infinite loop (bsc#842910)
+- 3.2.5
+
+---

Old:

  yast2-3.2.4.tar.bz2

New:

  yast2-3.2.5.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.PXARLq/_old  2016-11-23 13:35:23.0 +0100
+++ /var/tmp/diff_new_pack.PXARLq/_new  2016-11-23 13:35:23.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.4
+Version:3.2.5
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.4.tar.bz2 -> yast2-3.2.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.4/package/yast2.changes 
new/yast2-3.2.5/package/yast2.changes
--- old/yast2-3.2.4/package/yast2.changes   2016-11-17 16:34:49.0 
+0100
+++ new/yast2-3.2.5/package/yast2.changes   2016-11-21 09:22:02.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Fri Nov 18 16:33:56 UTC 2016 - lsle...@suse.cz
+
+- Remove the restart file when starting YaST to avoid possible
+  infinite loop (bsc#842910)
+- 3.2.5
+
+---
 Wed Nov 16 15:18:39 CET 2016 - sch...@suse.de
 
 - Added needed include in Kernel.rb. Found while testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.4/package/yast2.spec 
new/yast2-3.2.5/package/yast2.spec
--- old/yast2-3.2.4/package/yast2.spec  2016-11-17 16:34:49.0 +0100
+++ new/yast2-3.2.5/package/yast2.spec  2016-11-21 09:22:02.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.4
+Version:3.2.5
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.4/scripts/yast2 
new/yast2-3.2.5/scripts/yast2
--- old/yast2-3.2.4/scripts/yast2   2016-11-17 16:34:49.0 +0100
+++ new/yast2-3.2.5/scripts/yast2   2016-11-21 09:22:02.0 +0100
@@ -349,7 +349,7 @@
TTY=console
;;
esac
-   
+
# The part below has changed: we don't use 'testutf8' any longer, i.e.
# don't start YaST in UTF-8 locale by default and don't fix the settings
# in rxvt*|vt*|xterm*|linux|screen* (trust the locale).
@@ -367,9 +367,9 @@
export LANG=en_US
export LC_CTYPE=en_US
export LC_ALL=en_US # just to make sure.
-   fi  
+   fi
;;
-esac   
+esac
fi
 
# set color theme, if defined
@@ -422,6 +422,11 @@
*) REDO_FILE=/var/lib/YaST2/restart_yast ;;
 esac
 snapshot_pre $module
+
+# remove the redo file if it already exists before starting the module,
+# avoid possible infinite loop (bsc#842910)
+rm -f "$REDO_FILE"
+
 #  break out on errors, #343258
 while [ $exit_code = 0 ]; do
$ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS




commit yast2 for openSUSE:Factory

2016-11-19 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-11-19 12:49:27

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-11-08 
18:26:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-11-19 
12:49:28.0 +0100
@@ -1,0 +2,7 @@
+Wed Nov 16 15:18:39 CET 2016 - sch...@suse.de
+
+- Added needed include in Kernel.rb. Found while testing
+  bnc#1009023
+- 3.2.4
+
+---

Old:

  yast2-3.2.3.tar.bz2

New:

  yast2-3.2.4.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.uxa3rl/_old  2016-11-19 12:49:29.0 +0100
+++ /var/tmp/diff_new_pack.uxa3rl/_new  2016-11-19 12:49:29.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.3
+Version:3.2.4
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.3.tar.bz2 -> yast2-3.2.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.3/doc/desktop_file.md 
new/yast2-3.2.4/doc/desktop_file.md
--- old/yast2-3.2.3/doc/desktop_file.md 2016-11-07 11:09:36.0 +0100
+++ new/yast2-3.2.4/doc/desktop_file.md 2016-11-17 16:34:49.0 +0100
@@ -79,6 +79,11 @@
 * *X-SuSE-YaST-AutoInstResource* Specifies top level XML node under which is 
located
   module specific configuration in AutoYaST profile.
 
+* *X-SuSE-YaST-AutoInstResourceAliases* Specifies a list of alternative names
+  for the top level XML node. It is used to keep backward compatibility: for
+  example, when migrating from `runlevel` to `services-manager`. Default value
+  is empty.
+
 * *X-SuSE-YaST-AutoInstRequires* Contains comma separated list of modules that
   are required to run before this module. By default it is empty.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.3/library/general/src/lib/installation/proposal_client.rb 
new/yast2-3.2.4/library/general/src/lib/installation/proposal_client.rb
--- old/yast2-3.2.3/library/general/src/lib/installation/proposal_client.rb 
2016-11-07 11:09:36.0 +0100
+++ new/yast2-3.2.4/library/general/src/lib/installation/proposal_client.rb 
2016-11-17 16:34:49.0 +0100
@@ -146,6 +146,8 @@
 # button in the proposal dialog will be disabled - the user needs
 # to fix that blocker before continuing.
 # _Fatal_ is like _blocker_ but also stops building the proposal.
+# _Error_ does not prevent continuing of the installation, but shows
+# a popup that an user has to confirm to continue with the 
installation.
 #
 #   * **`"language_changed"`** [Boolean] ---
 # This module just caused a change of the installation language.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.3/library/system/src/modules/Kernel.rb 
new/yast2-3.2.4/library/system/src/modules/Kernel.rb
--- old/yast2-3.2.3/library/system/src/modules/Kernel.rb2016-11-07 
11:09:36.0 +0100
+++ new/yast2-3.2.4/library/system/src/modules/Kernel.rb2016-11-17 
16:34:49.0 +0100
@@ -38,6 +38,8 @@
 
 module Yast
   class KernelClass < Module
+include Yast::Logger
+
 # default configuration file for Kernel modules loaded on boot
 MODULES_CONF_FILE = "yast.conf".freeze
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.3/package/yast2.changes 
new/yast2-3.2.4/package/yast2.changes
--- old/yast2-3.2.3/package/yast2.changes   2016-11-07 11:09:36.0 
+0100
+++ new/yast2-3.2.4/package/yast2.changes   2016-11-17 16:34:49.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Wed Nov 16 15:18:39 CET 2016 - sch...@suse.de
+
+- Added needed include in Kernel.rb. Found while testing
+  bnc#1009023
+- 3.2.4
+
+---
 Thu Nov  3 12:51:09 UTC 2016 - jreidin...@suse.com
 
 - fix do not show again for packages downloaded to temporary
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.3/package/yast2.spec 
new/yast2-3.2.4/package/yast2.spec
--- old/yast2-3.2.3/package/yast2.spec  2016-11-07 11:09:36.0 +0100
+++ new/yast2-3.2.4/package/yast2.spec  2016-11-17 16:34:49.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.3
+Version:  

commit yast2 for openSUSE:Factory

2016-11-08 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-11-08 18:26:39

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-10-20 
23:06:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-11-08 
18:26:40.0 +0100
@@ -1,0 +2,8 @@
+Thu Nov  3 12:51:09 UTC 2016 - jreidin...@suse.com
+
+- fix do not show again for packages downloaded to temporary
+  directory (bsc#481011)
+- remove icons from signature check dialogs (bsc#875201)
+- 3.2.3
+
+---

Old:

  yast2-3.2.2.tar.bz2

New:

  yast2-3.2.3.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Df9hUf/_old  2016-11-08 18:26:41.0 +0100
+++ /var/tmp/diff_new_pack.Df9hUf/_new  2016-11-08 18:26:41.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.2
+Version:3.2.3
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.2.tar.bz2 -> yast2-3.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.2/library/general/test/agents_test/fstab_agent_test.rb 
new/yast2-3.2.3/library/general/test/agents_test/fstab_agent_test.rb
--- old/yast2-3.2.2/library/general/test/agents_test/fstab_agent_test.rb
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.2.3/library/general/test/agents_test/fstab_agent_test.rb
2016-11-07 11:09:36.0 +0100
@@ -0,0 +1,34 @@
+#!/usr/bin/env rspec
+
+require_relative "../test_helper"
+require "yast"
+
+describe ".proc.meminfo" do
+  around :each do |example|
+root = File.join(File.dirname(__FILE__), "test_root")
+change_scr_root(root, &example)
+  end
+
+  describe ".Read" do
+let(:content) { Yast::SCR.Read(path(".etc.fstab")) }
+
+it "reads content of /etc/fstab and returns array" do
+  expect(content).to be_a(Array)
+end
+
+it "returns an array containing nfs entries" do
+  expect(content).to satisfy { |r| r.find { |e| e["file"] == "/home/kv2" } 
}
+  expect(content).to satisfy { |r| r.find { |e| e["file"] == "/media/new" 
} }
+  expect(content).to satisfy { |r| r.find { |e| e["file"] == "/media/new2" 
} }
+end
+
+it "returns an array containing tmpfs entry" do
+  expect(content).to satisfy { |r| r.find { |e| e["file"] == "/tmp" } }
+end
+
+it "is able to parse comments" do
+  pending "need to be fixed"
+  expect(content).to include("#comment")
+end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.2.2/library/general/test/agents_test/test_root/etc/fstab 
new/yast2-3.2.3/library/general/test/agents_test/test_root/etc/fstab
--- old/yast2-3.2.2/library/general/test/agents_test/test_root/etc/fstab
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.2.3/library/general/test/agents_test/test_root/etc/fstab
2016-11-07 11:09:36.0 +0100
@@ -0,0 +1,7 @@
+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.2/library/packages/src/modules/SignatureCheckDialogs.rb 
new/yast2-3.2.3/library/packages/src/modules/SignatureCheckDialogs.rb
--- old/yast2-3.2.2/library/packages/src/modules/SignatureCheckDialogs.rb   
2016-10-19 09:16:01.0 +0200
+++ new/yast2-3.2.3/library/packages/src/modules/SignatureCheckDialogs.rb   
2016-11-07 11:09:36.0 +0100
@@ -56,13 +56,6 @@
   # GnuPG key ID used as "Key ID: 1144444"
   @s_keyid = _("Key ID")
 
-  # Defining icons for dialogs
-  @msg_icons = {
-"error"=> 
"/usr/share/YaST2/theme/current/icons/32x32/apps/msg_error.png",
-"warning"  => 
"/usr/share/YaST2/theme/current/icons/32x32/apps/msg_warning.png",
-"question" => 
"/usr/share/YaST2/theme/current/icons/32x32/apps/msg_warning.png"
-  }
-
   # UI can show images
   @has_local_image_support = nil
 
@@ -204,37 +197,6 @@
   stored_return
 end
 
-

commit yast2 for openSUSE:Factory

2016-10-20 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-10-20 23:06:11

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-10-18 
13:27:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-10-20 
23:06:12.0 +0200
@@ -2 +2,5 @@
-Sat Oct 15 19:11:39 UTC 2016 - kanders...@suse.com
+Tue Oct 18 13:18:55 CEST 2016 - sch...@suse.de
+
+- Add-on module: Do not escape characters like ":" in the path
+  string (bnc#966413).
+- 3.2.2
@@ -3,0 +8,2 @@
+---
+Sat Oct 15 19:11:39 UTC 2016 - kanders...@suse.com

Old:

  yast2-3.2.1.tar.bz2

New:

  yast2-3.2.2.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.C99qpQ/_old  2016-10-20 23:06:13.0 +0200
+++ /var/tmp/diff_new_pack.C99qpQ/_new  2016-10-20 23:06:13.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.2.1
+Version:3.2.2
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.2.1.tar.bz2 -> yast2-3.2.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.1/library/types/src/modules/URLRecode.rb 
new/yast2-3.2.2/library/types/src/modules/URLRecode.rb
--- old/yast2-3.2.1/library/types/src/modules/URLRecode.rb  2016-10-17 
11:05:31.0 +0200
+++ new/yast2-3.2.2/library/types/src/modules/URLRecode.rb  2016-10-19 
09:16:01.0 +0200
@@ -9,7 +9,7 @@
   class URLRecodeClass < Module
 # these will be substituted to a regex character class
 USERNAME_PASSWORD_FRAGMENT_SAFE_CHARS = "-A-Za-z0-9_.!~*'()".freeze
-PATH_SAFE_CHARS =   "-A-Za-z0-9_.!~*'()/".freeze
+PATH_SAFE_CHARS =   "-A-Za-z0-9_.!~*'()/:".freeze
 QUERY_SAFE_CHARS =  "-A-Za-z0-9_.!~*'()/:=&".freeze
 
 # Escape password, user name and fragment part of URL string
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.2.1/library/types/test/url_test.rb 
new/yast2-3.2.2/library/types/test/url_test.rb
--- old/yast2-3.2.1/library/types/test/url_test.rb  2016-10-17 
11:05:31.0 +0200
+++ new/yast2-3.2.2/library/types/test/url_test.rb  2016-10-19 
09:16:01.0 +0200
@@ -22,8 +22,18 @@
   end
 
   describe ".Parse" do
-it "returns a hash containing the token extracted from the URL" do
-  expect(subject.Parse(url)).to eq(tokens)
+context "given a http(s) URL" do
+  it "returns a hash containing the token extracted from the URL" do
+expect(subject.Parse(url)).to eq(tokens)
+  end
+
+  it "returns url with changed user" do
+url = subject.Parse(
+  "http://name:p...@www.suse.cz:80/path/index.html?question#part";
+)
+url["user"] = "user:1@domain"
+expect(subject.Build(url)).to 
eq("http://user%3a1%40domain:p...@www.suse.cz:80/path/index.html?question#part";)
+  end
 end
 
 context "given a CD/DVD with a file" do
@@ -85,6 +95,54 @@
 expect(subject.Parse(url)).to eq(tokens)
   end
 end
+
+context "given a Samba device and a path" do
+  let(:samba_url) { 
"smb://username:passwd@servername/share/path/on/the/share?mountoptions=ro&workgroup=group"
 }
+  it "returns samba host" do
+SAMBA_URL = {
+  "domain"   => "group",
+  "fragment" => "",
+  "host" => "servername",
+  "pass" => "passwd",
+  "path" => "/share/path/on/the/share",
+  "port" => "",
+  "query"=> "mountoptions=ro&workgroup=group",
+  "scheme"   => "smb",
+  "user" => "username"
+}.freeze
+expect(subject.Parse(samba_url)).to eq(SAMBA_URL)
+  end
+end
+
+context "given an IPv6 URL" do
+  it "returns IPv6 host" do
+IPV6_URL = {
+  "fragment" => "",
+  "host" => "2001:de8:0:f123::1",
+  "pass" => "",
+  "path" => "/path/to/dir",
+  "port" => "",
+  "query"=> "",
+  "scheme"   => "http",
+  "user" => ""
+}.freeze
+expect(subject.Parse("http://[2001:de8:0:f123::1]/path/to/dir";)).to 
eq(IPV6_URL)
+  end
+
+  it "returns IPv6 host with user/password, port" do
+IPV6_URL_PORT = {
+  "fragment" => "",
+  "host" => "2001:de8:0:f123::1",
+  "pass" => "password",
+  "path" => "/path/to/di

commit yast2 for openSUSE:Factory

2016-10-18 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-10-18 13:27:52

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-10-10 
17:30:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-10-18 
13:27:51.0 +0200
@@ -1,0 +2,14 @@
+Sat Oct 15 19:11:39 UTC 2016 - kanders...@suse.com
+
+- Network: Added method to adapt old configuration of enslaved
+  interfaces. (bsc#962824)
+- 3.2.1
+
+---
+Thu Oct 13 14:11:31 UTC 2016 - igonzalezs...@suse.com
+
+- Set installer theme when Screenmode is specified at boot time
+  (related to bsc#780621)
+- 3.2.0
+
+---

Old:

  yast2-3.1.208.tar.bz2

New:

  yast2-3.2.1.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.qhraie/_old  2016-10-18 13:27:52.0 +0200
+++ /var/tmp/diff_new_pack.qhraie/_new  2016-10-18 13:27:52.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.208
+Version:3.2.1
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.208.tar.bz2 -> yast2-3.2.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.208/library/network/src/modules/NetworkInterfaces.rb 
new/yast2-3.2.1/library/network/src/modules/NetworkInterfaces.rb
--- old/yast2-3.1.208/library/network/src/modules/NetworkInterfaces.rb  
2016-09-28 13:42:59.0 +0200
+++ new/yast2-3.2.1/library/network/src/modules/NetworkInterfaces.rb
2016-10-17 11:05:31.0 +0200
@@ -758,6 +758,29 @@
   filter_interfacetype(config)
 end
 
+# Adapts the interface configuration used during many year for enslaved
+# interfaces (IPADDR == 0.0.0.0 and BOOTPROTO == 'static').
+#
+# Sets the BOOTPROTO as none, empties the IPADDR, and also empties the
+# NETMASK and the PREFIXLEN if exist.
+def adapt_old_config!
+  @Devices.each do |devtype, devices|
+devices.each do |device, config|
+  bootproto = config["BOOTPROTO"] || "static"
+  next unless bootproto == "static" && config["IPADDR"] == "0.0.0.0"
+
+  config["BOOTPROTO"] = "none"
+  config["IPADDR"]= ""
+  config["NETMASK"]   = "" if config.key? "NETMASK"
+  config["PREFIXLEN"] = "" if config.key? "PREFIXLEN"
+
+  @Devices[devtype][device] = config
+end
+  end
+
+  @Devices
+end
+
 # The device is added to @Devices[devtype] hash using the device name as 
key
 # and the ifconfg hash as value
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.208/library/network/test/data/etc/sysconfig/network/ifcfg-br1 
new/yast2-3.2.1/library/network/test/data/etc/sysconfig/network/ifcfg-br1
--- old/yast2-3.1.208/library/network/test/data/etc/sysconfig/network/ifcfg-br1 
2016-09-28 13:42:59.0 +0200
+++ new/yast2-3.2.1/library/network/test/data/etc/sysconfig/network/ifcfg-br1   
2016-10-17 11:05:31.0 +0200
@@ -1,5 +1,6 @@
 DEVICE=br1
 BRIDGE=yes
+BRIDGE_PORTS=eth2
 IPADDR=10.0.0.1
 NETMASK=255.255.255.0
 ONBOOT=yes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.208/library/network/test/data/etc/sysconfig/network/ifcfg-eth2 
new/yast2-3.2.1/library/network/test/data/etc/sysconfig/network/ifcfg-eth2
--- 
old/yast2-3.1.208/library/network/test/data/etc/sysconfig/network/ifcfg-eth2
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.2.1/library/network/test/data/etc/sysconfig/network/ifcfg-eth2  
2016-10-17 11:05:31.0 +0200
@@ -0,0 +1,5 @@
+DEVICE=eth2
+BOOTPROTO='static'
+IPADDR='0.0.0.0/32'
+STARTMODE='auto'
+SLAVE=YES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.208/library/network/test/network_interfaces_test.rb 
new/yast2-3.2.1/library/network/test/network_interfaces_test.rb
--- old/yast2-3.1.208/library/network/test/network_interfaces_test.rb   
2016-09-28 13:42:59.0 +0200
+++ new/yast2-3.2.1/library/network/test/network_interfaces_test.rb 
2016-10-17 11:05:31.0 +0200
@@ -32,7 +32,7 @@
   describe "#Read" do
 let(:data_dir) { File.join(File.dirname(__FILE__), "data") }
 # Defined in test/data/etc/sysconfig/ifcfg-*
-let(:devices) { ["arc5", "bond0", "br1", "em1", "eth0", "eth1", "ppp0", 
"vlan3"] }
+let(:devices) { ["ar

commit yast2 for openSUSE:Factory

2016-10-10 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-09-23 
11:24:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-10-10 
17:30:13.0 +0200
@@ -1,0 +2,6 @@
+Wed Sep 28 13:28:21 CEST 2016 - snw...@suse.de
+
+- save_y2logs: use canonical path (bsc#1001454)
+- 3.1.208
+
+---

Old:

  yast2-3.1.207.tar.bz2

New:

  yast2-3.1.208.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.jpRLhl/_old  2016-10-10 17:30:14.0 +0200
+++ /var/tmp/diff_new_pack.jpRLhl/_new  2016-10-10 17:30:14.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.207
+Version:3.1.208
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.207.tar.bz2 -> yast2-3.1.208.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.207/package/yast2.changes 
new/yast2-3.1.208/package/yast2.changes
--- old/yast2-3.1.207/package/yast2.changes 2016-09-20 10:23:40.0 
+0200
+++ new/yast2-3.1.208/package/yast2.changes 2016-09-28 13:43:00.0 
+0200
@@ -1,4 +1,10 @@
 ---
+Wed Sep 28 13:28:21 CEST 2016 - snw...@suse.de
+
+- save_y2logs: use canonical path (bsc#1001454)
+- 3.1.208
+
+---
 Tue Sep 20 07:23:10 UTC 2016 - mvid...@suse.com
 
 - Removed build dependency on yast2-perl-bindings (bsc#999203)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.207/package/yast2.spec 
new/yast2-3.1.208/package/yast2.spec
--- old/yast2-3.1.207/package/yast2.spec2016-09-20 10:23:40.0 
+0200
+++ new/yast2-3.1.208/package/yast2.spec2016-09-28 13:43:00.0 
+0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.207
+Version:3.1.208
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.207/scripts/save_y2logs 
new/yast2-3.1.208/scripts/save_y2logs
--- old/yast2-3.1.207/scripts/save_y2logs   2016-09-20 10:23:40.0 
+0200
+++ new/yast2-3.1.208/scripts/save_y2logs   2016-09-28 13:43:00.0 
+0200
@@ -59,7 +59,8 @@
echo "Use one of these suffixes: .tar .tgz .tar.gz .txz .tar.xz 
.tar.bz2" >&2
exit 4
   esac
-  TARGET="$1"
+  # use full path
+  TARGET=$(readlink -m "$1")
 fi
 
 # check for compression program




commit yast2 for openSUSE:Factory

2016-09-23 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-09-23 11:24:12

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-08-31 
00:02:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-09-23 
11:24:14.0 +0200
@@ -1,0 +2,15 @@
+Tue Sep 20 07:23:10 UTC 2016 - mvid...@suse.com
+
+- Removed build dependency on yast2-perl-bindings (bsc#999203)
+- 3.1.207
+
+---
+Fri Sep 16 17:53:15 UTC 2016 - kanders...@suse.com
+
+- Network: Fix bug introduced during NetworkInterfaces.Read cleanup
+  The method Networkinterfaces.Locate now returns the interface
+  name of the interfaces that match the given condition instead of
+  the type. (bsc#998717)
+- 3.1.206
+
+---

Old:

  yast2-3.1.205.tar.bz2

New:

  yast2-3.1.207.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.xQ88VL/_old  2016-09-23 11:24:15.0 +0200
+++ /var/tmp/diff_new_pack.xQ88VL/_new  2016-09-23 11:24:15.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.205
+Version:3.1.207
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
@@ -42,7 +42,6 @@
 # Needed already in build time
 BuildRequires:  yast2-core >= 2.18.12
 BuildRequires:  yast2-devtools >= 3.1.10
-BuildRequires:  yast2-perl-bindings
 BuildRequires:  yast2-pkg-bindings >= 2.20.3
 # To have Yast::CoreExt::AnsiString
 BuildRequires:  yast2-ruby-bindings >= 3.1.36

++ yast2-3.1.205.tar.bz2 -> yast2-3.1.207.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.205/library/network/src/modules/NetworkInterfaces.rb 
new/yast2-3.1.207/library/network/src/modules/NetworkInterfaces.rb
--- old/yast2-3.1.205/library/network/src/modules/NetworkInterfaces.rb  
2016-08-26 14:04:10.0 +0200
+++ new/yast2-3.1.207/library/network/src/modules/NetworkInterfaces.rb  
2016-09-20 10:23:40.0 +0200
@@ -1618,8 +1618,10 @@
 def Locate(key, val)
   ret = []
 
-  @Devices.each do |device, devsmap|
-ret << device if devsmap.any? { |_t, d| d[key] == val }
+  @Devices.values.each do |devsmap|
+devsmap.each do |device, conf|
+  ret << device if conf[key] == val
+end
   end
 
   ret
@@ -1633,8 +1635,10 @@
 def LocateNOT(key, val)
   ret = []
 
-  @Devices.each do |device, devsmap|
-ret << device if devsmap.any? { |_t, d| d[key] != val }
+  @Devices.values.each do |devsmap|
+devsmap.each do |device, conf|
+  ret << device if conf[key] != val
+end
   end
 
   ret
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.205/library/network/test/network_interfaces_test.rb 
new/yast2-3.1.207/library/network/test/network_interfaces_test.rb
--- old/yast2-3.1.205/library/network/test/network_interfaces_test.rb   
2016-08-26 14:04:10.0 +0200
+++ new/yast2-3.1.207/library/network/test/network_interfaces_test.rb   
2016-09-20 10:23:40.0 +0200
@@ -198,9 +198,9 @@
   subject.CleanCacheRead
 end
 
-it "returns an array of devices types which have got given key,value" do
-  expect(subject.Locate("BOOTPROTO", "static")).to eql(["bond", "em", 
"eth"])
-  expect(subject.Locate("BONDING_MASTER", "YES")).to eql(["bond"])
+it "returns an array of devices which have got given key,value" do
+  expect(subject.Locate("BOOTPROTO", "static")).to eql(["bond0", "em1", 
"eth0", "eth1"])
+  expect(subject.Locate("BONDING_MASTER", "YES")).to eql(["bond0"])
 end
 
 it "returns an empty array if not device match given criteria" do
@@ -219,8 +219,8 @@
   subject.CleanCacheRead
 end
 
-it "returns an array of devices types which have got a different key,value 
than given ones" do
-  expect(subject.LocateNOT("BOOTPROTO", "static")).to eql(["arc", "br", 
"ppp", "vlan"])
+it "returns an array of devices which have got a different key,value than 
given ones" do
+  expect(subject.LocateNOT("BOOTPROTO", "static")).to eql(["arc5", "br1", 
"ppp0", "vlan3"])
 end
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.205/package/yast2.changes 
new/yast2-3.1.207/package/yast2.changes
--- old/yast2-3.1.205/package/yast2.changes 2016-08-26 14:04:11.0 
+0200
+++ new/yast2-3.1.207/pa

commit yast2 for openSUSE:Factory

2016-08-30 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-08-31 00:02:29

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-08-18 
10:18:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-08-31 
00:02:31.0 +0200
@@ -1,0 +2,15 @@
+Fri Aug 26 10:37:45 UTC 2016 - kanders...@suse.com
+
+- Packages: remove warning icon from package callbacks.
+  (bnc#988949)
+- 3.1.205
+
+---
+Thu Aug 25 14:17:13 CEST 2016 - sch...@suse.de
+
+- Set AutoYaST default timeout entries for reporting errors
+  correctly and do not overwrite AutoYaST profile settings.
+  (bnc#988949)
+- 3.1.204
+
+---

Old:

  yast2-3.1.203.tar.bz2

New:

  yast2-3.1.205.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.cGt3yd/_old  2016-08-31 00:02:32.0 +0200
+++ /var/tmp/diff_new_pack.cGt3yd/_new  2016-08-31 00:02:32.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.203
+Version:3.1.205
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.203.tar.bz2 -> yast2-3.1.205.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.203/CONTRIBUTING.md 
new/yast2-3.1.205/CONTRIBUTING.md
--- old/yast2-3.1.203/CONTRIBUTING.md   2016-08-09 15:21:42.0 +0200
+++ new/yast2-3.1.205/CONTRIBUTING.md   2016-08-26 14:04:10.0 +0200
@@ -3,7 +3,7 @@
 
 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 YaST maintainers.
+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.
@@ -17,13 +17,11 @@
 
registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp)
 if you don't have an account yet.)
 
-If you find a problem, please report it either using
-[Bugzilla](https://bugzilla.suse.com/) or GitHub issues. We can't guarantee
-that every bug will be fixed, but we'll try.
-
 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
 
 
@@ -44,15 +42,22 @@
  to the [Ruby style
  guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md).
 
-  4. Make sure your change didn't break anything by building the RPM package
+  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.
 
-  5. Publish the branch and create a pull request.
+  6. Publish the branch and create a pull request.
 
-  6. YaST developers will review your change and possibly point out issues.
+  7. YaST developers will review your change and possibly point out issues.
  Adapt the code under their guidance until they are all resolved.
 
-  7. Finally, the pull request will get merged or rejected.
+  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).
@@ -60,9 +65,6 @@
 If you want to do multiple unrelated changes, use separate branches and pull
 requests.
 
-Do not change the `VERSION` and `*.changes` files as this could lead to
-conflicts.
-
 ### Commits
 
 Each commit in the pull request should do only one thing, which is clearly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.203/library/general/src/modules/Report.rb 
new/yast2-3.1.205/library/general/src/modules/Report.rb
--- old/yast2-3.1.203/library/general/src/modules/Report.rb 2016-08-09 
15:21:42.0 +0200
+++ new/yast2-3.1.205/library/general/src/modules/Report.rb 2016-08-26 
14:04:10.0 +0200
@@ -59,10 +59,12 @@
   @display_yesno_me

commit yast2 for openSUSE:Factory

2016-08-18 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-07-16 
22:12:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-08-18 
10:18:24.0 +0200
@@ -1,0 +2,47 @@
+Tue Aug  9 11:31:45 UTC 2016 - igonzalezs...@suse.com
+
+- Popup.Error will escape the text when message is too long and
+  richtext is used (bsc#992506)
+- 3.1.203
+
+---
+Mon Aug  8 10:54:35 UTC 2016 - igonzalezs...@suse.com
+
+- Fixed handling of cd:/ and dvd:/ URLs (bsc#991935)
+- 3.1.202
+
+---
+Thu Aug  4 09:04:50 UTC 2016 - mvid...@suse.cz
+
+- Declare textdomain to fix untranslated texts (bsc#992084).
+- 3.1.201
+
+---
+Thu Aug  4 07:37:08 UTC 2016 - jsr...@suse.cz
+
+- show release notes during package installation even if slide
+  show is not available (bsc#978700)
+- 3.1.200
+
+---
+Fri Jul 29 12:59:13 UTC 2016 - mvid...@suse.com
+
+- Fixed ArgumentError in Popup.AnyTimedMessage (bsc#988739).
+- 3.1.199
+
+---
+Mon Jul 25 14:27:58 UTC 2016 - kanders...@suse.com
+
+- Fixed Yast::NetworkInterfaces.FilterNOT regexp matching
+  (bsc#990482) added in previous release.
+- 3.1.198
+
+---
+Mon Jul 25 10:42:29 UTC 2016 - kanders...@suse.com
+
+- Clean up of NetworkInterfaces Read method to make it more
+  readable (bsc#982850)
+
+- 3.1.197
+
+---
@@ -5,0 +53 @@
+

Old:

  yast2-3.1.196.tar.bz2

New:

  yast2-3.1.203.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.OwvCEj/_old  2016-08-18 10:18:25.0 +0200
+++ /var/tmp/diff_new_pack.OwvCEj/_new  2016-08-18 10:18:25.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.196
+Version:3.1.203
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.196.tar.bz2 -> yast2-3.1.203.tar.bz2 ++
 2124 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2016-07-16 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-07-16 22:12:50

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-07-07 
15:10:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-07-16 
22:12:52.0 +0200
@@ -1,0 +2,7 @@
+Mon Jul 11 13:24:10 UTC 2016 - jreidin...@suse.com
+
+- define 32-bit arm architecture (thanks to @afaerber)
+  (FATE#310070)
+- 3.1.196
+
+---

Old:

  yast2-3.1.195.tar.bz2

New:

  yast2-3.1.196.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.epxzsU/_old  2016-07-16 22:12:53.0 +0200
+++ /var/tmp/diff_new_pack.epxzsU/_new  2016-07-16 22:12:53.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.195
+Version:3.1.196
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.195.tar.bz2 -> yast2-3.1.196.tar.bz2 ++
 9251 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2016-07-07 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-06-29 
15:04:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-07-07 
15:10:02.0 +0200
@@ -1,0 +2,7 @@
+Thu Jun 30 06:54:57 UTC 2016 - jreidin...@suse.com
+
+- fix cyclic dependencies caused by split of firewall classes
+  (bsc#987059)
+- 3.1.195
+
+---

Old:

  yast2-3.1.194.tar.bz2

New:

  yast2-3.1.195.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.HnjaiP/_old  2016-07-07 15:10:03.0 +0200
+++ /var/tmp/diff_new_pack.HnjaiP/_new  2016-07-07 15:10:03.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.194
+Version:3.1.195
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.194.tar.bz2 -> yast2-3.1.195.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.194/library/network/src/lib/network/susefirewall2.rb 
new/yast2-3.1.195/library/network/src/lib/network/susefirewall2.rb
--- old/yast2-3.1.194/library/network/src/lib/network/susefirewall2.rb  
2016-06-22 11:23:47.0 +0200
+++ new/yast2-3.1.195/library/network/src/lib/network/susefirewall2.rb  
2016-07-01 08:54:01.0 +0200
@@ -48,7 +48,6 @@
   Yast.import "Mode"
   Yast.import "Service"
   Yast.import "NetworkInterfaces"
-  Yast.import "SuSEFirewallServices"
   Yast.import "PortAliases"
   Yast.import "Report"
   Yast.import "Message"
@@ -798,6 +797,8 @@
 # @param [String] service id
 # @param [String] zone
 def RemoveServiceSupportFromZone(service, zone)
+  Yast.import "SuSEFirewallServices" # lazy import due to circular 
dependencies
+
   needed = SuSEFirewallServices.GetNeededPortsAndProtocols(service)
   # unknown service
   if needed.nil?
@@ -844,6 +845,8 @@
 # @param [String] service id
 # @param [String] zone
 def AddServiceSupportIntoZone(service, zone)
+  Yast.import "SuSEFirewallServices" # lazy import due to circular 
dependencies
+
   needed = SuSEFirewallServices.GetNeededPortsAndProtocols(service)
   # unknown service
   if needed.nil?
@@ -1360,6 +1363,8 @@
 def IsServiceSupportedInZone(service, zone)
   return nil if !IsKnownZone(zone)
 
+  Yast.import "SuSEFirewallServices" # lazy import due to circular 
dependencies
+
   needed = SuSEFirewallServices.GetNeededPortsAndProtocols(service)
 
   # SuSEFirewall feature FW_PROTECT_FROM_INT
@@ -1832,6 +1837,8 @@
   # all ports or services used by known service
   all_used_services = []
 
+  Yast.import "SuSEFirewallServices" # lazy import due to circular 
dependencies
+
   # trying all possible (known) services
   Builtins.foreach(SuSEFirewallServices.GetSupportedServices) do 
|service_id, _service_name|
 # only when the service is allowed in zone - remove all its needed 
ports
@@ -2573,6 +2580,8 @@
 
   Builtins.y2milestone("Current conf: %1", current_conf)
 
+  Yast.import "SuSEFirewallServices" # lazy import due to circular 
dependencies
+
   Builtins.foreach(GetKnownFirewallZones()) do |zone|
 Builtins.foreach(SuSEFirewallServices.OLD_SERVICES) do 
|old_service_id, old_service_def|
   Builtins.y2milestone("Checking %1 in %2 zone", old_service_id, zone)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.194/library/network/src/modules/SuSEFirewallServices.rb 
new/yast2-3.1.195/library/network/src/modules/SuSEFirewallServices.rb
--- old/yast2-3.1.194/library/network/src/modules/SuSEFirewallServices.rb   
2016-06-22 11:23:47.0 +0200
+++ new/yast2-3.1.195/library/network/src/modules/SuSEFirewallServices.rb   
2016-07-01 08:54:01.0 +0200
@@ -37,7 +37,6 @@
 module Yast
   class FirewallServicesClass < Module
 include Yast::Logger
-Yast.import "SuSEFirewall"
 
 # Create appropriate firewall services class based on factors such as which
 # backend is selected by user or running on the system.
@@ -48,6 +47,8 @@
 # @param backend_sym [Symbol] if not nil, explicitely select :sf2 or :fwd
 # @return SuSEFirewall2ServicesClass or SuSEfirewalldServicesClass instance
 def self.create(backend_sym = nil)
+  Yast.import "SuSEFirewall"
+
   # If backend is specificed, go ahead a

commit yast2 for openSUSE:Factory

2016-06-29 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-06-29 15:04:01

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-06-12 
18:52:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-06-29 
15:04:03.0 +0200
@@ -1,0 +2,7 @@
+Wed Jun 22 08:39:50 UTC 2016 - lsle...@suse.cz
+
+- Use a high resolution window icon (64x64) instead of the low
+  resolution (22x22) one (bsc#985432)
+- 3.1.194
+
+---

Old:

  yast2-3.1.193.tar.bz2

New:

  yast2-3.1.194.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.lj0Dqt/_old  2016-06-29 15:04:04.0 +0200
+++ /var/tmp/diff_new_pack.lj0Dqt/_new  2016-06-29 15:04:04.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.193
+Version:3.1.194
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.193.tar.bz2 -> yast2-3.1.194.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.193/library/wizard/src/modules/Wizard.rb 
new/yast2-3.1.194/library/wizard/src/modules/Wizard.rb
--- old/yast2-3.1.193/library/wizard/src/modules/Wizard.rb  2016-06-09 
17:30:26.0 +0200
+++ new/yast2-3.1.194/library/wizard/src/modules/Wizard.rb  2016-06-22 
11:23:47.0 +0200
@@ -65,7 +65,7 @@
   @relnotes_button_id = ""
 
   @icon_dir = File.join(Directory.themedir, "current", "icons",
-"22x22", "apps")
+"64x64", "apps")
   @icon_name = "yast"
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.193/package/yast2.changes 
new/yast2-3.1.194/package/yast2.changes
--- old/yast2-3.1.193/package/yast2.changes 2016-06-09 17:30:26.0 
+0200
+++ new/yast2-3.1.194/package/yast2.changes 2016-06-22 11:23:47.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Wed Jun 22 08:39:50 UTC 2016 - lsle...@suse.cz
+
+- Use a high resolution window icon (64x64) instead of the low
+  resolution (22x22) one (bsc#985432)
+- 3.1.194
+
+---
 Wed Jun  8 12:13:16 UTC 2016 - lsle...@suse.cz
 
 - Fixed displaying the file conflicts callbacks when the Progress
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.193/package/yast2.spec 
new/yast2-3.1.194/package/yast2.spec
--- old/yast2-3.1.193/package/yast2.spec2016-06-09 17:30:26.0 
+0200
+++ new/yast2-3.1.194/package/yast2.spec2016-06-22 11:23:47.0 
+0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.193
+Version:3.1.194
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0




commit yast2 for openSUSE:Factory

2016-06-12 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-06-12 18:52:05

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-06-02 
12:49:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-06-12 
18:52:07.0 +0200
@@ -1,0 +2,13 @@
+Wed Jun  8 12:13:16 UTC 2016 - lsle...@suse.cz
+
+- Fixed displaying the file conflicts callbacks when the Progress
+  dialog is not displayed (bsc#983464)
+- 3.1.193
+
+---
+Thu Jun  2 10:29:34 UTC 2016 - igonzalezs...@suse.com
+
+- Drop yast2-devel-doc package (fate#320356)
+- 3.1.192
+
+---

Old:

  yast2-3.1.191.tar.bz2

New:

  yast2-3.1.193.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.MIfT9a/_old  2016-06-12 18:52:08.0 +0200
+++ /var/tmp/diff_new_pack.MIfT9a/_new  2016-06-12 18:52:08.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.191
+Version:3.1.193
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0
@@ -97,21 +97,12 @@
 %else
 Requires:   bind-utils
 %endif
+Obsoletes:  yast2-devel-doc
 
 %description
 This package contains scripts and data needed for SUSE Linux
 installation with YaST2
 
-%package devel-doc
-Summary:YaST2 - Development Scripts and Documentation
-Group:  System/YaST
-Requires:   yast2 = %{version}
-Requires:   yast2-core-devel
-
-%description devel-doc
-This package contains scripts and data needed for a SUSE Linux
-installation with YaST2.
-
 %prep
 %setup -q
 
@@ -209,27 +200,4 @@
 %{yast_yncludedir}/hwinfo/*.rb
 %{yast_desktopdir}/messages.desktop
 
-# documentation
-
-%files devel-doc
-%defattr(-,root,root)
-
-%doc %{yast_docdir}/autodocs
-%doc %{yast_docdir}/commandline
-%doc %{yast_docdir}/control
-%doc %{yast_docdir}/cron
-%doc %{yast_docdir}/cwm
-%doc %{yast_docdir}/desktop
-%doc %{yast_docdir}/gpg
-%doc %{yast_docdir}/log
-%doc %{yast_docdir}/network
-%doc %{yast_docdir}/packages
-%doc %{yast_docdir}/runlevel
-%doc %{yast_docdir}/sequencer
-%doc %{yast_docdir}/system
-%doc %{yast_docdir}/types
-%doc %{yast_docdir}/wizard
-%doc %{yast_docdir}/xml
-%doc %{yast_docdir}/general
-
 %changelog

++ yast2-3.1.191.tar.bz2 -> yast2-3.1.193.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.191/doc/Makefile.am 
new/yast2-3.1.193/doc/Makefile.am
--- old/yast2-3.1.191/doc/Makefile.am   2016-06-01 14:31:48.0 +0200
+++ new/yast2-3.1.193/doc/Makefile.am   2016-06-09 17:30:26.0 +0200
@@ -2,10 +2,6 @@
 # Makefile.am for y2c_network/doc
 #
 
-SUBDIRS = autodocs examples screenshots
-
-htmldir = $(docdir)
-
 doc_DATA =
 html_DATA =
 man_MANS = yast2.8 yast.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.191/doc/autodocs/Makefile.am 
new/yast2-3.1.193/doc/autodocs/Makefile.am
--- old/yast2-3.1.191/doc/autodocs/Makefile.am  2016-06-01 14:31:48.0 
+0200
+++ new/yast2-3.1.193/doc/autodocs/Makefile.am  1970-01-01 01:00:00.0 
+0100
@@ -1,6 +0,0 @@
-# Makefile.am for YCP module .../doc/autodocs
-
-AUTODOCS_PM = $(wildcard $(srcdir)/../../library/general/src/modules/*.pm)
-AUTODOCS_RB = $(wildcard $(srcdir)/../../library/general/src/modules/*.rb)
-
-include $(top_srcdir)/autodocs-ycp.ami
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.191/library/commandline/Makefile.am 
new/yast2-3.1.193/library/commandline/Makefile.am
--- old/yast2-3.1.191/library/commandline/Makefile.am   2016-06-01 
14:31:48.0 +0200
+++ new/yast2-3.1.193/library/commandline/Makefile.am   2016-06-09 
17:30:26.0 +0200
@@ -2,4 +2,4 @@
 # Makefile.am for yast2/library/commandline
 #
 
-SUBDIRS = doc src testsuite test
+SUBDIRS = src testsuite test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.191/library/commandline/doc/Makefile.am 
new/yast2-3.1.193/library/commandline/doc/Makefile.am
--- old/yast2-3.1.191/library/commandline/doc/Makefile.am   2016-06-01 
14:31:48.0 +0200
+++ new/yast2-3.1.193/library/commandline/doc/Makefile.am   1970-01-01 
01:00:00.0 +0100
@@ -1,9 +0,0 @@
-# Makefile.am for YCP module .../doc
-
-SUBDIRS = autodocs
-
-htmldir = $(docdir)/commandline
-
-html_DATA = CommandLine.txt lan-simple.ycp lan-simpler.ycp
-
-EXTRA_DIST = $(htm

commit yast2 for openSUSE:Factory

2016-06-02 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-06-02 12:49:49

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-05-19 
12:04:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-06-02 
12:49:50.0 +0200
@@ -1,0 +2,18 @@
+Fri May 20 08:09:04 UTC 2016 - mchand...@suse.de
+
+- Split SuSEFirewall and SuSEFirewallServices classes to separate
+  files as recommended by the Yast coding style (fate#318356,
+  gh#yast/yast-yast2#471)
+- 3.1.191
+
+---
+Thu May 19 13:16:28 UTC 2016 - mchand...@suse.de
+
+- Refactor SuSEFirewall backend code to support FirewallD. This allows
+  yast2 modules to be firewall agnostic and handle firewall services in
+  either SuSEFirewall2 or FirewallD (fate#318356, gh#yast/yast-yast2#457)
+  * Do a bit of code cleanup.
+  * Add FirewallD tests.
+- 3.1.190
+
+---

Old:

  yast2-3.1.189.tar.bz2

New:

  yast2-3.1.191.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.GeySkQ/_old  2016-06-02 12:49:51.0 +0200
+++ /var/tmp/diff_new_pack.GeySkQ/_new  2016-06-02 12:49:51.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.189
+Version:3.1.191
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.189.tar.bz2 -> yast2-3.1.191.tar.bz2 ++
 12362 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2016-05-19 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-05-19 12:04:37

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-04-28 
20:30:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-05-19 
12:04:38.0 +0200
@@ -1,0 +2,27 @@
+Wed May 18 09:15:04 UTC 2016 - mfi...@suse.com
+
+- bnc#972575
+  - filter out INTERFACETYPE option from ifcfg files. This option
+used to be written with incorrect value by older versions of
+yast.
+- 3.1.189
+
+---
+Tue May 17 14:50:44 CEST 2016 - snw...@suse.de
+
+- remove invalid_hostname check (fate#319639)
+- 3.1.188
+
+---
+Mon May  9 14:55:10 UTC 2016 - igonzalezs...@suse.com
+
+- Add Repository and Repository products classes to the packages
+  library API (part of FATE#320494)
+- 3.1.187
+
+---
+Mon May  9 10:24:27 UTC 2016 - igonzalezs...@suse.com
+
+- Fix "when" key in FinishClient#info
+
+---

Old:

  yast2-3.1.186.tar.bz2

New:

  yast2-3.1.189.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.XYyq9t/_old  2016-05-19 12:04:39.0 +0200
+++ /var/tmp/diff_new_pack.XYyq9t/_new  2016-05-19 12:04:39.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.186
+Version:3.1.189
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.186.tar.bz2 -> yast2-3.1.189.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.186/library/general/src/lib/installation/finish_client.rb 
new/yast2-3.1.189/library/general/src/lib/installation/finish_client.rb
--- old/yast2-3.1.186/library/general/src/lib/installation/finish_client.rb 
2016-04-25 08:53:55.0 +0200
+++ new/yast2-3.1.189/library/general/src/lib/installation/finish_client.rb 
2016-05-18 13:41:52.0 +0200
@@ -90,7 +90,7 @@
 # Adapt the metadata for inst_finish API
 def info
   {
-"when " => modes,
+"when"  => modes,
 "steps" => steps,
 "title" => title
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.186/library/network/src/modules/NetworkInterfaces.rb 
new/yast2-3.1.189/library/network/src/modules/NetworkInterfaces.rb
--- old/yast2-3.1.186/library/network/src/modules/NetworkInterfaces.rb  
2016-04-25 08:53:55.0 +0200
+++ new/yast2-3.1.189/library/network/src/modules/NetworkInterfaces.rb  
2016-05-18 13:41:52.0 +0200
@@ -627,6 +627,24 @@
   ifcfg
 end
 
+# Filters out INTERFACETYPE option from ifcfg config when it is not needed.
+#
+# INTERFACETYPE has big impact on wicked even yast behavior. It was 
overused
+# by yast in the past. According wicked team it makes sense to use it only
+# in two cases 1) lo device (when it's name is changed - very strongly 
discouraged)
+# 2) dummy device
+#
+# This function silently modifies user's config files. However, it should 
make sense
+# because:
+# - INTERFACETYPE is usually not needed
+# - other functions in this module modifies the config as well (see 
Canonicalize* functions)
+# - using INTERFACETYPE is reported as a warning by wicked (it asks for 
reporting a bug)
+# - it is often ignored by wicked
+def filter_interfacetype(devmap)
+  ret = deep_copy(devmap)
+  ret.delete_if { |k, v| k == "INTERFACETYPE" && !["lo", 
"dummy"].include?(v) }
+end
+
 # Conceal secret information, such as WEP keys, so that the output
 # can be passed to y2log and bugzilla.
 # @param [Hash{String => Object}] ifcfg one ifcfg
@@ -731,14 +749,17 @@
 caliases = Builtins.mapmap(Ops.get_map(config, "_aliases", {})) do |a, 
c|
   { a => CanonicalizeIP(c) }
 end
-Ops.set(config, "_aliases", caliases) if caliases != {} # 
unconditionally?
+config["_aliases"] = caliases if caliases != {}
 config = CanonicalizeIP(config)
 config = CanonicalizeStartmode(config)
+config = filter_interfacetype(config)
+
 devtype = GetTypeFromIfcfg(config)
 devtype = GetType(d) if devtype.nil?
-dev = Ops.get(@Devices, devtype, {})
-Ops.set(dev, d, config)
-Ops.set(@Devices, devtype, dev)
+
+   

commit yast2 for openSUSE:Factory

2016-04-28 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-04-28 20:30:25

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-04-22 
16:18:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-04-28 
20:30:26.0 +0200
@@ -1,0 +2,8 @@
+Fri Apr 22 14:37:28 UTC 2016 - knut.anders...@suse.com
+
+- Added restarting state to Installation to for example recover
+  data  or skip dialogs until the one wich restarted yast.
+  (related to bsc#974409)
+- 3.1.186
+
+---

Old:

  yast2-3.1.185.tar.bz2

New:

  yast2-3.1.186.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.fFH4CH/_old  2016-04-28 20:30:27.0 +0200
+++ /var/tmp/diff_new_pack.fFH4CH/_new  2016-04-28 20:30:27.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.185
+Version:3.1.186
 Release:0
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.185.tar.bz2 -> yast2-3.1.186.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.185/library/control/src/modules/Installation.rb 
new/yast2-3.1.186/library/control/src/modules/Installation.rb
--- old/yast2-3.1.185/library/control/src/modules/Installation.rb   
2016-04-21 18:07:51.0 +0200
+++ new/yast2-3.1.186/library/control/src/modules/Installation.rb   
2016-04-25 08:53:55.0 +0200
@@ -36,6 +36,7 @@
 #
 # $Id$
 require "yast"
+require "fileutils"
 
 module Yast
   class InstallationClass < Module
@@ -108,6 +109,10 @@
   # Running YaST in upgrade mode (initiated from running system)
   @run_update_file = Ops.add(Directory.vardir, "/run_system_update")
 
+  # A flag to know if current installation is restarting skipping dialogs 
or
+  # recovering values until the step just before the yast restart was done
+  @restarting_file = Ops.add(Directory.vardir, "/restarting_yast")
+
   # Network should be started before the installation starts (continues)
   # bugzilla #258742
   #
@@ -244,6 +249,20 @@
   Linuxrc.InstallInf("InstMode") || "cd"
 end
 
+def restart!
+  ::FileUtils.touch(@restart_file)
+  ::FileUtils.touch(@restarting_file)
+  :restart_yast
+end
+
+def restarting?
+  ::File.exist?(@restarting_file)
+end
+
+def finish_restarting!
+  ::FileUtils.remove_file(@restarting_file, true) if restarting?
+end
+
 # run X11 configuration after inital boot
 # this is false in case of:
 # installation via serial console
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.185/library/network/src/modules/SuSEFirewallServices.rb 
new/yast2-3.1.186/library/network/src/modules/SuSEFirewallServices.rb
--- old/yast2-3.1.185/library/network/src/modules/SuSEFirewallServices.rb   
2016-04-21 18:07:51.0 +0200
+++ new/yast2-3.1.186/library/network/src/modules/SuSEFirewallServices.rb   
2016-04-25 08:53:55.0 +0200
@@ -272,8 +272,8 @@
 # @return  [Boolean] whether service is defined by package
 #
 # @example
-#  ServiceDefinedByPackage ("http-server") -> false
-#  ServiceDefinedByPackage ("service:http-server") -> true
+#   ServiceDefinedByPackage ("http-server") -> false
+#   ServiceDefinedByPackage ("service:http-server") -> true
 def ServiceDefinedByPackage(service)
   service.start_with? DEFINED_BY_PKG_PREFIX
 end
@@ -285,8 +285,8 @@
 # @return [String] file name (e.g., 'abc')
 #
 # @example
-#  GetFilenameFromServiceDefinedByPackage ("service:abc") -> "abc"
-#  GetFilenameFromServiceDefinedByPackage ("abc") -> nil
+#   GetFilenameFromServiceDefinedByPackage ("service:abc") -> "abc"
+#   GetFilenameFromServiceDefinedByPackage ("abc") -> nil
 def GetFilenameFromServiceDefinedByPackage(service)
   if !ServiceDefinedByPackage(service)
 log.error "Service #{service} is not defined by package"
@@ -299,7 +299,8 @@
 # Returns SCR Agent definition.
 #
 # @return [Yast::Term] with agent definition
-# @param string full filename path (to read by this agent)
+# @param filefullpath [String] full filename path (to read by this agent)
+# @api private
 def GetMetadataAgent(filefullpath)
   term(
 :IniAgent,
@@ -337,12 +338,13 @@
 
 # Returns service definition.
 # See @services for the format.
-# If `silent` is not 

commit yast2 for openSUSE:Factory

2016-04-22 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-04-22 16:18:40

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-04-11 
09:11:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-04-22 
16:18:41.0 +0200
@@ -1,0 +2,14 @@
+Tue Apr 19 12:02:28 UTC 2016 - jreidin...@suse.com
+
+- CWM: fix showing help for tabs widgets
+  found during fixing bnc#952633)
+- 3.1.185
+
+---
+Mon Apr 11 07:55:44 UTC 2016 - lsle...@suse.cz
+
+- Make the "Abort" button default in the file conflict popup
+  (safe default compatible with zypper) (bsc#923590)
+- 3.1.184
+
+---

Old:

  yast2-3.1.183.tar.bz2

New:

  yast2-3.1.185.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.9xXebK/_old  2016-04-22 16:18:42.0 +0200
+++ /var/tmp/diff_new_pack.9xXebK/_new  2016-04-22 16:18:42.0 +0200
@@ -17,76 +17,79 @@
 
 
 Name:   yast2
-Version:3.1.183
+Version:3.1.185
 Release:0
+Summary:YaST2 - Main Package
+License:GPL-2.0
+Group:  System/YaST
 Url:https://github.com/yast/yast-yast2
-
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:%{name}-%{version}.tar.bz2
-
 Source1:yast2-rpmlintrc
-
+# for symlinking yardoc duplicates
+BuildRequires:  fdupes
+# Needed for tests
+BuildRequires:  grep
 BuildRequires:  perl-XML-Writer
+# for defining abstract methods in libraries
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:abstract_method)
+# for file access using augeas
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:cfa)
+# for running scripts
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:cheetah)
+# For running RSpec tests during build
 BuildRequires:  update-desktop-files
-BuildRequires:  yast2-devtools >= 3.1.10
-BuildRequires:  yast2-perl-bindings
-BuildRequires:  yast2-testsuite
+BuildRequires:  rubygem(%{rb_default_ruby_abi}:rspec)
 # Needed already in build time
 BuildRequires:  yast2-core >= 2.18.12
+BuildRequires:  yast2-devtools >= 3.1.10
+BuildRequires:  yast2-perl-bindings
 BuildRequires:  yast2-pkg-bindings >= 2.20.3
-BuildRequires:  yast2-ycp-ui-bindings >= 3.1.8
-
-# Needed for tests
-BuildRequires:  grep
-
-# for symlinking yardoc duplicates
-BuildRequires:  fdupes
-
-# For running RSpec tests during build
-BuildRequires:  rubygem(%rb_default_ruby_abi:rspec)
-# for defining abstract methods in libraries
-BuildRequires:  rubygem(%rb_default_ruby_abi:abstract_method)
-# for running scripts
-BuildRequires:  rubygem(%rb_default_ruby_abi:cheetah)
-# for file access using augeas
-BuildRequires:  rubygem(%rb_default_ruby_abi:cfa)
-
 # To have Yast::CoreExt::AnsiString
 BuildRequires:  yast2-ruby-bindings >= 3.1.36
-
-# pre-requires for filling the sysconfig template (sysconfig.yast2)
-PreReq: %fillup_prereq
-
-# ag_ini section_private
-# ag_ini with (un)quoting support
-Requires:   yast2-core >= 2.23.0
-# for defining abstract methods in libraries
-Requires:   rubygem(%rb_default_ruby_abi:abstract_method)
-# for running scripts
-Requires:   rubygem(%rb_default_ruby_abi:cheetah)
-# for file access using augeas
-Requires:   rubygem(%rb_default_ruby_abi:cfa)
-# new UI::SetApplicationIcon
-Requires:   yast2-ycp-ui-bindings >= 3.1.8
-
-# changed StartPackage callback signature
-Requires:   yast2-pkg-bindings >= 2.20.3
-Requires:   yui_backend
-# For Cron Agent, Module
-Requires:   perl-Config-Crontab
+BuildRequires:  yast2-testsuite
+BuildRequires:  yast2-ycp-ui-bindings >= 3.1.8
 # for ag_tty (/bin/stty)
 # for /usr/bin/md5sum
 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
+Requires:   rubygem(%{rb_default_ruby_abi}:abstract_method)
+# for file access using augeas
+Requires:   rubygem(%{rb_default_ruby_abi}:cfa)
+# for running scripts
 Requires:   sysconfig >= 0.80.0
+Requires:   rubygem(%{rb_default_ruby_abi}:cheetah)
+# ag_ini section_private
+# ag_ini with (un)quoting support
+Requires:   yast2-core >= 2.23.0
 Requires:   yast2-hardware-detection
-Requires:   yast2-xml
 # for SLPAPI.pm
 Requires:   yast2-perl-bindings
-# for ag_anyxml
-Requires:   perl-XML-Simple
-# for GPG.ycp
-Requires:   gpg2
-
+# changed StartPackage callback signature
+

commit yast2 for openSUSE:Factory

2016-04-11 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-04-11 09:11:53

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-03-26 
15:12:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-04-11 
09:11:55.0 +0200
@@ -1,0 +2,21 @@
+Mon Apr  4 14:36:18 CEST 2016 - sch...@suse.de
+
+- Added system_time to ylib_DATA.
+  Cleanup for bnc#956730.
+- 3.1.183
+
+---
+Fri Apr  1 14:35:38 CEST 2016 - sch...@suse.de
+
+- Moved "uptime" from package autoyast2 to yast2.
+  Cleanup for bnc#956730.
+- 3.1.182
+
+---
+Tue Mar 29 13:37:40 UTC 2016 - lsle...@suse.cz
+
+- Display a confirmation dialog when a file conflict is detected
+  during package installation (bsc#923590)
+- 3.1.181
+
+---

Old:

  yast2-3.1.180.tar.bz2

New:

  yast2-3.1.183.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.tk13xv/_old  2016-04-11 09:11:56.0 +0200
+++ /var/tmp/diff_new_pack.tk13xv/_new  2016-04-11 09:11:56.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.180
+Version:3.1.183
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.180.tar.bz2 -> yast2-3.1.183.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.180/library/packages/src/Makefile.am 
new/yast2-3.1.183/library/packages/src/Makefile.am
--- old/yast2-3.1.180/library/packages/src/Makefile.am  2016-03-23 
18:50:52.0 +0100
+++ new/yast2-3.1.183/library/packages/src/Makefile.am  2016-04-04 
14:45:03.0 +0200
@@ -23,6 +23,7 @@
 ylib_DATA = \
   lib/packages/commit_result.rb \
   lib/packages/dummy_callbacks.rb \
+  lib/packages/file_conflict_callbacks.rb \
   lib/packages/update_message.rb \
   lib/packages/update_messages_view.rb
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.180/library/packages/src/lib/packages/file_conflict_callbacks.rb 
new/yast2-3.1.183/library/packages/src/lib/packages/file_conflict_callbacks.rb
--- 
old/yast2-3.1.180/library/packages/src/lib/packages/file_conflict_callbacks.rb  
1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-3.1.183/library/packages/src/lib/packages/file_conflict_callbacks.rb  
2016-04-04 14:45:03.0 +0200
@@ -0,0 +1,186 @@
+
+# 
--
+# Copyright (c) 2016 SUSE LLC
+#
+# 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 "yast"
+
+module Packages
+  # Default file conflicts callbacks for package bindings. To register the
+  # callbacks in Yast::Pkg just call {Packages::FileConflictCallbacks.register}
+  class FileConflictCallbacks
+# Widget ID (created by other code)
+PKG_INSTALL_WIDGET = :progressCurrentPackage
+
+class << self
+  include Yast::Logger
+  include Yast::I18n
+  include Yast::UIShortcuts
+
+  # register the file conflict callbacks
+  def register
+Yast.import "Pkg"
+Yast.import "UI"
+Yast.import "Progress"
+Yast.import "Mode"
+Yast.import "CommandLine"
+Yast.import "Report"
+Yast.import "Label"
+Yast.import "PackageCallbacks"
+
+textdomain "base"
+
+register_file_conflict_callbacks
+  end
+
+private
+
+  # Helper function for creating an YaST function reference
+  def fun_ref(*args)
+Yast::FunRef.new(*args)
+  end
+
+  # Register the default file conflicts callbacks
+  def register_file_conflict_callbacks
+log.info "Registering file conflict callbacks"
+
+Yast::Pkg.CallbackFileConflictStart(fun_ref(method(:start), "void ()"))
+Yast::Pkg.CallbackFileConflictProgress(fun_ref(method(:progress),
+  "boolean (integer)"))
+Yast::Pkg.CallbackFileConflictReport(fun_ref(

commit yast2 for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-03-26 15:12:01

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-03-18 
21:38:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-03-26 
15:12:02.0 +0100
@@ -1,0 +2,7 @@
+Wed Mar 23 16:26:26 UTC 2016 - c...@suse.com
+
+- Added proc_modules.scr from yast-installation to avoid that
+  yast-sound depends on yast-installation (bsc#972310)
+- 3.1.180
+
+---

Old:

  yast2-3.1.179.tar.bz2

New:

  yast2-3.1.180.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.1nPndb/_old  2016-03-26 15:12:03.0 +0100
+++ /var/tmp/diff_new_pack.1nPndb/_new  2016-03-26 15:12:03.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.179
+Version:3.1.180
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.179.tar.bz2 -> yast2-3.1.180.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.179/library/general/src/Makefile.am 
new/yast2-3.1.180/library/general/src/Makefile.am
--- old/yast2-3.1.179/library/general/src/Makefile.am   2016-03-17 
12:40:52.0 +0100
+++ new/yast2-3.1.180/library/general/src/Makefile.am   2016-03-23 
18:50:52.0 +0100
@@ -63,6 +63,7 @@
   scrconf/anyxml.scr \
   scrconf/yast2_desktop.scr \
   scrconf/proc_mounts.scr \
+  scrconf/proc_modules.scr \
   scrconf/cfg_ypserv.scr \
   scrconf/cfg_security.scr
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.179/library/general/src/scrconf/proc_modules.scr 
new/yast2-3.1.180/library/general/src/scrconf/proc_modules.scr
--- old/yast2-3.1.179/library/general/src/scrconf/proc_modules.scr  
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.180/library/general/src/scrconf/proc_modules.scr  
2016-03-23 18:50:52.0 +0100
@@ -0,0 +1,47 @@
+/**
+ * File:
+ *   proc_modules.scr
+ * Summary:
+ *   SCR Agent for reading /proc/modules
+ * Access:
+ *   read-only
+ * Authors:
+ *   Unknown 
+ * See:
+ *   anyagent
+ *   libscr
+ * Example:
+ *   Read(.proc.modules)
+ *   ($["aic7xxx":$["size":129600, "used":"3"], 
+ *  "autofs4":$["size":9344, "used":"4"], 
+ *  "de4x5":$["size":40320, "used":"1"], 
+ *  ...
+ *   ])
+ * 
+ * $Id$
+ *
+ * Returns a mapi. Keys are the module names, values are maps. 
+ * Keys of those maps are: "size", "used"
+ */
+.proc.modules
+
+`ag_anyagent(
+  `Description (
+  (`File("/proc/modules")),// real file name
+  "#\n",   // Comment
+  true,// read-only
+  (`Tuple (
+  `Name(`String("^ \t")),
+  `Whitespace (),
+  `Value (
+   `Tuple (
+ `size (`Number()),
+ `Whitespace(),
+ `used (`String("^ \n")),
+ `Optional (`String ("^\n"))
+   )
+  ),
+  `Continue ("\n")
+) )
+  )
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.179/package/yast2.changes 
new/yast2-3.1.180/package/yast2.changes
--- old/yast2-3.1.179/package/yast2.changes 2016-03-17 12:40:52.0 
+0100
+++ new/yast2-3.1.180/package/yast2.changes 2016-03-23 18:50:52.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Wed Mar 23 16:26:26 UTC 2016 - c...@suse.com
+
+- Added proc_modules.scr from yast-installation to avoid that
+  yast-sound depends on yast-installation (bsc#972310)
+- 3.1.180
+
+---
 Wed Mar 16 17:10:37 UTC 2016 - knut.anders...@suse.com
 
 - Added cfg_mail.scr from yast-mail to avoid circular dependencies
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.179/package/yast2.spec 
new/yast2-3.1.180/package/yast2.spec
--- old/yast2-3.1.179/package/yast2.spec2016-03-17 12:40:52.0 
+0100
+++ new/yast2-3.1.180/package/yast2.spec2016-03-23 18:50:52.0 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.179
+Version:3.1.180
 Release:0
 Url:https://github.com/yast/yast-yast2
 




commit yast2 for openSUSE:Factory

2016-03-20 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-03-18 21:38:28

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-03-09 
15:16:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-03-18 
21:38:30.0 +0100
@@ -1,0 +2,13 @@
+Wed Mar 16 17:10:37 UTC 2016 - knut.anders...@suse.com
+
+- Added cfg_mail.scr from yast-mail to avoid circular dependencies
+  with yast2-security, yast2-users and yast2-mail (FATE#319711)
+- 3.1.179
+
+---
+Thu Mar 10 10:15:13 UTC 2016 - dval...@suse.com
+
+- Introduce PowerNV platform (boo#970582)
+- 3.1.178
+
+---

Old:

  yast2-3.1.177.tar.bz2

New:

  yast2-3.1.179.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.9JAvxO/_old  2016-03-18 21:38:31.0 +0100
+++ /var/tmp/diff_new_pack.9JAvxO/_new  2016-03-18 21:38:31.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.177
+Version:3.1.179
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -111,6 +111,9 @@
 # moved ag_content agent 
 Conflicts:  yast2-instserver <= 2.16.3
 
+# moved cfg_mail.scr
+Conflicts:  yast2-mail < 3.1.7
+
 # InstError
 Conflicts:  yast2-installation < 2.18.5
 

++ yast2-3.1.177.tar.bz2 -> yast2-3.1.179.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.177/library/Makefile.am 
new/yast2-3.1.179/library/Makefile.am
--- old/yast2-3.1.177/library/Makefile.am   2016-03-08 13:50:39.0 
+0100
+++ new/yast2-3.1.179/library/Makefile.am   2016-03-17 12:40:52.0 
+0100
@@ -1,3 +1,3 @@
 # Makefile.am for yast2/library
 
-SUBDIRS = types runlevel sequencer xml commandline desktop wizard control cwm 
log system packages cron network gpg general systemd
+SUBDIRS = types runlevel sequencer xml commandline desktop wizard control cwm 
log system packages cron network gpg general systemd mail
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.177/library/general/src/modules/Arch.rb 
new/yast2-3.1.179/library/general/src/modules/Arch.rb
--- old/yast2-3.1.177/library/general/src/modules/Arch.rb   2016-03-08 
13:50:39.0 +0100
+++ new/yast2-3.1.179/library/general/src/modules/Arch.rb   2016-03-17 
12:40:52.0 +0100
@@ -200,13 +200,11 @@
 end
 Builtins.y2milestone("_board_compatible '%1' \n", @_board_compatible)
 @_board_compatible = "wintel" if i386 || x86_64
-# hwinfo expects CHRP/PReP/iSeries/MacRISC* in /proc/cpuinfo
+# hwinfo expects CHRP/PReP/iSeries/MacRISC*/PowerNV in /proc/cpuinfo
 # there is no standard for the board identification
 # Cell and Maple based boards have no CHRP in /proc/cpuinfo
 # Pegasos and Cell do have CHRP in /proc/cpuinfo, but Pegasos2 should 
no be handled as CHRP
 # Efika is handled like Pegasos for the time being
-# Treat PowerNV as CHRP. It is harmless for now. Patch for hwinfo is 
sent but it is better to be safe
-@_board_compatible = "CHRP" if @_board_compatible == "PowerNV"
 
 if ppc && (@_board_compatible.nil? || @_board_compatible == "CHRP")
   device_type = Convert.to_map(
@@ -229,20 +227,10 @@
 model,
 device_type
   )
-  compatible = Convert.to_map(
-SCR.Execute(
-  path(".target.bash_output"),
-  "echo -n `cat /proc/device-tree/compatible`",
-  {}
-)
-  )
   # catch remaining IBM boards
   if Builtins.issubstring(
 Ops.get_string(device_type, "stdout", ""),
 "chrp"
-   ) || Builtins.issubstring(
- Ops.get_string(compatible, "stdout", ""),
- "ibm,powernv"
)
 @_board_compatible = "CHRP"
   end
@@ -301,6 +289,12 @@
   ppc && board_compatible == "CHRP"
 end
 
+# true for all baremetal Power8 systems
+# https://github.com/open-power/docs
+def board_powernv
+  ppc && board_compatible == "PowerNV"
+end
+
 # true for all "iSeries" ppc boards
 def board_iseries
   ppc && board_compatible == "iSeries"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.177/library/mail/Makefile.am 
new/yast2-3.1.179/library/mail/Makefile.am
--- old/y

commit yast2 for openSUSE:Factory

2016-03-09 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-03-09 15:16:43

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-03-03 
15:09:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-03-09 
15:16:45.0 +0100
@@ -1,0 +2,7 @@
+Fri Mar  4 10:54:48 UTC 2016 - mvid...@suse.com
+
+- Added ProductFeatures.SetOverlay,ClearOverlay for System Roles
+  (FATE#317481)
+- 3.1.177
+
+---

Old:

  yast2-3.1.176.tar.bz2

New:

  yast2-3.1.177.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.h0k5et/_old  2016-03-09 15:16:46.0 +0100
+++ /var/tmp/diff_new_pack.h0k5et/_new  2016-03-09 15:16:46.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.176
+Version:3.1.177
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.176.tar.bz2 -> yast2-3.1.177.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.176/.rubocop.yml 
new/yast2-3.1.177/.rubocop.yml
--- old/yast2-3.1.176/.rubocop.yml  2016-03-02 14:26:08.0 +0100
+++ new/yast2-3.1.177/.rubocop.yml  2016-03-08 13:50:39.0 +0100
@@ -26,21 +26,11 @@
 Metrics/PerceivedComplexity:
   Max: 65
 
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-# JR: I personally think that having this variable on class level is much more 
readable
-# and easier to recognize that access visibility changed
-Style/AccessModifierIndentation:
-  EnforcedStyle: outdent
-
 Style/AccessorMethodName:
   # keep backward compatibility, but do not allow new code to be non-ruby style
   Exclude:
 - library/systemd/src/modules/systemd_target.rb
 
-# Keep non-ascii comments as it contains e.g. examples for Punycode
-Style/AsciiComments:
-  Enabled: false
-
 # UI_ID module is not camel case
 Style/ClassAndModuleCamelCase:
   Enabled: false
@@ -50,10 +40,6 @@
   Include:
 - "library/*/src/lib/**/*.rb"
 
-# keep double negation as conversion to boolean
-Style/DoubleNegation:
-  Enabled: false
-
 Style/FileName:
   Include:
 - "library/*/src/lib/**/*.rb"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.176/library/control/src/modules/ProductFeatures.rb 
new/yast2-3.1.177/library/control/src/modules/ProductFeatures.rb
--- old/yast2-3.1.176/library/control/src/modules/ProductFeatures.rb
2016-03-02 14:26:08.0 +0100
+++ new/yast2-3.1.177/library/control/src/modules/ProductFeatures.rb
2016-03-08 13:50:39.0 +0100
@@ -43,6 +43,9 @@
   # See defaults map below for sample contents
   @features = nil
 
+  # See SetOverlay and ClearOverlay
+  @backup_features = nil
+
   # Default values for features
   # two-level map, section_name -> [ feature -> value ]
   @defaults = {
@@ -318,6 +321,32 @@
   nil
 end
 
+# Overlay, or override, some features.
+# The intended use is to use SetOverlay to apply some features
+# specified by a system role (FATE#317481).
+# Clear would be called only when coming Back
+# to the role selection dialog (and then SetOverlay with a different one)
+# @param features [Hash{String => Hash{String => Object}}] in the same
+#   format as `@features` or `@defaults`
+# @return void
+def SetOverlay(features)
+  @backup_features = deep_copy(@features)
+
+  features.each do |section_name, section|
+section.each do |k, v|
+  SetFeature(section_name, k, v)
+end
+  end
+end
+
+# Remove a `@features` overlay; does nothing if SetOverlay was never 
called.
+# @see SetOverlay
+# @return void
+def ClearOverlay
+  return if @backup_features.nil?
+  @features = deep_copy(@backup_features)
+end
+
 publish function: :GetStringFeature, type: "string (string, string)"
 publish function: :SetSection, type: "void (string, map )"
 publish function: :GetSection, type: "map  (string)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.176/library/control/test/Makefile.am 
new/yast2-3.1.177/library/control/test/Makefile.am
--- old/yast2-3.1.176/library/control/test/Makefile.am  2016-03-02 
14:26:08.0 +0100
+++ new/yast2-3.1.177/library/control/test/Makefile.am  2016-03-08 
13:50:39.0 +0100
@@ -1,5 +1,6 @@
 TESTS = \
-  InstExtensionImage_test.rb
+  InstExtensionImage_test.rb \

commit yast2 for openSUSE:Factory

2016-03-03 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-02-25 
21:51:56.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-03-03 
15:09:31.0 +0100
@@ -1,0 +2,7 @@
+Wed Mar  2 13:10:03 UTC 2016 - jreidin...@suse.com
+
+- Require rubygems using system ruby version to avoid YaST failures
+  (bnc#969113)
+- 3.1.176
+
+---

Old:

  yast2-3.1.175.tar.bz2

New:

  yast2-3.1.176.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.XNknEk/_old  2016-03-03 15:09:32.0 +0100
+++ /var/tmp/diff_new_pack.XNknEk/_new  2016-03-03 15:09:32.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.175
+Version:3.1.176
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -43,13 +43,13 @@
 BuildRequires:  fdupes
 
 # For running RSpec tests during build
-BuildRequires:  rubygem(rspec)
+BuildRequires:  rubygem(%rb_default_ruby_abi:rspec)
 # for defining abstract methods in libraries
-BuildRequires:  rubygem(abstract_method)
+BuildRequires:  rubygem(%rb_default_ruby_abi:abstract_method)
 # for running scripts
-BuildRequires:  rubygem(cheetah)
+BuildRequires:  rubygem(%rb_default_ruby_abi:cheetah)
 # for file access using augeas
-BuildRequires:  rubygem(cfa)
+BuildRequires:  rubygem(%rb_default_ruby_abi:cfa)
 
 # To have Yast::CoreExt::AnsiString
 BuildRequires:  yast2-ruby-bindings >= 3.1.36
@@ -61,11 +61,11 @@
 # ag_ini with (un)quoting support
 Requires:   yast2-core >= 2.23.0
 # for defining abstract methods in libraries
-Requires:   rubygem(abstract_method)
+Requires:   rubygem(%rb_default_ruby_abi:abstract_method)
 # for running scripts
-Requires:   rubygem(cheetah)
+Requires:   rubygem(%rb_default_ruby_abi:cheetah)
 # for file access using augeas
-Requires:   rubygem(cfa)
+Requires:   rubygem(%rb_default_ruby_abi:cfa)
 # new UI::SetApplicationIcon
 Requires:   yast2-ycp-ui-bindings >= 3.1.8
 

++ yast2-3.1.175.tar.bz2 -> yast2-3.1.176.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.175/library/network/src/modules/SuSEFirewall.rb 
new/yast2-3.1.176/library/network/src/modules/SuSEFirewall.rb
--- old/yast2-3.1.175/library/network/src/modules/SuSEFirewall.rb   
2016-02-24 09:47:58.0 +0100
+++ new/yast2-3.1.176/library/network/src/modules/SuSEFirewall.rb   
2016-03-02 14:26:08.0 +0100
@@ -2397,7 +2397,7 @@
   firewall_zones = GetZonesOfInterfacesWithAnyFeatureSupported(interfaces)
   if Builtins.size(firewall_zones) == 0
 Builtins.y2error(
-  "Interfaces '%1' are not in any group if interfaces",
+  "Interfaces '%1' are not in any group of interfaces",
   interfaces
 )
 return false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.175/package/yast2.changes 
new/yast2-3.1.176/package/yast2.changes
--- old/yast2-3.1.175/package/yast2.changes 2016-02-24 09:47:59.0 
+0100
+++ new/yast2-3.1.176/package/yast2.changes 2016-03-02 14:26:08.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Wed Mar  2 13:10:03 UTC 2016 - jreidin...@suse.com
+
+- Require rubygems using system ruby version to avoid YaST failures
+  (bnc#969113)
+- 3.1.176
+
+---
 Mon Feb 22 05:39:05 UTC 2016 - igonzalezs...@suse.com
 
 - Add support for showing update messages from libzypp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.175/package/yast2.spec 
new/yast2-3.1.176/package/yast2.spec
--- old/yast2-3.1.175/package/yast2.spec2016-02-24 09:47:59.0 
+0100
+++ new/yast2-3.1.176/package/yast2.spec2016-03-02 14:26:08.0 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.175
+Version:3.1.176
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -43,13 +43,13 @@
 BuildRequires:  fdupes
 
 # For running RSpec tests during build
-BuildRequires:  rubygem(rspec)
+BuildRequires:  rubygem(%rb_default_ruby_abi:rspec)
 # for defining abstract methods in libraries
-BuildRequires:  rubygem(abstract_method)
+BuildRequires:  rubygem(%rb_default_ruby_abi:abstract_method)
 # for running

commit yast2 for openSUSE:Factory

2016-02-25 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-02-25 21:51:49

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-02-09 
13:31:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-02-25 
21:51:56.0 +0100
@@ -1,0 +2,19 @@
+Mon Feb 22 05:39:05 UTC 2016 - igonzalezs...@suse.com
+
+- Add support for showing update messages from libzypp
+  (related to bsc#943805)
+- 3.1.175
+
+---
+Thu Feb  5 12:35:38 UTC 2016 - kanders...@suse.com
+
+- SuSEFirewall module reads system configuration during
+  autoinstallation. It behaves in the same way as
+  regular installation or normal operation (bsc#963585)
+- AutoYaST settings for SuSEFirewall will be merged
+  with the existing configuration (instead of being fully
+  overwritten).
+- Add a read_and_import method to SuSEFirewall module.
+- 3.1.174
+
+---

Old:

  yast2-3.1.173.tar.bz2

New:

  yast2-3.1.175.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.mWAtqI/_old  2016-02-25 21:51:57.0 +0100
+++ /var/tmp/diff_new_pack.mWAtqI/_new  2016-02-25 21:51:57.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.173
+Version:3.1.175
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.173.tar.bz2 -> yast2-3.1.175.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.173/.travis.yml 
new/yast2-3.1.175/.travis.yml
--- old/yast2-3.1.173/.travis.yml   2016-02-05 14:56:11.0 +0100
+++ new/yast2-3.1.175/.travis.yml   2016-02-24 09:47:58.0 +0100
@@ -5,7 +5,7 @@
 # disable rvm, use system Ruby
 - rvm reset
 - wget 
https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
-- sh ./travis_setup.sh -p "rake yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2-pkg-bindings ruby2.1-dev libaugeas-dev pkg-config" -g 
"rspec:3.3.0 yast-rake gettext simplecov coveralls rubocop:0.29.1 cheetah 
abstract_method cfa"
+- sh ./travis_setup.sh -p "rake yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2-pkg-bindings ruby2.1-dev libaugeas-dev pkg-config" -g 
"rspec:3.3.0 yast-rake gettext simplecov coveralls:0.8.10 rubocop:0.29.1 
cheetah abstract_method cfa"
 script:
 - rake check:pot
 - rubocop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.173/library/general/src/modules/Popup.rb 
new/yast2-3.1.175/library/general/src/modules/Popup.rb
--- old/yast2-3.1.173/library/general/src/modules/Popup.rb  2016-02-05 
14:56:11.0 +0100
+++ new/yast2-3.1.175/library/general/src/modules/Popup.rb  2016-02-24 
09:47:58.0 +0100
@@ -80,14 +80,7 @@
   HSpacing(width),
   HBox(
 VSpacing(height),
-# display the message in the widget "as is":
-# escape all tags, replace new lines by  tag
-RichText(
-  Builtins.mergestring(
-Builtins.splitstring(String.EscapeTags(message), "\n"),
-""
-  )
-)
+RichText(message)
   )
 )
   )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.173/library/general/test/Makefile.am 
new/yast2-3.1.175/library/general/test/Makefile.am
--- old/yast2-3.1.173/library/general/test/Makefile.am  2016-02-05 
14:56:11.0 +0100
+++ new/yast2-3.1.175/library/general/test/Makefile.am  2016-02-24 
09:47:58.0 +0100
@@ -11,6 +11,7 @@
   popup_test.rb \
   proposal_client_test.rb \
   service_status_test.rb \
+  report_test.rb \
   agents_test/proc_meminfo_agent_test.rb
 
 TEST_EXTENSIONS = .rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.173/library/general/test/popup_test.rb 
new/yast2-3.1.175/library/general/test/popup_test.rb
--- old/yast2-3.1.173/library/general/test/popup_test.rb2016-02-05 
14:56:11.0 +0100
+++ new/yast2-3.1.175/library/general/test/popup_test.rb2016-02-24 
09:47:58.0 +0100
@@ -36,4 +36,263 @@
   expect { subject.Feedback("Label", "Message") }.to raise_error
 end
   end
+
+  describe ".Message" do
+before { allow(ui).to receive(:OpenDialog) }
+
+it "shows a popup without escapin

commit yast2 for openSUSE:Factory

2016-02-09 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-02-09 13:31:18

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2016-01-13 
22:42:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-02-09 
13:31:20.0 +0100
@@ -1,0 +2,72 @@
+Fri Feb  5 07:31:35 UTC 2016 - mfi...@suse.com
+
+- bsc#960040
+  - put valid hostname into AY profile generated at the end of
+installation
+- 3.1.173
+
+---
+Mon Feb  1 15:31:07 UTC 2016 - jreidin...@suse.com
+
+- Yast::Execute do not crash for missing '_' method (found during
+  FATE#317701)
+- 3.1.172
+
+---
+Mon Feb  1 08:31:17 UTC 2016 - jreidin...@suse.com
+
+- fix packaging of TargetFile and Execute classes (FATE#317701)
+- 3.1.171
+
+---
+Thu Jan 28 12:16:28 UTC 2016 - jreidin...@suse.com
+
+- fix string processing for frames in CWM causing crash in
+  yast2-network (bnc#963966)
+- 3.1.170
+
+---
+Wed Jan 27 14:53:37 UTC 2016 - jreidin...@suse.com
+
+- Added Yast::Execute, a class to run programs with Cheetah
+- Added Yast::TargetFile, a handler suitable for CFA::BaseModel
+- Both respect Yast::Installation.destdir ( needed for FATE#317701)
+- 3.1.169
+
+---
+Tue Jan 26 16:10:38 UTC 2016 - jreidin...@suse.com
+
+- Allow CWM to specify which events do not cause storing of widget
+  content ( needed for FATE#317701)
+- 3.1.168
+
+---
+Tue Jan 26 09:18:44 UTC 2016 - an...@suse.com
+
+- Added UI::InstallationDialog as specialization of UI::Dialog
+  (part of bsc#893825)
+- 3.1.167
+
+---
+Wed Jan 20 13:45:36 UTC 2016 - jreidin...@suse.com
+
+- Added CWM::Tabs that is object oriented API replacement for
+  CWMTab
+- 3.1.166
+
+---
+Mon Jan 18 17:01:28 UTC 2016 - igonzalezs...@suse.com
+
+- Add a default value for firewall setting FW_BOOT_INIT_FULL
+  (bsc#955400)
+- 3.1.165
+
+---
+Mon Jan 18 09:18:53 UTC 2016 - jreidin...@suse.com
+
+- Added CWM::AbstractWidget.
+- Added CWM.show method working with AbstractWidgets kids
+- Added few basic CWM widgets for easier CWM.show usage
+- 3.1.164
+
+---

Old:

  yast2-3.1.163.tar.bz2

New:

  yast2-3.1.173.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.7UlRcR/_old  2016-02-09 13:31:21.0 +0100
+++ /var/tmp/diff_new_pack.7UlRcR/_new  2016-02-09 13:31:21.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.163
+Version:3.1.173
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -44,6 +44,13 @@
 
 # For running RSpec tests during build
 BuildRequires:  rubygem(rspec)
+# for defining abstract methods in libraries
+BuildRequires:  rubygem(abstract_method)
+# for running scripts
+BuildRequires:  rubygem(cheetah)
+# for file access using augeas
+BuildRequires:  rubygem(cfa)
+
 # To have Yast::CoreExt::AnsiString
 BuildRequires:  yast2-ruby-bindings >= 3.1.36
 
@@ -53,6 +60,12 @@
 # ag_ini section_private
 # ag_ini with (un)quoting support
 Requires:   yast2-core >= 2.23.0
+# for defining abstract methods in libraries
+Requires:   rubygem(abstract_method)
+# for running scripts
+Requires:   rubygem(cheetah)
+# for file access using augeas
+Requires:   rubygem(cfa)
 # new UI::SetApplicationIcon
 Requires:   yast2-ycp-ui-bindings >= 3.1.8
 

++ yast2-3.1.163.tar.bz2 -> yast2-3.1.173.tar.bz2 ++
 5340 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2016-01-13 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2016-01-13 22:42:54

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-12-27 
01:57:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2016-01-13 
22:42:55.0 +0100
@@ -1,0 +2,6 @@
+Tue Jan 12 13:43:04 UTC 2016 - jsr...@suse.cz
+
+- fixed semantics of SCR call for zKVM detection (bsc#961485)
+- 3.1.163
+
+---

Old:

  yast2-3.1.162.tar.bz2

New:

  yast2-3.1.163.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.t8F8L2/_old  2016-01-13 22:42:56.0 +0100
+++ /var/tmp/diff_new_pack.t8F8L2/_new  2016-01-13 22:42:56.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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:3.1.162
+Version:3.1.163
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.162.tar.bz2 -> yast2-3.1.163.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.162/library/general/src/modules/Arch.rb 
new/yast2-3.1.163/library/general/src/modules/Arch.rb
--- old/yast2-3.1.162/library/general/src/modules/Arch.rb   2015-12-17 
14:46:13.0 +0100
+++ new/yast2-3.1.163/library/general/src/modules/Arch.rb   2016-01-12 
14:56:14.0 +0100
@@ -458,7 +458,7 @@
 def is_zkvm
   if @_is_zkvm.nil?
 # using different check than on x86 as recommended by IBM
-@_is_zkvm = s390 && Yast::WFM.Execute(".local.bash", "egrep 'Control 
Program: KVM' /proc/sysinfo") == 0
+@_is_zkvm = s390 && Yast::WFM.Execute(path(".local.bash"), "egrep 
'Control Program: KVM' /proc/sysinfo") == 0
   end
 
   @_is_zkvm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.162/package/yast2.changes 
new/yast2-3.1.163/package/yast2.changes
--- old/yast2-3.1.162/package/yast2.changes 2015-12-17 14:46:13.0 
+0100
+++ new/yast2-3.1.163/package/yast2.changes 2016-01-12 14:56:15.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Tue Jan 12 13:43:04 UTC 2016 - jsr...@suse.cz
+
+- fixed semantics of SCR call for zKVM detection (bsc#961485)
+- 3.1.163
+
+---
 Fri Dec 11 08:53:27 UTC 2015 - jsr...@suse.cz
 
 - added detection of zKVM to Arch.rb (for proper fix of bsc#956736)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.162/package/yast2.spec 
new/yast2-3.1.163/package/yast2.spec
--- old/yast2-3.1.162/package/yast2.spec2015-12-17 14:46:13.0 
+0100
+++ new/yast2-3.1.163/package/yast2.spec2016-01-12 14:56:15.0 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.162
+Version:3.1.163
 Release:0
 Url:https://github.com/yast/yast-yast2
 




commit yast2 for openSUSE:Factory

2015-12-26 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-12-27 01:57:50

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-12-01 
10:02:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-12-27 
01:57:51.0 +0100
@@ -1,0 +2,6 @@
+Fri Dec 11 08:53:27 UTC 2015 - jsr...@suse.cz
+
+- added detection of zKVM to Arch.rb (for proper fix of bsc#956736)
+- 3.1.162
+
+---

Old:

  yast2-3.1.161.tar.bz2

New:

  yast2-3.1.162.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.BSeTV6/_old  2015-12-27 01:57:53.0 +0100
+++ /var/tmp/diff_new_pack.BSeTV6/_new  2015-12-27 01:57:53.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.161
+Version:3.1.162
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.161.tar.bz2 -> yast2-3.1.162.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.161/library/general/src/modules/Arch.rb 
new/yast2-3.1.162/library/general/src/modules/Arch.rb
--- old/yast2-3.1.161/library/general/src/modules/Arch.rb   2015-11-27 
13:27:01.0 +0100
+++ new/yast2-3.1.162/library/general/src/modules/Arch.rb   2015-12-17 
14:46:13.0 +0100
@@ -57,6 +57,9 @@
 
   # KVM
   @_is_kvm = nil
+
+  # zKVM
+  @_is_zkvm = nil
 end
 
 # 
@@ -446,6 +449,22 @@
 end
 
 # 
+# zKVM stuff
+
+# zKVM means KVM on IBM System z
+# true if zKVM is running
+#
+# @return true if we are running on zKVM hypervisor
+def is_zkvm
+  if @_is_zkvm.nil?
+# using different check than on x86 as recommended by IBM
+@_is_zkvm = s390 && Yast::WFM.Execute(".local.bash", "egrep 'Control 
Program: KVM' /proc/sysinfo") == 0
+  end
+
+  @_is_zkvm
+end
+
+# 
 # SMP stuff
 
 # Set "Arch::has_smp ()". Since Alpha doesn't reliably probe smp,
@@ -516,6 +535,7 @@
 publish function: :is_xen0, type: "boolean ()"
 publish function: :is_xenU, type: "boolean ()"
 publish function: :is_kvm, type: "boolean ()"
+publish function: :is_zkvm, type: "boolean ()"
 publish function: :has_smp, type: "boolean ()"
 publish function: :x11_setup_needed, type: "boolean ()"
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.161/library/general/test/arch_test.rb 
new/yast2-3.1.162/library/general/test/arch_test.rb
--- old/yast2-3.1.161/library/general/test/arch_test.rb 1970-01-01 
01:00:00.0 +0100
+++ new/yast2-3.1.162/library/general/test/arch_test.rb 2015-12-17 
14:46:13.0 +0100
@@ -0,0 +1,47 @@
+#! /usr/bin/env rspec
+
+require_relative "test_helper"
+
+Yast.import "Arch"
+
+require "yast"
+
+describe Yast::Arch do
+
+  describe ".is_zkvm" do
+before do
+  # need to reset all initializeation of the module for individual
+  # test cases which mock different hardware
+  # otherwise values in Arch.rb remain cached
+  module_path = File.expand_path("../../src/modules/Arch.rb", __FILE__)
+  load module_path
+end
+
+it "returns true if on s390 and in the zKVM environment" do
+  allow(Yast::WFM).to receive(:Execute).and_return 0
+  allow(Yast::SCR).to receive(:Read).and_return "s390_64"
+
+  is_zkvm = Yast::Arch.is_zkvm
+
+  expect(is_zkvm).to eq(true)
+end
+
+it "returns false if on s390 and not in the zKVM environment" do
+  allow(Yast::WFM).to receive(:Execute).and_return 1
+  allow(Yast::SCR).to receive(:Read).and_return "s390_64"
+
+  is_zkvm = Yast::Arch.is_zkvm
+
+  expect(is_zkvm).to eq(false)
+end
+
+it "returns false on other architectures" do
+  allow(Yast::WFM).to receive(:Execute).and_return 0
+  allow(Yast::SCR).to receive(:Read).and_return "x86_64"
+
+  is_zkvm = Yast::Arch.is_zkvm
+
+  expect(is_zkvm).to eq(false)
+end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.161/package/yast2.changes 
new/yast2-3.1.162/package/yast2.changes
--- old/yast2-3.1.161/package/yast2.changes 2015-11-27 13:27:01.0 
+0100
+++ new/yast2-3.1.162/package/yast2.changes 2015-12-17 14:46:13.0 

commit yast2 for openSUSE:Factory

2015-12-01 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-11-08 
11:25:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-12-01 
10:02:52.0 +0100
@@ -1,0 +2,35 @@
+Fri Nov 27 09:03:22 UTC 2015 - an...@suse.com
+
+- Renamed some arguments and methods in the UI::ServiceStatus API
+  (fate#318771)
+- 3.1.161
+
+---
+Thu Nov 26 08:47:31 UTC 2015 - an...@suse.com
+
+- New methods CWM.save_current_widgets and
+  CWM.validate_current_widgets
+- Replaced UI::SrvStatusComponent with UI::ServiceStatus
+  (fate#318771)
+- 3.1.160
+
+---
+Tue Nov 24 14:05:14 CET 2015 - snw...@suse.de
+
+- rewrite save_y2logs (and log linuxrc.log and wickedd.log)
+- 3.1.159
+
+---
+Mon Nov 23 15:23:51 UTC 2015 - lsle...@suse.cz
+
+- Fixed idnkit dependency to allow building YaST HEAD in SLE12
+- 3.1.158
+
+---
+Fri Nov 20 13:28:38 UTC 2015 - lsle...@suse.cz
+
+- Fixed Puny code processing - the idnconv tool has been moved to
+  a different package (idnkit) (bsc#953442)
+- 3.1.157
+
+---

Old:

  yast2-3.1.156.tar.bz2

New:

  yast2-3.1.161.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.aMLgtT/_old  2015-12-01 10:02:53.0 +0100
+++ /var/tmp/diff_new_pack.aMLgtT/_new  2015-12-01 10:02:53.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.156
+Version:3.1.161
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -73,8 +73,15 @@
 Requires:   perl-XML-Simple
 # for GPG.ycp
 Requires:   gpg2
-# for Punycode.ycp (bnc#651893)
+
+# 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
+
 # xdg-su in .desktops
 Recommends: xdg-utils
 

++ yast2-3.1.156.tar.bz2 -> yast2-3.1.161.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.156/library/cwm/src/modules/CWM.rb 
new/yast2-3.1.161/library/cwm/src/modules/CWM.rb
--- old/yast2-3.1.156/library/cwm/src/modules/CWM.rb2015-11-05 
08:51:24.0 +0100
+++ new/yast2-3.1.161/library/cwm/src/modules/CWM.rb2015-11-27 
13:27:01.0 +0100
@@ -985,6 +985,21 @@
   nil
 end
 
+# Saves changes of all the widgets in the current dialog
+#
+# @param [Hash] event map event that triggered the saving
+def save_current_widgets(event)
+  saveWidgets(@current_dialog_widgets, event)
+end
+
+# Validates all the widgets in the current dialog
+#
+# @param [Hash] event map event that caused validation
+# @return [Boolean] true if everything is OK, false  if something is wrong
+def validate_current_widgets(event)
+  validateWidgets(@current_dialog_widgets, event)
+end
+
 publish function: :StringsOfTerm, type: "list  (term)"
 publish function: :ValidateBasicType, type: "boolean (any, string)"
 publish function: :ValidateValueType, type: "boolean (string, any, string)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.156/library/general/src/Makefile.am 
new/yast2-3.1.161/library/general/src/Makefile.am
--- old/yast2-3.1.156/library/general/src/Makefile.am   2015-11-05 
08:51:24.0 +0100
+++ new/yast2-3.1.161/library/general/src/Makefile.am   2015-11-27 
13:27:01.0 +0100
@@ -89,7 +89,7 @@
 ylib2_DATA = \
   lib/ui/dialog.rb \
   lib/ui/event_dispatcher.rb \
-  lib/ui/srv_status_component.rb
+  lib/ui/service_status.rb
 
 EXTRA_DIST = $(module_DATA) $(client_DATA) $(scrconf_DATA) $(agent_SCRIPTS) 
$(ydata_DATA) $(fillup_DATA) $(ylib_DATA) $(ylib2_DATA)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.156/library/general/src/lib/ui/service_status.rb 
new/yast2-3.1.161/library/general/src/lib/ui/service_status.rb
--- old/yast2-3.1.156/library/general/src/lib/ui/service_status.rb  
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.161/library/general/src/lib/ui/service_status.rb  
2015-11-27 13:27

commit yast2 for openSUSE:Factory

2015-11-08 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-11-08 11:25:30

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-10-28 
17:27:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-11-08 
11:25:32.0 +0100
@@ -1,0 +2,6 @@
+Wed Nov  4 20:19:10 UTC 2015 - lsle...@suse.cz
+
+- Fixed clipped dialog label (bsc#948381)
+- 3.1.156
+
+---

Old:

  yast2-3.1.155.tar.bz2

New:

  yast2-3.1.156.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.zPdKVA/_old  2015-11-08 11:25:33.0 +0100
+++ /var/tmp/diff_new_pack.zPdKVA/_new  2015-11-08 11:25:33.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.155
+Version:3.1.156
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.155.tar.bz2 -> yast2-3.1.156.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.155/library/wizard/src/modules/Progress.rb 
new/yast2-3.1.156/library/wizard/src/modules/Progress.rb
--- old/yast2-3.1.155/library/wizard/src/modules/Progress.rb2015-10-26 
10:46:26.0 +0100
+++ new/yast2-3.1.156/library/wizard/src/modules/Progress.rb2015-11-05 
08:51:24.0 +0100
@@ -458,6 +458,7 @@
 
   if !UI.WizardCommand(term(:SetDialogHeading, window_title))
 UI.ChangeWidget(Id(:title), :Value, window_title)
+UI.RecalcLayout
   end
   Wizard.SetHelpText(help_text) if "" != help_text && nil != help_text
   Wizard.DisableBackButton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.155/package/yast2.changes 
new/yast2-3.1.156/package/yast2.changes
--- old/yast2-3.1.155/package/yast2.changes 2015-10-26 10:46:26.0 
+0100
+++ new/yast2-3.1.156/package/yast2.changes 2015-11-05 08:51:24.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Wed Nov  4 20:19:10 UTC 2015 - lsle...@suse.cz
+
+- Fixed clipped dialog label (bsc#948381)
+- 3.1.156
+
+---
 Fri Oct 23 11:52:35 UTC 2015 - mvid...@suse.com
 
 - Fixed clipped labels in Arabic on some widgets (bsc#880701).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.155/package/yast2.spec 
new/yast2-3.1.156/package/yast2.spec
--- old/yast2-3.1.155/package/yast2.spec2015-10-26 10:46:26.0 
+0100
+++ new/yast2-3.1.156/package/yast2.spec2015-11-05 08:51:24.0 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.155
+Version:3.1.156
 Release:0
 Url:https://github.com/yast/yast-yast2
 




commit yast2 for openSUSE:Factory

2015-10-28 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-10-28 17:27:45

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-10-25 
15:11:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-10-28 
17:27:47.0 +0100
@@ -1,0 +2,7 @@
+Fri Oct 23 11:52:35 UTC 2015 - mvid...@suse.com
+
+- Fixed clipped labels in Arabic on some widgets (bsc#880701).
+- Fixed that also for the installation (bsc#880701#c43)
+- 3.1.155
+
+---

Old:

  yast2-3.1.154.tar.bz2

New:

  yast2-3.1.155.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.C3Cjk7/_old  2015-10-28 17:27:48.0 +0100
+++ /var/tmp/diff_new_pack.C3Cjk7/_new  2015-10-28 17:27:48.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.154
+Version:3.1.155
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.154.tar.bz2 -> yast2-3.1.155.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.154/package/yast2.changes 
new/yast2-3.1.155/package/yast2.changes
--- old/yast2-3.1.154/package/yast2.changes 2015-10-22 13:51:08.0 
+0200
+++ new/yast2-3.1.155/package/yast2.changes 2015-10-26 10:46:26.0 
+0100
@@ -1,4 +1,11 @@
 ---
+Fri Oct 23 11:52:35 UTC 2015 - mvid...@suse.com
+
+- Fixed clipped labels in Arabic on some widgets (bsc#880701).
+- Fixed that also for the installation (bsc#880701#c43)
+- 3.1.155
+
+---
 Thu Oct 22 08:24:58 UTC 2015 - mfi...@suse.com
 
 - bnc#946047
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.154/package/yast2.spec 
new/yast2-3.1.155/package/yast2.spec
--- old/yast2-3.1.154/package/yast2.spec2015-10-22 13:51:08.0 
+0200
+++ new/yast2-3.1.155/package/yast2.spec2015-10-26 10:46:26.0 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.154
+Version:3.1.155
 Release:0
 Url:https://github.com/yast/yast-yast2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.154/scripts/yast2 
new/yast2-3.1.155/scripts/yast2
--- old/yast2-3.1.154/scripts/yast2 2015-10-22 13:51:08.0 +0200
+++ new/yast2-3.1.155/scripts/yast2 2015-10-26 10:46:26.0 +0100
@@ -389,7 +389,7 @@
 fi
 elif [ "$SELECTED_GUI" = "qt" ]; then
 
-set_qt_home_dir
+set_qt_env
 
 # find which control center shell we want, if there is none we
 # fall back to the built-in ycp menu
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.154/scripts/yast2-funcs 
new/yast2-3.1.155/scripts/yast2-funcs
--- old/yast2-3.1.154/scripts/yast2-funcs   2015-10-22 13:51:08.0 
+0200
+++ new/yast2-3.1.155/scripts/yast2-funcs   2015-10-26 10:46:26.0 
+0100
@@ -111,6 +111,21 @@
 fi
 }
 
+function set_qt_arabic_workaround()
+{
+# Work around clipped Arabic text, bsc#880701
+# FIXME: Upstream bug: https://bugreports.qt.io/browse/QTBUG-41450
+# Locale check: first of the variables wins; man 7 locale
+case "${LC_ALL}${LC_MESSAGES}${LANG}" in
+ar*) export QT_HARFBUZZ=old ;;
+esac
+}
+
+function set_qt_env()
+{
+set_qt_home_dir
+set_qt_arabic_workaround
+}
 
 function set_inst_qt_env()
 {
@@ -119,6 +134,7 @@
 export QT_HOME_DIR="/tmp/.qt/"
 mkdir -p /tmp/.qt
 [ -e /usr/share/desktop-data/qtrc ] && cp /usr/share/desktop-data/qtrc 
/tmp/.qt/
+set_qt_arabic_workaround
 }
 
 




commit yast2 for openSUSE:Factory

2015-10-25 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-10-25 15:11:02

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-10-20 
16:21:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-10-25 
15:11:04.0 +0100
@@ -1,0 +2,15 @@
+Thu Oct 22 08:24:58 UTC 2015 - mfi...@suse.com
+
+- bnc#946047
+  - use proper hostname / domain defaults when network is
+configured by linuxrc
+- 3.1.154
+
+---
+Wed Oct 21 07:29:59 UTC 2015 - igonzalezs...@suse.com
+
+- Replace "Skip" with "Ignore" in the dialog that is shown when
+  there's a problem during packages installation (bsc#948608)
+- 3.1.153
+
+---

Old:

  yast2-3.1.152.tar.bz2

New:

  yast2-3.1.154.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.XzEe5j/_old  2015-10-25 15:11:05.0 +0100
+++ /var/tmp/diff_new_pack.XzEe5j/_new  2015-10-25 15:11:05.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.152
+Version:3.1.154
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.152.tar.bz2 -> yast2-3.1.154.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.152/configure.in.in 
new/yast2-3.1.154/configure.in.in
--- old/yast2-3.1.152/configure.in.in   2015-10-14 15:21:09.0 +0200
+++ new/yast2-3.1.154/configure.in.in   2015-10-22 13:51:08.0 +0200
@@ -22,6 +22,5 @@
 
 ## and generate the output
 # also done via makefile
-AC_CONFIG_FILES(library/general/src/modules/Version.rb
-library/network/src/scrconf/network.scr)
+AC_CONFIG_FILES(library/network/src/scrconf/network.scr)
 @YAST2-OUTPUT@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.152/library/general/src/modules/Version.rb.in 
new/yast2-3.1.154/library/general/src/modules/Version.rb.in
--- old/yast2-3.1.152/library/general/src/modules/Version.rb.in 2015-10-14 
15:21:09.0 +0200
+++ new/yast2-3.1.154/library/general/src/modules/Version.rb.in 1970-01-01 
01:00:00.0 +0100
@@ -1,31 +0,0 @@
-# encoding: utf-8
-
-# File:modules/Version.ycp
-# Package: yast2
-# Summary: yast2 package version
-# Authors: Michal Svec 
-#
-# $Id$
-#
-# Version.rb is a 
-#
-# ** GENERATED FILE **
-#
-# , so edit Version.rb.in instead.
-require "yast"
-
-module Yast
-  class VersionClass < Module
-def main
-  # Version of the yast2 package
-  @yast2 = "@VERSION@" 
-
-  # EOF
-end
-
-publish :variable => :yast2, :type => "string"
-  end
-
-  Version = VersionClass.new
-  Version.main
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.152/library/packages/src/modules/PackageCallbacks.rb 
new/yast2-3.1.154/library/packages/src/modules/PackageCallbacks.rb
--- old/yast2-3.1.152/library/packages/src/modules/PackageCallbacks.rb  
2015-10-14 15:21:09.0 +0200
+++ new/yast2-3.1.154/library/packages/src/modules/PackageCallbacks.rb  
2015-10-22 13:51:08.0 +0200
@@ -253,7 +253,7 @@
 button_box = ButtonBox(
   PushButton(Id(:abort), Opt(:cancelButton, :key_F9), 
Label.AbortButton),
   PushButton(Id(:retry), Opt(:customButton), Label.RetryButton),
-  PushButton(Id(:ignore), Opt(:okButton), Label.SkipButton)
+  PushButton(Id(:ignore), Opt(:okButton), Label.IgnoreButton)
 )
 
 if @showLongInfo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.152/library/types/src/modules/Hostname.rb 
new/yast2-3.1.154/library/types/src/modules/Hostname.rb
--- old/yast2-3.1.152/library/types/src/modules/Hostname.rb 2015-10-14 
15:21:09.0 +0200
+++ new/yast2-3.1.154/library/types/src/modules/Hostname.rb 2015-10-22 
13:51:08.0 +0200
@@ -38,6 +38,7 @@
   Yast.import "IP"
   Yast.import "String"
   Yast.import "FileUtils"
+  Yast.import "Mode"
 
   # i18n characters in domain names are still not allowed
   #
@@ -159,7 +160,7 @@
   hostname_data = Convert.to_map(
 SCR.Execute(path(".target.bash_output"), "hostname --fqdn")
   )
-  if hostname_data.nil? || Ops.get_integer(hostname_data, "exit", -1) != 0
+  if hostname_data.nil? || hostname_data["exit"] != 0 || 
invalid_hostname?(hostname_data["stdout"].to_s.strip)
   

commit yast2 for openSUSE:Factory

2015-10-20 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-10-20 16:21:49

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-08-29 
20:04:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-10-20 
16:21:51.0 +0200
@@ -1,0 +2,27 @@
+Thu Oct  8 10:42:07 UTC 2015 - jreidin...@suse.com
+
+- Fix "stack level too deep" exception if cd-rom repository is
+  needed (bnc#945879)
+- 3.1.152
+
+---
+Fri Oct  2 10:25:17 UTC 2015 - an...@suse.com
+
+- UI component for services handling moved from yast2-dns-server
+  to yast2 (fate#318771)
+- 3.1.151
+
+---
+Wed Sep 30 13:22:50 UTC 2015 - lsle...@suse.cz
+
+- Properly format the package license in the confirmation dialog
+  to make it better readable (bsc#819311)
+- 3.1.150
+
+---
+Fri Sep 11 18:38:11 UTC 2015 - lsle...@suse.cz
+
+- Avoid too many snapshots created during the online migration
+  (bsc#944019)
+
+---

Old:

  yast2-3.1.149.tar.bz2

New:

  yast2-3.1.152.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.TxEOPi/_old  2015-10-20 16:21:52.0 +0200
+++ /var/tmp/diff_new_pack.TxEOPi/_new  2015-10-20 16:21:52.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.149
+Version:3.1.152
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -101,8 +101,8 @@
 Conflicts:  autoyast2-installation < 2.16.2
 # country_long.ycp and country.ycp moved to yast2
 Conflicts:  yast2-country < 2.16.3
-# DnsServerAPI moved to yast2.rpm (by mzugec)
-Conflicts:  yast2-dns-server < 2.17.0
+# SrvStatusComponent moved to yast2.rpm
+Conflicts:  yast2-dns-server < 3.1.17
 
 Provides:   yast2-lib-sequencer
 Obsoletes:  yast2-lib-sequencer

++ yast2-3.1.149.tar.bz2 -> yast2-3.1.152.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.149/library/control/src/modules/ProductControl.rb 
new/yast2-3.1.152/library/control/src/modules/ProductControl.rb
--- old/yast2-3.1.149/library/control/src/modules/ProductControl.rb 
2015-08-27 11:16:08.0 +0200
+++ new/yast2-3.1.152/library/control/src/modules/ProductControl.rb 
2015-10-14 15:21:09.0 +0200
@@ -1047,7 +1047,9 @@
 # Get modules of current Workflow
 # @param [String] stage
 # @param [String] mode
-# @return [Array] modules
+# @param [String] proptype eg. "initial", "service", network"...
+# @return [Array] modules,
+#   pairs of ("foo_proposal", presentation_order)
 def getProposals(stage, mode, proptype)
   props = getMatchingProposal(stage, mode, proptype)
   unique_id = Ops.get_string(props, [0, "unique_id"], "")
@@ -1119,7 +1121,11 @@
   current_proposal_textdomain
 end
 
-# Return proposal Label
+# @param [String] stage
+# @param [String] mode
+# @param [String] proptype eg. "initial", "service", network"...
+# @return [Hash] one "proposal" element of control.rnc
+#   where /label is not translated yet but //proposal_tab/label are.
 def getProposalProperties(stage, mode, proptype)
   got_proposals = getMatchingProposal(stage, mode, proptype)
   proposal = Ops.get(got_proposals, 0, {})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.149/library/general/src/Makefile.am 
new/yast2-3.1.152/library/general/src/Makefile.am
--- old/yast2-3.1.149/library/general/src/Makefile.am   2015-08-27 
11:16:08.0 +0200
+++ new/yast2-3.1.152/library/general/src/Makefile.am   2015-10-14 
15:21:09.0 +0200
@@ -88,7 +88,8 @@
 ylib2dir = "${yast2dir}/lib/ui"
 ylib2_DATA = \
   lib/ui/dialog.rb \
-  lib/ui/event_dispatcher.rb
+  lib/ui/event_dispatcher.rb \
+  lib/ui/srv_status_component.rb
 
 EXTRA_DIST = $(module_DATA) $(client_DATA) $(scrconf_DATA) $(agent_SCRIPTS) 
$(ydata_DATA) $(fillup_DATA) $(ylib_DATA) $(ylib2_DATA)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.149/library/general/src/lib/ui/srv_status_component.rb 
new/yast2-3.1.152/library/general/src/lib/ui/srv_status_component.rb
--- old/yast2-3.1.149/library/general/src/lib/ui/srv_status_component.rb
1970-01-01 01:00:00.0 +0100
+++ new/yast2

commit yast2 for openSUSE:Factory

2015-08-29 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-08-29 20:03:59

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-08-21 
12:42:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-08-29 
20:04:01.0 +0200
@@ -1,0 +2,19 @@
+Wed Aug 26 19:25:07 UTC 2015 - mfi...@suse.com
+
+- bnc#897129
+  - AutoYaST will no longer ignore firewall settings if
+keep_install_network is enabled
+- 3.1.149
+---
+Wed Aug 26 15:17:35 UTC 2015 - igonzalezs...@suse.com
+
+- Add a Mode#auto method
+
+---
+Wed Aug 26 15:09:06 CEST 2015 - sch...@suse.de
+
+- Checking cpuinfo_flags correctly while evaluating kernel packages
+  for i586. (bnc#943297)
+- 3.1.148
+
+---

Old:

  yast2-3.1.147.tar.bz2

New:

  yast2-3.1.149.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.9KmaOS/_old  2015-08-29 20:04:02.0 +0200
+++ /var/tmp/diff_new_pack.9KmaOS/_new  2015-08-29 20:04:02.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.147
+Version:3.1.149
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.147.tar.bz2 -> yast2-3.1.149.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.147/library/general/src/modules/Mode.rb 
new/yast2-3.1.149/library/general/src/modules/Mode.rb
--- old/yast2-3.1.147/library/general/src/modules/Mode.rb   2015-08-20 
12:26:09.0 +0200
+++ new/yast2-3.1.149/library/general/src/modules/Mode.rb   2015-08-27 
11:16:08.0 +0200
@@ -53,15 +53,15 @@
   #
   # It has these mutually exclusive values and corresponding boolean queries:
   # 
-  #  {#mode} value  boolean shortcut   

-  #  normal {#normal}  

+  #  {#mode} value  boolean shortcut   

+  #  normal {#normal}  

   #  installation   {#installation}

-  #  autoinstallation   {#autoinst} (short!) 

-  #  live_installation  {#live_installation} 

-  #  autoinst_config{#config}  

+  #  live_installation  
{#live_installation} 
+  #  autoinstallation   {#autoinst} 
(short!) #auto
+  #  autoupgrade{#autoupgrade} 

+  #  autoinst_config{#config}  

   #  update {#update}  

-  #  autoupgrade  {#autoupgrade} 

-  #  repair (obsolete)  {#repair}  

+  #  repair (obsolete)  {#repair}  

   # 
   #
   # # *UI* mode
@@ -284,6 +284,11 @@
   mode == "autoupgrade"
 end
 
+# Doing auto-installation or auto-upgrade with AutoYaST.
+def auto
+  autoinst || autoupgrade
+end
+
 # Configuration for {#autoinst}, usually in the running system.
 #
 # @note also true during the installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.147/library/general/test/mode_test.rb 
new/yast2-3.1.149/library/general/test/mode_test.rb
--- old/yast2-3.1.147/library/general/test/mode_test.rb 1970-01-01 
01:00:00.0 +0100
+++ new/yast2-3.1.149/library/general/test/mode_test.rb 2015-08-27 
11:16:08.0 +0200
@@ -0,0 +1,377 @@
+#! /usr/bin/env rspec
+
+require_relative "test_helper"
+
+Yast.import "Mode"
+
+describe Yast::Mode do
+  before do
+Yast::Mode.Initialize()
+  end
+
+  describe "#SetMode" do
+it "sets mode to given one" do
+  Yast::Mode.SetMode("installation")
+  expect(Yast::Mode.mode).to eq("installation")
+end
+
+context "when given mode does not exist" do
+  it "changes the mode but logs an error" do
+expect(Yast::Builtins).to receive(:y2error).with("Unknown mode %1", 
"unknown")
+Yast::Mode.SetMode("unknown")
+expect(Yast::Mode.mode).to eq("unknown")
+  end
+end
+  end
+
+  describe "#SetTest" do
+it "sets test mode to given one" do
+  Yast::Mode.SetTest("test")
+  expect(Yast::Mode.testMode).to eq("test")
+end
+
+context "when given test mode does not exist" do
+  it "changes the test mode but logs an error" do
+expect(Yast::Builtins).to receive(:y2error).with("Unknown test mode 
%1", "unknown")
+Yast::Mode.SetTest("unknown")
+expect(Yast::Mode.testMode).to eq("unknown")
+  end
+end
+  end
+
+  describe "#SetUI" do
+

commit yast2 for openSUSE:Factory

2015-08-21 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-08-21 12:42:38

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-08-15 
11:38:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-08-21 
12:42:45.0 +0200
@@ -1,0 +2,14 @@
+Thu Aug 20 08:18:47 UTC 2015 - lsle...@suse.cz
+
+- "yast2" script - handle also the reboot flag the same way as
+  the installation script (bsc#942461)
+- 3.1.147
+
+---
+Wed Aug 19 07:44:30 UTC 2015 - mfi...@suse.com
+
+- bnc#941881
+  - displays hostname / domain as set in /etc/hostnmae
+- 3.1.146 
+
+---

Old:

  yast2-3.1.145.tar.bz2

New:

  yast2-3.1.147.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.x25jvS/_old  2015-08-21 12:42:46.0 +0200
+++ /var/tmp/diff_new_pack.x25jvS/_new  2015-08-21 12:42:46.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.145
+Version:3.1.147
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.145.tar.bz2 -> yast2-3.1.147.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.145/library/types/src/modules/Hostname.rb 
new/yast2-3.1.147/library/types/src/modules/Hostname.rb
--- old/yast2-3.1.145/library/types/src/modules/Hostname.rb 2015-08-14 
10:21:10.0 +0200
+++ new/yast2-3.1.147/library/types/src/modules/Hostname.rb 2015-08-20 
12:26:09.0 +0200
@@ -37,6 +37,7 @@
 
   Yast.import "IP"
   Yast.import "String"
+  Yast.import "FileUtils"
 
   # i18n characters in domain names are still not allowed
   #
@@ -159,7 +160,7 @@
 SCR.Execute(path(".target.bash_output"), "hostname --fqdn")
   )
   if hostname_data.nil? || Ops.get_integer(hostname_data, "exit", -1) != 0
-fqhostname = if SCR.Read(path(".target.stat"), "/etc/hostname").empty?
+fqhostname = if FileUtils.Exists("/etc/hostname")
SCR.Read(path(".target.string"), "/etc/hostname")
  else
""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.145/library/types/test/Makefile.am 
new/yast2-3.1.147/library/types/test/Makefile.am
--- old/yast2-3.1.145/library/types/test/Makefile.am2015-08-14 
10:21:10.0 +0200
+++ new/yast2-3.1.147/library/types/test/Makefile.am2015-08-20 
12:26:09.0 +0200
@@ -1,6 +1,7 @@
 TESTS = \
   ip_test.rb \
   ipv4_netmask_test.rb \
+  hostname_test.rb \
   string_test.rb
 
 TEST_EXTENSIONS = .rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.145/library/types/test/hostname_test.rb 
new/yast2-3.1.147/library/types/test/hostname_test.rb
--- old/yast2-3.1.145/library/types/test/hostname_test.rb   1970-01-01 
01:00:00.0 +0100
+++ new/yast2-3.1.147/library/types/test/hostname_test.rb   2015-08-20 
12:26:09.0 +0200
@@ -0,0 +1,39 @@
+#!/usr/bin/env rspec
+
+require_relative "test_helper"
+
+require "yast"
+
+describe "Hostname#CurrentFQ" do
+  Yast.import "Hostname"
+  Yast.import "FileUtils"
+
+  let(:etc_hostname) { "etc.hostname.cz" }
+  let(:cmd_hostname) { "cmd.hostname.cz" }
+
+  it "returns output of hostname --fqdn if available" do
+allow(Yast::SCR)
+  .to receive(:Execute)
+  .with(path(".target.bash_output"), "hostname --fqdn")
+  .and_return("stdout" => cmd_hostname, "exit" => 0)
+
+expect(Yast::Hostname.CurrentFQ).to eq cmd_hostname
+  end
+
+  it "reads /etc/hostname when hostname --fqdn fails" do
+allow(Yast::SCR)
+  .to receive(:Execute)
+  .with(path(".target.bash_output"), "hostname --fqdn")
+  .and_return(nil)
+allow(Yast::SCR)
+  .to receive(:Read)
+  .with(path(".target.string"), "/etc/hostname")
+  .and_return(etc_hostname)
+allow(Yast::FileUtils)
+  .to receive(:Exists)
+  .with("/etc/hostname")
+  .and_return(true)
+
+expect(Yast::Hostname.CurrentFQ).to eq etc_hostname
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.145/library/types/testsuite/tests/Address.out 
new/yast2-3.1.147/library/types/testsuite/tests/Address.out
--- old/yast2-3.1.145/library/types/testsuite/tests/Address.out 2015-08-14 
10:21:10.0 +0200
+++ new/yast2-3.1.147/libra

commit yast2 for openSUSE:Factory

2015-08-15 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-08-15 11:38:50

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-08-10 
09:14:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-08-15 
11:38:51.0 +0200
@@ -1,0 +2,7 @@
+Mon Aug 10 07:37:45 UTC 2015 - mfi...@suse.com
+
+- bnc#916013
+  - keeps routing state when firewall is enabled/disabled
+- 3.1.145 
+
+---

Old:

  yast2-3.1.144.tar.bz2

New:

  yast2-3.1.145.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.tX3rcQ/_old  2015-08-15 11:38:52.0 +0200
+++ /var/tmp/diff_new_pack.tX3rcQ/_new  2015-08-15 11:38:52.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.144
+Version:3.1.145
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.144.tar.bz2 -> yast2-3.1.145.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.144/library/network/src/modules/SuSEFirewall.rb 
new/yast2-3.1.145/library/network/src/modules/SuSEFirewall.rb
--- old/yast2-3.1.144/library/network/src/modules/SuSEFirewall.rb   
2015-08-03 18:42:35.0 +0200
+++ new/yast2-3.1.145/library/network/src/modules/SuSEFirewall.rb   
2015-08-14 10:21:10.0 +0200
@@ -90,6 +90,7 @@
 "FW_LOG_DROP_CRIT"   => "yes",
 "FW_PROTECT_FROM_INT"=> "no",
 "FW_ROUTE"   => "no",
+"FW_STOP_KEEP_ROUTING_STATE" => "no",
 "FW_MASQUERADE"  => "no",
 "FW_ALLOW_FW_TRACEROUTE" => "yes",
 "FW_ALLOW_PING_FW"   => "yes",
@@ -165,6 +166,7 @@
 "FW_PROTECT_FROM_INT",
 # global routing, masquerading
 "FW_ROUTE",
+"FW_STOP_KEEP_ROUTING_STATE",
 "FW_MASQUERADE",
 "FW_FORWARD_MASQ",
 "FW_FORWARD_ALWAYS_INOUT_DEV",
@@ -1185,8 +1187,10 @@
   SetModified()
 
   if set_route
+Ops.set(@SETTINGS, "FW_STOP_KEEP_ROUTING_STATE", "yes")
 Ops.set(@SETTINGS, "FW_ROUTE", "yes")
   else
+Ops.set(@SETTINGS, "FW_STOP_KEEP_ROUTING_STATE", "no")
 Ops.set(@SETTINGS, "FW_ROUTE", "no")
   end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.144/library/network/test/susefirewall_test.rb 
new/yast2-3.1.145/library/network/test/susefirewall_test.rb
--- old/yast2-3.1.144/library/network/test/susefirewall_test.rb 2015-08-03 
18:42:35.0 +0200
+++ new/yast2-3.1.145/library/network/test/susefirewall_test.rb 2015-08-14 
10:21:10.0 +0200
@@ -85,4 +85,24 @@
   expect(Yast::SuSEFirewall.GetModified()).to eq(true)
 end
   end
+
+  describe "#SetSupportRoute" do
+context "when enabling routing" do
+  it "sets FW_ROUTE and FW_STOP_KEEP_ROUTING_STATE to 'yes'" do
+subject.SetSupportRoute(true)
+settings = subject.Export
+expect(settings["FW_ROUTE"]).to eq("yes")
+expect(settings["FW_STOP_KEEP_ROUTING_STATE"]).to eq("yes")
+  end
+end
+
+context "when disabling routing" do
+  it "sets FW_ROUTE and FW_STOP_KEEP_ROUTING_STATE to 'no'" do
+subject.SetSupportRoute(false)
+settings = subject.Export
+expect(settings["FW_ROUTE"]).to eq("no")
+expect(settings["FW_STOP_KEEP_ROUTING_STATE"]).to eq("no")
+  end
+end
+  end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.144/package/yast2.changes 
new/yast2-3.1.145/package/yast2.changes
--- old/yast2-3.1.144/package/yast2.changes 2015-08-03 18:42:35.0 
+0200
+++ new/yast2-3.1.145/package/yast2.changes 2015-08-14 10:21:10.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Mon Aug 10 07:37:45 UTC 2015 - mfi...@suse.com
+
+- bnc#916013
+  - keeps routing state when firewall is enabled/disabled
+- 3.1.145 
+
+---
 Mon Aug  3 14:29:05 UTC 2015 - an...@suse.com
 
 - Fixed a conflict between Wizard and CommandLine components that
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.144/package/yast2.spec 
new/yast2-3.1.145/package/yast2.spec
--- old/yast2-3.1.144/package/yast2.spec2015-08-03 18:42:35.0 
+0200
+++ new/yast2-3.1.145/package/yast2.spec

commit yast2 for openSUSE:Factory

2015-08-10 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-08-10 09:14:37

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-07-27 
09:09:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-08-10 
09:14:38.0 +0200
@@ -1,0 +2,16 @@
+Mon Aug  3 14:29:05 UTC 2015 - an...@suse.com
+
+- Fixed a conflict between Wizard and CommandLine components that
+  was breaking the CLI for some modules (bnc#940341)
+- 3.1.144
+
+---
+Tue Jul 28 10:50:05 UTC 2015 - an...@suse.com
+
+- Properly display information about exceptions when running in
+  command line mode (bnc#939565).
+- Fixed a bug preventing Yast::CommandLine to be executed twice
+  in the same script.
+- 3.1.143
+
+---

Old:

  yast2-3.1.142.tar.bz2

New:

  yast2-3.1.144.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Quw4LJ/_old  2015-08-10 09:14:39.0 +0200
+++ /var/tmp/diff_new_pack.Quw4LJ/_new  2015-08-10 09:14:39.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.142
+Version:3.1.144
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.142.tar.bz2 -> yast2-3.1.144.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.142/.travis.yml 
new/yast2-3.1.144/.travis.yml
--- old/yast2-3.1.142/.travis.yml   2015-07-22 11:51:37.0 +0200
+++ new/yast2-3.1.144/.travis.yml   2015-08-03 18:42:35.0 +0200
@@ -5,7 +5,7 @@
 # disable rvm, use system Ruby
 - rvm reset
 - wget 
https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
-- sh ./travis_setup.sh -p "rake yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2 yast2-pkg-bindings" -g "rspec:2.14.1 yast-rake 
gettext simplecov coveralls rubocop:0.29.1"
+- sh ./travis_setup.sh -p "rake yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2 yast2-pkg-bindings" -g "rspec:3.3.0 yast-rake gettext 
simplecov coveralls rubocop:0.29.1"
 script:
 - rake check:pot
 - rubocop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.142/library/commandline/Makefile.am 
new/yast2-3.1.144/library/commandline/Makefile.am
--- old/yast2-3.1.142/library/commandline/Makefile.am   2015-07-22 
11:51:37.0 +0200
+++ new/yast2-3.1.144/library/commandline/Makefile.am   2015-08-03 
18:42:35.0 +0200
@@ -2,4 +2,4 @@
 # Makefile.am for yast2/library/commandline
 #
 
-SUBDIRS = doc src testsuite
+SUBDIRS = doc src testsuite test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.142/library/commandline/src/modules/CommandLine.rb 
new/yast2-3.1.144/library/commandline/src/modules/CommandLine.rb
--- old/yast2-3.1.142/library/commandline/src/modules/CommandLine.rb
2015-07-22 11:51:37.0 +0200
+++ new/yast2-3.1.144/library/commandline/src/modules/CommandLine.rb
2015-08-03 18:42:35.0 +0200
@@ -1491,47 +1491,6 @@
   Ops.get_string(cmds, 0)
 end
 
-def fake_false
-  false
-end
-
-def RunFunction(funct)
-  funct = deep_copy(funct)
-  Report.ClearAll
-  my_funct = deep_copy(funct)
-  ret = my_funct.call
-  report = Report.GetMessages(
-Ops.greater_than(Report.NumWarnings, 0),
-Ops.greater_than(Report.NumErrors, 0),
-Ops.greater_than(Report.NumMessages, 0),
-Ops.greater_than(Report.NumYesNoMessages, 0)
-  )
-  if Ops.greater_than(Builtins.size(report), 0)
-Yast.import "RichText"
-Print(RichText.Rich2Plain(report))
-  end
-  ret
-end
-
-def RunMapFunction(funct, arg)
-  funct = deep_copy(funct)
-  arg = deep_copy(arg)
-  Report.ClearAll
-  my_funct = deep_copy(funct)
-  ret = my_funct.call(arg)
-  report = Report.GetMessages(
-Ops.greater_than(Report.NumWarnings, 0),
-Ops.greater_than(Report.NumErrors, 0),
-Ops.greater_than(Report.NumMessages, 0),
-Ops.greater_than(Report.NumYesNoMessages, 0)
-  )
-  if Ops.greater_than(Builtins.size(report), 0)
-Yast.import "RichText"
-Print(RichText.Rich2Plain(report))
-  end
-  ret
-end
-
 # Parse the Command Line
 #
 # Function to parse the command line, start a GUI or handle int

commit yast2 for openSUSE:Factory

2015-07-27 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-07-22 
09:19:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-07-27 
09:09:13.0 +0200
@@ -1,0 +2,7 @@
+Tue Jul 21 14:44:04 UTC 2015 - jreidin...@suse.com
+
+- Allow Dialog class to support alternative ways how to get user
+  input (needed for yast2-vnc module) (bnc#938944)
+- 3.1.142
+
+---

Old:

  yast2-3.1.141.tar.bz2

New:

  yast2-3.1.142.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.RHvThy/_old  2015-07-27 09:09:14.0 +0200
+++ /var/tmp/diff_new_pack.RHvThy/_new  2015-07-27 09:09:14.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.141
+Version:3.1.142
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.141.tar.bz2 -> yast2-3.1.142.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.141/library/general/src/lib/ui/event_dispatcher.rb 
new/yast2-3.1.142/library/general/src/lib/ui/event_dispatcher.rb
--- old/yast2-3.1.141/library/general/src/lib/ui/event_dispatcher.rb
2015-07-20 10:41:38.0 +0200
+++ new/yast2-3.1.142/library/general/src/lib/ui/event_dispatcher.rb
2015-07-22 11:51:37.0 +0200
@@ -36,7 +36,7 @@
   @_finish_dialog_flag = false
 
   loop do
-input = Yast::UI.UserInput
+input = user_input
 if respond_to?(:"#{input}_handler")
   send(:"#{input}_handler")
   return @_finish_dialog_value if @_finish_dialog_flag
@@ -46,6 +46,44 @@
   end
 end
 
+# Reads input for next event dispath
+# Can be redefined to modify the way of getting user input, like 
introducing a timeout.
+# Default implementation uses Yast::UI.UserInput which waits indefinitely 
for user input.
+# @example use user input with timeout
+#class OKDialog
+# include Yast::UIShortcuts
+# include Yast::Logger
+# include UI::EventDispatcher
+# Yast.import "UI"
+#
+# def user_input
+#   Yast::UI.TimeoutUserInput(1000)
+# end
+#
+# def run
+#   return nil unless Yast::UI.OpenDialog(
+# HBox(
+#   PushButton(Id(:ok), "OK"),
+#   PushButton(Id(:cancel), "Cancel")
+# )
+#   )
+#   begin
+# return event_loop
+#   ensure
+#  Yast::UI.CloseDialog
+#   end
+# end
+#
+# def ok_handler
+#   finish_dialog(:ok)
+#   log.info "OK button pressed"
+# end
+#   end
+
+def user_input
+  Yast::UI.UserInput
+end
+
 # Set internal flag to not continue with processing other UI inputs
 # @param return_value[Object] value to return from event_loop
 def finish_dialog(return_value = nil)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.141/library/general/test/event_dispatcher_test.rb 
new/yast2-3.1.142/library/general/test/event_dispatcher_test.rb
--- old/yast2-3.1.141/library/general/test/event_dispatcher_test.rb 
2015-07-20 10:41:38.0 +0200
+++ new/yast2-3.1.142/library/general/test/event_dispatcher_test.rb 
2015-07-22 11:51:37.0 +0200
@@ -37,6 +37,29 @@
   end
 end
 
+class DispatcherUserInputTestDialog
+  include Yast::UIShortcuts
+  include UI::EventDispatcher
+  Yast.import "UI"
+
+  def run
+return nil unless Yast::UI.OpenDialog(
+  HBox(
+PushButton(Id(:cancel), "Cancel")
+  )
+)
+begin
+  return event_loop
+ensure
+  Yast::UI.CloseDialog
+end
+  end
+
+  def user_input
+Yast::UI.TimeoutUserInput(1000)
+  end
+end
+
 describe UI::EventDispatcher do
   subject { DispatcherTestDialog.new }
 
@@ -63,7 +86,15 @@
 it "raise exception if handler is not defined" do
   mock_ui_events(:unknown)
 
-  expect { subject.event_loop }.to raise_error
+  expect { subject.event_loop }.to raise_error(RuntimeError)
+end
+
+it "uses user_input to get input" do
+  dialog = DispatcherUserInputTestDialog.new
+  expect(Yast::UI).to 
receive(:TimeoutUserInput).with(1000).and_return(:cancel)
+  expect(Yast::UI).to_not receive(:UserInput)
+
+  dialog.event_loop
 end
   end
 
diff -urN '--exclude=CVS' '--exclude=.cv

commit yast2 for openSUSE:Factory

2015-07-22 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-07-22 09:19:21

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-07-05 
17:52:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-07-22 
09:19:23.0 +0200
@@ -1,0 +2,20 @@
+Fri Jul 17 08:28:41 UTC 2015 - igonzalezs...@suse.com
+
+- Do not try to load snapper extension as it does not exists anymore
+  (bsc#938377).
+- 3.1.141
+
+---
+Thu Jul  9 15:37:27 UTC 2015 - jreidin...@suse.com
+
+- do not crash if desktop file does not exist for setting icon
+  (bnc#937549)
+- 3.1.140
+
+---
+Mon Jul  6 18:02:27 CEST 2015 - shundham...@suse.de
+
+- Cleanup for snapshots made during installation (bnc#935923)
+- 3.1.139 
+
+---

Old:

  yast2-3.1.138.tar.bz2

New:

  yast2-3.1.141.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.vjih5J/_old  2015-07-22 09:19:24.0 +0200
+++ /var/tmp/diff_new_pack.vjih5J/_new  2015-07-22 09:19:24.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.138
+Version:3.1.141
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.138.tar.bz2 -> yast2-3.1.141.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.138/library/system/src/lib/yast2/fs_snapshot.rb 
new/yast2-3.1.141/library/system/src/lib/yast2/fs_snapshot.rb
--- old/yast2-3.1.138/library/system/src/lib/yast2/fs_snapshot.rb   
2015-07-01 16:11:38.0 +0200
+++ new/yast2-3.1.141/library/system/src/lib/yast2/fs_snapshot.rb   
2015-07-20 10:41:38.0 +0200
@@ -65,6 +65,9 @@
 LIST_SNAPSHOTS_CMD = "LANG=en_US.UTF-8 /usr/bin/snapper --no-dbus 
--root=%{root} list"
 VALID_LINE_REGEX = /\A\w+\s+\| \d+/
 
+# Predefined snapshot cleanup strategies (the user can define custom ones, 
too)
+CLEANUP_STRATEGY = { number: "number", timeline: "timeline" }
+
 attr_reader :number, :snapshot_type, :previous_number, :timestamp, :user,
   :cleanup_algo, :description
 
@@ -74,11 +77,10 @@
 def self.configured?
   return @configured unless @configured.nil?
 
-  out = with_snapper do
-Yast::SCR.Execute(Yast::Path.new(".target.bash_output"),
-  format(FIND_CONFIG_CMD, root: target_root)
-)
-  end
+  out = Yast::SCR.Execute(
+Yast::Path.new(".target.bash_output"),
+format(FIND_CONFIG_CMD, root: target_root)
+  )
 
   log.info("Checking if Snapper is configured: \"#{FIND_CONFIG_CMD}\" 
returned: #{out}")
   @configured = out["exit"] == 0
@@ -111,15 +113,17 @@
 
 # Creates a new 'single' snapshot unless disabled by user
 #
-# @param description [String] Snapshot's description.
+# @param description [String]  Snapshot's description.
+# @param cleanup [String]  Cleanup strategy (:number, :timeline, nil)
+# @param important   [boolean] Add "important" to userdata?
 # @return [FsSnapshot] The created snapshot.
 #
 # @see FsSnapshot.create
 # @see FsSnapshot.create_snapshot?
-def self.create_single(description)
+def self.create_single(description, cleanup: nil, important: false)
   return nil unless create_snapshot?(:single)
 
-  create(:single, description)
+  create(:single, description, cleanup: cleanup, important: important)
 end
 
 # Creates a new 'pre' snapshot
@@ -129,29 +133,31 @@
 #
 # @see FsSnapshot.create
 # @see FsSnapshot.create_snapshot?
-def self.create_pre(description)
+def self.create_pre(description, cleanup: nil, important: false)
   return nil unless create_snapshot?(:around)
 
-  create(:pre, description)
+  create(:pre, description, cleanup: cleanup, important: important)
 end
 
 # Creates a new 'post' snapshot unless disabled by user
 #
 # Each 'post' snapshot corresponds with a 'pre' one.
 #
-# @param description [String] Snapshot's description.
-# @param previous_number [Fixnum] Number of the previous snapshot
+# @param description [String]  Snapshot's description.
+# @param previous_number [Fixnum]  Number of the previous snapshot
+# @param cleanup [String]  Cleanup strategy (:number, :timeline, 
nil)
+# @param important   [boolean] Add "important" to userdata?
 

commit yast2 for openSUSE:Factory

2015-07-05 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-07-05 17:52:46

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-06-18 
06:36:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-07-05 
17:52:47.0 +0200
@@ -1,0 +2,46 @@
+Wed Jul  1 13:46:26 UTC 2015 - jreidin...@suse.com
+
+- fix using desktop icon for yast(bnc#894220)
+- 3.1.138
+
+---
+Tue Jun 30 14:08:54 UTC 2015 - mvid...@suse.com
+
+- Added /etc/sysconfig/yast2:PKGMGR_RECOMMENDED=yes to control
+  whether the YaST packager UI installs recommended dependencies
+  (boo#900853).
+- Removed /etc/sysconfig/yast2:PKGMGR_REEVALUATE_RECOMMENDED,
+  making the setting not persistent (boo#902394).
+- 3.1.137
+
+---
+Mon Jun 29 07:35:21 UTC 2015 - mfi...@suse.com
+
+- bnc#858908
+  - use /etc/hostname instead of /etc/HOSTNAME
+- bnc#922765, bnc#923990
+  - do not propose TLD
+- 3.1.136
+
+---
+Thu Jun 25 15:50:46 CEST 2015 - loci...@suse.com
+
+- Starting the Installer (YaST2.First-Stage) directly from yast2
+  startup script if we are in inst-sys (FATE#317637, bnc#877447)
+- 3.1.135
+
+---
+Mon Jun 22 14:52:04 UTC 2015 - c...@suse.com
+
+- bnc#922765
+  - changed default TLD from .site to .suse
+- 3.1.134 
+
+---
+Thu Jun 18 14:08:32 UTC 2015 - an...@suse.com
+
+- Changed implementaton of view_anymsg to rely more on standard
+  Yast mechanisms (bnc#935192)
+- 3.1.133
+
+---

Old:

  yast2-3.1.132.tar.bz2

New:

  yast2-3.1.138.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.3WWmWp/_old  2015-07-05 17:52:48.0 +0200
+++ /var/tmp/diff_new_pack.3WWmWp/_new  2015-07-05 17:52:48.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.132
+Version:3.1.138
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -34,7 +34,7 @@
 # Needed already in build time
 BuildRequires:  yast2-core >= 2.18.12
 BuildRequires:  yast2-pkg-bindings >= 2.20.3
-BuildRequires:  yast2-ycp-ui-bindings >= 2.18.4
+BuildRequires:  yast2-ycp-ui-bindings >= 3.1.8
 
 # Needed for tests
 BuildRequires:  grep
@@ -44,8 +44,8 @@
 
 # For running RSpec tests during build
 BuildRequires:  rubygem(rspec)
-# To have scr_chrooted? call available
-BuildRequires:  yast2-ruby-bindings >= 3.1.33
+# To have Yast::CoreExt::AnsiString
+BuildRequires:  yast2-ruby-bindings >= 3.1.36
 
 # pre-requires for filling the sysconfig template (sysconfig.yast2)
 PreReq: %fillup_prereq
@@ -53,9 +53,8 @@
 # ag_ini section_private
 # ag_ini with (un)quoting support
 Requires:   yast2-core >= 2.23.0
-# Mod_UI
-# new UI::OpenContextMenu
-Requires:   yast2-ycp-ui-bindings >= 2.18.4
+# new UI::SetApplicationIcon
+Requires:   yast2-ycp-ui-bindings >= 3.1.8
 
 # changed StartPackage callback signature
 Requires:   yast2-pkg-bindings >= 2.20.3

++ yast2-3.1.132.tar.bz2 -> yast2-3.1.138.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.132/library/general/src/fillup/sysconfig.yast2 
new/yast2-3.1.138/library/general/src/fillup/sysconfig.yast2
--- old/yast2-3.1.132/library/general/src/fillup/sysconfig.yast2
2015-06-12 10:41:08.0 +0200
+++ new/yast2-3.1.138/library/general/src/fillup/sysconfig.yast2
2015-07-01 16:11:38.0 +0200
@@ -84,14 +84,10 @@
 PKGMGR_VERIFY_SYSTEM="no"
 
 ## Type: list(yes,no)
-## Default: "no"
+## Default: "yes"
 #
-# By default the recommended packages for already installed packages are not 
taken into
-# account, i.e. they are not automatically selected for installation.
-# Set this option to "yes" if you want to reevaluate which packages are 
recommended, e.g. to
-# get the language dependent packages for an additional language or hardware 
related packages
-# if the hardware has changed.
-PKGMGR_REEVALUATE_RECOMMENDED="no"
+# Install also the weak, recommended, dependencies.
+PKGMGR_RECOMMENDED="yes"
 
 ## Type: list(yes,no)
 ## Default: "no"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.132/library/system/src/clients/view_anymsg.rb 
new/yast2-3.1.138/library/system/src/c

commit yast2 for openSUSE:Factory

2015-06-17 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-06-18 06:36:30

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-06-06 
09:50:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-06-18 
06:36:33.0 +0200
@@ -1,0 +2,15 @@
+Thu Jun 11 18:43:10 UTC 2015 - mfi...@suse.com
+
+- fate#318804
+  - dropped no longer used group from YaST Control Centre
+- 3.1.132
+
+---
+Thu Jun 11 14:22:04 UTC 2015 - an...@suse.com
+
+- Added new method Directory.find_data_file (needed for the
+  implementation of fate#318425)
+- Deprecated Directory.datadir and Directory.ydatadir
+- 3.1.131
+
+---

Old:

  yast2-3.1.130.tar.bz2

New:

  yast2-3.1.132.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Gz5HBS/_old  2015-06-18 06:36:34.0 +0200
+++ /var/tmp/diff_new_pack.Gz5HBS/_new  2015-06-18 06:36:34.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.130
+Version:3.1.132
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.130.tar.bz2 -> yast2-3.1.132.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.130/library/desktop/groups/network_devices.desktop 
new/yast2-3.1.132/library/desktop/groups/network_devices.desktop
--- old/yast2-3.1.130/library/desktop/groups/network_devices.desktop
2015-06-05 08:46:08.0 +0200
+++ new/yast2-3.1.132/library/desktop/groups/network_devices.desktop
1970-01-01 01:00:00.0 +0100
@@ -1,16 +0,0 @@
-[Desktop Entry]
-Type=Application
-Categories=Qt;X-SuSE-YaST;
-
-X-KDE-ModuleType=Library
-X-KDE-HasReadOnlyMode=true
-
-X-SuSE-YaST-Group=Network
-X-SuSE-YaST-SortKey=30
-
-OnlyShowIn=X-SuSE-YaST;
-Icon=yast-network_devices
-
-Name=Network Devices
-
-Exec=/sbin/yast2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.130/library/general/src/modules/Directory.rb 
new/yast2-3.1.132/library/general/src/modules/Directory.rb
--- old/yast2-3.1.130/library/general/src/modules/Directory.rb  2015-06-05 
08:46:08.0 +0200
+++ new/yast2-3.1.132/library/general/src/modules/Directory.rb  2015-06-12 
10:41:08.0 +0200
@@ -54,6 +54,7 @@
   @agentdir = Ops.add(@execcompdir, "/servers_non_y2")
 
   # Directory for data
+  # @deprecated since it does not honor Y2DIR. Use #find_data_file instead
   @datadir = Ops.add(@yast2dir, "/data")
   @ydatadir = @datadir
 
@@ -117,13 +118,24 @@
   nil
 end
 
+# Find an existing file in any of the YaST data directories
+#
+# @param relative_path [String] name of the file to find
+# @return [String] full path of the file if it's found, nil otherwise
+def find_data_file(relative_path)
+  possible_paths = Yast.y2paths.map { |p| File.join(p, "data", 
relative_path) }
+  possible_paths.find { |p| File.exist?(p) }
+end
+
 publish variable: :bindir, type: "string"
 publish variable: :ybindir, type: "string"
 publish variable: :logdir, type: "string"
 publish variable: :vardir, type: "string"
 publish variable: :etcdir, type: "string"
 publish variable: :agentdir, type: "string"
+# @deprecated since it does not honor Y2DIR. Use #find_data_file instead
 publish variable: :datadir, type: "string"
+# @deprecated since it's an alias for the deprecated #datadir
 publish variable: :ydatadir, type: "string"
 publish variable: :schemadir, type: "string"
 publish variable: :includedir, type: "string"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.130/library/general/test/Makefile.am 
new/yast2-3.1.132/library/general/test/Makefile.am
--- old/yast2-3.1.130/library/general/test/Makefile.am  2015-06-05 
08:46:08.0 +0200
+++ new/yast2-3.1.132/library/general/test/Makefile.am  2015-06-12 
10:41:09.0 +0200
@@ -2,6 +2,7 @@
   asciifile_test.rb \
   auto_client_test.rb \
   dialog_test.rb \
+  directory_test.rb \
   event_dispatcher_test.rb \
   finish_client_test.rb \
   hooks_test.rb \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.130/library/general/test/data/data_file.txt 
new/yast2-3.1.132/library/general/test/data/data_file.txt
--- old/yast2-3.1.130/library/general/test/data/data_file.txt   1970

commit yast2 for openSUSE:Factory

2015-06-06 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-06-06 09:50:01

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-06-03 
08:28:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-06-06 
09:50:02.0 +0200
@@ -1,0 +2,15 @@
+Thu Jun  4 12:04:32 UTC 2015 - igonzalezs...@suse.com
+
+- Fix a typo when calling Linuxrc.value_for method
+- 3.1.130
+
+---
+Tue Jun  2 16:42:43 CEST 2015 - loci...@suse.com
+
+- Implemented possibility to temporarily disable creating
+  snapshots via parameter on Linuxrc commandline:
+disable_snapshots=(single|around|all)
+  or using their comma-separated combination (fate#317973)
+- 3.1.129
+
+---

Old:

  yast2-3.1.128.tar.bz2

New:

  yast2-3.1.130.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.d2MFio/_old  2015-06-06 09:50:03.0 +0200
+++ /var/tmp/diff_new_pack.d2MFio/_new  2015-06-06 09:50:03.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.128
+Version:3.1.130
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.128.tar.bz2 -> yast2-3.1.130.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.128/library/general/src/modules/Linuxrc.rb 
new/yast2-3.1.130/library/general/src/modules/Linuxrc.rb
--- old/yast2-3.1.128/library/general/src/modules/Linuxrc.rb2015-06-02 
14:31:10.0 +0200
+++ new/yast2-3.1.130/library/general/src/modules/Linuxrc.rb2015-06-05 
08:46:08.0 +0200
@@ -31,6 +31,10 @@
 
 module Yast
   class LinuxrcClass < Module
+# Disables filesystem snapshots (fate#317973)
+# Possible values: all, post, pre, single
+DISABLE_SNAPSHOTS = "disable_snapshots"
+
 def main
   Yast.import "Mode"
   Yast.import "Stage"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.128/library/system/src/lib/yast2/fs_snapshot.rb 
new/yast2-3.1.130/library/system/src/lib/yast2/fs_snapshot.rb
--- old/yast2-3.1.128/library/system/src/lib/yast2/fs_snapshot.rb   
2015-06-02 14:31:10.0 +0200
+++ new/yast2-3.1.130/library/system/src/lib/yast2/fs_snapshot.rb   
2015-06-05 08:46:08.0 +0200
@@ -58,6 +58,8 @@
   class FsSnapshot
 include Yast::Logger
 
+Yast.import "Linuxrc"
+
 FIND_CONFIG_CMD = "/usr/bin/snapper --no-dbus --root=%{root} list-configs 
| grep \"^root \" >/dev/null"
 CREATE_SNAPSHOT_CMD = "/usr/lib/snapper/installation-helper --step 5 
--root-prefix=%{root} --snapshot-type %{snapshot_type} --description 
\"%{description}\""
 LIST_SNAPSHOTS_CMD = "LANG=en_US.UTF-8 /usr/bin/snapper --no-dbus 
--root=%{root} list"
@@ -82,13 +84,41 @@
   @configured = out["exit"] == 0
 end
 
-# Creates a new 'single' snapshot
+# Returns whether creating the given snapshot type is allowed
+# Information is taken from Linuxrc (DISABLE_SNAPSHOTS)
+#   * "all" - all snapshot types are temporarily disabled
+#   * "around" - before and after calling YaST
+#   * "single" - single snapshot at a given point
+#
+# @param [Symbol] one of :around (for :post and :pre snapshots) or :single
+# @return [Boolean] if snapshot should be created
+def self.create_snapshot?(snapshot_type)
+  disable_snapshots = 
Yast::Linuxrc.value_for(Yast::LinuxrcClass::DISABLE_SNAPSHOTS)
+
+  # Feature is not defined on Linuxrc commandline
+  return true if disable_snapshots.nil? || disable_snapshots.empty?
+
+  disable_snapshots = disable_snapshots.downcase.tr("-_.", "").split(",")
+
+  if [:around, :single].include?(snapshot_type)
+return false if disable_snapshots.include?("all")
+return !disable_snapshots.include?(snapshot_type.to_s)
+  else
+raise ArgumentError, "Unsupported snapshot type 
#{snapshot_type.inspect}, " \
+  "supported are :around and :single"
+  end
+end
+
+# Creates a new 'single' snapshot unless disabled by user
 #
 # @param description [String] Snapshot's description.
 # @return [FsSnapshot] The created snapshot.
 #
 # @see FsSnapshot.create
+# @see FsSnapshot.create_snapshot?
 def self.create_single(description)
+  return nil unless create_snapshot?(:single)
+
   create(:single, description)
 end
 
@@ -98,11 +128,14 @@
 # @ret

commit yast2 for openSUSE:Factory

2015-06-02 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-06-03 08:28:50

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-05-26 
13:28:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-06-03 
08:28:52.0 +0200
@@ -1,0 +2,19 @@
+Tue Jun  2 11:26:50 UTC 2015 - jreidin...@suse.com
+
+- reduce count of extending inst-sys with snapper for snapshotting
+  (fate#317973)
+- 3.1.128
+
+---
+Mon Jun  1 16:23:37 CEST 2015 - loci...@suse.com
+
+- Added Linuxrc.value_for (fate#317973)
+- 3.1.127
+
+---
+Wed May 27 14:36:47 UTC 2015 - jreidin...@suse.com
+
+- Add persistent storage for fs pre snapshots (fate#317973)
+- 3.1.126
+
+---

Old:

  yast2-3.1.125.tar.bz2

New:

  yast2-3.1.128.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.UT2zHK/_old  2015-06-03 08:28:53.0 +0200
+++ /var/tmp/diff_new_pack.UT2zHK/_new  2015-06-03 08:28:53.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.125
+Version:3.1.128
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -44,8 +44,8 @@
 
 # For running RSpec tests during build
 BuildRequires:  rubygem(rspec)
-# To have specific RSpec extensions available
-BuildRequires:  yast2-ruby-bindings >= 3.1.26
+# To have scr_chrooted? call available
+BuildRequires:  yast2-ruby-bindings >= 3.1.33
 
 # pre-requires for filling the sysconfig template (sysconfig.yast2)
 PreReq: %fillup_prereq
@@ -128,7 +128,7 @@
 Provides:   yast2-network:/usr/share/YaST2/modules/Internet.ycp
 Provides:   yast2-packager:/usr/lib/YaST2/servers_non_y2/ag_anyxml
 
-Requires:   yast2-ruby-bindings >= 1.0.0
+Requires:   yast2-ruby-bindings >= 3.1.33
 
 Summary:YaST2 - Main Package
 License:GPL-2.0

++ yast2-3.1.125.tar.bz2 -> yast2-3.1.128.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.125/library/general/src/modules/Linuxrc.rb 
new/yast2-3.1.128/library/general/src/modules/Linuxrc.rb
--- old/yast2-3.1.125/library/general/src/modules/Linuxrc.rb2015-05-25 
15:36:08.0 +0200
+++ new/yast2-3.1.128/library/general/src/modules/Linuxrc.rb2015-06-02 
14:31:10.0 +0200
@@ -211,6 +211,29 @@
   true
 end
 
+# Returns value of a given Linxurc key/feature defined on commandline
+# and written into install.inf
+#
+# @param [String] key
+# @return [String, nil] value of a given key or `nil` if not found
+def value_for(feature_key)
+  ReadInstallInf()
+  feature_key = polish(feature_key)
+
+  # at first check the keys in install.inf
+  install_inf_key, install_inf_val = @install_inf.find { |k, _v| polish(k) 
== feature_key }
+  return install_inf_val if install_inf_key
+
+  # then check the command line
+  ret = nil
+  @install_inf.fetch("Cmdline", "").split.each do |cmdline_entry|
+key, val = cmdline_entry.split("=", 2)
+ret = val if polish(key) == feature_key
+  end
+
+  ret
+end
+
 publish function: :ResetInstallInf, type: "void ()"
 publish function: :InstallInf, type: "string (string)"
 publish function: :manual, type: "boolean ()"
@@ -224,6 +247,17 @@
 publish function: :WriteYaSTInf, type: "void (map )"
 publish function: :SaveInstallInf, type: "boolean (string)"
 publish function: :keys, type: "list  ()"
+publish function: :value_for, type: "string (string)"
+
+  private
+
+# Removes characters ignored by Linuxrc and turns all to downcase
+#
+# @param [String]
+# @return [String]
+def polish(key)
+  key.downcase.tr("-_\\.", "")
+end
   end
 
   Linuxrc = LinuxrcClass.new
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.125/library/general/test/linuxrc_test.rb 
new/yast2-3.1.128/library/general/test/linuxrc_test.rb
--- old/yast2-3.1.125/library/general/test/linuxrc_test.rb  2015-05-25 
15:36:08.0 +0200
+++ new/yast2-3.1.128/library/general/test/linuxrc_test.rb  2015-06-02 
14:31:10.0 +0200
@@ -187,4 +187,47 @@
   expect(subject.keys.sort).to eq(DEFAULT_INSTALL_INF.keys.sort)
 end
   end
+
+  describe "#value_for" do
+context "when key is defined in install.inf (Linuxrc commandline)" do
+ 

commit yast2 for openSUSE:Factory

2015-05-26 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-05-26 13:28:20

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-05-23 
12:56:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-05-26 
13:28:22.0 +0200
@@ -1,0 +2,7 @@
+Mon May 25 14:04:51 CEST 2015 - loci...@suse.com
+
+- Fixed proposal to open fallback ports for services (bsc#916376)
+- Removed opening iSCSI ports from firewall proposal (bsc#916376)
+- 3.1.125
+
+---

Old:

  yast2-3.1.124.tar.bz2

New:

  yast2-3.1.125.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.0vI1Vh/_old  2015-05-26 13:28:23.0 +0200
+++ /var/tmp/diff_new_pack.0vI1Vh/_new  2015-05-26 13:28:23.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.124
+Version:3.1.125
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.124.tar.bz2 -> yast2-3.1.125.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.124/library/network/src/modules/SuSEFirewallProposal.rb 
new/yast2-3.1.125/library/network/src/modules/SuSEFirewallProposal.rb
--- old/yast2-3.1.124/library/network/src/modules/SuSEFirewallProposal.rb   
2015-05-22 15:51:11.0 +0200
+++ new/yast2-3.1.125/library/network/src/modules/SuSEFirewallProposal.rb   
2015-05-25 15:36:08.0 +0200
@@ -64,10 +64,6 @@
   @vnc_service = "service:xorg-x11-server"
 
   @ssh_service = "service:sshd"
-
-  @iscsi_target_service = "service:iscsitarget"
-
-  @iscsi_target_fallback_ports = ["iscsi-target"]
 end
 
 # 
@@ -234,16 +230,13 @@
 # @param list  fallback TCP ports
 # @param [Array] zones
 def EnableFallbackPorts(fallback_ports, zones)
-  fallback_ports = deep_copy(fallback_ports)
-  zones = deep_copy(zones)
-  Builtins.y2warning(
-"Enabling fallback ports: %1 in zones: %2",
-fallback_ports,
-zones
-  )
-
-  Builtins.foreach(zones) do |one_zone|
-Builtins.foreach(fallback_ports) do |one_port|
+  known_zones = SuSEFirewall.GetKnownFirewallZones()
+  unknown_zones = zones - known_zones
+  raise "Unknown firewall zones #{unknown_zones}" unless 
unknown_zones.empty?
+
+  log.info "Enabling fallback ports: #{fallback_ports} in zones: #{zones}"
+  zones.each do |one_zone|
+fallback_ports.each do |one_port|
   SuSEFirewall.AddService(one_port, "TCP", one_zone)
 end
   end
@@ -253,6 +246,7 @@
 
 # Function opens service for network interfaces given as the third 
parameter.
 # Fallback ports are used if the given service is uknown.
+# If interfaces are not assigned to any firewall zone, all zones will be 
used.
 #
 # @see OpenServiceOnNonDialUpInterfaces for more info.
 #
@@ -264,19 +258,15 @@
   interfaces = deep_copy(interfaces)
   zones = SuSEFirewall.GetZonesOfInterfaces(interfaces)
 
+  # Interfaces might not be assigned to any zone yet, use all zones
+  zones = SuSEFirewall.GetKnownFirewallZones() if zones.empty?
+
   if SuSEFirewallServices.IsKnownService(service)
-Builtins.y2milestone(
-  "Opening service %1 on interfaces %2 (zones %3)",
-  service,
-  interfaces,
-  zones
-)
+log.info "Opening service #{service} on interfaces #{interfaces} 
(zones #{zones})"
 SuSEFirewall.SetServicesForZones([service], zones, true)
-  end
-
-  if SuSEFirewallServices.IsKnownService(service) != true ||
-  ServiceEnabled(service, interfaces) != true
-EnableFallbackPorts(fallback_ports, interfaces)
+  else
+log.warn "Unknown service #{service}, enabling fallback ports"
+EnableFallbackPorts(fallback_ports, zones)
   end
 
   nil
@@ -456,8 +446,6 @@
 SuSEFirewall.AddXenSupport
   end
 
-  # BNC #766300 - Automatically propose opening iscsi-target port
-  # when installing with withiscsi=1
   propose_iscsi if Linuxrc.useiscsi
 
   SetKnownInterfaces(SuSEFirewall.GetListOfKnownInterfaces)
@@ -773,9 +761,7 @@
 
 # Proposes firewall settings for iSCSI
 def propose_iscsi
-  log.info "iSCSI has been used during installation, opening 
#{@iscsi_target_service} service"
-
-  OpenServiceOnNonDialUpInterfaces(@iscsi_target_service, 
@iscsi_target_fallback_ports)
+  log.info "iSCSI has been used dur

commit yast2 for openSUSE:Factory

2015-05-23 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-05-23 12:56:35

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-05-19 
23:23:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-05-23 
12:56:36.0 +0200
@@ -1,0 +2,13 @@
+Fri May 22 12:32:27 UTC 2015 - jreidin...@suse.com
+
+- InstExtensionImage: add block variant for loading extension
+  (needed for FATE#317900)
+- 3.1.124
+
+---
+Tue May 19 04:56:13 UTC 2015 - igonzalezs...@suse.com
+
+- Add a class FsSnapshot for managing filesystem snapshots
+  (fate#317973).
+
+---

Old:

  yast2-3.1.123.tar.bz2

New:

  yast2-3.1.124.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.8lYAtJ/_old  2015-05-23 12:56:36.0 +0200
+++ /var/tmp/diff_new_pack.8lYAtJ/_new  2015-05-23 12:56:36.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.123
+Version:3.1.124
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.123.tar.bz2 -> yast2-3.1.124.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.123/library/control/Makefile.am 
new/yast2-3.1.124/library/control/Makefile.am
--- old/yast2-3.1.123/library/control/Makefile.am   2015-05-18 
17:02:13.0 +0200
+++ new/yast2-3.1.124/library/control/Makefile.am   2015-05-22 
15:51:11.0 +0200
@@ -2,4 +2,4 @@
 # Makefile.am for xml/module
 #
 
-SUBDIRS = doc src testsuite
+SUBDIRS = doc src test testsuite
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.123/library/control/src/modules/InstExtensionImage.rb 
new/yast2-3.1.124/library/control/src/modules/InstExtensionImage.rb
--- old/yast2-3.1.123/library/control/src/modules/InstExtensionImage.rb 
2015-05-18 17:02:13.0 +0200
+++ new/yast2-3.1.124/library/control/src/modules/InstExtensionImage.rb 
2015-05-22 15:51:11.0 +0200
@@ -337,6 +337,29 @@
   nil
 end
 
+# Load a rpm package from the media into the inst-sys and ensure its
+# unloading after end of block.
+# @param [String] package to load
+# @param [Proc] Block to be yield
+# @raises [RuntimeError] when package loading failed
+#
+# @example
+#   InstExtensionImage.with_extension("snapper") do
+#  WFM.Execute(path(".local.bash"), "snapper magic")
+#   end
+#
+def with_extension(package, &block)
+  loading_msg = format(_("Loading to memory package '%s'"), package)
+  res = LoadExtension(package, loading_msg)
+  raise "Failed to load package. Please check logs." unless res
+  begin
+block.call
+  ensure
+unloading_msg = format(_("Removing from memory package '%s'"), package)
+UnLoadExtension(package, unloading_msg)
+  end
+end
+
 # Load a rpm package from the media into the inst-sys
 # @param [String] package  The path to package to be loaded (by default,
 # the package is expected in the /boot// directory of the media
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.123/library/control/test/InstExtensionImage_test.rb 
new/yast2-3.1.124/library/control/test/InstExtensionImage_test.rb
--- old/yast2-3.1.123/library/control/test/InstExtensionImage_test.rb   
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.124/library/control/test/InstExtensionImage_test.rb   
2015-05-22 15:51:11.0 +0200
@@ -0,0 +1,133 @@
+#! /usr/bin/env rspec
+
+require_relative "test_helper"
+
+Yast.import "InstExtensionImage"
+
+describe Yast::InstExtensionImage do
+  subject { Yast::InstExtensionImage }
+
+  describe ".LoadExtension" do
+before do
+  # clean internal cache of already loaded extension
+  subject.instance_variable_set("@integrated_extensions", [])
+end
+it "returns false if package is nil" do
+  expect(subject.LoadExtension(nil, "msg")).to eq false
+end
+
+it "returns false if package is \"\"" do
+  expect(subject.LoadExtension("", "msg")).to eq false
+end
+
+it "returns true immediately if package is already loaded" do
+  subject.instance_variable_set("@integrated_extensions", ["snapper"])
+  expect(subject.LoadExtension("snapper", "msg")).to eq true
+end
+
+it "shows message as feedback when loading package" do
+  expect

commit yast2 for openSUSE:Factory

2015-05-19 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-05-19 23:23:22

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-05-16 
20:07:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-05-19 
23:23:24.0 +0200
@@ -1,0 +2,7 @@
+Mon May 18 10:32:24 CEST 2015 - loci...@suse.com
+
+- Making SuSEFirewallProposal.propose_iscsi function public
+  (bsc#916376)
+- 3.1.123
+
+---

Old:

  yast2-3.1.122.tar.bz2

New:

  yast2-3.1.123.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.dle3JW/_old  2015-05-19 23:23:25.0 +0200
+++ /var/tmp/diff_new_pack.dle3JW/_new  2015-05-19 23:23:25.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.122
+Version:3.1.123
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.122.tar.bz2 -> yast2-3.1.123.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.122/library/network/src/modules/SuSEFirewallProposal.rb 
new/yast2-3.1.123/library/network/src/modules/SuSEFirewallProposal.rb
--- old/yast2-3.1.122/library/network/src/modules/SuSEFirewallProposal.rb   
2015-05-15 18:11:07.0 +0200
+++ new/yast2-3.1.123/library/network/src/modules/SuSEFirewallProposal.rb   
2015-05-18 17:02:13.0 +0200
@@ -771,8 +771,6 @@
   { "output" => output, "warning" => warning }
 end
 
-  private
-
 # Proposes firewall settings for iSCSI
 def propose_iscsi
   log.info "iSCSI has been used during installation, opening 
#{@iscsi_target_service} service"
@@ -781,6 +779,8 @@
 
   # bsc#916376: ports need to be open already during boot
   SuSEFirewall.full_init_on_boot(true)
+
+  nil
 end
 
 publish function: :OpenServiceOnNonDialUpInterfaces, type: "void (string, 
list )"
@@ -791,6 +791,7 @@
 publish function: :Reset, type: "void ()"
 publish function: :Propose, type: "void ()"
 publish function: :ProposalSummary, type: "map  ()"
+publish function: :propose_iscsi, type: "void ()"
   end
 
   SuSEFirewallProposal = SuSEFirewallProposalClass.new
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.122/library/network/test/susefirewall_proposal_test.rb 
new/yast2-3.1.123/library/network/test/susefirewall_proposal_test.rb
--- old/yast2-3.1.122/library/network/test/susefirewall_proposal_test.rb
2015-05-15 18:11:07.0 +0200
+++ new/yast2-3.1.123/library/network/test/susefirewall_proposal_test.rb
2015-05-18 17:02:13.0 +0200
@@ -9,6 +9,26 @@
 
 describe Yast::SuSEFirewallProposal do
   describe "#ProposeFunctions" do
+context "when iscsi is used" do
+  it "calls the iscsi proposal" do
+allow(Yast::Linuxrc).to receive(:useiscsi).and_return(true)
+expect(Yast::SuSEFirewallProposal).to 
receive(:propose_iscsi).and_return(nil)
+
+Yast::SuSEFirewallProposal.ProposeFunctions
+  end
+end
+
+context "when iscsi is not used" do
+  it "does not call the iscsi proposal" do
+allow(Yast::Linuxrc).to receive(:useiscsi).and_return(false)
+expect(Yast::SuSEFirewallProposal).not_to receive(:propose_iscsi)
+
+Yast::SuSEFirewallProposal.ProposeFunctions
+  end
+end
+  end
+
+  describe "#propose_iscsi" do
 before(:each) do
   allow(Yast::SuSEFirewall).to 
receive(:GetAllNonDialUpInterfaces).and_return(["eth44", "eth55"])
   allow(Yast::SuSEFirewall).to 
receive(:GetZonesOfInterfaces).and_return(["EXT"])
@@ -16,15 +36,11 @@
   allow(Yast::SuSEFirewallProposal).to 
receive(:ServiceEnabled).and_return(true)
 end
 
-context "when iscsi is used" do
-  it "proposes opening iscsi-target firewall service and full firewall 
initialization on boot" do
-allow(Yast::Linuxrc).to receive(:useiscsi).and_return("initial")
-
-expect(Yast::SuSEFirewall).to 
receive(:full_init_on_boot).and_return(true)
-expect(Yast::SuSEFirewall).to 
receive(:SetServicesForZones).with(["service:iscsitarget"], ["EXT"], 
true).and_return(true)
+it "proposes opening iscsi-target firewall service and full firewall 
initialization on boot" do
+  expect(Yast::SuSEFirewall).to 
receive(:full_init_on_boot).and_return(true)
+  expect(Yast::SuSEFirewall).to 
receive(:SetServicesForZones).with(["service:iscsitarget"], ["EXT"], 
true).and_return(true)
 
-Yast::Su

commit yast2 for openSUSE:Factory

2015-05-16 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-05-16 20:07:39

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-02-06 
10:50:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-05-16 
20:07:40.0 +0200
@@ -1,0 +2,7 @@
+Wed May 13 15:03:50 CEST 2015 - loci...@suse.com
+
+- Propose SuSEfirewal2 to fully initialize (e.g. open ports)
+  already in the init phase to allow using iSCSI (bsc#916376)
+- 3.1.122
+
+---

Old:

  yast2-3.1.121.tar.bz2

New:

  yast2-3.1.122.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.ckymq3/_old  2015-05-16 20:07:41.0 +0200
+++ /var/tmp/diff_new_pack.ckymq3/_new  2015-05-16 20:07:41.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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:3.1.121
+Version:3.1.122
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.121.tar.bz2 -> yast2-3.1.122.tar.bz2 ++
 4907 lines of diff (skipped)




commit yast2 for openSUSE:Factory

2015-02-06 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-02-06 10:50:34

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-01-29 
09:55:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-02-06 
10:50:35.0 +0100
@@ -1,0 +2,18 @@
+Tue Feb  3 10:15:13 UTC 2015 - an...@suse.com
+
+- Better handling of line breaks in system log viewer (bnc#912169)
+- 3.1.121
+
+---
+Mon Feb  2 08:27:21 UTC 2015 - jreidin...@suse.com
+
+- fix typo in method call to package bindings (found by openQA)
+- separate dummy Pkg callbacks from common ones
+- 3.1.120
+
+---
+Thu Jan 29 10:21:26 UTC 2015 - jreidin...@suse.com
+
+- remove depreacated legacy Patch callbacks 
+
+---

Old:

  yast2-3.1.119.tar.bz2

New:

  yast2-3.1.121.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.ZNuz1E/_old  2015-02-06 10:50:36.0 +0100
+++ /var/tmp/diff_new_pack.ZNuz1E/_new  2015-02-06 10:50:36.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.119
+Version:3.1.121
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.119.tar.bz2 -> yast2-3.1.121.tar.bz2 ++
 5930 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2015-01-29 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-01-29 09:55:11

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-01-27 
10:50:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-01-29 
09:55:13.0 +0100
@@ -1,0 +2,12 @@
+Tue Jan 27 14:16:20 UTC 2015 - jreidin...@suse.com
+
+- fixed \r, \f, \v and \b  characters lost during conversion to
+  Ruby
+
+---
+Tue Jan 27 11:51:54 UTC 2015 - c...@suse.com
+
+- Removed more icons from other dialogs (bnc#875201)
+- 3.1.119
+
+---

Old:

  yast2-3.1.118.tar.bz2

New:

  yast2-3.1.119.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.3yGpc3/_old  2015-01-29 09:55:14.0 +0100
+++ /var/tmp/diff_new_pack.3yGpc3/_new  2015-01-29 09:55:14.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.118
+Version:3.1.119
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -44,6 +44,8 @@
 
 # For running RSpec tests during build
 BuildRequires:  rubygem(rspec)
+# To have specific RSpec extensions available
+BuildRequires:  yast2-ruby-bindings >= 3.1.26
 
 # pre-requires for filling the sysconfig template (sysconfig.yast2)
 PreReq: %fillup_prereq

++ yast2-3.1.118.tar.bz2 -> yast2-3.1.119.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.118/.travis.yml 
new/yast2-3.1.119/.travis.yml
--- old/yast2-3.1.118/.travis.yml   2015-01-26 11:36:43.0 +0100
+++ new/yast2-3.1.119/.travis.yml   2015-01-28 15:01:11.0 +0100
@@ -7,11 +7,10 @@
 - wget 
https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
 - sh ./travis_setup.sh -p "rake yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2 yast2-pkg-bindings" -g "rspec:2.14.1 yast-rake 
gettext rubocop:0.28.0"
 script:
-- rake check:syntax
 - rake check:pot
 - rubocop
-- make -f Makefile.cvs
-- make
-- sudo make install
-- make check
+- make -s -f Makefile.cvs
+- make -s
+- sudo make -s install
+- make -s check
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.118/library/general/test/agents_test/netd_agent_test.rb 
new/yast2-3.1.119/library/general/test/agents_test/netd_agent_test.rb
--- old/yast2-3.1.118/library/general/test/agents_test/netd_agent_test.rb   
2015-01-26 11:36:43.0 +0100
+++ new/yast2-3.1.119/library/general/test/agents_test/netd_agent_test.rb   
2015-01-28 15:01:12.0 +0100
@@ -3,17 +3,13 @@
 
 module Yast
   describe ".etc.xinetd_conf.services" do
-before :each do
+around :each do |example|
   root = File.join(File.dirname(__FILE__), "test_root")
-  assign_root_path(root)
-end
-
-after :each do
-  reset_root_path
+  change_scr_root(root, &example)
 end
 
 describe ".Read" do
-  let(:content) { SCR.Read(Path.new(".etc.xinetd_conf.services")) }
+  let(:content) { SCR.Read(path(".etc.xinetd_conf.services")) }
 
   it "reads content of /etc/xinetd.d and returns array" do
 expect(content).to be_a(Array)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.118/library/general/test/agents_test/proc_meminfo_agent_test.rb 
new/yast2-3.1.119/library/general/test/agents_test/proc_meminfo_agent_test.rb
--- 
old/yast2-3.1.118/library/general/test/agents_test/proc_meminfo_agent_test.rb   
2015-01-26 11:36:43.0 +0100
+++ 
new/yast2-3.1.119/library/general/test/agents_test/proc_meminfo_agent_test.rb   
2015-01-28 15:01:12.0 +0100
@@ -4,17 +4,13 @@
 require "yast"
 
 describe ".proc.meminfo" do
-  before :each do
+  around :each do |example|
 root = File.join(File.dirname(__FILE__), "test_root")
-assign_root_path(root)
-  end
-
-  after :each do
-reset_root_path
+change_scr_root(root, &example)
   end
 
   describe ".Read" do
-let(:content) { Yast::SCR.Read(Yast::Path.new(".proc.meminfo")) }
+let(:content) { Yast::SCR.Read(path(".proc.meminfo")) }
 
 it "read content of /proc/meminfo return hash" do
   expect(content).to be_a(Hash)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.118/library/general/test/event_dispatcher_test.rb 
new/yast2-3

commit yast2 for openSUSE:Factory

2015-01-27 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2015-01-27 10:50:42

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2015-01-21 
21:56:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-01-27 
10:50:44.0 +0100
@@ -1,0 +2,21 @@
+Thu Jan 22 13:21:45 UTC 2015 - jsr...@suse.cz
+
+- added handling of new created configuration files (bsc#860856)
+- 3.1.118
+
+---
+Wed Jan 21 15:50:26 UTC 2015 - c...@suse.com
+
+- Removed icons from all kinds of popups (bnc#875201)
+- 3.1.117
+
+---
+Tue Jan 20 09:55:48 UTC 2015 - jreidin...@suse.com
+
+- remove unused module for tracking config history in svn
+- remove unused module for writing to system log that is obsolete
+  by systemd
+- remove never used feature to lock proposal by administrator
+- improve the most horrible nesting of blocks in code
+
+---

Old:

  yast2-3.1.116.tar.bz2

New:

  yast2-3.1.118.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.HZOEdA/_old  2015-01-27 10:50:45.0 +0100
+++ /var/tmp/diff_new_pack.HZOEdA/_new  2015-01-27 10:50:45.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.116
+Version:3.1.118
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.116.tar.bz2 -> yast2-3.1.118.tar.bz2 ++
 1960 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2015-01-21 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-12-21 
12:02:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2015-01-21 
21:56:43.0 +0100
@@ -1,0 +2,22 @@
+Fri Jan 16 16:53:25 UTC 2015 - jreidin...@suse.com
+
+- enable automatic rubocop style checker and adjust code to YaST
+  style guide
+
+---
+Fri Jan 16 10:05:55 UTC 2015 - dval...@suse.com
+
+- Treat PowerNV platform as CHRP
+
+---
+Tue Jan 13 13:43:40 UTC 2015 - c...@suse.com
+
+- Use native Ruby implementation (IPAddr) for Yast::IP.
+- 3.1.116
+
+---
+Wed Jan  7 10:55:13 UTC 2015 - jsr...@suse.cz
+
+- keep kernel cmdline options during live installation (bsc#793065)
+
+---

Old:

  yast2-3.1.115.tar.bz2

New:

  yast2-3.1.116.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.vXtSEa/_old  2015-01-21 21:56:44.0 +0100
+++ /var/tmp/diff_new_pack.vXtSEa/_new  2015-01-21 21:56:44.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products 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:3.1.115
+Version:3.1.116
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.115.tar.bz2 -> yast2-3.1.116.tar.bz2 ++
 31180 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2014-12-21 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-12-05 
21:03:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-12-21 
12:02:18.0 +0100
@@ -1,0 +2,10 @@
+Thu Dec 18 19:55:46 UTC 2014 - lsle...@suse.cz
+
+- 3.1.115
+
+---
+Wed Dec 17 14:00:42 UTC 2014 - sch...@suse.de
+
+- Add Arch.aarch64
+
+---

Old:

  yast2-3.1.114.tar.bz2

New:

  yast2-3.1.115.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.CNzyd5/_old  2014-12-21 12:02:18.0 +0100
+++ /var/tmp/diff_new_pack.CNzyd5/_new  2014-12-21 12:02:18.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.114
+Version:3.1.115
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.114.tar.bz2 -> yast2-3.1.115.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.114/library/general/src/modules/Arch.rb 
new/yast2-3.1.115/library/general/src/modules/Arch.rb
--- old/yast2-3.1.114/library/general/src/modules/Arch.rb   2014-12-04 
11:14:02.0 +0100
+++ new/yast2-3.1.115/library/general/src/modules/Arch.rb   2014-12-18 
21:01:11.0 +0100
@@ -63,7 +63,7 @@
 # 
 # system architecture
 
-# Returns full architecture type (one of i386, sparc, sparc64, mips, 
mips64, ppc, ppc64, alpha, s390_32, s390_64, ia64, x86_64)
+# Returns full architecture type (one of i386, sparc, sparc64, mips, 
mips64, ppc, ppc64, alpha, s390_32, s390_64, ia64, x86_64, aarch64)
 #
 # @return [String] architecture
 def architecture
@@ -179,7 +179,12 @@
   architecture == "x86_64"
 end
 
-# Returns general architecture type (one of sparc, mips, ppc, s390, i386, 
alpha, ia64, x86_64)
+# true for all aarch64 (ARM64) architectures
+def aarch64
+  architecture == "aarch64"
+end
+
+# Returns general architecture type (one of sparc, mips, ppc, s390, i386, 
alpha, ia64, x86_64, aarch64)
 #
 # @return [String] arch_short
 def arch_short
@@ -510,6 +515,7 @@
 publish :function => :s390, :type => "boolean ()"
 publish :function => :ia64, :type => "boolean ()"
 publish :function => :x86_64, :type => "boolean ()"
+publish :function => :aarch64, :type => "boolean ()"
 publish :function => :arch_short, :type => "string ()"
 publish :function => :board_compatible, :type => "string ()"
 publish :function => :board_mac, :type => "boolean ()"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.114/package/yast2.changes 
new/yast2-3.1.115/package/yast2.changes
--- old/yast2-3.1.114/package/yast2.changes 2014-12-04 11:14:02.0 
+0100
+++ new/yast2-3.1.115/package/yast2.changes 2014-12-18 21:01:11.0 
+0100
@@ -1,4 +1,14 @@
 ---
+Thu Dec 18 19:55:46 UTC 2014 - lsle...@suse.cz
+
+- 3.1.115
+
+---
+Wed Dec 17 14:00:42 UTC 2014 - sch...@suse.de
+
+- Add Arch.aarch64
+
+---
 Thu Dec  4 09:51:50 UTC 2014 - jreidin...@suse.com
 
 - remove X-KDE-Library from desktop file (bnc#899104)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.114/package/yast2.spec 
new/yast2-3.1.115/package/yast2.spec
--- old/yast2-3.1.114/package/yast2.spec2014-12-04 11:14:02.0 
+0100
+++ new/yast2-3.1.115/package/yast2.spec2014-12-18 21:01:11.0 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.114
+Version:3.1.115
 Release:0
 URL:https://github.com/yast/yast-yast2
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2014-12-05 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-12-03 
22:53:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-12-05 
21:03:04.0 +0100
@@ -1,0 +2,5 @@
+Thu Dec  4 09:51:50 UTC 2014 - jreidin...@suse.com
+
+- remove X-KDE-Library from desktop file (bnc#899104)
+
+---

Old:

  yast2-3.1.113.tar.bz2

New:

  yast2-3.1.114.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.cVUKyY/_old  2014-12-05 21:03:05.0 +0100
+++ /var/tmp/diff_new_pack.cVUKyY/_new  2014-12-05 21:03:05.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.113
+Version:3.1.114
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.113.tar.bz2 -> yast2-3.1.114.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.113/library/desktop/groups/hardware.desktop 
new/yast2-3.1.114/library/desktop/groups/hardware.desktop
--- old/yast2-3.1.113/library/desktop/groups/hardware.desktop   2014-12-01 
14:56:14.0 +0100
+++ new/yast2-3.1.114/library/desktop/groups/hardware.desktop   2014-12-04 
11:14:02.0 +0100
@@ -4,7 +4,6 @@
 
 X-KDE-ModuleType=Library
 X-KDE-HasReadOnlyMode=true
-X-KDE-Library=yast2
 
 X-SuSE-YaST-Group=Hardware
 X-SuSE-YaST-SortKey=20
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.113/library/desktop/groups/high_availability.desktop 
new/yast2-3.1.114/library/desktop/groups/high_availability.desktop
--- old/yast2-3.1.113/library/desktop/groups/high_availability.desktop  
2014-12-01 14:56:14.0 +0100
+++ new/yast2-3.1.114/library/desktop/groups/high_availability.desktop  
2014-12-04 11:14:02.0 +0100
@@ -4,7 +4,6 @@
 
 X-KDE-ModuleType=Library
 X-KDE-HasReadOnlyMode=true
-X-KDE-Library=yast2
 
 X-SuSE-YaST-Group=High_Availability
 X-SuSE-YaST-SortKey=20
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.113/library/desktop/groups/misc.desktop 
new/yast2-3.1.114/library/desktop/groups/misc.desktop
--- old/yast2-3.1.113/library/desktop/groups/misc.desktop   2014-12-01 
14:56:14.0 +0100
+++ new/yast2-3.1.114/library/desktop/groups/misc.desktop   2014-12-04 
11:14:02.0 +0100
@@ -4,7 +4,6 @@
 
 X-KDE-ModuleType=Library
 X-KDE-HasReadOnlyMode=true
-X-KDE-Library=yast2
 
 X-SuSE-YaST-Group=Misc
 X-SuSE-YaST-SortKey=99
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.113/library/desktop/groups/network_devices.desktop 
new/yast2-3.1.114/library/desktop/groups/network_devices.desktop
--- old/yast2-3.1.113/library/desktop/groups/network_devices.desktop
2014-12-01 14:56:14.0 +0100
+++ new/yast2-3.1.114/library/desktop/groups/network_devices.desktop
2014-12-04 11:14:02.0 +0100
@@ -4,7 +4,6 @@
 
 X-KDE-ModuleType=Library
 X-KDE-HasReadOnlyMode=true
-X-KDE-Library=yast2
 
 X-SuSE-YaST-Group=Network
 X-SuSE-YaST-SortKey=30
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.113/library/desktop/groups/network_services.desktop 
new/yast2-3.1.114/library/desktop/groups/network_services.desktop
--- old/yast2-3.1.113/library/desktop/groups/network_services.desktop   
2014-12-01 14:56:14.0 +0100
+++ new/yast2-3.1.114/library/desktop/groups/network_services.desktop   
2014-12-04 11:14:02.0 +0100
@@ -4,7 +4,6 @@
 
 X-KDE-ModuleType=Library
 X-KDE-HasReadOnlyMode=true
-X-KDE-Library=yast2
 
 X-SuSE-YaST-Group=Net_advanced
 X-SuSE-YaST-SortKey=40
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.113/library/desktop/groups/security.desktop 
new/yast2-3.1.114/library/desktop/groups/security.desktop
--- old/yast2-3.1.113/library/desktop/groups/security.desktop   2014-12-01 
14:56:14.0 +0100
+++ new/yast2-3.1.114/library/desktop/groups/security.desktop   2014-12-04 
11:14:02.0 +0100
@@ -4,7 +4,6 @@
 
 X-KDE-ModuleType=Library
 X-KDE-HasReadOnlyMode=true
-X-KDE-Library=yast2
 
 X-SuSE-YaST-Group=Security
 X-SuSE-YaST-SortKey=50
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.113/library/desktop/groups/software.desktop 
new/yast2-3.1.114/library/des

commit yast2 for openSUSE:Factory

2014-12-03 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-12-03 22:53:23

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-11-28 
08:46:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-12-03 
22:53:25.0 +0100
@@ -1,0 +2,13 @@
+Mon Dec  1 12:23:34 UTC 2014 - lsle...@suse.cz
+
+- PackageCallbacks: fixed progress reporting (progress overflow was
+  caused by missing stage count)
+- 3.1.113
+
+---
+Wed Nov 26 09:49:19 UTC 2014 - jreidin...@suse.com
+
+- Add base class for installation proposal and finish clients
+- 3.1.112
+
+---
@@ -5 +17,0 @@
-- 3.1.111

Old:

  yast2-3.1.111.tar.bz2

New:

  yast2-3.1.113.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.Rr1RKc/_old  2014-12-03 22:53:27.0 +0100
+++ /var/tmp/diff_new_pack.Rr1RKc/_new  2014-12-03 22:53:27.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.111
+Version:3.1.113
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.111.tar.bz2 -> yast2-3.1.113.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.111/library/general/src/Makefile.am 
new/yast2-3.1.113/library/general/src/Makefile.am
--- old/yast2-3.1.111/library/general/src/Makefile.am   2014-11-26 
10:36:13.0 +0100
+++ new/yast2-3.1.113/library/general/src/Makefile.am   2014-12-01 
14:56:14.0 +0100
@@ -81,6 +81,12 @@
 fillup_DATA = \
   fillup/sysconfig.yast2
 
-EXTRA_DIST = $(module_DATA) $(client_DATA) $(scrconf_DATA) $(agent_SCRIPTS) 
$(ydata_DATA) $(fillup_DATA)
+ylibdir = "${yast2dir}/lib/installation"
+ylib_DATA = \
+  lib/installation/auto_client.rb \
+  lib/installation/finish_client.rb \
+  lib/installation/proposal_client.rb
+
+EXTRA_DIST = $(module_DATA) $(client_DATA) $(scrconf_DATA) $(agent_SCRIPTS) 
$(ydata_DATA) $(fillup_DATA) $(ylib_DATA)
 
 include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.111/library/general/src/lib/installation/auto_client.rb 
new/yast2-3.1.113/library/general/src/lib/installation/auto_client.rb
--- old/yast2-3.1.111/library/general/src/lib/installation/auto_client.rb   
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.113/library/general/src/lib/installation/auto_client.rb   
2014-12-01 14:56:14.0 +0100
@@ -0,0 +1,146 @@
+require "yast"
+
+module Installation
+  # An abstract class that simplifies writing `*_auto.rb` clients for AutoYaST.
+  #
+  # It provides a single entry point
+  # which dispatches calls to the abstract methods that all proposal clients
+  # need to implement.
+  #
+  # You need to implement all the methods, except {#packages}.
+  #
+  # "Autoinstall" basically means {#import}, then {#write}.
+  # "Clone" means {#read}, then {#export}.
+  #
+  # @example how to run a client
+  #   require "installation/example_auto"
+  #   ::Installation::ExampleAuto.run
+  #
+  # @see 
https://github.com/yast/yast-bootloader/blob/master/src/clients/bootloader_auto.rb
+  #   Example client, bootloader_auto.rb
+  # @see http://users.suse.com/~ug/autoyast_doc/devel/ar01s05.html
+  #   Code-related configuration and some old documenation.
+  class AutoClient < Yast::Client
+include Yast::Logger
+
+# Entry point for calling the client.
+# The only part needed in client rb file.
+# @return response from abstract methods
+def self.run
+  self.new.run
+end
+
+# Dispatches to abstract method based on passed Arguments to client
+def run
+  func, param = Yast::WFM.Args
+  log.info "Called #{self.class}.run with #{func} and params #{param}"
+
+  case func
+  when "Import"
+import(param)
+  when "Export"
+export
+  when "Summary"
+summary
+  when "Reset"
+reset
+  when "Change"
+change
+  when "Write"
+write
+  when "Packages"
+packages
+  when "Read"
+read
+  when "GetModified"
+modified?
+  when "SetModified"
+modified
+  else
+raise ArgumentError, "Invalid action for auto client '#{func.inspect}'"
+  end
+end
+
+  protected
+
+# Import data from AutoYaST profile.
+#
+# The profile is a Hash or an Array according to the configuration item
+# `X-SuSE-YaST

commit yast2 for openSUSE:Factory

2014-11-27 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-11-28 08:46:57

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-11-24 
11:13:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-11-28 
08:46:58.0 +0100
@@ -1,0 +2,6 @@
+Wed Nov 26 09:31:55 UTC 2014 - g...@opensuse.org
+
+- remove support for the unmaintained GTK UI plugin (bnc#901511)
+- 3.1.111
+
+---

Old:

  yast2-3.1.110.tar.bz2

New:

  yast2-3.1.111.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.bRmgkS/_old  2014-11-28 08:46:59.0 +0100
+++ /var/tmp/diff_new_pack.bRmgkS/_new  2014-11-28 08:46:59.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.110
+Version:3.1.111
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.110.tar.bz2 -> yast2-3.1.111.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.110/library/general/src/fillup/sysconfig.yast2 
new/yast2-3.1.111/library/general/src/fillup/sysconfig.yast2
--- old/yast2-3.1.110/library/general/src/fillup/sysconfig.yast2
2014-11-14 20:27:37.0 +0100
+++ new/yast2-3.1.111/library/general/src/fillup/sysconfig.yast2
2014-11-26 10:36:13.0 +0100
@@ -13,7 +13,7 @@
 #   presence and adapt accordingly
 WANTED_SHELL="auto"
 
-## Type: list(auto,qt,gtk,ncurses)
+## Type: list(auto,qt,ncurses)
 ## Default: "auto"
 # Default UI backend for YaST
 # selects the GUI plugin to be used to render yast widgets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.110/package/yast2.changes 
new/yast2-3.1.111/package/yast2.changes
--- old/yast2-3.1.110/package/yast2.changes 2014-11-14 20:27:37.0 
+0100
+++ new/yast2-3.1.111/package/yast2.changes 2014-11-26 10:36:13.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Wed Nov 26 09:31:55 UTC 2014 - g...@opensuse.org
+
+- remove support for the unmaintained GTK UI plugin (bnc#901511)
+- 3.1.111
+
+---
 Wed Nov 12 14:04:51 UTC 2014 - lsle...@suse.cz
 
 - removed RegistrationStatus.pm module (obsolete, not supported
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.110/package/yast2.spec 
new/yast2-3.1.111/package/yast2.spec
--- old/yast2-3.1.110/package/yast2.spec2014-11-14 20:27:37.0 
+0100
+++ new/yast2-3.1.111/package/yast2.spec2014-11-26 10:36:13.0 
+0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.110
+Version:3.1.111
 Release:0
 URL:https://github.com/yast/yast-yast2
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.110/scripts/yast2 
new/yast2-3.1.111/scripts/yast2
--- old/yast2-3.1.110/scripts/yast2 2014-11-14 20:27:37.0 +0100
+++ new/yast2-3.1.111/scripts/yast2 2014-11-26 10:36:13.0 +0100
@@ -140,37 +140,25 @@
 {
 if [ "$WANTED_GUI" = "auto" ]; then
probe_desktop_gui
-   WANTED_GUI=$DESKTOP_GUI
+   WANTED_GUI=qt
GUI_SELECTION=auto
 fi
 
 if [ "$WANTED_GUI" = "gtk" ]; then
-   if check_gtk; then
-   SELECTED_GUI=gtk
-   else
-   if check_qt; then
-   SELECTED_GUI=qt
-   WANTED_GUI=qt
-   if [ "$GUI_SELECTION" != "auto" ]; then
-   echo >&2 "GTK GUI wanted but not found, falling back to Qt."
-   fi
-   else
-   echo >&2 "GTK GUI wanted but not found, falling back to 
ncurses."
+   if check_qt; then
+   SELECTED_GUI=qt
+   WANTED_GUI=qt
+   if [ "$GUI_SELECTION" != "auto" ]; then
+   echo >&2 "The GTK GUI has been retired, falling back to Qt."
fi
+   else
+   echo >&2 "The GTK GUI has been retired, falling back to ncurses."
fi
 elif [ "$WANTED_GUI" = "qt" ]; then
if check_qt; then
SELECTED_GUI=qt
else
-   if check_gtk; then
-   SELECTED_GUI=gtk
-   WANTED_GUI=gtk
-   if [ "$GUI_SELECTION" != "auto" ]; then
-   echo >&2 "Qt GUI wanted but not found, falling back to GTK."
-   fi
-   else
- 

commit yast2 for openSUSE:Factory

2014-11-24 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-11-24 11:13:11

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-11-04 
17:28:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-11-24 
11:13:14.0 +0100
@@ -1,0 +2,7 @@
+Wed Nov 12 14:04:51 UTC 2014 - lsle...@suse.cz
+
+- removed RegistrationStatus.pm module (obsolete, not supported
+  by the new SCC registration)
+- 3.1.110
+
+---

Old:

  yast2-3.1.109.tar.bz2

New:

  yast2-3.1.110.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.6U24m0/_old  2014-11-24 11:13:16.0 +0100
+++ /var/tmp/diff_new_pack.6U24m0/_new  2014-11-24 11:13:16.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.109
+Version:3.1.110
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -70,8 +70,6 @@
 Requires:   yast2-perl-bindings
 # for ag_anyxml
 Requires:   perl-XML-Simple
-# RegistrationStatus.pm
-Requires:   perl-XML-XPath
 # for GPG.ycp
 Requires:   gpg2
 # for Punycode.ycp (bnc#651893)
@@ -92,9 +90,6 @@
 # moved ag_content agent 
 Conflicts:  yast2-instserver <= 2.16.3
 
-# moved RegistrationStatus.pm here from wagon (fate#312712)
-Conflicts:  yast2-wagon <= 2.22.2
-
 # InstError
 Conflicts:  yast2-installation < 2.18.5
 

++ yast2-3.1.109.tar.bz2 -> yast2-3.1.110.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.109/.travis.yml 
new/yast2-3.1.110/.travis.yml
--- old/yast2-3.1.109/.travis.yml   2014-11-01 12:21:11.0 +0100
+++ new/yast2-3.1.110/.travis.yml   2014-11-14 20:27:37.0 +0100
@@ -5,8 +5,10 @@
 # disable rvm, use system Ruby
 - rvm reset
 - wget 
https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
-- sh ./travis_setup.sh -p "yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2 yast2-pkg-bindings" -g rspec:2.14.1
+- sh ./travis_setup.sh -p "rake yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2 yast2-pkg-bindings" -g "rspec:2.14.1 yast-rake 
gettext"
 script:
+- rake check:syntax
+- rake check:pot
 - make -f Makefile.cvs
 - make
 - sudo make install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.109/library/general/src/Makefile.am 
new/yast2-3.1.110/library/general/src/Makefile.am
--- old/yast2-3.1.109/library/general/src/Makefile.am   2014-11-01 
12:21:11.0 +0100
+++ new/yast2-3.1.110/library/general/src/Makefile.am   2014-11-14 
20:27:37.0 +0100
@@ -32,7 +32,6 @@
   modules/Popup.rb \
   modules/MailAliases.rb \
   modules/Stage.rb \
-  modules/RegistrationStatus.pm \
   modules/MailTable.pm \
   modules/MailTableInclude.pm \
   modules/Hooks.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.109/library/general/src/modules/RegistrationStatus.pm 
new/yast2-3.1.110/library/general/src/modules/RegistrationStatus.pm
--- old/yast2-3.1.109/library/general/src/modules/RegistrationStatus.pm 
2014-11-01 12:21:11.0 +0100
+++ new/yast2-3.1.110/library/general/src/modules/RegistrationStatus.pm 
1970-01-01 01:00:00.0 +0100
@@ -1,192 +0,0 @@
-#
-# Copyright (c) 2011 Novell, Inc.
-# 
-# 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 Novell, Inc.
-# 
-# To contact Novell about this file by physical or electronic mail,
-# you may find current contact information at www.novell.com
-#
-
-package RegistrationStatus;
-
-use strict;
-use Data::Dumper;
-use XML::Simple;
-use XML::XPath;
-use POSIX qw/strftime/;
-
-use YaST::YCP qw(:DATA :LOGGING);
-
-our %TYPEINFO;
-
-# see 
https://wiki.innerweb.novell.com/index.php/Registration#Add_Registration_Status_to_zmdconfig
-# for more datils about the file format
-my $reg_file = "/var/lib/suseRegister

commit yast2 for openSUSE:Factory

2014-11-04 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-11-04 17:28:19

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-09-19 
13:55:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-11-04 
17:28:22.0 +0100
@@ -1,0 +2,7 @@
+Fri Oct 31 07:10:48 UTC 2014 - jreidin...@suse.com
+
+- do not crash for non-english locale if log file does not exist
+  (bnc#898204)
+- 3.1.109
+
+---

Old:

  yast2-3.1.108.tar.bz2

New:

  yast2-3.1.109.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.W6tAFa/_old  2014-11-04 17:28:23.0 +0100
+++ /var/tmp/diff_new_pack.W6tAFa/_new  2014-11-04 17:28:23.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.108
+Version:3.1.109
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.108.tar.bz2 -> yast2-3.1.109.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.108/.travis.yml 
new/yast2-3.1.109/.travis.yml
--- old/yast2-3.1.108/.travis.yml   1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.109/.travis.yml   2014-11-01 12:21:11.0 +0100
@@ -0,0 +1,14 @@
+language: cpp
+compiler:
+- gcc
+before_install:
+# disable rvm, use system Ruby
+- rvm reset
+- wget 
https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh
+- sh ./travis_setup.sh -p "yast2-core yast2-devtools yast2-testsuite 
yast2-ruby-bindings yast2 yast2-pkg-bindings" -g rspec:2.14.1
+script:
+- make -f Makefile.cvs
+- make
+- sudo make install
+- make check
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.108/MAINTAINER new/yast2-3.1.109/MAINTAINER
--- old/yast2-3.1.108/MAINTAINER2014-09-18 08:26:10.0 +0200
+++ new/yast2-3.1.109/MAINTAINER2014-11-01 12:21:11.0 +0100
@@ -1 +1 @@
-YaST2 Maintainers 
+Deprecated file. Use `osc maintainer yast2` instead.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.108/README.md new/yast2-3.1.109/README.md
--- old/yast2-3.1.108/README.md 2014-09-18 08:26:10.0 +0200
+++ new/yast2-3.1.109/README.md 2014-11-01 12:21:11.0 +0100
@@ -1,4 +1,8 @@
-# YaST - The basic libraries #
+# YaST - The Basic Libraries #
+
+[![Travis 
Build](https://travis-ci.org/yast/yast-yast2.svg?branch=master)](https://travis-ci.org/yast/yast-yast2)
+[![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)
 
 This repository contains basic set of shared libraries and so-called SCR agents
 used for reading and writing configuration files and some even for executing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.108/library/general/test/agents_test/netd_agent_test.rb 
new/yast2-3.1.109/library/general/test/agents_test/netd_agent_test.rb
--- old/yast2-3.1.108/library/general/test/agents_test/netd_agent_test.rb   
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.109/library/general/test/agents_test/netd_agent_test.rb   
2014-11-01 12:21:11.0 +0100
@@ -0,0 +1,42 @@
+require_relative "../test_helper"
+require 'yast'
+
+module Yast
+  describe ".etc.xinetd_conf.services" do
+
+before :each do
+  root = File.join(File.dirname(__FILE__), "test_root")
+  set_root_path(root)
+end
+
+after :each do
+  reset_root_path
+end
+
+describe ".Read" do
+  let(:content) {SCR.Read(Path.new(".etc.xinetd_conf.services"))}
+
+  it "reads content of /etc/xinetd.d and returns array" do
+expect(content).to be_a(Array)
+  end
+
+  it "returns one entry per file" do
+expect(content.size).to eq(2)
+  end
+
+  it "returns proper service names" do
+services = content.map {|i| i["service"]}.sort
+expect(services).to eq(%w(echo services))
+  end
+
+  it "only skips parsing of options specific to each service" do
+expected = [
+  "\ttype\t\t= INTERNAL\n\tid\t\t= echo-stream\n\tFLAGS\t\t= IPv6 
IPv4\n",
+  "\ttype\t\t= INTERNAL UNLISTED\n\tport\t\t= 9098\n\tonly_from\t= 
127.0.0.1

commit yast2 for openSUSE:Factory

2014-09-19 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-09-19 13:55:43

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-09-17 
21:23:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-09-19 
13:55:55.0 +0200
@@ -1,0 +2,7 @@
+Wed Sep 17 08:16:51 UTC 2014 - jsr...@suse.cz
+
+- change order in mode initialization so that selected Upgrade
+  entry in boot menu does not override AutoUpgrade (bnc#897044)
+- 3.1.108
+
+---

Old:

  yast2-3.1.107.tar.bz2

New:

  yast2-3.1.108.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.VJK0hx/_old  2014-09-19 13:55:56.0 +0200
+++ /var/tmp/diff_new_pack.VJK0hx/_new  2014-09-19 13:55:56.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.107
+Version:3.1.108
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.107.tar.bz2 -> yast2-3.1.108.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.107/library/general/src/modules/Mode.rb 
new/yast2-3.1.108/library/general/src/modules/Mode.rb
--- old/yast2-3.1.107/library/general/src/modules/Mode.rb   2014-09-17 
09:31:10.0 +0200
+++ new/yast2-3.1.108/library/general/src/modules/Mode.rb   2014-09-18 
08:26:10.0 +0200
@@ -140,12 +140,11 @@
 repair = SCR.Read(path(".etc.install_inf.Repair")) != nil
 @_mode = "repair" if repair
 
-# FIXME according to what Linuxrc really writes
-autoupgrade = SCR.Read(path(".etc.install_inf.AutoUpgrade")) != nil
-@_mode = "autoupgrade" if autoupgrade
-
 update = SCR.Read(path(".etc.install_inf.Upgrade")) != nil
 @_mode = "update" if update
+
+autoupgrade = SCR.Read(path(".etc.install_inf.AutoUpgrade")) != nil
+@_mode = "autoupgrade" if autoupgrade
   end
 
   nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.107/package/yast2.changes 
new/yast2-3.1.108/package/yast2.changes
--- old/yast2-3.1.107/package/yast2.changes 2014-09-17 09:31:10.0 
+0200
+++ new/yast2-3.1.108/package/yast2.changes 2014-09-18 08:26:10.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Wed Sep 17 08:16:51 UTC 2014 - jsr...@suse.cz
+
+- change order in mode initialization so that selected Upgrade
+  entry in boot menu does not override AutoUpgrade (bnc#897044)
+- 3.1.108
+
+---
 Wed Sep 17 09:16:23 CEST 2014 - sch...@suse.de
 
 - Checking nil for repository name. (bnc#896466)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.107/package/yast2.spec 
new/yast2-3.1.108/package/yast2.spec
--- old/yast2-3.1.107/package/yast2.spec2014-09-17 09:31:10.0 
+0200
+++ new/yast2-3.1.108/package/yast2.spec2014-09-18 08:26:10.0 
+0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.107
+Version:3.1.108
 Release:0
 URL:https://github.com/yast/yast-yast2
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-09-17 21:23:50

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-09-07 
11:10:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-09-17 
21:23:52.0 +0200
@@ -1,0 +2,14 @@
+Wed Sep 17 09:16:23 CEST 2014 - sch...@suse.de
+
+- Checking nil for repository name. (bnc#896466)
+- 3.1.107
+
+---
+Tue Sep 16 12:58:53 UTC 2014 - an...@suse.com
+
+- Added an extra help message when authentication against a
+  registration server fails while refreshing repositories
+  (bnc#895719)
+- 3.1.106
+
+---

Old:

  yast2-3.1.105.tar.bz2

New:

  yast2-3.1.107.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.KwR0qT/_old  2014-09-17 21:23:53.0 +0200
+++ /var/tmp/diff_new_pack.KwR0qT/_new  2014-09-17 21:23:53.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.105
+Version:3.1.107
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.105.tar.bz2 -> yast2-3.1.107.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.105/library/packages/src/modules/PackageCallbacks.rb 
new/yast2-3.1.107/library/packages/src/modules/PackageCallbacks.rb
--- old/yast2-3.1.105/library/packages/src/modules/PackageCallbacks.rb  
2014-09-06 07:47:23.0 +0200
+++ new/yast2-3.1.107/library/packages/src/modules/PackageCallbacks.rb  
2014-09-17 09:31:10.0 +0200
@@ -32,6 +32,7 @@
 # $Id$
 #
 require "yast"
+require "uri"
 
 module Yast
   class PackageCallbacksClass < Module
@@ -2538,6 +2539,23 @@
 
 
 def Authentication(url, msg, username, password)
+
+  # FIXME after SLE12 release
+  # The following 'if' block is a workaround for bnc#895719 that should be
+  # extracted to a proper private method (not sure if it will work as
+  # expected being a callback) and adapted to use normal _() instead of
+  # dgettext()
+  url_query = URI(url).query
+  if url_query
+url_params = Hash[URI.decode_www_form(url_query)]
+if url_params.has_key?("credentials")
+  # Seems to be the url of a registration server, so add the tip to msg
+  tip = Builtins.dgettext("registration",
+  "Check that this system is known to the 
registration server.")
+  msg = "#{tip}\n#{msg}"
+end
+  end
+
   popup = VBox(
 HSpacing(50), # enforce width
 VSpacing(0.1),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.105/library/packages/src/modules/SignatureCheckDialogs.rb 
new/yast2-3.1.107/library/packages/src/modules/SignatureCheckDialogs.rb
--- old/yast2-3.1.105/library/packages/src/modules/SignatureCheckDialogs.rb 
2014-09-06 07:47:23.0 +0200
+++ new/yast2-3.1.107/library/packages/src/modules/SignatureCheckDialogs.rb 
2014-09-17 09:31:10.0 +0200
@@ -974,7 +974,7 @@
 "(%2):"
 ),
 Ops.get_locale(repo, "name", _("Unknown")),
-repo["url"] ? repo["url"].scan(/.{1,59}/).join("\n") :
+repo && repo["url"] ? repo["url"].scan(/.{1,59}/).join("\n") :
   _("Unknown")
   )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.105/package/yast2.changes 
new/yast2-3.1.107/package/yast2.changes
--- old/yast2-3.1.105/package/yast2.changes 2014-09-06 07:47:23.0 
+0200
+++ new/yast2-3.1.107/package/yast2.changes 2014-09-17 09:31:10.0 
+0200
@@ -1,4 +1,18 @@
 ---
+Wed Sep 17 09:16:23 CEST 2014 - sch...@suse.de
+
+- Checking nil for repository name. (bnc#896466)
+- 3.1.107
+
+---
+Tue Sep 16 12:58:53 UTC 2014 - an...@suse.com
+
+- Added an extra help message when authentication against a
+  registration server fails while refreshing repositories
+  (bnc#895719)
+- 3.1.106
+
+---
 Fri Sep  5 14:32:23 UTC 2014 - lsle...@suse.cz
 
 - do not write /etc/sysconfig/kernel:INITRD_MODULES, it has been
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.105/package/yast2.spec 
new/yast2-3.1.1

commit yast2 for openSUSE:Factory

2014-09-07 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-09-07 11:10:03

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-09-03 
21:23:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-09-07 
11:10:08.0 +0200
@@ -1,0 +2,13 @@
+Fri Sep  5 14:32:23 UTC 2014 - lsle...@suse.cz
+
+- do not write /etc/sysconfig/kernel:INITRD_MODULES, it has been
+  dropped (bnc#895084)
+- 3.1.105
+
+---
+Thu Sep  4 12:32:06 UTC 2014 - mvid...@suse.com
+
+- Use a more flexible rubygem requirement syntax (bnc#895069)
+- 3.1.104
+
+---

Old:

  yast2-3.1.103.tar.bz2

New:

  yast2-3.1.105.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.J0mcT1/_old  2014-09-07 11:10:09.0 +0200
+++ /var/tmp/diff_new_pack.J0mcT1/_new  2014-09-07 11:10:09.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.103
+Version:3.1.105
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -38,13 +38,12 @@
 
 # Needed for tests
 BuildRequires:  grep
-BuildRequires:  rubygem-rspec
 
 # for symlinking yardoc duplicates
 BuildRequires:  fdupes
 
 # For running RSpec tests during build
-BuildRequires:  rubygem-rspec
+BuildRequires:  rubygem(rspec)
 
 # pre-requires for filling the sysconfig template (sysconfig.yast2)
 PreReq: %fillup_prereq

++ yast2-3.1.103.tar.bz2 -> yast2-3.1.105.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.103/library/system/src/modules/Initrd.rb 
new/yast2-3.1.105/library/system/src/modules/Initrd.rb
--- old/yast2-3.1.103/library/system/src/modules/Initrd.rb  2014-09-01 
14:52:08.0 +0200
+++ new/yast2-3.1.105/library/system/src/modules/Initrd.rb  2014-09-06 
07:47:23.0 +0200
@@ -39,6 +39,8 @@
 
 module Yast
   class InitrdClass < Module
+include Yast::Logger
+
 def main
   Yast.import "UI"
 
@@ -138,7 +140,7 @@
 :from => "list",
 :to   => "list "
   )
-end 
+end
 # currently no disk controller modules are known to fail in initrd 
(bnc#719696), list removed
   end
   deep_copy(@modules_to_skip)
@@ -195,6 +197,9 @@
 # @param [String] modname name of module
 # @param [String] modargs arguments to be passes to module
 def AddModule(modname, modargs)
+  log.warn "Initrd.AddModule() is deprecated, do not use 
(sysconfig.kernel.INITRD_MODULES " \
+"is not written anymore, see bnc#895084)"
+
   if Stage.initial && Builtins.size(@modules) == 0
 tmp_mods = Convert.to_string(
   SCR.Read(path(".etc.install_inf.InitrdModules"))
@@ -372,10 +377,12 @@
 path(".target.bash"),
 "/usr/bin/touch /etc/sysconfig/bootloader"
   )
+
+  # TODO FIXME: the modules are not written, remove them completely,
+  # for now just log them without any change
   mods = Builtins.mergestring(ListModules(), " ")
-  Builtins.y2milestone("Writing modules %1", mods)
-  SCR.Write(path(".sysconfig.kernel.INITRD_MODULES"), mods)
-  SCR.Write(path(".sysconfig.kernel"), nil)
+  log.warn "Ignoring configured kernel modules: #{mods}" unless mods.empty?
+
   # recreate initrd
   param = ""
   if @splash != "" && @splash != nil &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.103/library/system/testsuite/tests/initrd.out 
new/yast2-3.1.105/library/system/testsuite/tests/initrd.out
--- old/yast2-3.1.103/library/system/testsuite/tests/initrd.out 2014-09-01 
14:52:08.0 +0200
+++ new/yast2-3.1.105/library/system/testsuite/tests/initrd.out 2014-09-06 
07:47:23.0 +0200
@@ -10,6 +10,7 @@
 Dump   Reseting again
 Return nil
 Dump   Adding ne2k
+LogInitrd.AddModule() is deprecated, do not use 
(sysconfig.kernel.INITRD_MODULES is not written anymore, see bnc#895084)
 Read   .target.size "/etc/sysconfig/kernel" 0
 Read   .sysconfig.kernel.INITRD_MODULES "reiserfs lvmmod"
 Return nil
@@ -23,8 +24,7 @@
 Read   .target.size "/etc/sysconfig/kernel" 0
 Read   .sysconfig.kernel.INITRD_MODULES "reiserfs lvmmod"
 Execute.target.bash "/usr/bin/touch /etc/sysconfig/bootloader" 0
-Write  .sysconfig.kernel.INITRD_MODULES "reiserfs ne2k" true
-Write  .sysconfig.kernel nil true
+LogIgnoring configured kernel modules: reiserfs ne2k
 Execute

commit yast2 for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-09-03 18:21:23

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-08-30 
16:04:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-09-03 
21:23:09.0 +0200
@@ -1,0 +2,7 @@
+Thu Aug 28 11:17:16 UTC 2014 - jreidin...@suse.com
+
+- fix using changed root in netd agent so it can be used in
+  installation (bnc#893965)
+- 3.1.103
+
+---

Old:

  yast2-3.1.102.tar.bz2

New:

  yast2-3.1.103.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.3aQZai/_old  2014-09-03 21:23:10.0 +0200
+++ /var/tmp/diff_new_pack.3aQZai/_new  2014-09-03 21:23:10.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.102
+Version:3.1.103
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.102.tar.bz2 -> yast2-3.1.103.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.102/library/general/src/servers_non_y2/ag_netd 
new/yast2-3.1.103/library/general/src/servers_non_y2/ag_netd
--- old/yast2-3.1.102/library/general/src/servers_non_y2/ag_netd
2014-08-27 14:27:18.0 +0200
+++ new/yast2-3.1.103/library/general/src/servers_non_y2/ag_netd
2014-09-01 14:52:08.0 +0200
@@ -7,6 +7,8 @@
 use ycp;
 use strict;
 use File::Basename;
+use File::Spec;
+
 
 my $debug = defined ($ARGV[0]) && $ARGV[0] =~ "^-.*d";
 
@@ -19,8 +21,9 @@
 # Testsuite hack:
 # Automake invokes dejagnu with an absolute srcdir :(
 # This will replace the current directory in file names by "./"
-# Turn it off by -n
-my $strip = ! (defined ($ARGV[0]) && $ARGV[0] =~ "^-.*n");
+# Turn it on only in old testsuite
+# TODO remove all this stuff when we drop old testsuite in yast2-inetd
+my $strip = defined($ENV{'Y2ALLGLOBAL'}) && ($ENV{'Y2ALLGLOBAL'} eq "1");
 my $pwd;
 if ($strip)
 {
@@ -478,12 +481,14 @@
{
if (/^\s*include\s+(\S+)/)
{
-   $class->parse_file ($1);
+my $ipath = $strip ? $1 : 
File::Spec->canonpath(File::Spec->catfile($main::root, $1));
+   $class->parse_file ($ipath);
$reclineno = 0;
}
elsif (/^\s*includedir\s+(\S+)/)
{
-   $class->include_dir ($1);
+my $ipath = $strip ? $1 : 
File::Spec->canonpath(File::Spec->catfile($main::root, $1));
+   $class->include_dir ($ipath);
# Bug 24270:
# the include directive must not belong
# to the following service
@@ -675,6 +680,7 @@
 my $netd;
 # if reading fails, defaulting to no services
 @services = ();
+our $root = "/";
 
 while (  )
 {
@@ -687,6 +693,17 @@
 }
 
 my ($command, @arguments) = ycp::ParseTerm ($_);
+if ($command eq "SetRoot")
+{
+  ycp::Return(undef);
+  $root = shift @arguments;
+  y2milestone("Set root to '$root'");
+  my $fn = shift @arguments || "/etc/$netd.conf";
+  $fn = File::Spec->canonpath(File::Spec->catfile($root, $fn)) unless 
$strip;
+
+  $base_file = strip_pwd ($fn);
+  next;
+}
 if ($command =~ "Netd|Inetd|Xinetd")
 {
# reply to the client (this actually gets eaten by the ScriptingAgent)
@@ -694,6 +711,7 @@
print "\n";
$netd = ($command eq "Xinetd")? "xinetd": "inetd";
my $fn = shift @arguments || "/etc/$netd.conf";
+$fn = File::Spec->canonpath(File::Spec->catfile($root, $fn)) unless 
$strip;
 
$base_file = strip_pwd ($fn);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.102/package/yast2.changes 
new/yast2-3.1.103/package/yast2.changes
--- old/yast2-3.1.102/package/yast2.changes 2014-08-27 14:27:18.0 
+0200
+++ new/yast2-3.1.103/package/yast2.changes 2014-09-01 14:52:08.0 
+0200
@@ -1,4 +1,11 @@
 ---
+Thu Aug 28 11:17:16 UTC 2014 - jreidin...@suse.com
+
+- fix using changed root in netd agent so it can be used in
+  installation (bnc#893965)
+- 3.1.103
+
+---
 Wed Aug 27 13:24:34 CEST 2014 - loci...@suse.com
 
 - Lazy-loading SuSEfirewall2 services - some new services can be
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '

commit yast2 for openSUSE:Factory

2014-08-30 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-08-30 16:03:52

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-08-25 
11:03:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-08-30 
16:04:16.0 +0200
@@ -1,0 +2,12 @@
+Wed Aug 27 13:24:34 CEST 2014 - loci...@suse.com
+
+- Lazy-loading SuSEfirewall2 services - some new services can be
+  added when Yast is already running, and the config has been read
+  already (bnc#872960)
+- Preventing from showing incorrect service name or description if
+  they are coming from TEMPLATE file (bnc#893583)
+- Fixed service file parsing - comments starting with more than one
+  '#' characters were reported as unexpected input (just warning)
+- 3.1.102
+
+---

Old:

  yast2-3.1.101.tar.bz2

New:

  yast2-3.1.102.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.02OEJQ/_old  2014-08-30 16:04:17.0 +0200
+++ /var/tmp/diff_new_pack.02OEJQ/_new  2014-08-30 16:04:17.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.101
+Version:3.1.102
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.101.tar.bz2 -> yast2-3.1.102.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.101/library/network/src/modules/SuSEFirewall.rb 
new/yast2-3.1.102/library/network/src/modules/SuSEFirewall.rb
--- old/yast2-3.1.101/library/network/src/modules/SuSEFirewall.rb   
2014-08-21 13:42:19.0 +0200
+++ new/yast2-3.1.102/library/network/src/modules/SuSEFirewall.rb   
2014-08-27 14:27:18.0 +0200
@@ -2480,7 +2480,7 @@
 Progress.New(
   read_caption,
   " ",
-  4,
+  3,
   [
 # TRANSLATORS: Progress step
 _("Check for network devices"),
@@ -2488,8 +2488,6 @@
 _("Read current configuration"),
 # TRANSLATORS: Progress step
 _("Check possibly conflicting services"),
-# TRANSLATORS: Progress step
-_("Read dynamic definitions of installed services")
   ],
   [
 # TRANSLATORS: Progress step
@@ -2498,8 +2496,6 @@
 _("Reading current configuration..."),
 # TRANSLATORS: Progress step
 _("Checking possibly conflicting services..."),
-# TRANSLATORS: Progress step
-_("Reading dynamic definitions of installed services..."),
 Message.Finished
   ],
   ""
@@ -2545,10 +2541,6 @@
 
   Progress.NextStage if have_progress
 
-  SuSEFirewallServices.ReadServicesDefinedByRPMPackages
-
-  Progress.NextStage if have_progress
-
   # bnc #399217
   # Converting built-in service definitions to services defined by packages
   ConvertToServicesDefinedByPackages()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.101/library/network/src/modules/SuSEFirewallServices.rb 
new/yast2-3.1.102/library/network/src/modules/SuSEFirewallServices.rb
--- old/yast2-3.1.101/library/network/src/modules/SuSEFirewallServices.rb   
2014-08-21 13:42:19.0 +0200
+++ new/yast2-3.1.102/library/network/src/modules/SuSEFirewallServices.rb   
2014-08-27 14:27:18.0 +0200
@@ -65,6 +65,9 @@
 
 IGNORED_SERVICES = ["TEMPLATE", "..", "."]
 
+TEMPLATE_SERVICE_NAME = "template service"
+TEMPLATE_SERVICE_DESCRIPTION = "opens ports for foo in order to allow bar"
+
 def main
   textdomain "base"
 
@@ -312,15 +315,22 @@
   "comments" => [
 # jail followed by anything but jail (immediately)
 "^[ \t]*#[^#].*$",
+# comments that are not commented key:value pairs (see "params")
+# they always use two jails
+"^[ \t]*##[ \t]*[^([a-zA-Z0-9_]+:.*)]$",
+# comments with three jails and more
+"^[ \t]*###.*$",
 # jail alone
-"^[ \t]*\#$",
+"^[ \t]*#[ \t]*$",
 # (empty space)
 "^[ \t]*$",
 # sysconfig entries
 "^[ \t]*[a-zA-Z0-9_]+.*"
   ],
   "params"   => [
-{ "match" => ["^##[ \t]*([^:]+):[ \t]*(.*)[ \t]*$", "%s: %s"] }
+# commented key:value pairs
+# e.g.: ## Name: service name
+{ "match" => ["^##[ \t]*([a-zA-Z0-9_]+):[ \t]*(.*)[ \t]*

commit yast2 for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-08-25 11:02:46

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-08-20 
17:54:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-08-25 
11:03:04.0 +0200
@@ -1,0 +2,8 @@
+Thu Aug 21 13:29:52 CEST 2014 - loci...@suse.com
+
+- Fixed checking whether SuSEfirewall2 package is selected or
+  installed - in inst_finish, the package is already installed
+  (bnc#892935)
+- 3.1.101
+
+---

Old:

  yast2-3.1.100.tar.bz2

New:

  yast2-3.1.101.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.XYoj1V/_old  2014-08-25 11:03:05.0 +0200
+++ /var/tmp/diff_new_pack.XYoj1V/_new  2014-08-25 11:03:05.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.100
+Version:3.1.101
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.100.tar.bz2 -> yast2-3.1.101.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.100/library/network/src/modules/SuSEFirewall.rb 
new/yast2-3.1.101/library/network/src/modules/SuSEFirewall.rb
--- old/yast2-3.1.100/library/network/src/modules/SuSEFirewall.rb   
2014-08-20 10:42:21.0 +0200
+++ new/yast2-3.1.101/library/network/src/modules/SuSEFirewall.rb   
2014-08-21 13:42:19.0 +0200
@@ -1109,9 +1109,10 @@
 def SuSEFirewallIsInstalled
   # Always recheck the status in inst-sys, user/solver might have change
   # the list of packages selected for installation
+  # bnc#892935: in inst_finish, the package is already installed
   if Stage.initial
-@needed_packages_installed = Pkg.IsSelected(@FIREWALL_PACKAGE)
-log.info "Selected for installation -> #{@needed_packages_installed}"
+@needed_packages_installed = Pkg.IsSelected(@FIREWALL_PACKAGE) || 
PackageSystem.Installed(@FIREWALL_PACKAGE)
+log.info "Selected for installation/installed -> 
#{@needed_packages_installed}"
   elsif @needed_packages_installed.nil?
 if Mode.normal
   @needed_packages_installed = 
PackageSystem.CheckAndInstallPackages([@FIREWALL_PACKAGE])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.100/library/network/test/susefirewall_test.rb 
new/yast2-3.1.101/library/network/test/susefirewall_test.rb
--- old/yast2-3.1.100/library/network/test/susefirewall_test.rb 2014-08-20 
10:42:21.0 +0200
+++ new/yast2-3.1.101/library/network/test/susefirewall_test.rb 2014-08-21 
13:42:19.0 +0200
@@ -25,14 +25,19 @@
 end
 
 context "while in inst-sys" do
-  it "returns whether SuSEfirewall2 is selected for installation" do
+  it "returns whether SuSEfirewall2 is selected for installation or 
already installed" do
 expect(Yast::Stage).to 
receive(:stage).and_return("initial").at_least(:once)
 
 # Value is not cached
-expect(Yast::Pkg).to receive(:IsSelected).and_return(true, false, 
true).exactly(3).times
+expect(Yast::Pkg).to receive(:IsSelected).and_return(true, false, 
false).exactly(3).times
+# Fallback: if not selected, checks whether the package is installed
+expect(Yast::PackageSystem).to receive(:Installed).and_return(false, 
true).twice
 
+# Selected
 expect(Yast::SuSEFirewall.SuSEFirewallIsInstalled).to be_true
+# Not selected and not installed
 expect(Yast::SuSEFirewall.SuSEFirewallIsInstalled).to be_false
+# Not selected, but installed
 expect(Yast::SuSEFirewall.SuSEFirewallIsInstalled).to be_true
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.100/package/yast2.changes 
new/yast2-3.1.101/package/yast2.changes
--- old/yast2-3.1.100/package/yast2.changes 2014-08-20 10:42:21.0 
+0200
+++ new/yast2-3.1.101/package/yast2.changes 2014-08-21 13:42:19.0 
+0200
@@ -1,4 +1,12 @@
 ---
+Thu Aug 21 13:29:52 CEST 2014 - loci...@suse.com
+
+- Fixed checking whether SuSEfirewall2 package is selected or
+  installed - in inst_finish, the package is already installed
+  (bnc#892935)
+- 3.1.101
+
+---
 Wed Aug 20 10:11:10 CEST 2014 - loci...@suse.com
 
 - Fixed RPM description (bnc#888994)
di

commit yast2 for openSUSE:Factory

2014-08-20 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-08-20 17:54:02

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-08-11 
10:09:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-08-20 
17:54:26.0 +0200
@@ -1,0 +2,36 @@
+Wed Aug 20 10:11:10 CEST 2014 - loci...@suse.com
+
+- Fixed RPM description (bnc#888994)
+- 3.1.100
+
+---
+Wed Aug 13 14:37:19 UTC 2014 - an...@suse.com
+
+- Untrusted repositories are disabled during installation to avoid
+  asking for the key import over and over during the installation.
+- Fixed bnc#723019 and bnc#886572
+- 3.1.99
+
+---
+Wed Aug 13 14:36:23 CEST 2014 - sch...@suse.de
+
+- Package.rb: Each call is polling which installation mode is
+  active currently. So Mode.rb has not to take care about modules
+  which are using Mode.rb. (Fixing current testcases)
+- 3.1.98
+
+---
+Tue Aug 12 16:35:30 CEST 2014 - loci...@suse.com
+
+- Fixed checking for SuSEfirewall2 package installed/selected
+  for installation depending on the current stage/mode (bnc#887406)
+- 3.1.97
+
+---
+Tue Aug 12 12:13:36 CEST 2014 - sch...@suse.de
+
+- When changing installation mode in "Mode.rb" the mode in Package.rb
+  has to be updated too. (bnc#888212)
+- 3.1.96
+
+---

Old:

  yast2-3.1.95.tar.bz2

New:

  yast2-3.1.100.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.3f82gv/_old  2014-08-20 17:54:28.0 +0200
+++ /var/tmp/diff_new_pack.3f82gv/_new  2014-08-20 17:54:28.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.95
+Version:3.1.100
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -139,7 +139,7 @@
 Group:  System/YaST
 
 %description
-This package contains scripts and data needed for SuSE Linux
+This package contains scripts and data needed for SUSE Linux
 installation with YaST2
 
 %package devel-doc

++ yast2-3.1.95.tar.bz2 -> yast2-3.1.100.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.95/library/cwm/doc/cwm.xml 
new/yast2-3.1.100/library/cwm/doc/cwm.xml
--- old/yast2-3.1.95/library/cwm/doc/cwm.xml2014-08-07 14:56:44.0 
+0200
+++ new/yast2-3.1.100/library/cwm/doc/cwm.xml   2014-08-20 10:42:21.0 
+0200
@@ -28,7 +28,7 @@
Jiri
Srain
 
-2003SuSE Linux AG
+2003SUSE LLC
 
   This document is meant for YaST2 development only.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.95/library/network/src/modules/SuSEFirewall.rb 
new/yast2-3.1.100/library/network/src/modules/SuSEFirewall.rb
--- old/yast2-3.1.95/library/network/src/modules/SuSEFirewall.rb
2014-08-07 14:56:44.0 +0200
+++ new/yast2-3.1.100/library/network/src/modules/SuSEFirewall.rb   
2014-08-20 10:42:21.0 +0200
@@ -54,6 +54,7 @@
   Yast.import "FileUtils"
   Yast.import "Directory"
   Yast.import "Stage"
+  Yast.import "Pkg"
 
   # 
 
@@ -1101,30 +1102,24 @@
   nil
 end
 
-# Returns whether all needed packages are installed.
+# Returns whether all needed packages are installed (or selected for
+# installation)
 #
 # @return [Boolean] whether SuSEfirewall2 is installed
 def SuSEFirewallIsInstalled
-  if @needed_packages_installed == nil
-# In mode normal, package can be installed on request
-# if required by the module
-if @check_and_install_package && Mode.normal
-  @needed_packages_installed = PackageSystem.CheckAndInstallPackages(
-[@FIREWALL_PACKAGE]
-  )
-  Builtins.y2milestone(
-"CheckAndInstallPackages -> %1",
-@needed_packages_installed
-  ) 
-  # In mode install/update network might be down
+  # Always recheck the status in inst-sys, user/solver might have change
+  # the list of packages selected for installation
+  if Stage.initial
+@needed_packages_installed = Pkg.IsSelected(@FIREWALL_PACKAGE)
+log.info "Selected for installation -> #{@needed_packages_installed}"
+  elsif @needed_packages_installed.nil?
+if Mod

commit yast2 for openSUSE:Factory

2014-08-11 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-08-11 10:09:37

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-08-07 
08:07:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-08-11 
10:09:40.0 +0200
@@ -1,0 +2,15 @@
+Thu Aug  7 12:14:16 UTC 2014 - loci...@suse.com
+
+- SuSEFirewall: Reading SuSEfirewall2 configuration whenever it's
+  possible instead of simply skipping it in Stage.initial - package
+  can be already available at the end of installation (bnc#887406)
+- 3.1.95
+
+---
+Thu Aug  7 11:02:41 UTC 2014 - an...@suse.com
+
+- Added two new generic 'waiting' messages, needed in yast-country
+  to fix bnc#04
+- 3.1.94
+
+---

Old:

  yast2-3.1.93.tar.bz2

New:

  yast2-3.1.95.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.PWvKp9/_old  2014-08-11 10:09:41.0 +0200
+++ /var/tmp/diff_new_pack.PWvKp9/_new  2014-08-11 10:09:41.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.93
+Version:3.1.95
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.93.tar.bz2 -> yast2-3.1.95.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.93/library/general/src/modules/Message.rb 
new/yast2-3.1.95/library/general/src/modules/Message.rb
--- old/yast2-3.1.93/library/general/src/modules/Message.rb 2014-08-06 
13:51:46.0 +0200
+++ new/yast2-3.1.95/library/general/src/modules/Message.rb 2014-08-07 
14:56:44.0 +0200
@@ -260,6 +260,15 @@
   _("Failed to install required packages.")
 end
 
+def updating_configuration
+  # TRANSLATORS: Popup message
+  _("Updating system configuration...")
+end
+
+def takes_a_while
+  _("This may take a while.")
+end
+
 publish :function => :CannotContinueWithoutPackagesInstalled, :type => 
"string ()"
 publish :function => :CannotStartService, :type => "string (string)"
 publish :function => :CannotRestartService, :type => "string (string)"
@@ -283,6 +292,8 @@
 publish :function => :CannotReadCurrentSettings, :type => "string ()"
 publish :function => :SuSEConfigFailed, :type => "string ()"
 publish :function => :FailedToInstallPackages, :type => "string ()"
+publish :function => :updating_configuration, :type => "string ()"
+publish :function => :takes_a_while, :type => "string ()"
   end
 
   Message = MessageClass.new
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.93/library/network/src/modules/SuSEFirewall.rb 
new/yast2-3.1.95/library/network/src/modules/SuSEFirewall.rb
--- old/yast2-3.1.93/library/network/src/modules/SuSEFirewall.rb
2014-08-06 13:51:46.0 +0200
+++ new/yast2-3.1.95/library/network/src/modules/SuSEFirewall.rb
2014-08-07 14:56:44.0 +0200
@@ -34,6 +34,10 @@
 
 module Yast
   class SuSEFirewallClass < Module
+CONFIG_FILE = "/etc/sysconfig/SuSEfirewall2"
+
+include Yast::Logger
+
 def main
   textdomain "base"
 
@@ -2460,17 +2464,9 @@
 return @fw_service_can_be_configured
   end
 
-  # bnc #429861
-  if Stage.initial
-Builtins.y2warning("Stage::initial -> firewall can't be configured.")
-FillUpEmptyConfig()
-return false
-  end
-
-  if !SuSEFirewallIsInstalled()
-Builtins.y2warning(
-  "Package not installed, disabling SuSEfirewall2-related functions."
-)
+  # bnc #887406
+  if !FileUtils.Exists(CONFIG_FILE) || !SuSEFirewallIsInstalled()
+log.warn "No firewall config -> firewall can't be read"
 FillUpEmptyConfig()
 return false
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.93/package/yast2.changes 
new/yast2-3.1.95/package/yast2.changes
--- old/yast2-3.1.93/package/yast2.changes  2014-08-06 13:51:46.0 
+0200
+++ new/yast2-3.1.95/package/yast2.changes  2014-08-07 14:56:44.0 
+0200
@@ -1,4 +1,19 @@
 ---
+Thu Aug  7 12:14:16 UTC 2014 - loci...@suse.com
+
+- SuSEFirewall: Reading SuSEfirewall2 configuration whenever it's
+  possible instead of simply skipping it in Stage.initial - package
+  can be already available at the end o

commit yast2 for openSUSE:Factory

2014-08-06 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-08-07 08:07:31

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-07-31 
21:49:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-08-07 
08:07:33.0 +0200
@@ -1,0 +2,7 @@
+Wed Aug  6 11:45:33 UTC 2014 - jsr...@suse.cz
+
+- read products from system (not repository) also during live
+  installation (bnc#889157)
+- 3.1.93
+
+---

Old:

  yast2-3.1.92.tar.bz2

New:

  yast2-3.1.93.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.25lpKW/_old  2014-08-07 08:07:33.0 +0200
+++ /var/tmp/diff_new_pack.25lpKW/_new  2014-08-07 08:07:33.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.92
+Version:3.1.93
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.92.tar.bz2 -> yast2-3.1.93.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.92/library/general/src/modules/Mode.rb 
new/yast2-3.1.93/library/general/src/modules/Mode.rb
--- old/yast2-3.1.92/library/general/src/modules/Mode.rb2014-07-30 
10:27:42.0 +0200
+++ new/yast2-3.1.93/library/general/src/modules/Mode.rb2014-08-06 
13:51:46.0 +0200
@@ -35,6 +35,56 @@
 require "yast"
 
 module Yast
+  # There are three modes combined here:
+  #
+  # 1. Installation
+  # 2. UI
+  # 3. Test
+  #
+  # See the boolean methods linked in the below tables for the *meaning*
+  # of the modes.
+  #
+  # A related concept is the installation {StageClass Stage}.
+  #
+  # # *Installation* mode
+  #
+  # It is the most complex one. Its values are used in the installation
+  # {https://github.com/yast/?query=skelcd-control control files}.
+  #
+  # It has these mutually exclusive values and corresponding boolean queries:
+  # 
+  #  {#mode} value  boolean shortcut   

+  #  normal {#normal}  

+  #  installation   {#installation}

+  #  autoinstallation   {#autoinst} (short!) 

+  #  live_installation  {#live_installation} 

+  #  autoinst_config{#config}  

+  #  update {#update}  

+  #  autoupgrade  {#autoupgrade} 

+  #  repair (obsolete)  {#repair}  

+  # 
+  #
+  # # *UI* mode
+  #
+  # It has these mutually exclusive values and corresponding boolean queries:
+  # 
+  #  {#ui} valueboolean shortcut 
+  #  dialog (none)   
+  #  commandline{#commandline}   
+  #  none(*)(none)   
+  # 
+  #
+  # Apparently "none" is never used.
+  #
+  # # *Test* mode
+  #
+  # It has these mutually exclusive values and corresponding boolean queries:
+  # 
+  #  {#testMode} value   boolean shortcut  

+  #  test{#test} 
+  #  testsuite   {#testsuite}  
+  #  screenshot (obsolete) {#screen_shot}  
+  # 
   class ModeClass < Module
 def main
 
@@ -53,7 +103,9 @@
   @_ui = "dialog"
 end
 
-# initialize everything from command-line of y2base
+# Initialize everything from command-line of y2base.
+#
+# @note {#ui} aka {#commandline} is not initialized. Probably a bug.
 def Initialize
   @_mode = "normal"
   @_test = "none"
@@ -109,6 +161,7 @@
   @_mode
 end
 
+# Setter for {#mode}.
 def SetMode(new_mode)
   Initialize() if @_mode == nil
 
@@ -150,6 +203,7 @@
   @_test
 end
 
+# Setter for {#testMode}
 def SetTest(new_test_mode)
   Initialize() if @_test == nil
 
@@ -172,6 +226,7 @@
   @_ui
 end
 
+# Setter for {#ui}.
 def SetUI(new_ui)
   if !Builtins.contains(["commandline", "dialog", "none"], new_ui)
 Builtins.y2error("Unknown UI mode %1", new_ui)
@@ -183,73 +238,90 @@
 
 # main mode wrappers
 
-# we're doing a fresh installation
+# We're doing a fresh installation, not an {#update}.
+# Also true for the firstboot stage.
 def installation
   mode == "installation" || mode == "autoinstallation" ||
 mode == "live_installation"
 end
 
-# we're doing a fresh installation from live CD/DVD
+# We're doing a fresh installation from live CD/DVD.
+# {#installation} is also true.
 def live_installation
   mode == "live_installation"
 end
 
-# we're doing an update
+# We're doing a distribution upgrade (wrongly called an "update").
 def update
   mode == 

commit yast2 for openSUSE:Factory

2014-07-31 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-07-31 21:49:03

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-07-30 
07:35:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-07-31 
21:49:05.0 +0200
@@ -1,0 +2,15 @@
+Wed Jul 30 07:50:20 UTC 2014 - lsle...@suse.cz
+
+- fixed a crash in package management when running in Qt UI with
+  libproxy1-config-kde4 package installed (bnc#866692)
+- 3.1.92
+
+---
+Wed Jul 30 09:13:36 CEST 2014 - loci...@suse.com
+
+- Fixed setting the default target during installation - systemctl
+  doesn't return any target properties while running in chroot so
+  we have to guess the Id and AllowIsolate properties (bnc#889323)
+- 3.1.91
+
+---

Old:

  yast2-3.1.90.tar.bz2

New:

  yast2-3.1.92.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.mTCEtL/_old  2014-07-31 21:49:06.0 +0200
+++ /var/tmp/diff_new_pack.mTCEtL/_new  2014-07-31 21:49:06.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.90
+Version:3.1.92
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.90.tar.bz2 -> yast2-3.1.92.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.90/library/systemd/src/modules/systemd_target.rb 
new/yast2-3.1.92/library/systemd/src/modules/systemd_target.rb
--- old/yast2-3.1.90/library/systemd/src/modules/systemd_target.rb  
2014-07-29 16:02:44.0 +0200
+++ new/yast2-3.1.92/library/systemd/src/modules/systemd_target.rb  
2014-07-30 10:27:42.0 +0200
@@ -42,6 +42,8 @@
   end
 
   class SystemdTargetClass < Module
+include Yast::Logger
+
 UNIT_SUFFIX= ".target"
 DEFAULT_TARGET = "default.target"
 PROPERTIES = { :allow_isolate => "AllowIsolate" }
@@ -49,7 +51,12 @@
 def find target_name, properties={}
   target_name += UNIT_SUFFIX unless target_name.end_with?(UNIT_SUFFIX)
   target = Target.new(target_name, PROPERTIES.merge(properties))
-  return nil if target.properties.not_found?
+
+  if target.properties.not_found?
+log.error "Target #{target_name} not found: 
#{target.properties.inspect}"
+return nil
+  end
+
   target
 end
 
@@ -73,7 +80,12 @@
 
 def set_default target
   target_unit = target.is_a?(Target) ? target : find(target)
-  return false unless target_unit
+
+  unless target_unit
+log.error "Cannot find target #{target.inspect}"
+return false
+  end
+
   target_unit.set_default
 end
 
@@ -83,13 +95,22 @@
   undef_method :start, :stop, :enable, :disable, :restart
 
   def allow_isolate?
-properties.allow_isolate == 'yes'
+# We cannot find out a target properties from /mnt in inst-sys
+# systemctl doesn't return any properties in chroot
+# See bnc#889323
+['yes', nil].include?(properties.allow_isolate)
   end
 
   def set_default
-return false unless allow_isolate?
+unless allow_isolate?
+  log.error "Cannot set #{id.inspect} as default target: Cannot be 
isolated (#{properties.allow_isolate})"
+  return false
+end
+
+# Constructing a fallback target ID if we can't get it from systemctl
+target_name = id ? id : "#{name}.target"
 
-result = Systemctl.execute("set-default --force " << id)
+result = Systemctl.execute("set-default --force #{target_name}")
 result.exit.zero?
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.90/library/systemd/test/systemd_target_test.rb 
new/yast2-3.1.92/library/systemd/test/systemd_target_test.rb
--- old/yast2-3.1.90/library/systemd/test/systemd_target_test.rb
2014-07-29 16:02:44.0 +0200
+++ new/yast2-3.1.92/library/systemd/test/systemd_target_test.rb
2014-07-30 10:27:42.0 +0200
@@ -99,6 +99,16 @@
 target = SystemdTarget.find("network")
 expect(target.set_default).to be_false
   end
+
+  context "when target properties cannot be found out (e.g. in chroot)" do
+it "it returns true if the target unit object has been set as default 
target" do
+  expect(Systemctl).to receive(:execute).with("set-default --force 
multi-user-in-installation.target")

commit yast2 for openSUSE:Factory

2014-07-29 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-07-30 07:34:54

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-07-26 
12:20:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-07-30 
07:35:00.0 +0200
@@ -1,0 +2,20 @@
+Tue Jul 29 13:30:04 UTC 2014 - jreidin...@suse.com
+
+- Fix timing of slideshow - now slides goes in cycle and all have
+  equal time to display which improve user experience (bnc#885973)
+- 3.1.90
+
+---
+Tue Jul 29 08:09:27 UTC 2014 - an...@suse.com
+
+- Fixed .proc.cmdline parsing to support more situations
+  (bnc#889241)
+- 3.1.89
+
+---
+Tue Jul 29 06:46:55 UTC 2014 - jreidin...@suse.com
+
+- fix hidding cd statistics in text only mode (bnc#864507)
+- 3.1.88
+
+---

Old:

  yast2-3.1.87.tar.bz2

New:

  yast2-3.1.90.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.YpE5qD/_old  2014-07-30 07:35:01.0 +0200
+++ /var/tmp/diff_new_pack.YpE5qD/_new  2014-07-30 07:35:01.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.87
+Version:3.1.90
 Release:0
 Url:https://github.com/yast/yast-yast2
 
@@ -100,8 +100,8 @@
 Conflicts:  yast2-installation < 2.18.5
 
 Conflicts:  yast2-update < 2.16.1
-# Modules 'Slides' and 'SlideShow' moved from yast2-packager to yast2
-Conflicts:  yast2-packager < 2.17.12
+# Older packager use removed API
+Conflicts:  yast2-packager < 3.1.34
 Conflicts:  yast2-mouse < 2.16.0
 Conflicts:  autoyast2-installation < 2.16.2
 # country_long.ycp and country.ycp moved to yast2

++ yast2-3.1.87.tar.bz2 -> yast2-3.1.90.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.87/library/general/test/Makefile.am 
new/yast2-3.1.90/library/general/test/Makefile.am
--- old/yast2-3.1.87/library/general/test/Makefile.am   2014-07-25 
18:57:09.0 +0200
+++ new/yast2-3.1.90/library/general/test/Makefile.am   2014-07-29 
16:02:44.0 +0200
@@ -1,9 +1,10 @@
 TESTS = \
   asciifile_test.rb \
-  linuxrc_test.rb \
   hooks_test.rb \
+  linuxrc_test.rb \
   os_release_test.rb \
-  popup_test.rb
+  popup_test.rb \
+  agents_test/proc_meminfo_agent_test.rb
 
 TEST_EXTENSIONS = .rb
 RB_LOG_COMPILER = rspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.87/library/general/test/agents_test/proc_meminfo_agent_test.rb 
new/yast2-3.1.90/library/general/test/agents_test/proc_meminfo_agent_test.rb
--- 
old/yast2-3.1.87/library/general/test/agents_test/proc_meminfo_agent_test.rb
1970-01-01 01:00:00.0 +0100
+++ 
new/yast2-3.1.90/library/general/test/agents_test/proc_meminfo_agent_test.rb
2014-07-29 16:02:44.0 +0200
@@ -0,0 +1,34 @@
+require_relative "../test_helper"
+require "yast"
+
+describe ".proc.meminfo" do
+
+  AGENT_PATH = Yast::Path.new(".proc.meminfo")
+  before :each do
+root = File.join(File.dirname(__FILE__), "test_root")
+check_version = false
+handle = Yast::WFM.SCROpen("chroot=#{root}:scr", check_version)
+Yast::WFM.SCRSetDefault(handle)
+  end
+
+  after :each do
+Yast::WFM.SCRClose(Yast::WFM.SCRGetDefault)
+  end
+
+  describe ".Read" do
+it "read content of /proc/meminfo return hash" do
+  content = Yast::SCR.Read(AGENT_PATH)
+  expect(content).to be_a(Hash)
+end
+
+it "returned hash contain memtotal key" do
+  content = Yast::SCR.Read(AGENT_PATH)
+  expect(content).to include("memtotal" => 1021032)
+end
+
+it "returned hash contain memfree key" do
+  content = Yast::SCR.Read(AGENT_PATH)
+  expect(content).to include("memfree" => 83408)
+end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.87/library/general/test/agents_test/test_root/proc/meminfo 
new/yast2-3.1.90/library/general/test/agents_test/test_root/proc/meminfo
--- old/yast2-3.1.87/library/general/test/agents_test/test_root/proc/meminfo
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.90/library/general/test/agents_test/test_root/proc/meminfo
2014-07-29 16:02:44.0 +0200
@@ -0,0 +1,42 @@
+MemTotal:1021032 kB
+MemFree:   83408 kB
+Buffers:  215132 kB
+Cached:   278812 kB
+SwapCached:   

commit yast2 for openSUSE:Factory

2014-07-26 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-07-26 12:19:46

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-07-23 
22:05:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-07-26 
12:20:04.0 +0200
@@ -1,0 +2,7 @@
+Thu Jul 24 12:09:29 CEST 2014 - loci...@suse.com
+
+- Fixed checking for :active state of a systemd unit - it's :active
+  already even if it's just being activated (bnc#884756)
+- 3.1.87
+
+---

Old:

  yast2-3.1.86.tar.bz2

New:

  yast2-3.1.87.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.fecHRl/_old  2014-07-26 12:20:06.0 +0200
+++ /var/tmp/diff_new_pack.fecHRl/_new  2014-07-26 12:20:06.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.86
+Version:3.1.87
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.86.tar.bz2 -> yast2-3.1.87.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.86/library/network/src/modules/NetworkInterfaces.rb 
new/yast2-3.1.87/library/network/src/modules/NetworkInterfaces.rb
--- old/yast2-3.1.86/library/network/src/modules/NetworkInterfaces.rb   
2014-07-22 14:42:14.0 +0200
+++ new/yast2-3.1.87/library/network/src/modules/NetworkInterfaces.rb   
2014-07-25 18:57:09.0 +0200
@@ -21,19 +21,13 @@
 # you may find current contact information at www.novell.com
 #
 # ***
-# File:modules/NetworkInterfaces.ycp
-# Package: Network configuration
-# Summary: Interface manipulation (/etc/sysconfig/network/ifcfg-*)
-# Authors: Michal Svec 
-#
-# $Id: NetworkInterfaces.ycp 43062 2007-12-13 16:12:26Z mzugec $
-#
-# The new sysconfig naming is interface (eg. eth0) vs. device
-# (eg. NE2000 card), but historically yast has called them device
-# vs. module.
+
 require "yast"
 
 module Yast
+  # Reads and writes the ifcfg files (/etc/sysconfig/network/ifcfg-*).
+  # Categorizes the configurations according to type.
+  # Presents them one ifcfg at a time through the {#Current} hash.
   class NetworkInterfacesClass < Module
 
 Yast.import "String"
@@ -47,6 +41,23 @@
 # Supported hotplug types
 HOTPLUG_TYPES = ["pcmcia", "usb"]
 
+# @attribute Name
+# @return [String]
+#
+# Current device identifier, like eth0, eth1:blah, lo, ...
+#
+# {#Add}, {#Edit} and {#Delete} copy the requested device info
+# (via {#Select}) to {#Name} and {#Current}, {#Commit} puts it back.
+
+# @attribute Current
+# @return [Hash]
+#
+# Current device information
+# like { "BOOTPROTO"=>"dhcp", "STARTMODE"=>"auto" }
+#
+# {#Add}, {#Edit} and {#Delete} copy the requested device info
+# (via {#Select}) to {#Name} and {#Current}, {#Commit} puts it back.
+
 def main
   textdomain "base"
 
@@ -58,15 +69,8 @@
   Yast.import "FileUtils"
   Yast.import "IP"
 
-  # Current device identifier
-  # @example eth0, eth1:blah, lo, ...
-  # Add, Edit and Delete copy the requested device info (via Select)
-  # to Name and Current,
-  # Commit puts it back
   @Name = ""
 
-  # Current device information
-  # @example $["BOOTPROTO":"dhcp", "STARTMODE":"auto"]
   @Current = {}
 
   # Interface information:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.86/library/systemd/src/lib/yast2/systemd_unit.rb 
new/yast2-3.1.87/library/systemd/src/lib/yast2/systemd_unit.rb
--- old/yast2-3.1.86/library/systemd/src/lib/yast2/systemd_unit.rb  
2014-07-22 14:42:14.0 +0200
+++ new/yast2-3.1.87/library/systemd/src/lib/yast2/systemd_unit.rb  
2014-07-25 18:57:09.0 +0200
@@ -156,7 +156,7 @@
 end
 
 extract_properties
-self[:active?]= active_state == "active"
+self[:active?]= active_state == "active" || active_state == 
"activating"
 self[:running?]   = sub_state== "running"
 self[:loaded?]= load_state   == "loaded"
 self[:not_found?] = load_state   == "not-found"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.86/package/yast2.changes 
new/yast2-3.1.87/package/yast2.changes
--- old/yast2-3.1.86/package/yast2.changes  2014-07-22 14:42:14.0 
+0200
+++ new/yast2-3.1.87/

commit yast2 for openSUSE:Factory

2014-07-23 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-07-23 22:05:35

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-07-15 
16:25:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-07-23 
22:05:37.0 +0200
@@ -1,0 +2,7 @@
+Tue Jul 22 13:08:32 CEST 2014 - loci...@suse.com
+
+- Added new ServicesProposal library to hold and export services
+  enabled/disabled during installation (bnc#887688)
+- 3.1.86
+
+---

Old:

  yast2-3.1.85.tar.bz2

New:

  yast2-3.1.86.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.X7mMdV/_old  2014-07-23 22:05:39.0 +0200
+++ /var/tmp/diff_new_pack.X7mMdV/_new  2014-07-23 22:05:39.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.85
+Version:3.1.86
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.85.tar.bz2 -> yast2-3.1.86.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.85/library/runlevel/src/Makefile.am 
new/yast2-3.1.86/library/runlevel/src/Makefile.am
--- old/yast2-3.1.85/library/runlevel/src/Makefile.am   2014-07-10 
15:27:28.0 +0200
+++ new/yast2-3.1.86/library/runlevel/src/Makefile.am   2014-07-22 
14:42:14.0 +0200
@@ -2,6 +2,7 @@
 
 module_DATA = \
   modules/Service.rb \
+  modules/ServicesProposal.rb \
   modules/Systemd.rb
 
 scrconf_DATA = \
@@ -12,4 +13,4 @@
 
 EXTRA_DIST = $(module_DATA) $(scrconf_DATA) $(agent_SCRIPTS)
 
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
+include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.85/library/runlevel/src/modules/ServicesProposal.rb 
new/yast2-3.1.86/library/runlevel/src/modules/ServicesProposal.rb
--- old/yast2-3.1.85/library/runlevel/src/modules/ServicesProposal.rb   
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.86/library/runlevel/src/modules/ServicesProposal.rb   
2014-07-22 14:42:14.0 +0200
@@ -0,0 +1,86 @@
+# ***
+#
+# Copyright (c) 2014 Novell, Inc.
+# 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 Novell, Inc.
+#
+# To contact Novell about this file by physical or electronic mail,
+# you may find current contact information at www.novell.com
+#
+# ***
+###
+
+#
+# Holds information about services that were enabled or disabled during
+# installation. At this time it's only used for exporting the configuration
+# for AutoYast at the end of the installation.
+#
+
+require "yast"
+
+module Yast
+  class ServicesProposalClass < Module
+include Yast::Logger
+
+def initialize
+  @services = {}
+end
+
+def reset
+  @services = {}
+end
+
+# Marks the given service as enabled
+#
+# @param [String] service name
+def enable_service(service)
+  check_service(service)
+  @services[service] = :enabled
+end
+
+# Marks the given service as disabled
+#
+# @param [String] service name
+def disable_service(service)
+  check_service(service)
+  @services[service] = :disabled
+end
+
+# Returns all services currently marked as enabled
+#
+# @return [Array ] list of enabled services
+def enabled_services
+  @services.select{|service, status| status == :enabled}.keys
+end
+
+# Returns all services currently marked as disabled
+#
+# @return [Array ] list of disabled services
+def disabled_services
+  @services.select{|service, status| status == :disabled}.keys
+end
+
+  private
+
+# Checks the given service
+# Raises an exception in case of an error
+def check_service(service)
+  if service.nil? || service.empty?
+raise ArgumentError, "Wrong service n

commit yast2 for openSUSE:Factory

2014-07-15 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-07-15 16:25:51

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-07-02 
15:04:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-07-15 
16:25:55.0 +0200
@@ -1,0 +2,21 @@
+Thu Jul 10 12:56:20 UTC 2014 - lsle...@suse.cz
+
+- Product.rb: do not stop initialization on solver errors
+  (bnc#886588)
+- 3.1.85
+
+---
+Tue Jul  8 15:49:43 CEST 2014 - loci...@suse.com
+
+- Fixed Product.get_property by ensuring that we don't try to get
+  property of an undefined product (bnc#886151)
+- 3.1.84
+
+---
+Fri Jul  4 15:45:38 UTC 2014 - lsle...@suse.cz
+
+- view_anymsg: remove escape sequences from input log file
+  (bnc#879629)
+- 3.1.83
+
+---

Old:

  yast2-3.1.82.tar.bz2

New:

  yast2-3.1.85.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.O5gLcO/_old  2014-07-15 16:25:56.0 +0200
+++ /var/tmp/diff_new_pack.O5gLcO/_new  2014-07-15 16:25:56.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.82
+Version:3.1.85
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.82.tar.bz2 -> yast2-3.1.85.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.82/library/packages/src/modules/Product.rb 
new/yast2-3.1.85/library/packages/src/modules/Product.rb
--- old/yast2-3.1.82/library/packages/src/modules/Product.rb2014-07-01 
11:12:25.0 +0200
+++ new/yast2-3.1.85/library/packages/src/modules/Product.rb2014-07-10 
15:27:28.0 +0200
@@ -86,10 +86,10 @@
   :vendor, :dist, :distproduct, :distversion, :shortlabel
 ]
 
-# Returns list of selected (installation) or installed (running system)
+# Returns list Hashes of selected (installation) or installed (running 
system)
 # base products got from libzypp
 #
-# @return [Hash] products
+# @return [Array ] with product definitions
 def FindBaseProducts
   return unless load_zypp
 
@@ -165,6 +165,8 @@
 end
 
 # Ensures that we can load data from libzypp
+# @return [Boolean] false if libzypp lock cannot be obtained, otherwise 
true
+#   (solver errors are ignored, see bnc#886588)
 def load_zypp
   if !PackageLock.Check
 Builtins.y2error("Packager is locked, can't read product info!")
@@ -178,6 +180,9 @@
   end
 
   Pkg.PkgSolve(true)
+
+  # ignore solver errors
+  true
 end
 
 # Reads basic product information from os-release file
@@ -232,6 +237,7 @@
 #
 # @param [Symbol] key
 def get_property(key)
+  @product ||= {}
   @product[key]
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.82/library/packages/test/product_test.rb 
new/yast2-3.1.85/library/packages/test/product_test.rb
--- old/yast2-3.1.82/library/packages/test/product_test.rb  2014-07-01 
11:12:25.0 +0200
+++ new/yast2-3.1.85/library/packages/test/product_test.rb  2014-07-10 
15:27:28.0 +0200
@@ -192,6 +192,17 @@
   end
 end
 
+describe "#FindBaseProducts" do
+  it "reads data from zypp and returns list of base products selected for 
installation" do
+list_of_products = Yast::Product.FindBaseProducts
+
+expect(list_of_products).to be_a_kind_of(Array)
+expect(list_of_products[0]).to be_a_kind_of(Hash)
+expect(list_of_products[0]["display_name"]).to eq("openSUSE 
(SELECTED)")
+expect(list_of_products[0]["status"]).to eq(:selected)
+  end
+end
+
 it "reports that method has been dropped" do
   [:vendor, :dist, :distproduct, :distversion, :shortlabel].each do 
|method_name|
 expect{ Yast::Product.send(method_name) }.to 
raise_error(/#{method_name}.*dropped/)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.82/library/system/src/clients/view_anymsg.rb 
new/yast2-3.1.85/library/system/src/clients/view_anymsg.rb
--- old/yast2-3.1.82/library/system/src/clients/view_anymsg.rb  2014-07-01 
11:12:25.0 +0200
+++ new/yast2-3.1.85/library/system/src/clients/view_anymsg.rb  2014-07-10 
15:27:28.0 +0200
@@ -187,6 +187,12 @@
   file_content = _("File not 

commit yast2 for openSUSE:Factory

2014-07-02 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-07-02 15:04:09

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-06-26 
08:00:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-07-02 
15:04:15.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul  1 09:00:51 UTC 2014 - vmora...@suse.com
+
+- Fix SystemdTarget.all not to return nil in the collection
+- 3.1.82
+
+---

Old:

  yast2-3.1.81.tar.bz2

New:

  yast2-3.1.82.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.FUOInw/_old  2014-07-02 15:04:16.0 +0200
+++ /var/tmp/diff_new_pack.FUOInw/_new  2014-07-02 15:04:16.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.81
+Version:3.1.82
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.81.tar.bz2 -> yast2-3.1.82.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.81/library/systemd/src/modules/systemd_target.rb 
new/yast2-3.1.82/library/systemd/src/modules/systemd_target.rb
--- old/yast2-3.1.81/library/systemd/src/modules/systemd_target.rb  
2014-06-24 16:12:52.0 +0200
+++ new/yast2-3.1.82/library/systemd/src/modules/systemd_target.rb  
2014-07-01 11:12:25.0 +0200
@@ -58,9 +58,10 @@
 end
 
 def all properties={}
-  Systemctl.target_units.map do |target_unit_name|
+  targets = Systemctl.target_units.map do |target_unit_name|
 find(target_unit_name)
   end
+  targets.compact
 end
 
 def get_default
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.81/library/systemd/test/systemctl_test.rb 
new/yast2-3.1.82/library/systemd/test/systemctl_test.rb
--- old/yast2-3.1.81/library/systemd/test/systemctl_test.rb 2014-06-24 
16:12:52.0 +0200
+++ new/yast2-3.1.82/library/systemd/test/systemctl_test.rb 2014-07-01 
11:12:25.0 +0200
@@ -47,5 +47,15 @@
 service_units.each {|u| expect(u).to match(/.service$/) }
   end
 end
+
+describe ".target_units" do
+  before { stub_systemctl(:target) }
+  it "returns a list of target unit names" do
+target_units = Systemctl.target_units
+expect(target_units).to be_a(Array)
+expect(target_units).not_to be_empty
+target_units.each {|u| expect(u).to match(/.target$/) }
+  end
+end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.81/library/systemd/test/systemd_target_test.rb 
new/yast2-3.1.82/library/systemd/test/systemd_target_test.rb
--- old/yast2-3.1.81/library/systemd/test/systemd_target_test.rb
2014-06-24 16:12:52.0 +0200
+++ new/yast2-3.1.82/library/systemd/test/systemd_target_test.rb
2014-07-01 11:12:25.0 +0200
@@ -45,6 +45,7 @@
 targets = SystemdTarget.all
 expect(targets).to be_a(Array)
 expect(targets).not_to be_empty
+expect(targets).not_to include(nil)
 targets.each {|s| expect(s.unit_type).to eq('target')}
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.81/library/systemd/test/test_helper.rb 
new/yast2-3.1.82/library/systemd/test/test_helper.rb
--- old/yast2-3.1.81/library/systemd/test/test_helper.rb2014-06-24 
16:12:52.0 +0200
+++ new/yast2-3.1.82/library/systemd/test/test_helper.rb2014-07-01 
11:12:25.0 +0200
@@ -20,6 +20,9 @@
 when :service
   stub_service_unit_files
   stub_service_units
+when :target
+  stub_target_unit_files
+  stub_target_units
 end
 stub_execute
   end
@@ -57,6 +60,20 @@
 )
   end
 
+  def stub_target_unit_files
+Yast::Systemctl.stub(:list_unit_files).and_return(

commit yast2 for openSUSE:Factory

2014-06-25 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-06-26 08:00:30

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-06-18 
10:59:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-06-26 
08:00:45.0 +0200
@@ -1,0 +2,13 @@
+Tue Jun 24 12:59:43 UTC 2014 - jreidin...@suse.com
+
+- add option to disable os probing for some products (bnc#884007)
+- 3.1.81
+
+---
+Mon Jun 23 10:38:15 UTC 2014 - mfi...@suse.com
+
+- bnc#864619
+  - old network service is also disabled when switching to new one. 
+- 3.1.80
+
+---

Old:

  yast2-3.1.79.tar.bz2

New:

  yast2-3.1.81.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.vsSUyE/_old  2014-06-26 08:00:47.0 +0200
+++ /var/tmp/diff_new_pack.vsSUyE/_new  2014-06-26 08:00:47.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.79
+Version:3.1.81
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.79.tar.bz2 -> yast2-3.1.81.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.79/library/control/src/modules/ProductFeatures.rb 
new/yast2-3.1.81/library/control/src/modules/ProductFeatures.rb
--- old/yast2-3.1.79/library/control/src/modules/ProductFeatures.rb 
2014-06-17 16:47:52.0 +0200
+++ new/yast2-3.1.81/library/control/src/modules/ProductFeatures.rb 
2014-06-24 16:12:52.0 +0200
@@ -65,6 +65,7 @@
   "relnotesurl" => "",
   "vendor_url"  => "",
   "enable_clone"=> false,
+  "disable_os_prober"   => false,
   # FATE #304865
   "base_product_license_directory"  => "/etc/YaST2/licenses/base/"
 },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.79/library/network/src/modules/NetworkService.rb 
new/yast2-3.1.81/library/network/src/modules/NetworkService.rb
--- old/yast2-3.1.79/library/network/src/modules/NetworkService.rb  
2014-06-17 16:47:52.0 +0200
+++ new/yast2-3.1.81/library/network/src/modules/NetworkService.rb  
2014-06-24 16:12:52.0 +0200
@@ -26,8 +26,6 @@
 # Summary: Init script handling, ifup vs NetworkManager
 # Authors: Martin Vidner 
 #
-# $Id$
-#
 # This module used to switch between /etc/init.d/network providing
 # LSB network.service and the NetworkManager.service (or another),
 # which installs a network.service alias link.
@@ -107,7 +105,7 @@
 end
 
 def run_wicked(*params)
-  cmd = "#{WICKED} #{params.join(" ")}" 
+  cmd = "#{WICKED} #{params.join(" ")}"
   ret = SCR.Execute(
 path(".target.bash"),
 cmd
@@ -132,7 +130,7 @@
 
 # Checks if configuration is managed by NetworkManager
 #
-# @return true  when the network is managed by an external tool, 
+# @return true  when the network is managed by an external tool,
 #   like NetworkManager, false otherwise
 def network_manager?
   cached_service?(:network_manager)
@@ -183,7 +181,7 @@
 def disable
   @cached_name = nil
   stop_service(@current_name)
-  RunSystemCtl( BACKENDS[ @current_name], "disable")
+  disable_service(@current_name)
 
   Read()
 end
@@ -208,23 +206,12 @@
   nil
 end
 
-# Run /etc/init.d script with specified action
-# @param script name of the init script
-# @param action the action to use
-# @return true, when the script exits with 0
-def RunScript(script, action)
-  return true if script == ""
-  Builtins.y2milestone("rc%1 %2", script, action)
-  # Workaround for bug #61055:
-  cmd = Builtins.sformat("cd /; /etc/init.d/%1 %2", script, action)
-  SCR.Execute(path(".target.bash"), cmd) == 0
-end
-
 # Helper to apply a change of the network service
 def EnableDisableNow
   return if !Modified()
 
   stop_service(@current_name)
+  disable_service(@current_name)
 
   case @cached_name
 when :network_manager, :wicked
@@ -455,6 +442,10 @@
   end
 end
 
+def disable_service(service)
+  RunSystemCtl( BACKENDS[service], "disable")
+end
+
 publish :function => :Read, :type => "void ()"
 publish :function => :Modified, :type => "boolean ()"
 publish :function => :is_bac

commit yast2 for openSUSE:Factory

2014-06-18 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-06-18 10:59:39

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-06-02 
07:00:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-06-18 
10:59:47.0 +0200
@@ -1,0 +2,35 @@
+Tue Jun 17 12:56:20 CEST 2014 - sch...@suse.de
+
+- Fixed error message for missing services
+  (bnc#882609)
+- 3.1.79
+
+---
+Wed Jun 11 10:02:27 UTC 2014 - mfi...@suse.com
+
+- bnc#878719
+  - improved handling of inactive network service
+- 3.1.78
+
+---
+Tue Jun 10 16:31:19 UTC 2014 - lsle...@suse.cz
+
+- make sure the total installation progress is always 100%
+  (adjust the rounding issues when computing the subprogress
+  percentages) (bnc#865585)
+- 3.1.77
+
+---
+Mon Jun  9 11:53:58 UTC 2014 - mfi...@suse.com
+
+- bnc#864619
+  - stop wicked service(s) properly when switching network services
+- 3.1.76 
+
+---
+Wed Jun  4 12:47:17 CEST 2014 - loci...@suse.com
+
+- Adjusted textdomain for OSRelease library
+- 3.1.75
+
+---

Old:

  yast2-3.1.74.tar.bz2

New:

  yast2-3.1.79.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.A8Au6p/_old  2014-06-18 10:59:48.0 +0200
+++ /var/tmp/diff_new_pack.A8Au6p/_new  2014-06-18 10:59:48.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.74
+Version:3.1.79
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.74.tar.bz2 -> yast2-3.1.79.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.74/library/general/src/modules/OSRelease.rb 
new/yast2-3.1.79/library/general/src/modules/OSRelease.rb
--- old/yast2-3.1.74/library/general/src/modules/OSRelease.rb   2014-05-30 
13:12:46.0 +0200
+++ new/yast2-3.1.79/library/general/src/modules/OSRelease.rb   2014-06-17 
16:47:52.0 +0200
@@ -41,6 +41,10 @@
   class OSReleaseClass < Module
 include Yast::Logger
 
+def initialize
+  textdomain "base"
+end
+
 OS_RELEASE_PATH = "/etc/os-release"
 
 # Get information about the OS release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.74/library/network/src/modules/NetworkService.rb 
new/yast2-3.1.79/library/network/src/modules/NetworkService.rb
--- old/yast2-3.1.74/library/network/src/modules/NetworkService.rb  
2014-05-30 13:12:46.0 +0200
+++ new/yast2-3.1.79/library/network/src/modules/NetworkService.rb  
2014-06-17 16:47:52.0 +0200
@@ -76,7 +76,7 @@
 include Yast::Logger
 
 def main
-  Yast.import "Service"
+  Yast.import "SystemdService"
   Yast.import "NetworkConfig"
   Yast.import "Popup"
   Yast.import "Mode"
@@ -152,6 +152,12 @@
 
 alias_method :is_wicked, :wicked?
 
+def disabled?
+  cached_service?(nil)
+end
+
+alias_method :is_disabled, :disabled?
+
 def use_network_manager
   Read()
   @cached_name = :network_manager
@@ -173,33 +179,30 @@
   nil
 end
 
+# disables network service completely
+def disable
+  @cached_name = nil
+  stop_service(@current_name)
+  RunSystemCtl( BACKENDS[ @current_name], "disable")
+
+  Read()
+end
+
 # Initialize module data
 def Read
-  if !@initialized
-case Service.GetServiceId("network")
-  when "network"
-@current_name = :netconfig
-  when "NetworkManager"
-@current_name = :network_manager
-  when "wicked"
-@current_name = :wicked
-  else
-if Stage.initial
-  @current_name = DEFAULT_BACKEND
-  log.info "Running in installer, use default: #{@current_name}"
-elsif Mode.config
-  @current_name = DEFAULT_BACKEND
-  log.info "Running in AutoYast config, use default: 
#{@current_name}"
-else
-  log.info "Cannot determine used network service."
-  raise "Cannot detect used network service"
-end
-end
+  return if @initialized
 
-@cached_name = @current_name
-
-log.info "Current backend: #{@current_name}"
+ 

commit yast2 for openSUSE:Factory

2014-06-01 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-05-13 
20:46:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-06-02 
07:00:36.0 +0200
@@ -1,0 +2,75 @@
+Fri May 30 11:06:47 UTC 2014 - vmora...@suse.com
+
+- Add Service.call method to make available all systemctl commands
+- 3.1.74
+
+---
+Fri May 30 08:55:45 UTC 2014 - lsle...@suse.cz
+
+- DonePackage callback: remove invalid UTF-8 characters to avoid
+  crash (bnc#876459)
+- 3.1.73
+
+---
+Fri May 30 10:41:14 CEST 2014 - loci...@suse.com
+
+- Fixed network backend handling during upgrade - unified with
+  installation (bnc#879594)
+- 3.1.72
+
+---
+Wed May 28 10:55:02 UTC 2014 - loci...@suse.com
+
+- Removed warning message when starting Yast in Qt instead of GTK
+  and vice versa (bnc#861807)
+- 3.1.71
+
+---
+Wed May 28 10:39:00 UTC 2014 - jreidin...@suse.com
+
+- split too wide urls for accepting GnuGP key (bnc#870822)
+- 3.1.70
+
+---
+Wed May 28 10:00:17 UTC 2014 - lsle...@suse.cz
+
+- removed system verification check when yast module installs
+  required packages (bnc#866256)
+- 3.1.69
+
+---
+Wed May 28 07:56:29 UTC 2014 - jreidin...@suse.com
+
+- save_y2logs: store also pbl.log from target system, if bootloader
+  installation failed (bnc#879622)
+- 3.1.68
+
+---
+Fri May 23 12:35:42 CEST 2014 - loci...@suse.com
+
+- Added check for existence of /etc/modules.d/ directory in Kernel
+  library, the directory is created when missing (bnc#879428)
+- 3.1.67
+
+---
+Fri May 23 09:06:28 UTC 2014 - mfi...@suse.com
+
+- bnc#879399
+  - offer /var/log/boot.log in SysLog module for view
+- 3.1.66
+
+---
+Mon May 19 15:42:28 CEST 2014 - loci...@suse.com
+
+- Always using special InstallationProperties for systemd_unit
+  while called in first stage (bnc#878560)
+- 3.1.65
+
+---
+Mon May 19 15:07:50 CEST 2014 - loci...@suse.com
+
+- Changed dialog label for updating/installing in SlideShow
+  depending on the selected method (bnc#874995)
+- 3.1.64
+
+---

Old:

  yast2-3.1.63.tar.bz2

New:

  yast2-3.1.74.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.2ODn50/_old  2014-06-02 07:00:38.0 +0200
+++ /var/tmp/diff_new_pack.2ODn50/_new  2014-06-02 07:00:38.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.63
+Version:3.1.74
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.63.tar.bz2 -> yast2-3.1.74.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.63/library/network/src/modules/NetworkService.rb 
new/yast2-3.1.74/library/network/src/modules/NetworkService.rb
--- old/yast2-3.1.63/library/network/src/modules/NetworkService.rb  
2014-05-13 12:52:44.0 +0200
+++ new/yast2-3.1.74/library/network/src/modules/NetworkService.rb  
2014-05-30 13:12:46.0 +0200
@@ -71,11 +71,16 @@
 
 WICKED = "/usr/sbin/wicked"
 
+DEFAULT_BACKEND = :wicked
+
+include Yast::Logger
+
 def main
   Yast.import "Service"
   Yast.import "NetworkConfig"
   Yast.import "Popup"
   Yast.import "Mode"
+  Yast.import "Stage"
   Yast.import "PackageSystem"
 
   textdomain "base"
@@ -179,18 +184,21 @@
   when "wicked"
 @current_name = :wicked
   else
-if running_installer?
-  Builtins.y2milestone("Running in installer, use default: wicked")
-  @current_name = :wicked
+if Stage.initial
+  @current_name = DEFAULT_BACKEND
+  log.info "Running in installer, use default: #{@current_name}"
+elsif Mode.config
+  @current_name = DEFAULT_BACKEND
+  log.info "Running in AutoYast config,

commit yast2 for openSUSE:Factory

2014-05-13 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-05-13 20:46:22

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-05-10 
22:57:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-05-13 
20:46:30.0 +0200
@@ -1,0 +2,13 @@
+Tue May 13 12:03:12 CEST 2014 - aschn...@suse.de
+
+- added error handing for viewing log files (bnc#876895)
+- 3.1.63
+
+---
+Mon May 12 12:38:40 UTC 2014 - jsr...@suse.cz
+
+- avoid hiding release notes button when new wizard window is
+  opened (bnc#876668)
+- 3.1.62
+
+---

Old:

  yast2-3.1.61.tar.bz2

New:

  yast2-3.1.63.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.kVHxx9/_old  2014-05-13 20:46:30.0 +0200
+++ /var/tmp/diff_new_pack.kVHxx9/_new  2014-05-13 20:46:30.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.61
+Version:3.1.63
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.61.tar.bz2 -> yast2-3.1.63.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.61/library/system/src/clients/view_anymsg.rb 
new/yast2-3.1.63/library/system/src/clients/view_anymsg.rb
--- old/yast2-3.1.61/library/system/src/clients/view_anymsg.rb  2014-05-09 
11:02:42.0 +0200
+++ new/yast2-3.1.63/library/system/src/clients/view_anymsg.rb  2014-05-13 
12:52:44.0 +0200
@@ -171,23 +171,25 @@
   )
 
 
-  @file_contents = ""
   @go_on = true
 
   # wait until user clicks "OK"
   # check if ComboBox selected and change view accordingly
 
   while @go_on
-# read file contents
-@file_contents = Convert.to_string(
-  SCR.Read(path(".target.string"), @filename)
-)
 
-# Fill the LogView with file contents
-UI.ChangeWidget(Id(:log), :Value, @file_contents)
+# read file content
+file_content = SCR.Read(path(".target.string"), @filename)
 
-@heading = Builtins.sformat(_("System Log (%1)"), @filename)
-UI.ChangeWidget(Id(:log), :Label, @heading)
+if file_content == nil
+  file_content = _("File not found.")
+end
+
+# Fill the LogView with file content
+UI.ChangeWidget(Id(:log), :Value, file_content)
+
+heading = Builtins.sformat(_("System Log (%1)"), @filename)
+UI.ChangeWidget(Id(:log), :Label, heading)
 
 # wait for user input
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.61/library/wizard/src/modules/Wizard.rb 
new/yast2-3.1.63/library/wizard/src/modules/Wizard.rb
--- old/yast2-3.1.61/library/wizard/src/modules/Wizard.rb   2014-05-09 
11:02:42.0 +0200
+++ new/yast2-3.1.63/library/wizard/src/modules/Wizard.rb   2014-05-13 
12:52:44.0 +0200
@@ -61,6 +61,11 @@
 
   # Screenshot names overriden by nested SetScreenShotName calls
   @screenshot_name_stack = []
+
+  # Handling of relnotes button when creating a wizard over existing one
+  # Cannot be handled by libyui for NCurses
+  @relnotes_button_label = ""
+  @relnotes_button_id = "";
 end
 
 def haveFancyUI
@@ -429,6 +434,9 @@
 def OpenDialog(dialog)
   dialog = deep_copy(dialog)
   UI.OpenDialog(Opt(:wizardDialog), dialog)
+  if ! @relnotes_button_id.empty?
+ShowReleaseNotesButton(@relnotes_button_label, @relnotes_button_id)
+  end
 
   nil
 end
@@ -1430,6 +1438,8 @@
   #   use dedicated ReplacePoint or reuse the back button
   if HasWidgetWizard() == false ||
   UI.WizardCommand(term(:ShowReleaseNotesButton, label, id)) == false
+@relnotes_button_label = label
+@relnotes_button_id = id
 if UI.WidgetExists(Id(:relnotes_rp))
   UI.ReplaceWidget(Id(:relnotes_rp), PushButton(Id(id), 
Opt(:relNotesButton), label))
 # Reuse Back button
@@ -1454,6 +1464,8 @@
   #   reuse use dedicated ReplacePoint or the back button
   if HasWidgetWizard() == false ||
   UI.WizardCommand(term(:HideReleaseNotesButton)) == false
+@relnotes_button_label = ""
+@relnotes_button_id = ""
 if UI.WidgetExists(Id(:relnotes_rp))
   UI.ReplaceWidget(Id(:relnotes_rp), Empty())
 elsif UI.WidgetExists(Id(:back_rep))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--

commit yast2 for openSUSE:Factory

2014-05-10 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-05-10 22:56:59

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-05-06 
13:40:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-05-10 
22:57:02.0 +0200
@@ -1,0 +2,8 @@
+Fri May  9 07:15:25 UTC 2014 - lsle...@suse.cz
+
+- Product.rb - fixed base product detection (do not check the
+  product status, always use the product from the initial
+  repository during installation) (bnc#876836)
+- 3.1.61
+
+---

Old:

  yast2-3.1.60.tar.bz2

New:

  yast2-3.1.61.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.ElCVzd/_old  2014-05-10 22:57:03.0 +0200
+++ /var/tmp/diff_new_pack.ElCVzd/_new  2014-05-10 22:57:03.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.60
+Version:3.1.61
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.60.tar.bz2 -> yast2-3.1.61.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.60/library/packages/src/modules/Product.rb 
new/yast2-3.1.61/library/packages/src/modules/Product.rb
--- old/yast2-3.1.60/library/packages/src/modules/Product.rb2014-05-05 
13:57:50.0 +0200
+++ new/yast2-3.1.61/library/packages/src/modules/Product.rb2014-05-09 
11:02:42.0 +0200
@@ -95,17 +95,19 @@
 
   log.info "Looking for base products"
 
-  products = Pkg.ResolvableProperties("", :product, "").dup || []
-  required_status = use_installed_products? ? :installed : :selected
-  products.select!{ |p| p["status"] == required_status }
-
-  log.info "All #{required_status} products: #{products}"
+  products = Pkg.ResolvableProperties("", :product, "") || []
 
   # For all (not only base) products
-  fill_up_relnotes(products)
+  # TODO FIXME: filling release notes is a nasty side effect of searching 
the base product,
+  # it should be handled separately...
+  required_status = use_installed_products? ? :installed : :selected
+  fill_up_relnotes(products.select{ |p| p["status"] == required_status })
 
   # Use only base products
   products.select! do |p|
+# The category "base" is not set during installation yet, it is set
+# only for _installed_ base product (otherwise "addon" is reported).
+# Use the product from the initial repository during installation.
 use_installed_products? ? (p["category"] == "base") : (p["source"] == 
0)
   end
 
@@ -113,7 +115,7 @@
 
   if products.empty?
 log.error "No base product found"
-raise "No #{required_status} base product found"
+raise "No base product found"
   elsif products.size > 1
 log.warn "More than one base product found!"
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.60/library/packages/test/product_test.rb 
new/yast2-3.1.61/library/packages/test/product_test.rb
--- old/yast2-3.1.60/library/packages/test/product_test.rb  2014-05-05 
13:57:50.0 +0200
+++ new/yast2-3.1.61/library/packages/test/product_test.rb  2014-05-09 
11:02:42.0 +0200
@@ -288,7 +288,7 @@
 
 SUPPORTED_METHODS.each do |method_name|
   log.info "Yast::Product.#{method_name}"
-  expect{ Yast::Product.send(method_name) }.to raise_error(/no 
selected base product found/i)
+  expect{ Yast::Product.send(method_name) }.to raise_error(/no base 
product found/i)
 end
 
 SUPPORTED_METHODS_ALLOWED_EMPTY.each do |method_name|
@@ -305,7 +305,7 @@
 
 SUPPORTED_METHODS.each do |method_name|
   log.info "Yast::Product.#{method_name}"
-  expect{ Yast::Product.send(method_name) }.to raise_error(/no 
installed base product found/i)
+  expect{ Yast::Product.send(method_name) }.to raise_error(/no base 
product found/i)
 end
 
 SUPPORTED_METHODS_ALLOWED_EMPTY.each do |method_name|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.60/package/yast2.changes 
new/yast2-3.1.61/package/yast2.changes
--- old/yast2-3.1.60/package/yast2.changes  2014-05-05 13:57:50.0 
+0200
+++ new/yast2-3.1.61/package/yast2.changes  2014-05-09 11:02:42.0 
+0200
@@ -1,4 +1,12 @@
 ---
+Fri May  9

commit yast2 for openSUSE:Factory

2014-05-06 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-05-06 13:40:40

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-04-13 
13:13:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-05-06 
13:40:49.0 +0200
@@ -1,0 +2,110 @@
+Mon May  5 11:38:34 UTC 2014 - vmora...@suse.com
+
+- Fix getting the status of sysvinit services (bnc#876144)
+- 3.1.60
+
+---
+Fri May  2 14:22:48 UTC 2014 - jreidin...@suse.com
+
+- save_y2logs: store target of symlinks as symlinks are useless
+- 3.1.59
+
+---
+Fri May  2 08:43:37 UTC 2014 - jsr...@suse.cz
+
+- fixed incorrect function name (bnc#876105)
+- 3.1.58
+
+---
+Tue Apr 29 12:46:18 CEST 2014 - loci...@suse.com
+
+- Fixed Product lazy loading in Update mode (bnc#875605)
+- 3.1.57
+
+---
+Tue Apr 29 11:27:09 CEST 2014 - g...@suse.de
+
+- Add support for 'stop' and 'restart' of services in inst-sys
+  (related to bnc #873057, bnc #873448)
+- 3.1.56
+
+---
+Mon Apr 28 16:41:57 CEST 2014 - loci...@suse.com
+
+- Fixed SlideShow table header to match the reality (bnc#874823)
+- 3.1.55
+
+---
+Thu Apr 24 15:59:44 CEST 2014 - loci...@suse.com
+
+- Product library changed to read data only from os-release and
+  libzypp (bnc#873877), no more from content file
+- 3.1.54
+
+---
+Tue Apr 22 15:05:41 CEST 2014 - loci...@suse.com
+
+- Published Service.Active (used from Perl)
+- 3.1.53
+
+---
+Tue Apr 22 11:03:21 CEST 2014 - loci...@suse.com
+
+- Removed Product.patterns (replaced by Packages.default_patterns)
+  (bnc#873923)
+- 3.1.52
+
+---
+Thu Apr 17 15:08:41 UTC 2014 - mvid...@suse.com
+
+- rewrote URLRecode.pm to URLRecode.rb so that 'yast2 repositories'
+  can run without Perl bindings
+- 3.1.51
+
+---
+Thu Apr 17 11:11:01 CEST 2014 - loci...@suse.com
+
+- Decreased number of logs coming from Hooks (to enhance logs
+  readability)
+- 3.1.50
+
+---
+Thu Apr 17 08:22:23 UTC 2014 - vmora...@suse.com
+
+- Add path to deprecation warnings (bnc#873973)
+- Fix enabling LSB services during installation (bnc#873929)
+- 3.1.49
+
+---
+Wed Apr 16 13:02:54 UTC 2014 - jreidin...@suse.com
+
+- ensure that dialog was closed even if exception is raised
+  (bnc#873916)
+- save_y2logs: store versions of packages in inst-sys
+- 3.1.48
+
+---
+Wed Apr 16 11:46:55 UTC 2014 - mfi...@suse.com
+
+- bnc#869661
+  - fixed internal error raised in inst_lan during update
+- 3.1.47
+
+---
+Tue Apr 15 09:09:57 CEST 2014 - loci...@suse.com
+
+- Changed Product.FindBaseProducts to throw an exception if no
+  base products are found in installation (bnc#873458, bnc#873377)
+- 3.1.46
+
+---
+Mon Apr 14 15:11:22 CEST 2014 - loci...@suse.com
+
+- Changed OSRelease not to read content file instead of os-release
+  file in inst-sys (bnc#873366)
+- Changed Product to use OSRelease.ReleaseInformation as :name
+  instead of creating it from ReleaseName and ReleaseVersion,
+  these are only used as fallback (bnc#873366)
+- 3.1.45
+
+---

Old:

  yast2-3.1.44.tar.bz2

New:

  yast2-3.1.60.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.7wyPeG/_old  2014-05-06 13:40:50.0 +0200
+++ /var/tmp/diff_new_pack.7wyPeG/_new  2014-05-06 13:40:50.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.44
+Version:3.1.60
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.44.tar.bz2 -> yast2-3.1.60.tar.bz2 ++
 1885 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands,

commit yast2 for openSUSE:Factory

2014-04-13 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-04-13 13:13:21

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-04-05 
14:43:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-04-13 
13:13:31.0 +0200
@@ -1,0 +2,49 @@
+Thu Apr 10 11:07:13 CEST 2014 - loci...@suse.com
+
+- Prefering os-release file to content file (which is used only as
+  a fallback now) both in installation and on a running system
+  (bnc#871261)
+- 3.1.44
+
+---
+Thu Apr 10 09:06:02 UTC 2014 - mvid...@suse.com
+
+- Enable wizard title on the left instead of on top during the
+  installation (bnc#868859).
+- 3.1.43
+
+---
+Thu Apr 10 08:04:42 UTC 2014 - jsr...@suse.cz
+
+- adjusted Product.FindBaseProducts to be usable during
+  installation (needed for fix of bnc#871158)
+- 3.1.42
+
+---
+Wed Apr  9 07:09:37 UTC 2014 - jsr...@suse.cz
+
+- added tabs for release notes into slide show dialog (bnc#871158)
+- 3.1.41
+
+---
+Wed Apr  9 06:35:54 UTC 2014 - jreidin...@suse.com
+
+- save_y2logs: save also log from perl-Bootloader (bnc#872486)
+- 3.1.40
+
+---
+Tue Apr  8 15:01:00 CEST 2014 - loci...@suse.com
+
+- Changed way of reading the product information: Reads it from
+  /content file if it exists, then from /etc/os-release, then it
+  throws exception if there is no other place to read (bnc#871261)
+- 3.1.39
+
+---
+Tue Apr  8 11:40:15 UTC 2014 - lsle...@suse.cz
+
+- fixed "uninitialized constant Yast2::HwDetection::SCR" error
+  (bnc#871783), fixed testsuite
+- 3.1.38
+
+---

Old:

  yast2-3.1.37.tar.bz2

New:

  yast2-3.1.44.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.05cyk5/_old  2014-04-13 13:13:33.0 +0200
+++ /var/tmp/diff_new_pack.05cyk5/_new  2014-04-13 13:13:33.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.37
+Version:3.1.44
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.37.tar.bz2 -> yast2-3.1.44.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.37/library/general/src/modules/OSRelease.rb 
new/yast2-3.1.44/library/general/src/modules/OSRelease.rb
--- old/yast2-3.1.37/library/general/src/modules/OSRelease.rb   2014-04-02 
11:26:46.0 +0200
+++ new/yast2-3.1.44/library/general/src/modules/OSRelease.rb   2014-04-10 
13:17:41.0 +0200
@@ -41,9 +41,7 @@
   class OSReleaseClass < Module
 include Yast::Logger
 
-def initialize
-  @file_path= "/etc/os-release"
-end
+OS_RELEASE_PATH = "/etc/os-release"
 
 # Get information about the OS release
 # Throws exception Yast::OSReleaseFileMissingError if release file
@@ -52,9 +50,9 @@
 # @param [String] directory containing the installed system (/ in 
installed system)
 # @return [String] the release information
 def ReleaseInformation(directory)
-  release_file = File.join(directory, @file_path)
+  release_file = File.join(directory, OS_RELEASE_PATH)
 
-  if !FileUtils.Exists(release_file)
+  if !os_release_exists?(directory)
 log.info "Release file #{release_file} not found"
 raise(
   OSReleaseFileMissingError,
@@ -73,7 +71,7 @@
 return SCR.Read(path(".content.PRODUCT"))
   end
   directory = "/" # TODO make this optional argument
-  Misc.CustomSysconfigRead("NAME", "SUSE LINUX", directory + @file_path)
+  Misc.CustomSysconfigRead("NAME", "SUSE LINUX", directory + 
OS_RELEASE_PATH)
 end
 
 # Get information about the OS version
@@ -84,9 +82,18 @@
 return SCR.Read(path(".content.VERSION"))
   end
   directory = "/"
-  Misc.CustomSysconfigRead("VERSION_ID", "", directory + @file_path)
+  Misc.CustomSysconfigRead("VERSION_ID", "", directory + OS_RELEASE_PATH)
 end
 
+# Returns whether os-release file exists in the given directory
+#
+# @param [String] (optional) directory, defaults to "/"
+# @return [Boolean] whether exists
+def os_release_exists?(directory = "/")
+  FileUtils.Exists(
+  

commit yast2 for openSUSE:Factory

2014-04-05 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-04-05 14:43:01

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-03-21 
12:14:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-04-05 
14:43:02.0 +0200
@@ -1,0 +2,96 @@
+Wed Apr  2 09:18:51 UTC 2014 - jreidin...@suse.com
+
+- add control option to enable sshd in installation (bnc#865056)
+- 3.1.37
+
+---
+Tue Apr  1 13:58:20 CEST 2014 - g...@suse.de
+
+- Add info about text mode navigation in trees to general help
+  (bnc #840672)
+
+---
+Mon Mar 31 19:48:07 UTC 2014 - vmora...@suse.com
+
+- Fix failing tests
+- 3.1.36
+
+---
+Mon Mar 31 14:54:17 UTC 2014 - vmora...@suse.com
+
+- Fix enabling services in inst-sys (bnc#870949)
+- 3.1.35
+
+---
+Fri Mar 28 13:13:54 UTC 2014 - vmora...@suse.com
+
+- Add more systemd unit commands to SystemdService
+- 3.1.34
+
+---
+Fri Mar 28 13:07:16 UTC 2014 - vmora...@suse.com
+
+- Don't change service name which might be frozen string
+  (bnc#870803)
+- 3.1.33
+
+---
+Thu Mar 27 10:15:12 UTC 2014 - vmora...@suse.com
+
+- Fix for template systemd units properties
+- 3.1.32
+
+---
+Thu Mar 27 10:03:16 UTC 2014 - lsle...@suse.cz
+
+- fixed popup_test
+- 3.1.31
+
+---
+Wed Mar 26 17:02:08 UTC 2014 - lsle...@suse.cz
+
+- fixed syntax error in Popup.Feedback()
+- 3.1.30
+
+---
+Wed Mar 26 16:25:32 UTC 2014 - vmora...@suse.com
+
+- Deprecate and refactor Service module with SystemdService backend
+- Add support for /bin/service_start script in installation system
+  that has no running systemd
+- 3.1.29
+
+---
+Wed Mar 26 15:45:45 CET 2014 - loci...@suse.com
+
+- Throwing exception Yast::OSReleaseFileMissingError from
+  OSRelease if /etc/os-release file is missing (bnc#869091)
+- 3.1.28
+
+---
+Wed Mar 26 10:04:24 CET 2014 - loci...@suse.com
+
+- Refactored SUSEFirewallServices to throw exceptions when user
+  or code tries to handle unknown services (bnc#867377)
+- Adjusted CWMFirewallInterfaces to handle the new exception
+  and inform user about it (bnc#867377)
+- 3.1.27
+
+---
+Tue Mar 25 14:34:29 UTC 2014 - lsle...@suse.cz
+
+- added Popup.Feedback for displaying progress popup when running
+  a block of code
+- 3.1.26
+
+---
+Tue Mar 25 08:09:09 CET 2014 - jsuch...@suse.cz
+
+- better check if chef-client is running (bnc#868483)
+
+---
+Mon Mar 24 12:16:08 UTC 2014 - vmora...@suse.com
+
+- Add support for systemd target with SystemdTarget module 
+
+---

Old:

  yast2-3.1.25.tar.bz2

New:

  yast2-3.1.37.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.9HmK2f/_old  2014-04-05 14:43:03.0 +0200
+++ /var/tmp/diff_new_pack.9HmK2f/_new  2014-04-05 14:43:03.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.25
+Version:3.1.37
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.25.tar.bz2 -> yast2-3.1.37.tar.bz2 ++
 4311 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2014-03-21 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-03-21 12:14:10

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-03-11 
09:24:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-03-21 
12:14:29.0 +0100
@@ -1,0 +2,12 @@
+Thu Mar 13 14:34:42 CET 2014 - g...@suse.de
+
+- Check IPv4 and IPv6 for running network (bnc#868001)
+- 3.1.25
+
+---
+Tue Mar 11 13:41:08 UTC 2014 - vmora...@suse.com
+
+- Adapt System.Status for latest systemctl (bnc#867378)
+- 3.1.24
+
+---

Old:

  yast2-3.1.23.tar.bz2

New:

  yast2-3.1.25.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.KOlxOx/_old  2014-03-21 12:14:32.0 +0100
+++ /var/tmp/diff_new_pack.KOlxOx/_new  2014-03-21 12:14:32.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.23
+Version:3.1.25
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.23.tar.bz2 -> yast2-3.1.25.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.23/library/network/src/modules/NetworkService.rb 
new/yast2-3.1.25/library/network/src/modules/NetworkService.rb
--- old/yast2-3.1.23/library/network/src/modules/NetworkService.rb  
2014-03-07 10:37:30.0 +0100
+++ new/yast2-3.1.25/library/network/src/modules/NetworkService.rb  
2014-03-19 16:02:11.0 +0100
@@ -304,9 +304,12 @@
   end
 end
 
+def isNetworkRunning
+  isNetworkv4Running || isNetworkv6Running
+end
 
 # test for IPv4
-def isNetworkRunning
+def isNetworkv4Running
   net = Convert.to_integer(
 SCR.Execute(
   path(".target.bash"),
@@ -314,10 +317,10 @@
 )
   )
   if net == 0
-Builtins.y2milestone("Network is running ...")
+Builtins.y2milestone("IPv4 network is running ...")
 return true
   else
-Builtins.y2milestone("Network is not running ...")
+Builtins.y2milestone("IPv4 network is not running ...")
 return false
   end
 end
@@ -330,10 +333,10 @@
 )
   )
   if net == 0
-Builtins.y2milestone("Network is running ...")
+Builtins.y2milestone("IPv6 network is running ...")
 return true
   else
-Builtins.y2milestone("Network is not running ...")
+Builtins.y2milestone("IPv6 network is not running ...")
 return false
   end
 end
@@ -356,9 +359,9 @@
 ),
   _("or continue without network.")
 )
-Popup.ContinueCancel(error_text)
+ret = Popup.ContinueCancel(error_text)
 Builtins.y2error("Network not runing!")
-return false
+return ret
   end
 end
 
@@ -432,6 +435,7 @@
 publish :function => :StartStop, :type => "void ()"
 publish :function => :ConfirmNetworkManager, :type => "boolean ()"
 publish :function => :isNetworkRunning, :type => "boolean ()"
+publish :function => :isNetworkv4Running, :type => "boolean ()"
 publish :function => :isNetworkv6Running, :type => "boolean ()"
 publish :function => :RunningNetworkPopup, :type => "boolean ()"
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.23/library/runlevel/src/modules/Service.rb 
new/yast2-3.1.25/library/runlevel/src/modules/Service.rb
--- old/yast2-3.1.23/library/runlevel/src/modules/Service.rb2014-03-07 
10:37:30.0 +0100
+++ new/yast2-3.1.25/library/runlevel/src/modules/Service.rb2014-03-19 
16:02:11.0 +0100
@@ -233,7 +233,7 @@
   Convert.to_integer(
 SCR.Execute(
   path(".target.bash"),
-  Builtins.sformat("%1 status %2.service", @invoker, name),
+  Builtins.sformat("%1 is-active %2.service", @invoker, name),
   { "TERM" => "raw" }
 )
   )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.23/library/runlevel/testsuite/tests/ServiceFullInfo.out 
new/yast2-3.1.25/library/runlevel/testsuite/tests/ServiceFullInfo.out
--- old/yast2-3.1.23/library/runlevel/testsuite/tests/ServiceFullInfo.out   
2014-03-07 10:37:30.0 +0100
+++ new/yast2-3.1.25/library/runlevel/testsuite/tests/ServiceFullInfo.out   
2014-03-19 16:02:11.0 +0100
@@ -4,5 +4,5 @@
 Read   .target.stat "/usr/lib/syst

commit yast2 for openSUSE:Factory

2014-03-11 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-03-06 
19:29:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-03-11 
09:24:11.0 +0100
@@ -1,0 +2,7 @@
+Thu Mar  6 15:21:44 UTC 2014 - vmora...@suse.com
+
+- Allow raising exceptions for not found systemd units;
+  updates the expectations for bnc#853300
+- 3.1.23
+
+---

Old:

  yast2-3.1.22.tar.bz2

New:

  yast2-3.1.23.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.6Q74FQ/_old  2014-03-11 09:24:12.0 +0100
+++ /var/tmp/diff_new_pack.6Q74FQ/_new  2014-03-11 09:24:12.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.22
+Version:3.1.23
 Release:0
 Url:https://github.com/yast/yast-yast2
 

++ yast2-3.1.22.tar.bz2 -> yast2-3.1.23.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.22/library/systemd/src/modules/systemd_service.rb 
new/yast2-3.1.23/library/systemd/src/modules/systemd_service.rb
--- old/yast2-3.1.22/library/systemd/src/modules/systemd_service.rb 
2014-03-06 09:38:04.0 +0100
+++ new/yast2-3.1.23/library/systemd/src/modules/systemd_service.rb 
2014-03-07 10:37:30.0 +0100
@@ -11,11 +11,20 @@
   #Yast.import 'SystemdService'
   #
   ### Get a service unit by its name
+  ### If the service unit can't be found, you'll get nil
+  #
+  #service = Yast::SystemdService.find('sshd') # service unit object
   #
-  #service = Yast::SystemdService.find('sshd')
   ## or using the full unit id 'sshd.service'
+  #
   #service = Yast::SystemdService.find('sshd.service')
   #
+  ### If you can't handle any nil at the place of calling,
+  ### use the finder with exclamation mark;
+  ### SystemdServiceNotFound exception will be raised
+  #
+  #service = Yast::SystemdService.find!('IcanHasMoar') # 
SystemdServiceNotFound: Service unit 'IcanHasMoar' not found
+  #
   ### Get basic unit properties
   #
   #service.unit_name   # 'sshd'
@@ -56,6 +65,12 @@
   #
   ##
 
+  class SystemdServiceNotFound < StandardError
+def initialize service_name
+  super "Service unit '#{service_name}' not found"
+end
+  end
+
   class SystemdServiceClass < Module
 UNIT_SUFFIX = ".service"
 
@@ -66,6 +81,10 @@
   service
 end
 
+def find! service_name, properties={}
+  find(service_name, properties) || raise(SystemdServiceNotFound, 
service_name)
+end
+
 def all properties={}
   services = Systemctl.service_units.map do |service_unit|
 Service.new(service_unit, properties)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.22/library/systemd/src/modules/systemd_socket.rb 
new/yast2-3.1.23/library/systemd/src/modules/systemd_socket.rb
--- old/yast2-3.1.22/library/systemd/src/modules/systemd_socket.rb  
2014-03-06 09:38:04.0 +0100
+++ new/yast2-3.1.23/library/systemd/src/modules/systemd_socket.rb  
2014-03-07 10:37:30.0 +0100
@@ -11,8 +11,15 @@
   #Yast.import 'SystemdSocket'
   #
   ### Get a socket unit by its name
+  ### If the socket unit can't be found, you'll get a nil object
   #
-  #socket = Yast::SystemdSocket.find('iscsid')
+  #socket = Yast::SystemdSocket.find('iscsid') # socket unit object
+  #
+  ### If you can't handle any nil at the place of calling,
+  ### use the finder with exclamation mark;
+  ### SystemdSocketNotFound exception will be raised
+  #
+  #socket = Yast::SystemdSocket.find!('IcanHasCheez') # 
SystemdSocketNotFound: Socket unit 'IcanHasCheez' not found
   #
   ### Get basic unit properties
   #
@@ -52,6 +59,12 @@
   #
   ##
 
+  class SystemdSocketNotFound < StandardError
+def initialize socket_name
+  super "Socket unit '#{socket_name}' not found"
+end
+  end
+
   class SystemdSocketClass < Module
 UNIT_SUFFIX = ".socket"
 
@@ -62,6 +75,10 @@
   socket
 end
 
+def find! socket_name, properties={}
+  find(socket_name, properties) || raise(SystemdSocketNotFound, 
socket_name)
+end
+
 def all properties={}
   sockets = Systemctl.socket_units.map do |socket_unit|
 Socket.new(socket_unit, properties)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
o

commit yast2 for openSUSE:Factory

2014-03-06 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-03-01 
14:38:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-03-06 
19:29:43.0 +0100
@@ -1,0 +2,13 @@
+Thu Mar  6 07:48:29 UTC 2014 - vmora...@suse.com
+
+- Add systemd service support; needed by fate#314946
+- 3.1.22
+
+---
+Tue Mar  4 12:20:41 UTC 2014 - vmora...@suse.com
+
+- Allow the Service module to configure services witout
+  systemd unit files (bnc#864934)
+- 3.1.21
+
+---

Old:

  yast2-3.1.20.tar.bz2

New:

  yast2-3.1.22.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.sMlKf5/_old  2014-03-06 19:29:44.0 +0100
+++ /var/tmp/diff_new_pack.sMlKf5/_new  2014-03-06 19:29:44.0 +0100
@@ -17,8 +17,9 @@
 
 
 Name:   yast2
-Version:3.1.20
+Version:3.1.22
 Release:0
+Url:https://github.com/yast/yast-yast2
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:%{name}-%{version}.tar.bz2
@@ -225,10 +226,12 @@
 %{yast_scrconfdir}/*
 %{yast_ybindir}/*
 %{yast_agentdir}/ag_*
-%{_sysconfdir}/bash_completion.d/yast2*.sh
-%{_sysconfdir}/YaST2/XVersion
 /var/adm/fillup-templates/sysconfig.yast2
 
+# configuration files
+%config %{_sysconfdir}/bash_completion.d/yast2*.sh
+%config %{_sysconfdir}/YaST2/XVersion
+
 # documentation (not included in devel subpackage)
 %doc %dir %{yast_docdir}
 %doc %{yast_docdir}/COPYING

++ yast2-3.1.20.tar.bz2 -> yast2-3.1.22.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.20/library/runlevel/src/modules/Service.rb 
new/yast2-3.1.22/library/runlevel/src/modules/Service.rb
--- old/yast2-3.1.20/library/runlevel/src/modules/Service.rb2014-02-27 
10:56:49.0 +0100
+++ new/yast2-3.1.22/library/runlevel/src/modules/Service.rb2014-03-06 
09:38:04.0 +0100
@@ -108,8 +108,6 @@
 return false
   end
 
-  service_exists = false
-
   possible_service_locations = Builtins.add(
 # all known $service.service locations
 Builtins.maplist(@systemd_dirs) do |directory|
@@ -202,8 +200,6 @@
 # @param [String] name service name
 # @return true if service is set to run in any runlevel
 def Enabled(name)
-  return false if !checkExists(name)
-
   SCR.Execute(
 path(".target.bash"),
 Builtins.sformat("%1 is-enabled %2.service", @invoker, name)
@@ -234,7 +230,6 @@
 # @param [String] name name of the service
 # @return init script exit status or -1 if it does not exist
 def Status(name)
-  return -1 if !checkExists(name)
   Convert.to_integer(
 SCR.Execute(
   path(".target.bash"),
@@ -295,11 +290,6 @@
 #defaults.
 # @return [Boolean] success state
 def Adjust(name, action)
-  if !checkExists(name)
-Builtins.y2error("Service %1 does not exist.", name)
-return false
-  end
-
   is_enabled = Enabled(name)
 
   if action == "disable"
@@ -509,7 +499,6 @@
 # @param [String] service service to be enabled
 # @return true if operation is  successful
 def Enable(service)
-  return false if !checkExists(service)
   Builtins.y2milestone("Enabling service %1", service)
   Adjust(service, "enable")
 end
@@ -518,7 +507,6 @@
 # @param [String] service service to be disabled
 # @return true if operation is  successful
 def Disable(service)
-  return false if !checkExists(service)
   Builtins.y2milestone("Disabling service %1", service)
   Adjust(service, "disable")
 end
@@ -527,8 +515,6 @@
 # @param [String] service service to be started
 # @return true if operation is  successful
 def Start(service)
-  return false if !checkExists(service)
-  ret = nil
   Builtins.y2milestone("Starting service %1", service)
   ret = RunInitScript(service, "start")
   Builtins.y2debug("ret=%1", ret)
@@ -539,8 +525,6 @@
 # @param [String] service service to be restarted
 # @return true if operation is  successful
 def Restart(service)
-  return false if !checkExists(service)
-  ret = nil
   Builtins.y2milestone("Restarting service %1", service)
   ret = RunInitScript(service, "restart")
   Builtins.y2debug("ret=%1", ret)
@@ -551,8 +535,6 @@
 

commit yast2 for openSUSE:Factory

2014-03-01 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-03-01 14:38:14

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-02-21 
13:48:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-03-01 
14:38:15.0 +0100
@@ -1,0 +2,6 @@
+Thu Feb 27 09:56:16 UTC 2014 - vmora...@suse.com
+
+- Add systemd socket support (bnc#853300)
+- 3.1.20
+
+---

Old:

  yast2-3.1.19.tar.bz2

New:

  yast2-3.1.20.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.3mv946/_old  2014-03-01 14:38:16.0 +0100
+++ /var/tmp/diff_new_pack.3mv946/_new  2014-03-01 14:38:16.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.19
+Version:3.1.20
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.19.tar.bz2 -> yast2-3.1.20.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.19/library/Makefile.am 
new/yast2-3.1.20/library/Makefile.am
--- old/yast2-3.1.19/library/Makefile.am2014-02-21 10:52:55.0 
+0100
+++ new/yast2-3.1.20/library/Makefile.am2014-02-27 10:56:49.0 
+0100
@@ -1,3 +1,3 @@
 # Makefile.am for yast2/library
 
-SUBDIRS = types runlevel sequencer xml commandline desktop wizard control cwm 
log system packages cron network gpg general
+SUBDIRS = types runlevel sequencer xml commandline desktop wizard control cwm 
log system packages cron network gpg general systemd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.19/library/systemd/Makefile.am 
new/yast2-3.1.20/library/systemd/Makefile.am
--- old/yast2-3.1.19/library/systemd/Makefile.am1970-01-01 
01:00:00.0 +0100
+++ new/yast2-3.1.20/library/systemd/Makefile.am2014-02-27 
10:56:49.0 +0100
@@ -0,0 +1 @@
+SUBDIRS = src test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.19/library/systemd/src/Makefile.am 
new/yast2-3.1.20/library/systemd/src/Makefile.am
--- old/yast2-3.1.19/library/systemd/src/Makefile.am1970-01-01 
01:00:00.0 +0100
+++ new/yast2-3.1.20/library/systemd/src/Makefile.am2014-02-27 
10:56:49.0 +0100
@@ -0,0 +1,11 @@
+module_DATA = \
+  modules/systemd_socket.rb
+
+ylibdir = @ylibdir@/yast2
+ylib_DATA = \
+  lib/yast2/systemctl.rb \
+  lib/yast2/systemd_unit.rb
+
+EXTRA_DIST = $(module_DATA) $(ylib_DATA)
+
+include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.19/library/systemd/src/lib/yast2/systemctl.rb 
new/yast2-3.1.20/library/systemd/src/lib/yast2/systemctl.rb
--- old/yast2-3.1.19/library/systemd/src/lib/yast2/systemctl.rb 1970-01-01 
01:00:00.0 +0100
+++ new/yast2-3.1.20/library/systemd/src/lib/yast2/systemctl.rb 2014-02-27 
10:56:49.0 +0100
@@ -0,0 +1,44 @@
+require "ostruct"
+
+module Yast
+  module Systemctl
+CONTROL = "systemctl"
+COMMAND_OPTIONS = " --no-legend --no-pager --no-ask-password "
+ENV_VARS= " LANG=C TERM=dumb COLUMNS=1024 "
+SYSTEMCTL   = ENV_VARS + CONTROL + COMMAND_OPTIONS
+
+class << self
+
+  def execute command
+OpenStruct.new(SCR.Execute(Path.new(".target.bash_output"), SYSTEMCTL 
+ command))
+  end
+
+  def socket_units
+sockets_from_files = list_unit_files(:type=>:socket).lines.map do 
|line|
+  line[/\S+/]
+end
+
+sockets_from_units = list_units(:type=>:socket).lines.map do |line|
+  line[/\S+/]
+end
+
+( sockets_from_files | sockets_from_units ).compact
+  end
+
+  private
+
+  def list_unit_files type: nil
+command = " list-unit-files "
+command << " --type=#{type} " if type
+execute(command).stdout
+  end
+
+  def list_units type: nil, all: true
+command = " list-units "
+command << " --all " if all
+command << " --type=#{type} " if type
+execute(command).stdout
+  end
+end
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.19/library/systemd/src/lib/yast2/systemd_unit.rb 
new/yast2-3.1.20/library/systemd/src/lib/yast2/systemd_unit.rb
--- old/yast2-3.1.19/library/systemd/src/lib/yast2/systemd_unit.rb  
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.2

commit yast2 for openSUSE:Factory

2014-02-21 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-02-21 13:48:06

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-02-06 
07:00:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-02-21 
13:48:11.0 +0100
@@ -1,0 +2,6 @@
+Mon Feb 10 13:18:52 UTC 2014 - lsle...@suse.cz
+
+- added memory detection code (gh#yast/yast-packager#33)
+- 3.1.19
+
+---

Old:

  yast2-3.1.18.tar.bz2

New:

  yast2-3.1.19.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.fWstOw/_old  2014-02-21 13:48:11.0 +0100
+++ /var/tmp/diff_new_pack.fWstOw/_new  2014-02-21 13:48:11.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.18
+Version:3.1.19
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -221,6 +221,7 @@
 %{yast_ydatadir}/*.ycp
 %{yast_clientdir}/*
 %{yast_moduledir}/*
+%{yast_libdir}/*
 %{yast_scrconfdir}/*
 %{yast_ybindir}/*
 %{yast_agentdir}/ag_*

++ yast2-3.1.18.tar.bz2 -> yast2-3.1.19.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.18/library/general/src/modules/AsciiFile.rb 
new/yast2-3.1.19/library/general/src/modules/AsciiFile.rb
--- old/yast2-3.1.18/library/general/src/modules/AsciiFile.rb   2014-02-05 
14:12:29.0 +0100
+++ new/yast2-3.1.19/library/general/src/modules/AsciiFile.rb   2014-02-21 
10:52:55.0 +0100
@@ -31,6 +31,36 @@
 require "yast"
 
 module Yast
+
+  # Assume this /etc/fstab file
+  #
+  # # main filesystem
+  # UUID=001c0d61-e99f-4ab7-ba4b-bda6f54a052d   /   btrfs   
defaults 0 0
+  #
+  # then with this set-up
+  #
+  # file = {}
+  # file_ref = arg_ref(file)  # an artefact of YCP API
+  # AsciiFile.SetComment(file_ref, "^[ \t]*#")
+  # AsciiFile.SetDelimiter(file_ref, " \t")
+  # AsciiFile.SetListWidth(file_ref, [20, 20, 10, 21, 1, 1])
+  #
+  # this main call
+  #
+  # AsciiFile.ReadFile(file_ref, "/etc/fstab")
+  # # note that the result is `file["l"]`
+  # # as the rest of `file` are the parsing parameters
+  # result = file["l"]
+  #
+  # will produce
+  #
+  # result.size   # =>  2
+  # # an integer keyed hash starting at ONE!
+  # result.keys   # =>  [1, 2]
+  # result[1]["comment"]  # =>  true
+  # result[1]["line"] # =>  "# main filesystem"
+  # result[2]["fields"].size  # =>  6
+  # result[2]["fields"][1]# =>  "/"
   class AsciiFileClass < Module
 def main
 
@@ -51,8 +81,8 @@
 
 # Sets the widths of records on one line
 #
-# @param [map &] file content
-# @param list  of widths
+# @param [ArgRef] file content
+# @param [Array] widths list of widths
 def SetListWidth(file, widths)
   widths = deep_copy(widths)
   Ops.set(file.value, "widths", widths)
@@ -62,8 +92,8 @@
 
 # Sets the delimiter between the records on one line
 #
-# @param [map &] file content
-# @param stringdelimiter
+# @param [ArgRef] file content
+# @param [String] delim delimiter
 def SetDelimiter(file, delim)
   Ops.set(file.value, "delim", delim)
 
@@ -112,8 +142,8 @@
 
 # Reads the file from the disk
 #
-# @param [map &] file content
-# @param [map &] file name
+# @param [ArgRef] file content
+# @param [String] pathname file name
 def ReadFile(file, pathname)
   Builtins.y2milestone("path=%1", pathname)
   lines = []
@@ -182,8 +212,8 @@
 # Returns the list of rows where matches searched string in the defined 
column
 #
 # @param [Hash] file content
-# @param integer   column (counted from 0 to n)
-# @param stringsearched string
+# @param [Integer] field   column (counted from 0 to n)
+# @param [String] content  searched string
 # @return [Array]  matching rows
 def FindLineField(file, field, content)
   file = deep_copy(file)
@@ -200,9 +230,9 @@
 
 # Returns map of wanted lines
 #
-# @param [map &] file content
-# @param list rows (counted from 1 to n)
-# @return [Hash{Fixnum => map}]with wanted lines
+# @param [ArgRef] file content
+# @param [Array] linesrows (counted from 1 to n)
+# @return [Hash] hash with wanted lines
 def GetLines(file, lines)
   lines = deep_copy(lines)
   ret = {}
@@ -220,8 +25

commit yast2 for openSUSE:Factory

2014-02-05 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-02-06 07:00:54

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-01-31 
11:50:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-02-06 
07:00:55.0 +0100
@@ -1,0 +2,7 @@
+Wed Feb  5 11:26:09 CET 2014 - jsuch...@suse.cz
+
+- Check for Chef outside in the yast2 shell script to catch modules
+  not using CommandLine (bnc#803358)
+- 3.1.18
+
+---

Old:

  yast2-3.1.17.tar.bz2

New:

  yast2-3.1.18.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.mVJFRY/_old  2014-02-06 07:00:55.0 +0100
+++ /var/tmp/diff_new_pack.mVJFRY/_new  2014-02-06 07:00:55.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.17
+Version:3.1.18
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.17.tar.bz2 -> yast2-3.1.18.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.17/library/commandline/src/Makefile.am 
new/yast2-3.1.18/library/commandline/src/Makefile.am
--- old/yast2-3.1.17/library/commandline/src/Makefile.am2014-01-30 
16:11:59.0 +0100
+++ new/yast2-3.1.18/library/commandline/src/Makefile.am2014-02-05 
14:12:29.0 +0100
@@ -3,12 +3,15 @@
 module_DATA = \
   modules/CommandLine.rb
 
+client_DATA = \
+  clients/other_tools_warning.rb
+
 scrconf_DATA = \
   scrconf/tty.scr
 
 agent_SCRIPTS = \
   servers_non_y2/ag_tty
 
-EXTRA_DIST = $(module_DATA) $(scrconf_DATA) $(agent_SCRIPTS)
+EXTRA_DIST = $(module_DATA) $(scrconf_DATA) $(agent_SCRIPTS) $(client_DATA)
 
-include $(top_srcdir)/Makefile.am.common
\ No newline at end of file
+include $(top_srcdir)/Makefile.am.common
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.17/library/commandline/src/clients/other_tools_warning.rb 
new/yast2-3.1.18/library/commandline/src/clients/other_tools_warning.rb
--- old/yast2-3.1.17/library/commandline/src/clients/other_tools_warning.rb 
1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.18/library/commandline/src/clients/other_tools_warning.rb 
2014-02-05 14:12:29.0 +0100
@@ -0,0 +1,55 @@
+# encoding: utf-8
+
+# ***
+#
+# Copyright (c) 2014 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 Novell, Inc.
+#
+# To contact Novell about this file by physical or electronic mail,
+# you may find current contact information at www.novell.com
+#
+# ***
+
+#*
+# There may be different ways to configure the system than YaST, e.g. Chef.
+# It will periodically overwrite files under its control.
+# If it is running, now is a good time to tell the user
+# and ask if she wants to proceed with YaST anyway.
+# We do not try to find out which files these are and ask
+# before any interactive YaST module.
+# See bnc#803358
+
+module Yast
+  class OtherToolsWarningClient < Client
+def main
+  Yast.import "Popup"
+  textdomain "base"
+
+  if WFM.Args().include? "chef"
+# Translators: a warning message in a continue-cancel question
+# Opscode Chef is a different way to configure the system.
+message = _(
+   "Chef Client is running. The changes that you make\n" +
+ "may be overridden by Chef later.\n" +
+ "Continue configuration with YaST?"
+)
+return Popup.ContinueCancel(message)
+  end
+
+end
+  end
+end
+
+Yast::OtherToolsWarningClient.new.main
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.17/library/commandline/src/modules/CommandLine.rb 
new/yast2-3.1.18/library/commandline/src/modules/CommandLine.rb
--- old/yast2-3.1.17/library/commandline/src/modules/Comman

commit yast2 for openSUSE:Factory

2014-01-31 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-01-31 11:50:47

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-01-24 
21:42:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-01-31 
11:50:48.0 +0100
@@ -1,0 +2,8 @@
+Thu Jan 30 09:27:43 UTC 2014 - mfi...@suse.com
+
+- bnc#861078
+  - detected network service set properly when running in
+installation mode
+- 3.1.17
+
+---

Old:

  yast2-3.1.16.tar.bz2

New:

  yast2-3.1.17.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.x7U0Jk/_old  2014-01-31 11:50:49.0 +0100
+++ /var/tmp/diff_new_pack.x7U0Jk/_new  2014-01-31 11:50:49.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.16
+Version:3.1.17
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.16.tar.bz2 -> yast2-3.1.17.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.16/library/general/test/Makefile.am 
new/yast2-3.1.17/library/general/test/Makefile.am
--- old/yast2-3.1.16/library/general/test/Makefile.am   2014-01-22 
12:26:53.0 +0100
+++ new/yast2-3.1.17/library/general/test/Makefile.am   2014-01-30 
16:11:59.0 +0100
@@ -1,5 +1,6 @@
 TESTS = \
-  linuxrc_test.rb
+  linuxrc_test.rb \
+   hooks_test.rb
 
 TEST_EXTENSIONS = .rb
 RB_LOG_COMPILER = rspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.16/library/general/test/hooks_test.rb 
new/yast2-3.1.17/library/general/test/hooks_test.rb
--- old/yast2-3.1.16/library/general/test/hooks_test.rb 2014-01-22 
12:26:53.0 +0100
+++ new/yast2-3.1.17/library/general/test/hooks_test.rb 2014-01-30 
16:11:59.0 +0100
@@ -56,14 +56,14 @@
 it "tracks the results of the run hook files" do
   hook = Hooks.run 'before_hook'
   expect(Hooks.last.results.size).to eq(2)
-  failed_hook_file = Hooks.find('before_hook').results.first
-  expect(failed_hook_file.exit).not_to eq(0)
-  expect(failed_hook_file.stderr).to match(/failure/)
+  failed_hook_file = Hooks.find('before_hook').files.first
+  expect(failed_hook_file.result.exit).not_to eq(0)
+  expect(failed_hook_file.result.stderr).to match(/failure/)
   expect(failed_hook_file.output).to match(/failure/)
 
-  succeeded_hook_file = Hooks.find('before_hook').results.last
-  expect(succeeded_hook_file.exit).to eq(0)
-  expect(succeeded_hook_file.stdout).to match(/success/)
+  succeeded_hook_file = Hooks.find('before_hook').files.last
+  expect(succeeded_hook_file.result.exit).to eq(0)
+  expect(succeeded_hook_file.result.stdout).to match(/success/)
   expect(succeeded_hook_file.output).to match(/success/)
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.16/library/network/src/modules/NetworkService.rb 
new/yast2-3.1.17/library/network/src/modules/NetworkService.rb
--- old/yast2-3.1.16/library/network/src/modules/NetworkService.rb  
2014-01-22 12:26:53.0 +0100
+++ new/yast2-3.1.17/library/network/src/modules/NetworkService.rb  
2014-01-30 16:11:59.0 +0100
@@ -130,19 +130,19 @@
 # @return true  when the network is managed by an external tool, 
 #   like NetworkManager, false otherwise
 def network_manager?
-  cached_name == :network_manager
+  cached_service?(:network_manager)
 end
 
 alias_method :is_network_manager, :network_manager?
 
 def netconfig?
-  cached_name == :netconfig
+  cached_service?(:netconfig)
 end
 
 alias_method :is_netconfig, :netconfig?
 
 def wicked?
-  cached_name == :wicked
+  cached_service?(:wicked)
 end
 
 alias_method :is_wicked, :wicked?
@@ -178,8 +178,16 @@
 @current_name = :network_manager
   when "wicked"
 @current_name = :wicked
+  else
+if Mode.installation || Mode.config
+  Builtins.y2milestone("Running in installer, use default: wicked")
+  @current_name = :wicked
+else
+  Builtins.y2error("Cannot determine used network service.")
+  raise "Cannot detect used network service"
+end
 end
-  
+
 @cached_name = @current_name
 
 Builtins.y2milestone("Current backend: #{@current_name}")
@@ -3

commit yast2 for openSUSE:Factory

2014-01-24 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-01-24 21:42:47

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-01-23 
15:58:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-01-24 
21:42:49.0 +0100
@@ -1,0 +2,15 @@
+Tue Jan 21 14:57:14 UTC 2014 - jreidin...@suse.com
+
+- remove from wizard icons for title as proposed by Ken
+  (fate#314695)
+- 3.1.16
+
+---
+Tue Jan 21 08:26:38 UTC 2014 - mfi...@suse.com
+
+- fate#316768
+  - use wicked tools for network service restart / reload when 
+running in installation mode
+- 3.1.15
+
+---

Old:

  yast2-3.1.14.tar.bz2

New:

  yast2-3.1.16.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.2ILJC4/_old  2014-01-24 21:42:50.0 +0100
+++ /var/tmp/diff_new_pack.2ILJC4/_new  2014-01-24 21:42:50.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.14
+Version:3.1.16
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.14.tar.bz2 -> yast2-3.1.16.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.14/library/control/src/modules/ProductFeatures.rb 
new/yast2-3.1.16/library/control/src/modules/ProductFeatures.rb
--- old/yast2-3.1.14/library/control/src/modules/ProductFeatures.rb 
2014-01-14 11:06:31.0 +0100
+++ new/yast2-3.1.16/library/control/src/modules/ProductFeatures.rb 
2014-01-22 12:26:53.0 +0100
@@ -2,7 +2,7 @@
 
 # ***
 #
-# Copyright (c) 2002 - 2012 Novell, Inc.
+# Copyright (c) 2002 - 2014 Novell, Inc.
 # All Rights Reserved.
 #
 # This program is free software; you can redistribute it and/or
@@ -206,10 +206,8 @@
 # @return [String] the feature value
 def GetStringFeature(section, feature)
   value = GetFeature(section, feature)
-  if value == nil
-return nil
-  elsif Ops.is_string?(value)
-return Convert.to_string(value)
+  if Ops.is_string?(value)
+return value
   elsif Ops.is_boolean?(value)
 return Convert.to_boolean(value) ? "yes" : "no"
   else
@@ -218,16 +216,16 @@
 end
 
 # Get value of a feature
+# If the feature is missing false is returned. So it is not possible to
+# distingush between a missing value and a false value.
 # @note This is a stable API function
 # @param [String] section string section of the feature
 # @param features string feature name
 # @return [Boolean] the feature value
 def GetBooleanFeature(section, feature)
   value = GetFeature(section, feature)
-  if value == nil
-return nil
-  elsif Ops.is_boolean?(value)
-return Convert.to_boolean(value)
+  if Ops.is_boolean?(value)
+return value
   elsif Ops.is_string?(value) &&
   Builtins.tolower(Convert.to_string(value)) == "yes"
 return true
@@ -243,10 +241,8 @@
 # @return [Fixnum] the feature value
 def GetIntegerFeature(section, feature)
   value = GetFeature(section, feature)
-  if value == nil
-return nil
-  elsif Ops.is_integer?(value)
-return Convert.to_integer(value)
+  if Ops.is_integer?(value)
+return value
   elsif Ops.is_string?(value)
 return Builtins.tointeger(Convert.to_string(value))
   else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.14/library/general/doc/Hooks.md 
new/yast2-3.1.16/library/general/doc/Hooks.md
--- old/yast2-3.1.14/library/general/doc/Hooks.md   2014-01-14 
11:06:31.0 +0100
+++ new/yast2-3.1.16/library/general/doc/Hooks.md   2014-01-22 
12:26:53.0 +0100
@@ -6,9 +6,12 @@
 
 ## What is a hook
 
-Hook is an action which will be triggered at some predefined checkpoint during
-some workflow. The action includes searching for files located in a specific 
-directory matching some patterns and executing them sequentially.
+Hook is an action which will be triggered at some predefined 
[checkpoint](#checkpoints)
+during a running workflow. The action includes: 
+
+* searching for files matching [pre-defined patterns](#file-name-format) in a 
specific 
+  directory 
+* executing those files sequentially.
 
 The results of the scripts do not affect the workflow, failed scr

commit yast2 for openSUSE:Factory

2014-01-23 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-01-17 11:18:35

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-01-13 
17:21:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-01-23 
15:58:58.0 +0100
@@ -1,0 +2,6 @@
+Thu Jan 16 15:56:21 UTC 2014 - jreidin...@suse.com
+
+- make the package owner of /usr/share/YaST2/lib
+- 3.1.14
+
+---

Old:

  yast2-3.1.13.tar.bz2

New:

  yast2-3.1.14.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.AfVuOG/_old  2014-01-23 15:58:59.0 +0100
+++ /var/tmp/diff_new_pack.AfVuOG/_new  2014-01-23 15:58:59.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.13
+Version:3.1.14
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -176,6 +176,7 @@
 mkdir -p "$RPM_BUILD_ROOT"%{yast_ybindir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_ydatadir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_yncludedir}
+mkdir -p "$RPM_BUILD_ROOT"%{yast_libdir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_vardir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_vardir}/hooks
 mkdir -p "$RPM_BUILD_ROOT"%{yast_schemadir}/control/rnc
@@ -206,6 +207,7 @@
 %dir %{yast_ydatadir}
 %dir %{yast_yncludedir}
 %dir %{yast_vardir}
+%dir %{yast_libdir}
 %dir %{yast_schemadir}
 %dir %{yast_schemadir}/control
 %dir %{yast_schemadir}/control/rnc

++ yast2-3.1.13.tar.bz2 -> yast2-3.1.14.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.13/package/yast2.changes 
new/yast2-3.1.14/package/yast2.changes
--- old/yast2-3.1.13/package/yast2.changes  2014-01-09 20:52:45.0 
+0100
+++ new/yast2-3.1.14/package/yast2.changes  2014-01-16 18:17:04.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Thu Jan 16 15:56:21 UTC 2014 - jreidin...@suse.com
+
+- make the package owner of /usr/share/YaST2/lib
+- 3.1.14
+
+---
 Wed Jan  8 13:12:19 CET 2014 - loci...@suse.com
 
 - Upgrade mode in installer is newly set by Linuxrc (bnc#857847)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.13/package/yast2.spec 
new/yast2-3.1.14/package/yast2.spec
--- old/yast2-3.1.13/package/yast2.spec 2014-01-09 20:52:45.0 +0100
+++ new/yast2-3.1.14/package/yast2.spec 2014-01-16 18:17:04.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.13
+Version:3.1.14
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -162,6 +162,7 @@
 mkdir -p "$RPM_BUILD_ROOT"%{yast_ybindir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_ydatadir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_yncludedir}
+mkdir -p "$RPM_BUILD_ROOT"%{yast_libdir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_vardir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_vardir}/hooks
 mkdir -p "$RPM_BUILD_ROOT"%{yast_schemadir}/control/rnc
@@ -193,6 +194,7 @@
 %dir %{yast_ydatadir}
 %dir %{yast_yncludedir}
 %dir %{yast_vardir}
+%dir %{yast_libdir}
 %dir %{yast_schemadir}
 %dir %{yast_schemadir}/control
 %dir %{yast_schemadir}/control/rnc

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2014-01-13 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2014-01-13 17:21:02

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2014-01-09 
17:26:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-01-13 
17:21:03.0 +0100
@@ -1,0 +2,6 @@
+Wed Jan  8 13:12:19 CET 2014 - loci...@suse.com
+
+- Upgrade mode in installer is newly set by Linuxrc (bnc#857847)
+- 3.1.13
+
+---

Old:

  yast2-3.1.12.tar.bz2

New:

  yast2-3.1.13.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.N6NiJE/_old  2014-01-13 17:21:04.0 +0100
+++ /var/tmp/diff_new_pack.N6NiJE/_new  2014-01-13 17:21:04.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.12
+Version:3.1.13
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.12.tar.bz2 -> yast2-3.1.13.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.12/library/general/src/modules/Mode.rb 
new/yast2-3.1.13/library/general/src/modules/Mode.rb
--- old/yast2-3.1.12/library/general/src/modules/Mode.rb2014-01-08 
11:23:15.0 +0100
+++ new/yast2-3.1.13/library/general/src/modules/Mode.rb2014-01-09 
20:52:44.0 +0100
@@ -81,14 +81,19 @@
   # FIXME remove the part below and let it be set in clients
   if @_mode == "installation" &&
   SCR.Read(path(".target.size"), "/etc/install.inf") != -1
+
 autoinst = SCR.Read(path(".etc.install_inf.AutoYaST")) != nil
 @_mode = "autoinstallation" if autoinst
 
 repair = SCR.Read(path(".etc.install_inf.Repair")) != nil
 @_mode = "repair" if repair
+
 # FIXME according to what Linuxrc really writes
 autoupgrade = SCR.Read(path(".etc.install_inf.AutoUpgrade")) != nil
 @_mode = "autoupgrade" if autoupgrade
+
+update = SCR.Read(path(".etc.install_inf.Upgrade")) != nil
+@_mode = "update" if update
   end
 
   nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.12/package/yast2.changes 
new/yast2-3.1.13/package/yast2.changes
--- old/yast2-3.1.12/package/yast2.changes  2014-01-08 11:23:16.0 
+0100
+++ new/yast2-3.1.13/package/yast2.changes  2014-01-09 20:52:45.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Wed Jan  8 13:12:19 CET 2014 - loci...@suse.com
+
+- Upgrade mode in installer is newly set by Linuxrc (bnc#857847)
+- 3.1.13
+
+---
 Fri Dec 20 09:29:58 UTC 2013 - vmora...@suse.com
 
 - Add fail and abort hooks for installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.12/package/yast2.spec 
new/yast2-3.1.13/package/yast2.spec
--- old/yast2-3.1.12/package/yast2.spec 2014-01-08 11:23:16.0 +0100
+++ new/yast2-3.1.13/package/yast2.spec 2014-01-09 20:52:45.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.12
+Version:3.1.13
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2014-01-09 Thread h_root
Hello community,

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

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2013-12-16 
18:11:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-01-09 
17:26:00.0 +0100
@@ -1,0 +2,6 @@
+Fri Dec 20 09:29:58 UTC 2013 - vmora...@suse.com
+
+- Add fail and abort hooks for installation
+- 3.1.12
+
+---

Old:

  yast2-3.1.11.tar.bz2

New:

  yast2-3.1.12.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.WDvLX2/_old  2014-01-09 17:26:01.0 +0100
+++ /var/tmp/diff_new_pack.WDvLX2/_new  2014-01-09 17:26:01.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products 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:3.1.11
+Version:3.1.12
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.11.tar.bz2 -> yast2-3.1.12.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.11/library/control/src/modules/ProductControl.rb 
new/yast2-3.1.12/library/control/src/modules/ProductControl.rb
--- old/yast2-3.1.11/library/control/src/modules/ProductControl.rb  
2013-12-16 10:32:15.0 +0100
+++ new/yast2-3.1.12/library/control/src/modules/ProductControl.rb  
2014-01-08 11:23:15.0 +0100
@@ -1388,9 +1388,12 @@
 
 Hooks.run("before_#{step_name}")
 
-result = Convert.to_symbol(
-  WFM.CallFunction(getClientName(step_name, step_execute), args)
-)
+result = WFM.CallFunction(getClientName(step_name, step_execute), args)
+
+# this code will be triggered before the red pop window appears on the 
user's screen
+Hooks.run('installation_failure') if result == false
+
+result = Convert.to_symbol(result)
 
 Hooks.run("after_#{step_name}")
 
@@ -1514,6 +1517,7 @@
 elsif result == :abort
   # handling when user aborts the workflow (FATE #300422, bnc #406401, 
bnc #247552)
   final_result = result
+  Hooks.run('installation_aborted')
 
   break
 elsif result == :finish
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.11/package/yast2.changes 
new/yast2-3.1.12/package/yast2.changes
--- old/yast2-3.1.11/package/yast2.changes  2013-12-16 10:32:15.0 
+0100
+++ new/yast2-3.1.12/package/yast2.changes  2014-01-08 11:23:16.0 
+0100
@@ -1,4 +1,10 @@
 ---
+Fri Dec 20 09:29:58 UTC 2013 - vmora...@suse.com
+
+- Add fail and abort hooks for installation
+- 3.1.12
+
+---
 Thu Dec 12 13:14:11 UTC 2013 - mfi...@suse.com
 
 - changed API for querying network configuration backend
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.11/package/yast2.spec 
new/yast2-3.1.12/package/yast2.spec
--- old/yast2-3.1.11/package/yast2.spec 2013-12-16 10:32:15.0 +0100
+++ new/yast2-3.1.12/package/yast2.spec 2014-01-08 11:23:16.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.11
+Version:3.1.12
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit yast2 for openSUSE:Factory

2013-12-16 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2013-12-16 16:47:19

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2013-12-13 
12:01:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2013-12-16 
18:11:24.0 +0100
@@ -1,0 +2,6 @@
+Thu Dec 12 13:14:11 UTC 2013 - mfi...@suse.com
+
+- changed API for querying network configuration backend
+- 3.1.11
+
+---

Old:

  yast2-3.1.10.tar.bz2

New:

  yast2-3.1.11.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.DZLDI9/_old  2013-12-16 18:11:24.0 +0100
+++ /var/tmp/diff_new_pack.DZLDI9/_new  2013-12-16 18:11:24.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.10
+Version:3.1.11
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.10.tar.bz2 -> yast2-3.1.11.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.10/library/network/src/modules/NetworkService.rb 
new/yast2-3.1.11/library/network/src/modules/NetworkService.rb
--- old/yast2-3.1.10/library/network/src/modules/NetworkService.rb  
2013-12-12 11:02:33.0 +0100
+++ new/yast2-3.1.11/library/network/src/modules/NetworkService.rb  
2013-12-16 10:32:15.0 +0100
@@ -47,24 +47,38 @@
 
 module Yast
   class NetworkServiceClass < Module
-def main
 
+# @current_name - current network backend identification
+# @cached_name  - the new network backend identification
+
+# network backend identification to service name mapping
+BACKENDS = {
+# 
+  :netconfig=> "network",
+  :network_manager  => "NetworkManager",
+  :wicked   => "wicked"
+}
+
+# network backend identification to its rpm package name mapping
+BACKEND_PKG_NAMES = {
+# 
+  :netconfig=> "sysconfig-network",
+  :network_manager  => "NetworkManager",
+  :wicked   => "wicked"
+}
+
+def main
   Yast.import "Service"
   Yast.import "NetworkConfig"
   Yast.import "Popup"
   Yast.import "Mode"
+  Yast.import "PackageSystem"
 
   textdomain "base"
 
   # if false, read needs to do work
   @initialized = false
 
-  # current network service id name
-  @cur_service_id_name = ""
-
-  # the new network service id name
-  @new_service_id_name = ""
-
   # Path to the systemctl command
   @systemctl = "/bin/systemctl"
 
@@ -89,30 +103,56 @@
 # Whether a network service change were requested
 # @return true when service change were requested
 def Modified
-  ret = false
   Read()
-  ret = true if @new_service_id_name != @cur_service_id_name
-  Builtins.y2debug(
-"NetworkService::Modified(%1, %2) => %3",
-@cur_service_id_name,
-@new_service_id_name,
-ret
-  )
-  ret
+  @cached_name != @current_name
+end
+
+# Checks if given network backend is available in the system
+def backend_available?(backend)
+  PackageSystem.Installed( BACKEND_PKG_NAMES[backend])
+end
+
+alias_method :is_backend_available, :backend_available?
+
+# Checks if configuration is managed by NetworkManager
+#
+# @return true  when the network is managed by an external tool, 
+#   like NetworkManager, false otherwise
+def network_manager?
+  cached_name == :network_manager
+end
+
+alias_method :is_network_manager, :network_manager?
+
+def netconfig?
+  cached_name == :netconfig
+end
+
+alias_method :is_netconfig, :netconfig?
+
+def wicked?
+  cached_name == :wicked
+end
+
+alias_method :is_wicked, :wicked?
+
+def use_network_manager
+  Read()
+  @cached_name = :network_manager
+
+  nil
 end
 
-# Whether use NetworkManager or ifup
-# @return true when the network is managed, false when
-# the /etc/init.d/network script is in use.
-def IsManaged
+def use_netconfig
   Read()
-  @new_service_id_name != "network"
+  @cached_name = :netconfig
+
+  nil
 end
 
-# @param [Boolean] m whether networkmanager will be used
-def SetManaged(m)
+def use_wicked
   Read()
-  @new_service_id_name = m ? "NetworkManager" : "network"
+  @cached_name = :wicked
 
   nil
 end
@@ -120,27 +160,24 @@
 # Initialize module data
 def Read
   if !@initial

commit yast2 for openSUSE:Factory

2013-12-13 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2013-12-13 12:01:29

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2013-12-05 
07:18:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2013-12-13 
12:01:30.0 +0100
@@ -1,0 +2,14 @@
+Tue Dec 10 11:40:46 UTC 2013 - mfi...@suse.com
+
+- bnc#851769
+  - fixed reading bridge configuration
+  - thanks to Waldemar Spitz 
+- 3.1.10
+
+---
+Tue Dec 10 08:37:31 UTC 2013 - vmora...@suse.com
+
+- add hook file #output method
+- 3.1.9
+
+---

Old:

  yast2-3.1.8.tar.bz2

New:

  yast2-3.1.10.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.r5WGWt/_old  2013-12-13 12:01:30.0 +0100
+++ /var/tmp/diff_new_pack.r5WGWt/_new  2013-12-13 12:01:30.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.8
+Version:3.1.10
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -27,7 +27,7 @@
 
 BuildRequires:  perl-XML-Writer
 BuildRequires:  update-desktop-files
-BuildRequires:  yast2-devtools >= 3.0.6
+BuildRequires:  yast2-devtools >= 3.1.10
 BuildRequires:  yast2-perl-bindings
 BuildRequires:  yast2-testsuite
 # Needed already in build time

++ yast2-3.1.8.tar.bz2 -> yast2-3.1.10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.8/VERSION new/yast2-3.1.10/VERSION
--- old/yast2-3.1.8/VERSION 2013-12-04 14:36:46.0 +0100
+++ new/yast2-3.1.10/VERSION1970-01-01 01:00:00.0 +0100
@@ -1 +0,0 @@
-3.1.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.8/library/general/doc/Hooks.md 
new/yast2-3.1.10/library/general/doc/Hooks.md
--- old/yast2-3.1.8/library/general/doc/Hooks.md2013-12-04 
14:36:46.0 +0100
+++ new/yast2-3.1.10/library/general/doc/Hooks.md   2013-12-12 
11:02:33.0 +0100
@@ -1,2 +1,114 @@
-# Detailed manual about hooks for users and customers about how to use hooks
-and what they are
+# Hooks
+
+Hooks is the recommended way of executing custom scripts in the context of
+some pre-defined workflow, e.g. installation or update process.
+
+
+## What is a hook
+
+Hook is an action which will be triggered at some predefined checkpoint during
+some workflow. The action includes searching for files located in a specific 
+directory matching some patterns and executing them sequentially.
+
+The results of the scripts do not affect the workflow, failed script are 
registered
+and logged as well as the succeeded ones. The author of the hook scripts should
+however keep in mind that he should not make any changes to the underlying 
system
+that could negatively impact the parent workflow.
+
+
+## What is not a hook
+
+Hook is not a system extension (an add-on), but a workflow extension. A hook 
may be
+a part of an add-on product, but should not contain logic and code intended for
+the add-on.
+
+
+## Requirements
+
+A hook file must meet following requirements:
+
+* it must be an executable file with all its dependencies satisfied
+* it must follow the hook [file naming convention](#file-name-format)
+* it must be an [idempotent script](#script-idempotence) that can be executed 
multiple times
+* it must not be interactive
+* it must be located in the [hook search path](#search-path)
+* the code within the script must not access the X session
+
+
+### File name format
+
+The hook script file name consists of 3 parts.
+
+The first part of the file name is derived from the events significant for the 
+running workflow, e.g. `installation_start`, `after_setup_dhcp`
+
+The second part of the file name contains two integers setting up the sequence 
in
+which the scripts will be executed in case you have multiple scripts for a 
single hook.
+
+The third part of the file name may be arbitrarily chosen to fit the needs of 
+the user or admin.
+
+ Example
+
+* `installation_start_00_do_some_things.rb`
+* `after_setup_dhcp_00_ping_remote_server.sh`
+
+
+### Script idempotence
+
+The author of a script code must expect the hook to be executed multiple times
+during the workflow for various reasons, e.g. the UI may allow the user to go 
back
+and forth in a wizard, or abort the process and start again. 
+
+
+### Search path
+
+Search path is the the workflow specific directory where the hook scripts are 
expected
+to be sto

commit yast2 for openSUSE:Factory

2013-12-04 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2013-12-05 07:18:21

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2013-12-03 
16:57:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2013-12-05 
07:18:22.0 +0100
@@ -1,0 +2,8 @@
+Wed Dec  4 12:39:02 UTC 2013 - jreidin...@suse.com
+
+- deprecate yast --install, --upgrade and --remove and use zypper
+  instead. Suggest using zypper directly from command line.
+  (FATE#316458)
+- 3.1.8
+
+---

Old:

  yast2-3.1.7.tar.bz2

New:

  yast2-3.1.8.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.PRH76q/_old  2013-12-05 07:18:23.0 +0100
+++ /var/tmp/diff_new_pack.PRH76q/_new  2013-12-05 07:18:23.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.7
+Version:3.1.8
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.7.tar.bz2 -> yast2-3.1.8.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.7/VERSION new/yast2-3.1.8/VERSION
--- old/yast2-3.1.7/VERSION 2013-12-03 14:37:01.0 +0100
+++ new/yast2-3.1.8/VERSION 2013-12-04 14:36:46.0 +0100
@@ -1 +1 @@
-3.1.7
+3.1.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.7/package/yast2.changes 
new/yast2-3.1.8/package/yast2.changes
--- old/yast2-3.1.7/package/yast2.changes   2013-12-03 14:37:02.0 
+0100
+++ new/yast2-3.1.8/package/yast2.changes   2013-12-04 14:36:46.0 
+0100
@@ -1,4 +1,12 @@
 ---
+Wed Dec  4 12:39:02 UTC 2013 - jreidin...@suse.com
+
+- deprecate yast --install, --upgrade and --remove and use zypper
+  instead. Suggest using zypper directly from command line.
+  (FATE#316458)
+- 3.1.8
+
+---
 Tue Dec  3 13:34:50 UTC 2013 - vmora...@suse.com
 
 - Update hooks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.7/package/yast2.spec 
new/yast2-3.1.8/package/yast2.spec
--- old/yast2-3.1.7/package/yast2.spec  2013-12-03 14:37:02.0 +0100
+++ new/yast2-3.1.8/package/yast2.spec  2013-12-04 14:36:46.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.7
+Version:3.1.8
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.7/scripts/yast2 
new/yast2-3.1.8/scripts/yast2
--- old/yast2-3.1.7/scripts/yast2   2013-12-03 14:37:02.0 +0100
+++ new/yast2-3.1.8/scripts/yast2   2013-12-04 14:36:46.0 +0100
@@ -201,9 +201,9 @@
-h|--help) if test "$2" = '--' -a -n "$3" ; then 
CMDLINE_HELP="help" ; else printhelp && exit 0 ; fi ; shift ;;
-l|--list) listmodules; exit 0 ;;
-g|--geometry) Y2_GEOMETRY="-geometry $2"; shift 2; ;;
-   -i|--install) Y2_INSTALL_PACKAGES=true; shift ;;
-   --update) Y2_INSTALL_PACKAGES=true; Y2_INSTALL_ACTION=--update; 
shift ;;
-   --remove) Y2_INSTALL_PACKAGES=true; Y2_INSTALL_ACTION=--remove; 
shift ;;
+   -i|--install) Y2_INSTALL_PACKAGES=true; 
Y2_INSTALL_ACTION=install; shift ;;
+   --update) Y2_INSTALL_PACKAGES=true; Y2_INSTALL_ACTION=update; 
shift ;;
+   --remove) Y2_INSTALL_PACKAGES=true; Y2_INSTALL_ACTION=remove; 
shift ;;
 --fullscreen) Y2UI_ARGS="$Y2UI_ARGS --fullscreen"; shift ;;
--noborder)   Y2UI_ARGS="$Y2UI_ARGS --noborder"  ; shift ;;
--kcontrol)   Y2UI_ARGS="$Y2UI_ARGS --kcontrol_id YaST" ; shift 
;;
@@ -218,11 +218,25 @@
esac
 done
 
+# deprecated, drop after SLE12
 if [ "$Y2_INSTALL_PACKAGES" = "true" ]; then
-   export module=sw_single
-   # #222757
-   # prepend an additional argument if necessary
-   set -- $Y2_INSTALL_ACTION "$@"
+if [ $# -eq 0 ]; then
+echo "DEPRECATED. Use sw_single directly: $0 sw_single" >&2
+export module="sw_single"
+else
+# support passing text files with packages
+# any ycp file support is dropped
+if [[ -f "$1" && ! "$1" == *rpm ]] ; then
+  cmd="zypper --non-interactive $Y2_INSTALL_ACTION \`cat \"$1\"\`"
+else
+  cm

commit yast2 for openSUSE:Factory

2013-12-03 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2013-12-03 16:57:27

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2013-11-28 
16:53:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2013-12-03 
16:57:28.0 +0100
@@ -1,0 +2,6 @@
+Tue Dec  3 13:34:50 UTC 2013 - vmora...@suse.com
+
+- Update hooks
+- 3.1.7
+
+---

Old:

  yast2-3.1.6.tar.bz2

New:

  yast2-3.1.7.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.J5n5Ym/_old  2013-12-03 16:57:29.0 +0100
+++ /var/tmp/diff_new_pack.J5n5Ym/_new  2013-12-03 16:57:29.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.6
+Version:3.1.7
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.6.tar.bz2 -> yast2-3.1.7.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.6/VERSION new/yast2-3.1.7/VERSION
--- old/yast2-3.1.6/VERSION 2013-11-28 13:57:35.0 +0100
+++ new/yast2-3.1.7/VERSION 2013-12-03 14:37:01.0 +0100
@@ -1 +1 @@
-3.1.6
+3.1.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.6/library/control/src/modules/ProductControl.rb 
new/yast2-3.1.7/library/control/src/modules/ProductControl.rb
--- old/yast2-3.1.6/library/control/src/modules/ProductControl.rb   
2013-11-28 13:57:35.0 +0100
+++ new/yast2-3.1.7/library/control/src/modules/ProductControl.rb   
2013-12-03 14:37:01.0 +0100
@@ -129,8 +129,6 @@
 
   @lastDisabledModules = deep_copy(@DisabledModules)
 
-  @installation_hooks = []
-
   ProductControl()
 end
 
@@ -1388,17 +1386,13 @@
   end
 end
 
-before_hook_name = "before_#{step_name}"
-before_hook = Hooks.run(before_hook_name)
-@installation_hooks << before_hook
+Hooks.run("before_#{step_name}")
 
 result = Convert.to_symbol(
   WFM.CallFunction(getClientName(step_name, step_execute), args)
 )
 
-after_hook_name = "after_#{step_name}"
-after_hook = Hooks.run(after_hook_name)
-@installation_hooks << after_hook
+Hooks.run("after_#{step_name}")
 
 Builtins.y2milestone("Calling %1 returned %2", argterm, result)
 
@@ -1550,17 +1544,6 @@
 former_result = result
   end
 
-  failed_hooks = @installation_hooks.select {|hook| hook.failed? }
-  if !failed_hooks.empty?
-Report.Error _("#{failed_hooks.size} installation hooks have failed: " 
+
-  "#{failed_hooks.map {|h| h.name}.join(', ')}")
-#TODO
-# show some structured widget for the user to see:
-# * all run hooks
-# * all succeeded hooks
-# * all failed hooks with the error output
-  end
-
   final_result = :abort if former_result == :abort
 
   Builtins.y2milestone(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.6/library/general/src/modules/Hooks.rb 
new/yast2-3.1.7/library/general/src/modules/Hooks.rb
--- old/yast2-3.1.6/library/general/src/modules/Hooks.rb2013-11-28 
13:57:35.0 +0100
+++ new/yast2-3.1.7/library/general/src/modules/Hooks.rb2013-12-03 
14:37:01.0 +0100
@@ -61,6 +61,8 @@
 
 attr_reader :hooks, :last, :search_path
 
+private :hooks
+
 def initialize
   textdomain 'base'
   @hooks = {}
@@ -81,7 +83,7 @@
 end
 
 def all
-  hooks
+  hooks.values
 end
 
 def exists? hook_name
@@ -160,6 +162,10 @@
 files.each &:execute
   end
 
+  def used?
+!files.empty?
+  end
+
   def results
 files.map &:result
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.6/library/general/test/hooks_test.rb 
new/yast2-3.1.7/library/general/test/hooks_test.rb
--- old/yast2-3.1.6/library/general/test/hooks_test.rb  2013-11-28 
13:57:35.0 +0100
+++ new/yast2-3.1.7/library/general/test/hooks_test.rb  2013-12-03 
14:37:01.0 +0100
@@ -13,7 +13,7 @@
 
   describe Hooks do
 before do
-  Hooks.all.clear
+  Hooks.send(:hooks).clear
   Hooks.search_path.set(TEST_HOOK_SEARCH_PATH)
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.6/package/yast2.changes 
new/yast2-3.1.7

commit yast2 for openSUSE:Factory

2013-11-28 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2013-11-28 16:53:52

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2013-11-25 
16:04:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2013-11-28 
16:53:54.0 +0100
@@ -1,0 +2,6 @@
+Thu Nov 28 12:42:12 UTC 2013 - vmora...@suse.com
+
+- Add hook into installation workflow
+- 3.1.6
+
+---

Old:

  yast2-3.1.5.tar.bz2

New:

  yast2-3.1.6.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.7VrK2i/_old  2013-11-28 16:53:55.0 +0100
+++ /var/tmp/diff_new_pack.7VrK2i/_new  2013-11-28 16:53:55.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.5
+Version:3.1.6
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -177,6 +177,7 @@
 mkdir -p "$RPM_BUILD_ROOT"%{yast_ydatadir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_yncludedir}
 mkdir -p "$RPM_BUILD_ROOT"%{yast_vardir}
+mkdir -p "$RPM_BUILD_ROOT"%{yast_vardir}/hooks
 mkdir -p "$RPM_BUILD_ROOT"%{yast_schemadir}/control/rnc
 mkdir -p "$RPM_BUILD_ROOT"%{yast_schemadir}/autoyast/rnc
 mkdir -p "$RPM_BUILD_ROOT"/etc/YaST2
@@ -211,6 +212,7 @@
 %dir %{yast_schemadir}/autoyast
 %dir %{yast_schemadir}/autoyast/rnc
 %dir %{_sysconfdir}/YaST2
+%dir %{yast_vardir}/hooks
 
 # yast2
 
@@ -228,6 +230,7 @@
 %doc %dir %{yast_docdir}
 %doc %{yast_docdir}/COPYING
 %doc %{_mandir}/*/*
+%doc %{yast_vardir}/hooks/README.md
 
 /sbin/*
 %{_sbindir}/*
@@ -266,5 +269,6 @@
 %doc %{yast_docdir}/types
 %doc %{yast_docdir}/wizard
 %doc %{yast_docdir}/xml
+%doc %{yast_docdir}/general
 
 %changelog

++ yast2-3.1.5.tar.bz2 -> yast2-3.1.6.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.5/VERSION new/yast2-3.1.6/VERSION
--- old/yast2-3.1.5/VERSION 2013-11-25 14:17:12.0 +0100
+++ new/yast2-3.1.6/VERSION 2013-11-28 13:57:35.0 +0100
@@ -1 +1 @@
-3.1.5
+3.1.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.5/library/control/src/modules/ProductControl.rb 
new/yast2-3.1.6/library/control/src/modules/ProductControl.rb
--- old/yast2-3.1.5/library/control/src/modules/ProductControl.rb   
2013-11-25 14:17:12.0 +0100
+++ new/yast2-3.1.6/library/control/src/modules/ProductControl.rb   
2013-11-28 13:57:35.0 +0100
@@ -50,6 +50,7 @@
   Yast.import "Popup"
   Yast.import "FileUtils"
   Yast.import "Installation"
+  Yast.import "Hooks"
 
   # The complete parsed control file
   @productControl = {}
@@ -88,19 +89,12 @@
   # The control file we are using for this session.
   @current_control_file = nil
 
-
   # Current Wizard Step
   @CurrentWizardStep = ""
 
-
   # Last recently used stage_mode for RetranslateWizardSteps
   @last_stage_mode = []
 
-
-  # -->
-
-  # Currently only local variables, they have their own API
-
   # List of module to disable in the current run
   @DisabledModules = []
 
@@ -109,8 +103,6 @@
 
   @DisabledSubProposals = {}
 
-  # <--
-
   # Log files for hooks
   @logfiles = []
 
@@ -118,19 +110,16 @@
 
   @restarting_step = nil
 
-
-
-
   @_client_prefix = "inst_"
 
   @stack = []
 
-
   @first_id = ""
 
   @current_step = 0
 
   @localDisabledProposals = []
+
   @localDisabledModules = []
 
   @already_disabled_workflows = []
@@ -139,6 +128,9 @@
   @force_UpdateWizardSteps = false
 
   @lastDisabledModules = deep_copy(@DisabledModules)
+
+  @installation_hooks = []
+
   ProductControl()
 end
 
@@ -1396,9 +1388,18 @@
   end
 end
 
+before_hook_name = "before_#{step_name}"
+before_hook = Hooks.run(before_hook_name)
+@installation_hooks << before_hook
+
 result = Convert.to_symbol(
   WFM.CallFunction(getClientName(step_name, step_execute), args)
 )
+
+after_hook_name = "after_#{step_name}"
+after_hook = Hooks.run(after_hook_name)
+@installation_hooks << after_hook
+
 Builtins.y2milestone("Calling %1 returned %2", argterm, result)
 
 # bnc #369846
@@ -1548,6 +1549,18 @@
 end
 former_result = result
   end
+
+  failed_hooks = @installation_hooks.select {|hook| hook.failed? }
+  if !failed_hooks.empty?
+Report.Error _("#{failed_hooks.size} installation hooks have failed: " 
+
+

commit yast2 for openSUSE:Factory

2013-11-25 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2013-11-25 16:04:29

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2013-11-22 
07:29:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2013-11-25 
16:04:30.0 +0100
@@ -1,0 +2,9 @@
+Mon Nov 25 11:48:21 UTC 2013 - jreidin...@suse.com
+
+- Make sure the system ruby is used (BNC#845897)
+  ( thanks to Marc Schütz )
+- Add hooks module (FATE#315992) (vmoravec)
+- Fix rspec run on OS-12.3
+- 3.1.5
+
+---

Old:

  yast2-3.1.4.tar.bz2

New:

  yast2-3.1.5.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.y8XNRu/_old  2013-11-25 16:04:31.0 +0100
+++ /var/tmp/diff_new_pack.y8XNRu/_new  2013-11-25 16:04:31.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.4
+Version:3.1.5
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ yast2-3.1.4.tar.bz2 -> yast2-3.1.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.4/VERSION new/yast2-3.1.5/VERSION
--- old/yast2-3.1.4/VERSION 2013-11-21 15:12:02.0 +0100
+++ new/yast2-3.1.5/VERSION 2013-11-25 14:17:12.0 +0100
@@ -1 +1 @@
-3.1.4
+3.1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.4/library/control/src/Makefile.am 
new/yast2-3.1.5/library/control/src/Makefile.am
--- old/yast2-3.1.4/library/control/src/Makefile.am 2013-11-21 
15:12:02.0 +0100
+++ new/yast2-3.1.5/library/control/src/Makefile.am 2013-11-25 
14:17:12.0 +0100
@@ -5,7 +5,7 @@
   modules/InstExtensionImage.rb \
   modules/AutoinstData.rb \
   modules/GetInstArgs.rb \
-  modules/Hooks.rb \
+  modules/DebugHooks.rb \
   modules/InstError.rb \
   modules/ProductControl.rb \
   modules/ProductFeatures.rb \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.1.4/library/control/src/modules/DebugHooks.rb 
new/yast2-3.1.5/library/control/src/modules/DebugHooks.rb
--- old/yast2-3.1.4/library/control/src/modules/DebugHooks.rb   1970-01-01 
01:00:00.0 +0100
+++ new/yast2-3.1.5/library/control/src/modules/DebugHooks.rb   2013-11-25 
14:17:12.0 +0100
@@ -0,0 +1,167 @@
+# encoding: utf-8
+
+# ***
+#
+# Copyright (c) 2002 - 2012 Novell, Inc.
+# 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 Novell, Inc.
+#
+# To contact Novell about this file by physical or electronic mail,
+# you may find current contact information at www.novell.com
+#
+# ***
+# File:modules/DebugHooks.rb
+# Package: yast2
+# Summary: Provide debug hooks during installation
+# Authors: Klaus Kaempf 
+#
+# $Id$
+require "yast"
+
+module Yast
+  class DebugHooksClass < Module
+def main
+
+  Yast.import "Popup"
+  Yast.import "Directory"
+
+  @tmp_dir = Convert.to_string(WFM.Read(path(".local.tmpdir"), []))
+  @log_dir = Directory.logdir
+
+  # script types, ycp does not make  sense, it can be added directly
+  # to the workflow.
+  @supported_types = ["sh", "pl"]
+end
+
+# called whenever an inst_*.ycp file is called during
+# installation.
+# checks if /tmp/ exists and pops up a "Entry: "
+# or "Exit: " box
+#
+# @param [String] filename == name of .ycp file
+# @param [Boolean] at_entry == true before call of file == false after 
call of file
+# @return [void]
+
+def Checkpoint(filename, at_entry)
+  if Ops.greater_or_equal(
+  WFM.Read(path(".local.size"), Ops.add("/tmp/", filename)),
+  0
+)
+if at_entry
+  Popup.Message(Builtins.sformat("Entry: %1", filename))
+else
+  Popup.Message(Builtins.sformat("Exit: %1", filena

commit yast2 for openSUSE:Factory

2013-11-07 Thread h_root
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2013-11-07 09:15:05

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


Package is "yast2"

Changes:

--- /work/SRC/openSUSE:Factory/yast2/yast2.changes  2013-10-25 
11:37:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2013-11-07 
09:15:07.0 +0100
@@ -1,0 +2,22 @@
+Mon Nov  4 16:56:18 CET 2013 - loci...@suse.com
+
+- Removed obsolete clients: password, remotechooser, remoteinstall
+  (gh#yast/yast-yast2#100)
+
+---
+Fri Nov  1 14:54:16 CET 2013 - loci...@suse.com
+
+- Removed checking for a fallback control file, that file is always
+  outdated and cannot work for all products
+  (gh#yast/yast-installation#86)
+- 3.1.3
+
+---
+Thu Oct 31 21:50:05 CET 2013 - loci...@suse.com
+
+- Configuration of Kernel modules loaded on boot has been moved
+  to /etc/modules-load.d/*.conf files. Adapted Kernel library
+  internal handling (bnc#838185).
+- 3.1.2
+
+---

Old:

  yast2-3.1.2.tar.bz2

New:

  yast2-3.1.3.tar.bz2



Other differences:
--
++ yast2.spec ++
--- /var/tmp/diff_new_pack.fculeO/_old  2013-11-07 09:15:08.0 +0100
+++ /var/tmp/diff_new_pack.fculeO/_new  2013-11-07 09:15:08.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   yast2
-Version:3.1.2
+Version:3.1.3
 Release:0
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -36,6 +36,7 @@
 BuildRequires:  yast2-ycp-ui-bindings >= 2.18.4
 
 # Needed for tests
+BuildRequires:  grep
 BuildRequires:  rubygem-rspec
 
 # for symlinking yardoc duplicates

++ yast2-3.1.2.tar.bz2 -> yast2-3.1.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.2/.yardopts new/yast2-3.1.3/.yardopts
--- old/yast2-3.1.2/.yardopts   1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.3/.yardopts   2013-11-04 18:12:02.0 +0100
@@ -0,0 +1 @@
+--no-private --markup markdown --protected library/*/src/**/*.rb --readme 
README.md --output-dir ./doc/autodocs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.1.2/CONTRIBUTING.md 
new/yast2-3.1.3/CONTRIBUTING.md
--- old/yast2-3.1.2/CONTRIBUTING.md 1970-01-01 01:00:00.0 +0100
+++ new/yast2-3.1.3/CONTRIBUTING.md 2013-11-04 18:12:02.0 +0100
@@ -0,0 +1,87 @@
+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 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.novell.com/enter_bug.cgi?format=guided&product=openSUSE+Factory&component=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.)
+
+If you find a problem, please report it either using
+[Bugzilla](https://bugzilla.novell.com/) or GitHub issues. We can't guarantee
+that every bug will be fixed, but we'll try.
+
+When creating a bug report, please follow our [bug reporting
+guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug).
+
+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. Make sure your change didn't break anything by building the RPM package
+ (`rake osc:build`). The build process includes running the full testsuite.
+
+  5. Publish the branch and create a pull request.
+
+  6. YaST developers will review your change and possibly point out iss

<    1   2   3   >