I have respun the webrev, http://cr.opensolaris.org/~padraig/ips-13444-v3/, so that it applies to the gate.

Padraig

On 01/19/10 08:29, Padraig O'Briain wrote:


On 01/18/10 16:34, Shawn Walker wrote:
On 01/18/10 05:55 AM, Padraig O'Briain wrote:
The webrev, http://cr.opensolaris.org/~padraig/ips-13444-v1/, fixes
13444 Image.inventory call in installupdate.py should be removed

The call to img.inventory is replaced by API info call.

get_pkg_list() using LIST_INSTALLED would be faster here if it will work for you.


I tried

res = self.api_o.get_pkg_list(pkg_list = api.Interface.LIST_INSTALLED, patterns = args_f)
count = 0
for entry in res:
       count += 1
if count != len(args_f):
       not_found = True

It worked for me but was significantly slower, 0.26 versus 0.01for the current way.

I have spun another webrev, http://cr.opensolaris.org/~padraig/ips-13444-v2/, to address the issue Michal raised.

Padraig

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

Reply via email to