[aur-dev] json rpc query patch

Sylvester Johansson syljo361 at gmail.com
Thu May 29 05:47:40 EDT 2008


Here is a patch that adds a query method to the json rpc class.
Instead of having to call rpc.php?type=search&arg=<pkg> and then query the
return again,
the query speeds it up by doing it server side

rpc.php?type=query&arg=<string>&include=<field1>:<field2>:..:<fieldN> where
<fieldN> is
one of the following: ID, Name, Version, Description, URL, URLPath, License,
NumVotes or OutOfDate.

Hopefully it'll be accepted so arson searches will be a bit quicker!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://archlinux.org/pipermail/aur-dev/attachments/20080529/e751fb8a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: json.query.patch.gz
Type: application/x-gzip
Size: 1778 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/aur-dev/attachments/20080529/e751fb8a/attachment.bin>

More information about the aur-dev mailing list