[aur-dev] [PATCH 0/3] Several additions to the RPC interface
This adds a lot of information (dependencies etc.) to RPC replies. Note that there will probably be a follow-up series that adds backwards compatibility, making it possible to request the old format via http://aur.archlinux.org/rpc.php?v=1&type=info&arg=yaourt Lukas Fleischer (3): Fix the RPC interface Add more fields to RPC info replies Add a version tag to RPC replies web/lib/aurjson.class.php | 82 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 71 insertions(+), 11 deletions(-) -- 1.9.2
* Fix the SQL query to conform to the new database layout.
* Remove the license field from replies. The license field is now stored
in a separate table and no longer returned on search queries.
* Add a "PackageBase" field that contains the name of the package base
of every package in the result.
* Fix the source tarball URL. The URL is now built based on the package
base name instead of the package name.
Signed-off-by: Lukas Fleischer
This patch adds the following fields to info and multiinfo replies:
* Depends
* MakeDepends
* CheckDepends
* OptDepends
* Conflicts
* Provides
* Replaces
* Groups
* License
Each of these fields is an array.
Note that since collecting all these fields is CPU-intensive, they are
not included in replies to search queries.
Signed-off-by: Lukas Fleischer
This is needed for clients to quickly differentiate between different
versions of the RPC API. The version number should be bumped whenever
there is a change that breaks backwards compatibility.
Signed-off-by: Lukas Fleischer
participants (1)
-
Lukas Fleischer