Script 'mail_helper' called by ro Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: ro. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2 -> sle12 ## BNC# 886151 : "build 528 yast exception on dist upgrade" (RESOLVED/FIXED) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2/yast2.changes 2014-07-07 12:20:59.000000000 +0200 +++ /mounts/work_src_done/SLE12/yast2/yast2.changes 2014-07-08 16:23:23.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Jul 8 15:49:43 CEST 2014 - locilka@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 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2 - at least 73 other packages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2 (Old) and /mounts/work_src_done/SLE12/yast2 (BS:build ID:40943 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-3.1.83.tar.bz2 New: ---- yast2-3.1.84.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.uSKAn6/_old 2014-07-08 19:28:15.000000000 +0200 +++ /var/tmp/diff_new_pack.uSKAn6/_new 2014-07-08 19:28:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.83 +Version: 3.1.84 Release: 0 URL: https://github.com/yast/yast-yast2 ++++++ yast2-3.1.83.tar.bz2 -> yast2-3.1.84.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.83/library/packages/src/modules/Product.rb new/yast2-3.1.84/library/packages/src/modules/Product.rb --- old/yast2-3.1.83/library/packages/src/modules/Product.rb 2014-07-04 17:51:00.000000000 +0200 +++ new/yast2-3.1.84/library/packages/src/modules/Product.rb 2014-07-08 16:15:38.000000000 +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 <Hash>] with product definitions def FindBaseProducts return unless load_zypp @@ -232,6 +232,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.83/library/packages/test/product_test.rb new/yast2-3.1.84/library/packages/test/product_test.rb --- old/yast2-3.1.83/library/packages/test/product_test.rb 2014-07-04 17:51:00.000000000 +0200 +++ new/yast2-3.1.84/library/packages/test/product_test.rb 2014-07-08 16:15:38.000000000 +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.83/package/yast2.changes new/yast2-3.1.84/package/yast2.changes --- old/yast2-3.1.83/package/yast2.changes 2014-07-04 17:51:00.000000000 +0200 +++ new/yast2-3.1.84/package/yast2.changes 2014-07-08 16:15:38.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 8 15:49:43 CEST 2014 - locilka@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 - lslezak@suse.cz - view_anymsg: remove escape sequences from input log file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-3.1.83/package/yast2.spec new/yast2-3.1.84/package/yast2.spec --- old/yast2-3.1.83/package/yast2.spec 2014-07-04 17:51:00.000000000 +0200 +++ new/yast2-3.1.84/package/yast2.spec 2014-07-08 16:15:38.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version: 3.1.83 +Version: 3.1.84 Release: 0 URL: https://github.com/yast/yast-yast2 continue with "q"... Checked in at Tue Jul 8 19:28:25 CEST 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org