packagekit/python
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
..
packagekit Adds a boolean flag recursive to the GetDepends and GetRequires method. 2007-11-07 18:47:11 +00:00
.gitignore Add python API, and convert pkt to using it 2007-09-08 20:04:47 +02:00
enum-convertor.py Add enums builder for python 2007-11-06 21:25:05 +01:00
Makefile.am Add enums builder for python 2007-11-06 21:25:05 +01:00
pk-frontend-test.py Update python interface to new API 2007-11-06 16:18:16 +01:00