[packagekit] How does PK Download Packages?
tim.lauridsen at googlemail.com
Sun Jun 22 03:07:58 PDT 2008
Shishir Goyal wrote:
> I have been trying to implement the service pack functionality for the
> yum backend.
> I am stuck and need to figure out how actually PK downloads packages ?
> Or as to how download_packages(as=packages, s=directory) in
> can use the existing code through which PK downloads the packages?
The attach file should contain the need code to download a list of yum
packages to at specified destdir.
All you need to do, is use the _find_package to find yum package objects
for the package_ids and call the attacted code.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1196 bytes
Desc: not available
More information about the PackageKit