Bug 201453

Summary: No progress for running rug when adding installation source (was: No popup...)
Product: [openSUSE] openSUSE 10.2 Reporter: Stanislav Visnovsky <visnov>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke, jsuchome, lslezak, suse-beta
Version: Alpha 3 plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2logs
screenshot

Description Stanislav Visnovsky 2006-08-24 11:14:26 UTC
I've tried to add a source via YaST module, and after clicking finish, nothing happened. just the log points to rug being run in the background.
Comment 1 Stanislav Visnovsky 2006-08-24 11:15:13 UTC
Created attachment 97025 [details]
y2logs
Comment 2 Jiří Suchomel 2006-09-05 11:10:04 UTC
Since the rug part takes almost all time of writing inst_source, I propose to add only "Synchronizing with ZMD..." popup (and not full write progress).
Comment 3 Stanislav Visnovsky 2006-09-05 11:12:46 UTC
With as much information as possible. Progressbar would be nice, including a textual information which source is being synchronized right now, etc.
Comment 4 Jiří Suchomel 2006-09-05 11:13:19 UTC
Created attachment 97872 [details]
screenshot
Comment 5 Jiří Suchomel 2006-09-05 11:29:13 UTC
> With as much information as possible. Progressbar would be nice, including a
> textual information which source is being synchronized right now, etc.

That doesn't look that easy, since inst_source (part of yast2-packager) uses SourceManager::SyncAddedAndDeleted (from yast2-installation) to do the task and only this function (resp. AddOrDeleteZYPPServiceIntoZMD) knows current progress state. But these functions are used also from other places and I don't know if it is safe to generate progress informations there.

What if SyncAddedAndDeleted (or AddOrDeleteZYPPServiceIntoZMD) checks if Progress::status () is true and prints the progress info only in that case? Is that safe - I mean, are those functions sometimes used when Progress is on? Martin, could you help please? 

Other question would be why SourceManager is part of yast2-installation and if we can move it to yast2-packager after solution of bug #203551.
Comment 6 Martin Vidner 2006-10-23 15:15:33 UTC
So far I have added a simple popup "Synchronizing with ZENworks. [Abort]" to inst_source. It is in yast2-packager-2.13.156, both for 10.2 and SLE10 SP1.

TODO: detailed progress. Lowering severity.
Comment 7 Martin Vidner 2007-01-18 15:57:35 UTC
*** Bug 236242 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Jaeger 2007-08-11 14:14:28 UTC
We will not fix this anymore since rug has been removed for 10.3.