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.
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

- Please report bugs related to Arch Linux official packages here: http://bugs.archlinux.org/index.php?project=1
- Please report bugs for [community] packages here: http://bugs.archlinux.org/index.php?project=5
- For any packages in the AUR contact the maintainer or leave a comment on the package's detail page.

Source Code:
https://projects.archlinux.org/aurweb.git/
Tasklist

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

Details

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.

Example:
curl 'https://aur.archlinux.org/rpc/?v=5&type=search&search_by=maintainer&arg='
{"version":5,"type":"error","resultcount":0,"results":[],"error":"Too many package results."}

[1] https://aur.archlinux.org/rpc/
This task depends upon

Loading...