Folks - there's been plenty of discussion on the ProgressSupport changes we need for the IPS GUI as part of an IPS Client API.

We have hacked the IPS GUI to get it working with the current IPS, http://cr.opensolaris.org/~migi/working_ips_gui_30_jul/ <http://cr.opensolaris.org/%7Emigi/working_ips_gui_30_jul/>

but want to put in place an API so we can avoid the need for these hacks in the future. This involves changes to ProgressTracker, adding Cancel Support and an API for clients to use. We also need standardization on Exceptions as they form part of the API interface boundary for clients and an agreed logging mechanism so clients can override how the API logs errors, warnings and so on.

Progress Tracking:

Summary:

1. Provide a patch which exercises the new proposed ProgressTracking functionality in the IPS GUI. This can now be done as we have a working IPS GUI.

2. Provide Progress by Filename. There has been some discussion about this. We would propose feeding back to the ProgressTracker a FileList for each hash that is being downloaded and then its up to the client to decide how to display these multiple files for the single download object.

3. Provide Progress for a given File by chunk size.
Currently we can only get information on the amount of data that's been downloaded after each file has finished its download. For a large file this does not allow us to give useful progress, such as we'd see in Synaptic's download dialog in Ubuntu or Firefox. Applications such as Firefox and Synaptic provide file based progress and if the network goes down they will stop progressing but that is entirely expected and is behavior a user is used to on the desktop.

The user should be given progress as each file is being downloaded, to some agreed chunk size. We have no idea how to do this. Could we combine this with the cancel support that has been discussed by Danek and others?

The existing webrev is here, http://cr.opensolaris.org/~migi/ips_progress_changes/ <http://cr.opensolaris.org/%7Emigi/ips_progress_changes/> but now that we have a working IPS GUI we'll post another webrev which exercises the ProgressTracker changes using the fixed IPS GUI.

JR & Michal

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to