Bug 298879

Summary: opensuseupdater-kde shows config dialog on startup
Product: [openSUSE] openSUSE 10.3 Reporter: Stephan Binner <stbinner>
Component: YaST2Assignee: Thomas Göttlicher <tgoettlicher>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stephan Binner 2007-08-09 15:13:05 UTC
opensuseupdater-kde shows the config dialog on application startup if no opensuseupdaterrc file exists (which is the case for every newly created user).
Comment 1 Thomas Göttlicher 2007-08-10 12:44:39 UTC
We can use default values for
- check interval 
- recurring notification 
- auto startup
- show upgrades
That is easy.

But we don't have a default value for the backend right now.
At the moment opensuseupdater searches for available backend plugins and lets the user decide which one he wants to use.
Should we hard code "zypp_backend" as default backend?
What to do if "zypp_backend" is not available?
Comment 2 Stephan Binner 2007-08-10 13:04:31 UTC
What other backends than ZYpp are available? On Alpha 7 and Beta 1 I have only seen medias with the ZYpp backend so far. :-)

If there is only one backend installed/available you have no choice anyway -> no config dialog. If there are two available it might be an option to show the dialog but I guess a product will never install two of them by default.
Comment 3 Stanislav Visnovsky 2007-08-14 07:59:41 UTC
Please, put there some logic to handle the backends.

zypp_backend has to be default.
If it does not exist and there is only 1 other backend, use that one.
If there is more than one backend, show the configuration dialog.
If there is no backend, show an error message.
Comment 4 Thomas Göttlicher 2007-08-15 09:45:31 UTC
This is fixed in svn r6657.
Comment 5 Thomas Göttlicher 2007-08-15 14:26:50 UTC
Submitted to stable.