Bug 281792

Summary: yast2 add-on-creator doesn't work correctly in command line mode
Product: [openSUSE] openSUSE 10.3 Reporter: Ladislav Slezák <lslezak>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 4plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: propo
patch for both cases

Description Ladislav Slezák 2007-06-07 09:36:36 UTC
yast2 add-on-creator help' displays a popup dialog when inst-source-utils package is not installed. The problem is that the package is installed before CommandLine::Run() call.
Comment 1 Ladislav Slezák 2007-06-07 09:38:56 UTC
Created attachment 144696 [details]
propo

This an incomplete patch, guihandler needs to be adapted too...
Comment 2 Jiří Suchomel 2007-06-07 10:54:14 UTC
Now (add-on-creator called from command line) the call PackageSystem::CheckAndInstallPackagesInteractive is not really interactive and the package is installed automatically. Is it the intention or a bug?
Comment 3 Jiří Suchomel 2007-06-07 11:03:56 UTC
Created attachment 144740 [details]
patch for both cases
Comment 4 Ladislav Slezák 2007-06-07 11:07:03 UTC
To comment #2: It's intended. User is asked only in interactive mode, in non-interactive mode "yes" answer is used. If you think it's wrong open a bug for it...
Comment 5 Jiří Suchomel 2007-06-07 11:19:48 UTC
fixed in 2.15.11