RPC v6 Roadmap
This is a tracking issue for everything related to the planned v6 upgrade to the AUR RPC. Please feel free to discuss and critique any of the goals or plans.
See also #306 .
Goals
-
Continued v5 support. -
Multi-term Search. -
Extended by
terms (provides
etc.). -
Fixing arg
parsing oddities. -
Updating https://aur.archlinux.org/rpc -
Linking to (5) from the landing page.
Multi-term Search
Since an OR
search can be accomplished just as easily with two separate requests, sending multiple search terms should result in an AND
request. So:
arg=foo%20bar
would (by default) find all packages that contain both foo
and bar
in their name-desc
.
by
Terms
Extended Although searching for a package that satisfies a provides
condition is straight-forward with alpm
, it is not entirely possible via the AUR RPC without a combination of luck and brute force (or caching). Downstream tools would very much like to be able to search, in a single step, for all AUR packages that satisfy some X
term in their provides
array.
Of course, we could also extend the logic to support the other fields that currently aren't. Which should we add?
arg
Oddities
Fixing Currently the parsing of arg
vs arg[]
is finicky. (Will add more info as I understand the problem better. Or, @kevr , please feel free to elaborate.)