Jeremy Katz wrote:
On Fri, 2007-07-27 at 12:43 +0200, dragoran wrote:
  
Richard Hughes wrote:
    
I've blogged about package management in Fedora (and how it sucks in
other distros too) and also discussed abstract per-system package
management over DBUS interfaces.

I would appreciate feedback on
http://hughsient.livejournal.com/31429.html 
      
"Do we have to make the API asynchronous?"
YES!!!
the best way to fix the progressbar hangs is multithreading.
let the gui draw its stuff, while a background thread does the real work.
yumex afaik works this way.
    

Unfortunately, introducing threading into an environment (rpm + sqlite)
which wasn't designed with threading in mind is a recipe for lots of ...
interesting problems.

Jeremy

  
Yes, running yum actions in a background tread was a world of pain, so i have reversed the process and running the yum actions in the foreground and having a background thread refresh the gui.

Tim