[PATCH] feat(rpc): return "providers" packages when querying by `name` or `name-desc`
eschwartz at archlinux.org
Wed Mar 21 00:56:34 UTC 2018
On 03/20/2018 08:47 PM, 尤立宇 wrote:
> I vote for a new search type "providers".
> For my use case, I'd appreciate if I can get precise information from the RPC,
> instead of parsing the aurweb html or crawling the entire AUR.
> I prefer having a bulk query here so I can keep the request count low.
So, like, return all the provides results in one search result, then do
another RPC search for multiinfo on all those packages to see exact
details on the pkgbase, provides, etc?
>> pacman -Ss will show them, pacman -S will install them, so the web
>> interfaces arguably should do the same.
> Actually I just found it confusing that:
> pacman -Ss 'gcc>7' shows nothing, yet
> pacman -S 'gcc>7' will do the right stuff
> I'd argue that pacman should provide a search providers. But at least
> it has alpm_find_satisifier.
That's because the >7 is a version specifier, not a search term. On top
of which that is for the main package and has nothing to do with provides.
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the aur-dev