Branch: refs/heads/addon-with-refused-license
Home: https://github.com/yast/yast-registration
Commit: c45c1e7119935c9c91035f96c26605630c8372ba
https://github.com/yast/yast-registration/commit/c45c1e7119935c9c91035f96c26...
Author: Martin Vidner
Date: 2020-05-20 (Wed, 20 May 2020)
Changed paths:
M src/lib/registration/clients/inst_scc.rb
M src/lib/registration/ui/addon_eula_dialog.rb
M test/registration/ui/addon_eula_dialog_test.rb
Log Message:
-----------
Declining/refusal of an addon license means canceling all addons. (bsc#1169577)
Without this, an addon is still installed even if its license is declined.
In commit 1c7d041f6b3e71dce6a6f6062f10b1d6f0121754,
PR https://github.com/yast/yast-registration/pull/440 ,
the idea was that we can unselect an addon whose license was declined, and
proceed with installing the remaining addons. But that does not work out with
autoselected addons ( https://github.com/yast/yast-registration/pull/335
https://github.com/yast/yast-registration/pull/338 ) where we take into
account the product dependencies.
The new solution is to interpret a refusal of a license as the Abort button,
which ends installation of ALL selected addons.