packagekit/backends/box
Richard Hughes d638c6a527 Adds a boolean flag recursive to the GetDepends and GetRequires method.
>From the description in the developer documentation:

GetRequires:
If recursive is true: This means if gnome-power-manager depends on
NetworkManager and NetworkManager depends on HAL, then GetRequires on
HAL should return both gnome-power-manager and NetworkManager.

GetDepends:
If recursive is true: This means if gnome-power-manager depends on
NetworkManager and NetworkManager depends on HAL, then GetDepends on
gnome-power-manager should return both HAL and NetworkManager.

Why does this belong in the backends? Well, I tried doing this with lots
of recursive calls to GetRequires(package_id) and for gimp it took a
long time, when in yum took a few seconds. The backend doesn't have to
do all this IPC, and so can do it much quicker.

If your backend can't do a recursive GetDepends or GetRequires, just
ignore the flag; anything is better than nothing.
2007-11-07 18:47:11 +00:00
..
helpers fix the tarball building 2007-11-04 09:24:42 +00:00
.gitignore move the helpers in prep for the backend dlopen change (you can now edit the helpers once again...) 2007-09-06 00:20:18 +01:00
Makefile.am make task allocation work once again 2007-09-06 21:03:13 +01:00
pk-backend-box.c Adds a boolean flag recursive to the GetDepends and GetRequires method. 2007-11-07 18:47:11 +00:00