modify installPackages method to allow GUI to check status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Update Server |
New
|
Undecided
|
Unassigned |
Bug Description
In order for the GUI's progress bar to have any functionality, it needs to be able to poll to check the status of whether the installation of packages is finished or not. As it is right now, it is simply not possible for the program to start pulsing the progress bar, call installPackages method, and stop the pulsing when the method returns. The reason for that is because Python works sequentially and asynchronously. I even tried to do something with threading, but there was still no way to make the progress bar stop.
This could turn out to be something that requires a very major overhaul in how package installation is implemented. However, this feedback is very important for the user, so this should be a criterion of next release's features. It appears we're not going to be able to get by with just simple SSH commands anymore.