[PATCH] add rpc v6: support multiple _by_ fields

Lukas Fleischer lfleischer at archlinux.org
Sat Jun 9 10:37:14 UTC 2018


On Fri, 01 Jun 2018 at 05:24:16, 尤立宇 wrote:
> Hi, this is a WIP patch following up the one at March:
> [PATCH] feat(rpc): return "providers" packages when querying by `name`
> or `name-desc`
> (I failed to make git-send-email to reply to the thread)
> 
> The goal is to allow tools to use the RPC to resolve dependencies reliably,
> by introducing a new version of the RPC (v6):
> 1. Support querying by the provides field
> 2. Support querying with multiple _by_, for example, by[]=name&by[]=provides
> 
> The design pretty much follows the one discussed (in the thread
> mentioned above) previously,
> I can bring up more context if needed.
> Here's a draft document of how it works:
> https://github.com/afg984/aurweb/wiki/aurweb-RPC-Interface-(v6-draft)

The draft looks good to me.

I only had a quick look at the implementation and did not spot any
obvious problems, apart from some whitespace issues. Will have a more
detailed look later.

Thanks for working on this!

Regards,
Lukas


More information about the aur-dev mailing list