packagekit/backends/test
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 install the helpers in backend specific directories so we don't overwrite them if we have multiply installed targets 2007-09-17 10:44:46 +01:00
.gitignore update gitignore 2007-11-06 22:33:02 +00:00
Makefile.am add a test spawn helper 2007-09-17 10:13:07 +01:00
pk-backend-test-fail.c Adds a boolean flag recursive to the GetDepends and GetRequires method. 2007-11-07 18:47:11 +00:00
pk-backend-test-nop.c Remove backend specific version values 2007-10-30 09:54:09 +02:00
pk-backend-test-spawn.c Remove backend specific version values 2007-10-30 09:54:09 +02:00
pk-backend-test-succeed.c Adds a boolean flag recursive to the GetDepends and GetRequires method. 2007-11-07 18:47:11 +00:00
pk-backend-test-thread.c Remove backend specific version values 2007-10-30 09:54:09 +02:00