AUR web interface

**This is the bug tracker for the AUR web interface.**

Use this tracker to report bugs or make feature requests regarding the behaviour or implementation of the AUR software.
Please read the Reporting Bug Guidelines before filing a new task.

- Please report bugs related to Arch Linux official packages here:
- Please report bugs for [community] packages here:
- For any packages in the AUR contact the maintainer or leave a comment on the package's detail page.

Source Code:

FS#62388 - Impossible to search for orphans via the RPC

Attached to Project: AUR web interface
Opened by morganamilo (morganamilo) - Thursday, 18 April 2019, 14:44 GMT
Task Type Bug Report
Category Backend
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.7.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


The RPC has a limit of 5000 packages per search request. This is fine for user searches as you can simply blame the user for being too vague and they should narrow down their search.

The RPC also allows listing orphan packages (documented at [1]) and the above limitation seems to apply. There are now over 5000 orphan packages in the AUR so this feature is unusable. And with no workarounds such as paging the output or narrowing the output to a subset of orphans there is nothing the user can do.

curl ''
{"version":5,"type":"error","resultcount":0,"results":[],"error":"Too many package results."}

This task depends upon

Comment by Kevin Morris (kevr) - Friday, 03 July 2020, 20:37 GMT
If folks are interested in making this work...

I propose limiting each result array to 5000 as they are now, but allowing you to page through them. That is, if >5000 results are returned, `next_page` is included with 5000 results, and next_page can then be queried to continue the search results. a `next_page` of null would signal that nothing remains.