On 03/ 9/10 10:12 AM, Matt Keenan wrote: > Usage of the pkg API would definitely improve performance, however it's > an interface that is somewhat unstable, I know the packagemanager UI > guys have to constantly rework stuff because of interface breakage.
"constantly rework stuff" is not a representative characterisation. Most of the reworking that the GUI team has had to do has been related to how the packagemanager is structured and used; actual changes to the API itself have not been as drastic as that wording would imply. There have only been three major changes to the pkg.client.api in roughly eight months: license acceptance, image locking, addition of package listing interfaces. The pkg.client.api is versioned, and all changes that impact consumers of the pkg.client.api are documented in doc/client_api_versions.txt in the gate. The pkg.client.api is what AI should be using; there are significant benefits to do so, and I believe the interface should be stable enough at this point that significant rework efforts will not be required. Cheers, -- Shawn Walker