Bugzilla – Bug 1202705
Extension selection can't be changed during install
Last modified: 2022-10-17 13:02:57 UTC
Created attachment 861031 [details]
screenshot: select extensions
In the context of #1202702, I hit "back" a few times to remove an extension but it's apparently not possible to change selection once the system is registered. I'll attach a screenshot to illustrate.
I'd expect to be able to either change the setting or a meaningful note that explains the options.
@Lada: is it bug or feature? Can it somehow be influenced e.g. by the account properties used for registration.
There are basically two problems:
1. The suseconnect-ng API does not expose the functionality for deregistering
an add-on or the complete system to YaST.
Jacek, would that be possible? I guess it should not be difficult and
we already had some requests for this...
2. How to visually indicate that the add-on will be deregistered.
Currently there is only a simple on/off check box. We would need a new
state for that like we have in the package manager, the to be deleted
packages have a special icon for that.
Re #1, if the logic would be the same as `SUSEConnect -d [-p <product]` then it should not be a problem to expose this to YaST. Please create an issue on https://github.com/SUSE/connect-ng and propose some API (i.e. how you want to call this).
Could you define such API suitable for yast needs? We can then clearly define trello pbi.
Created API proposal at https://github.com/SUSE/connect-ng/issues/148
See the API proposal linked from comment#5. Once the issue is solved we can implement it on the YaST side. Putting you into needinfo until then.
Proposed implementation in suseconnect-ng: https://github.com/SUSE/connect-ng/pull/153
@Ladislav: how do you plan to handle this wrt the old (ruby) SUSEConnect? Will you only expect this new API in new version?
see comment#7 thanks
(Oops, sorry I overlooked this.)
The proposal looks good.
I'd expect the API only in the new package for future SLE15-SP5, no need for backporting to SP4.