The webrev, http://cr.opensolaris.org/~padraig/ips-9519-v1/ , fixes
9519 Package Manager and Update Manager should not call
misc.get_inventory_list
This webrev contains the following changes:
Package Manager uses the new API get_pkg_list() to get the packages for
a publisher instead of misc.get_inventory_list().
Package Manager uses API info() calls to get the required information
about packages in search results instead of using misc.get_inventory_list().
Package Manager uses get_pkg_list() to determine the categories a
package belongs to.
The two level section/category information displayed in the treeview on
the left hand side is still determined from the file
opensolaris.org.sections.
The code to get package descriptions has been removed as the calls to
get_pkg_list() or info() return the descriptions.
Package Manager no longer caches the package lists. The code to support
this has been removed from packagemanager.py and gui/modules/cache.py.
The only thing we cache now is the search completion data.
Package Manager no longer caches internally the data in the General,
Files and Dependencies tabs.
I have not yet removed this code from packagemanager.py.
Update Manager uses get_pkg_list() to determine which packages to list
instead of misc_get_inventory_list(). It now lists the currently
installed version and not the latest version of a package but the latest
version can be seen in the details tab for the package.
Update Manager no longer caches internally the data in the details tab.
I have not yet removed this code from updatemanager.py.
Padraig
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss