23 Feb
2018
23 Feb
'18
5:57 a.m.
On Wed, 31 Jan 2018 at 20:54:14, Baptiste Jonglez wrote:
From: Baptiste Jonglez <git@bitsofnetworks.org>
It is now possible to search for packages that depend on a given package, for instance:
/rpc/?v=5&type=search&by=depends&arg=ocaml
It is similarly possible to match on "makedepends", "checkdepends" and "optdepends".
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org> ---
v2: - use a subquery instead of a conditional JOIN, to simplify the code - avoid hard-coding the new list of allowed fields deep inside the code
doc/rpc.txt | 8 +++++++- web/lib/aurjson.class.php | 21 +++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) [...]
Looks good now. Merged to pu, thanks!