From c1ddea497f0634acc393f15f554553403fbc5943 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 9 Dec 2010 16:21:10 +0000 Subject: [PATCH] Add 'repo:foo' to the specification to be able to return all packages in a certain repository and to list them as categories --- src/org.freedesktop.PackageKit.Transaction.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/org.freedesktop.PackageKit.Transaction.xml b/src/org.freedesktop.PackageKit.Transaction.xml index b879efa32..da08713c1 100644 --- a/src/org.freedesktop.PackageKit.Transaction.xml +++ b/src/org.freedesktop.PackageKit.Transaction.xml @@ -283,6 +283,13 @@ This method typically emits Categories and Error. + + Note: Categories can be returned that represent groups of + packages in a specific repository. + These will have a category prefix of repo: + which should be understood by SearchGroups + if this feature is used. + @@ -1205,6 +1212,14 @@ This is still supported, and backends should continue to support category searches like @web-development. + + If the values strings are prefixed with repo: then + the request is treated as a 'repository search', for example: + repo:fedora-debuginfo. + In this instance all packages that were either installed + from, or can be installed from the fedora-debuginfo + source would be returned. +