Shawn,
Isn't the addition of the ProgressTracker methods that raise a
NotImplementedError an incompatible change to the API? A program that
extended ProgressTracker previously and worked without having an
exception raised will now have an exception raised when these methods
are called unless they do what you had to do in installupdate.py
(implement empty methods).
Thanks.
Tom
Shawn Walker wrote:
Greetings,
The following webrev contains fixes for the following issues:
7900 set-publisher and unset-publisher need to show progress
8214 load_catalogs should only load catalog data when needed
8326 fancy progress tracker output wrong if cache load fails during
catalog refresh
8327 catalog cache load and generation progress tracking desired
webrev:
http://cr.opensolaris.org/~swalker/pkg-8214/
These changes are primarily to enhance the performance of the GUI and
provide more feedback to the user during the set-publisher and
unset-publisher operations. These changes also provide more feedback
to the user for longer running operations such as install,
image-update, and uninstall by providing the user with progress on
catalog and catalog cache loads or generation.
This changeset, overall, is primarily of benefit to GUI clients or
those that retain the same api object (and thus image object) for
multiple operations. This will result in a substantial speedup for
multiple calls to functions like ImageInterface.info() and others...
Change Summary:
* Changed set-publisher and unset-publisher to not use quiet progress
tracking so that long running operations such as catalog refresh,
catalog cache rebuild, etc. will be visible.
* Fixed disabling of an already disabled publisher to be nearly
instantaneous (by not pointlessly rebuilding the catalog cache)
* Added progress tracking for catalog cache load and catalog cache
generation.
* Fixed output of progress tracker for catalog loads and refreshes
when the catalog cache is missing.
* Fixed public and private client apis to properly load catalog data
when appropriate.
* Fixed client image api to only load catalog data when needed.
* Fixed consistency of publisher objects during a failed add or remove
which could cause catalog caching problems.
* Bumped API version to 14 (still compatible with clients since
version 12)
* Made several image catalog data and related functions private.
Cheers,
begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;SWI Install/Update Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[email protected]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss