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.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2014-01-09 17:26:00.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Dec 20 09:29:58 UTC 2013 - [email protected] + +- 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.000000000 +0100 +++ /var/tmp/diff_new_pack.WDvLX2/_new 2014-01-09 17:26:01.000000000 +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.000000000 +0100 +++ new/yast2-3.1.12/library/control/src/modules/ProductControl.rb 2014-01-08 11:23:15.000000000 +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.000000000 +0100 +++ new/yast2-3.1.12/package/yast2.changes 2014-01-08 11:23:16.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Dec 20 09:29:58 UTC 2013 - [email protected] + +- Add fail and abort hooks for installation +- 3.1.12 + +------------------------------------------------------------------- Thu Dec 12 13:14:11 UTC 2013 - [email protected] - 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.000000000 +0100 +++ new/yast2-3.1.12/package/yast2.spec 2014-01-08 11:23:16.000000000 +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: [email protected] For additional commands, e-mail: [email protected]
