Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2022-01-08 23:23:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and      /work/SRC/openSUSE:Factory/.yast2.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2"

Sat Jan  8 23:23:11 2022 rev:523 rq:944906 version:4.4.34

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2/yast2.changes      2021-12-26 
13:30:23.202954387 +0100
+++ /work/SRC/openSUSE:Factory/.yast2.new.1892/yast2.changes    2022-01-08 
23:23:27.410223690 +0100
@@ -1,0 +2,14 @@
+Fri Jan  7 14:41:15 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Fixed test failure in Ruby 2.5, caused by the fix for Ruby 3.0
+  (related to bsc#1193192)
+- 4.4.34
+
+-------------------------------------------------------------------
+Fri Jan  7 08:32:21 UTC 2022 - Knut Anderssen <kanders...@suse.com>
+
+- Y2Packager::Resolvable: added none? method in order to not crash
+  in case of rubocop automatic change (bsc#1194387)
+- 4.4.33
+
+-------------------------------------------------------------------

Old:
----
  yast2-4.4.32.tar.bz2

New:
----
  yast2-4.4.34.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.yFpccX/_old  2022-01-08 23:23:28.138224284 +0100
+++ /var/tmp/diff_new_pack.yFpccX/_new  2022-01-08 23:23:28.142224287 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           yast2
-Version:        4.4.32
+Version:        4.4.34
 Release:        0
 
 Summary:        YaST2 Main Package

++++++ yast2-4.4.32.tar.bz2 -> yast2-4.4.34.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.4.32/library/cwm/src/lib/cwm/dialog.rb 
new/yast2-4.4.34/library/cwm/src/lib/cwm/dialog.rb
--- old/yast2-4.4.32/library/cwm/src/lib/cwm/dialog.rb  2021-12-25 
17:57:25.000000000 +0100
+++ new/yast2-4.4.34/library/cwm/src/lib/cwm/dialog.rb  2022-01-07 
17:26:30.000000000 +0100
@@ -26,6 +26,10 @@
     # @return [CWM::WidgetTerm]
     abstract_method :contents
 
+    # Constructor (empty to just allow passing extra options)
+    def initialize(*args, **kws)
+    end
+
     # A shortcut for `.new(*args).run`
     def self.run(*args, **kws)
       new(*args, **kws).run
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.4.32/library/cwm/src/lib/cwm/popup.rb 
new/yast2-4.4.34/library/cwm/src/lib/cwm/popup.rb
--- old/yast2-4.4.32/library/cwm/src/lib/cwm/popup.rb   2021-12-25 
17:57:25.000000000 +0100
+++ new/yast2-4.4.34/library/cwm/src/lib/cwm/popup.rb   2022-01-07 
17:26:30.000000000 +0100
@@ -26,6 +26,11 @@
   # This class offers a CWM dialog which behaves as a pop-up.
   # @see {CWM::Dialog} for remaining configuration options.
   class Popup < Dialog
+    # Constructor (empty to just allow passing extra options)
+    def initialize(*args, **kws)
+      super
+    end
+
     # Determines that a dialog should always be open
     #
     # @return [true]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.4.32/library/general/test/ui/installation/layout_test.rb 
new/yast2-4.4.34/library/general/test/ui/installation/layout_test.rb
--- old/yast2-4.4.32/library/general/test/ui/installation/layout_test.rb        
2021-12-25 17:57:25.000000000 +0100
+++ new/yast2-4.4.34/library/general/test/ui/installation/layout_test.rb        
2022-01-07 17:26:30.000000000 +0100
@@ -24,6 +24,12 @@
 require "ui/wizards/layout"
 
 describe UI::Wizards::Layout do
+  before do
+    # ProductFeatures read the defaults from the system when running
+    # in an installed system
+    allow(Yast::Stage).to receive(:normal).and_return(false)
+  end
+
   describe ".with_steps" do
     it "creates a layout with steps sidebar" do
       layout = described_class.with_steps
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.4.32/library/packages/src/lib/y2packager/resolvable.rb 
new/yast2-4.4.34/library/packages/src/lib/y2packager/resolvable.rb
--- old/yast2-4.4.32/library/packages/src/lib/y2packager/resolvable.rb  
2021-12-25 17:57:25.000000000 +0100
+++ new/yast2-4.4.34/library/packages/src/lib/y2packager/resolvable.rb  
2022-01-07 17:26:30.000000000 +0100
@@ -81,6 +81,15 @@
       Yast::Pkg.AnyResolvable(params)
     end
 
+    # Return true when there is no resolvable matching the requested 
parameters or false
+    # otherwise.
+    #
+    # @param params [Hash<Symbol,Object>] The requested attributes
+    # @return [Boolean] `true` if no matching resolvable is found, `false` 
otherwise.
+    def self.none?(params)
+      !any?(params)
+    end
+
     #
     # Constructor, initialize the object from a pkg-bindings resolvable hash.
     #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-4.4.32/library/packages/test/y2packager/resolvable_test.rb 
new/yast2-4.4.34/library/packages/test/y2packager/resolvable_test.rb
--- old/yast2-4.4.32/library/packages/test/y2packager/resolvable_test.rb        
2021-12-25 17:57:25.000000000 +0100
+++ new/yast2-4.4.34/library/packages/test/y2packager/resolvable_test.rb        
2022-01-07 17:26:30.000000000 +0100
@@ -141,6 +141,25 @@
     end
   end
 
+  describe ".none?" do
+    it "returns true if no package is found" do
+      expect(Y2Packager::Resolvable.none?(kind: :package, name: "not 
existing")).to be true
+    end
+
+    it "returns true if no product is found" do
+      expect(Y2Packager::Resolvable.none?(kind: :product, name: 
"openSUSE")).to be true
+    end
+
+    it "returns false if a package with name is found" do
+      # use some noarch package here, the testing data covers only the x86_64 
arch
+      expect(Y2Packager::Resolvable.none?(kind: :package, name: 
"yast2-add-on")).to be false
+    end
+
+    it "returns false if a package is found" do
+      expect(Y2Packager::Resolvable.none?(kind: :package)).to be false
+    end
+  end
+
   describe "#vendor" do
     it "lazy loads the missing attributes" do
       # use some noarch package here, the testing data covers only the x86_64 
arch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.4.32/package/yast2.changes 
new/yast2-4.4.34/package/yast2.changes
--- old/yast2-4.4.32/package/yast2.changes      2021-12-25 17:57:25.000000000 
+0100
+++ new/yast2-4.4.34/package/yast2.changes      2022-01-07 17:26:30.000000000 
+0100
@@ -1,4 +1,18 @@
 -------------------------------------------------------------------
+Fri Jan  7 14:41:15 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Fixed test failure in Ruby 2.5, caused by the fix for Ruby 3.0
+  (related to bsc#1193192)
+- 4.4.34
+
+-------------------------------------------------------------------
+Fri Jan  7 08:32:21 UTC 2022 - Knut Anderssen <kanders...@suse.com>
+
+- Y2Packager::Resolvable: added none? method in order to not crash
+  in case of rubocop automatic change (bsc#1194387)
+- 4.4.33
+
+-------------------------------------------------------------------
 Thu Dec 23 18:08:19 UTC 2021 - Josef Reidinger <jreidin...@suse.com>
 
 - properly pass named arguments in ruby3 (bsc#1193192)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-4.4.32/package/yast2.spec 
new/yast2-4.4.34/package/yast2.spec
--- old/yast2-4.4.32/package/yast2.spec 2021-12-25 17:57:25.000000000 +0100
+++ new/yast2-4.4.34/package/yast2.spec 2022-01-07 17:26:30.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2
-Version:        4.4.32
+Version:        4.4.34
 
 Release:        0
 Summary:        YaST2 Main Package

Reply via email to