AUR web interface

Tasklist

FS#9277 - Enhanced search in AUR (useful for scripting, for instance)

Attached to Project: AUR web interface
Opened by Stefan Bergström (Bebo) - Sunday, 20 January 2008, 20:35 GMT
Last edited by Loui Chang (louipc) - Friday, 06 February 2009, 20:37 GMT
Task Type Feature Request
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 1.2.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm using a selfmade script to keep track of the packages that I have built and installed from the AUR. It's a bit similar to yaourt, but not as involved. One of the functions in the script is to check whether my installed AUR packages are up to date. This check basically consists of a loop which uses curl to make one search on the AUR search page per package. I believe all scripts that have similar functions do it like this as well (looping and searching one package per iteration, that is; I did only check yaourt, but how else could it be done?).

Now, to the FR; it would greatly speed up the scripts, and also reduce the load on the AUR web server (and likely the db server) if the search "engine" allowed for searching multiple packages at once, e.g. one could input "bfr dstat e-uae" in the search form to make it search for these three packages in one go. (To make it a bit better one could allow for combining search keywords with AND and OR and such.)

Furthermore, a way for making "exact" matching would be a good thing. That way, I could tell my script to query the AUR for the three packages which _exactly_ match "bfr OR dstat OR e-uae", thus getting out the exact information I needed for judging whether the packages installed on my system were up to date.

This task depends upon

Closed by  Loui Chang (louipc)
Friday, 06 February 2009, 20:37 GMT
Reason for closing:  Won't implement
Additional comments about closing:  The Json RPC provides enough for you to work with. If you need more advanced search, implement it in your client to filter the results returned. If you have a -specific- feature request it may be considered.
Comment by Stefan Bergström (Bebo) - Wednesday, 30 July 2008, 23:54 GMT
I don't believe the rpc implementation support these features. It allows for making a search with ONE keyword, just like the AUR web page form. Also it does not have an "exact match" feature. Furthermore, the search method does not give you the version of the packages in the result. The info method does not help either, since you can only search for one package.

Loading...