Branch: refs/heads/addon-with-refused-license
Home: https://github.com/yast/yast-registration
Commit: b876eb35cd40c92f2850c33f1b54e73de0a7f208
https://github.com/yast/yast-registration/commit/b876eb35cd40c92f2850c33f1b5...
Author: Martin Vidner
Date: 2020-05-22 (Fri, 22 May 2020)
Changed paths:
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 Back button,
which ends installation of ALL selected addons.