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.
https://wiki.archlinux.org/title/Bug_reporting_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://gitlab.archlinux.org/archlinux/aurweb/
Tasklist

FS#17583 - JSON: enable multiple arguments for "info" method

Attached to Project: AUR web interface
Opened by Xyne (Xyne) - Wednesday, 23 December 2009, 00:00 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 20 August 2011, 18:18 GMT
Task Type Feature Request
Category Backend
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version 1.6.0
Due in Version 1.9.0
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

In order to get JSON information for multiple packages, you currently have to submit multiple requests, e.g.
...?method=info&arg=this
...?method=info&arg=that
etc

It would be useful if multiple arguments could be submitted simultaneously. The output would then contain an array of results just as "?method=search" currently does. Even if such a query would require more overhead, it would almost certainly be less than the current overhead of establishing multiple connections, multiple independent database queries, multiple results sent back to the client, etc.

A simple space would be used to separate the package names, e.g.
...?method=info&arg=this that
equivalent to
...?method=info&arg=this%20that
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Saturday, 20 August 2011, 18:18 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in 1.9.0.
Comment by Xyne (Xyne) - Thursday, 24 December 2009, 04:28 GMT
Sorry, I forgot to make this a "feature request".
Comment by tuxce (tuxce) - Monday, 01 November 2010, 20:26 GMT
If this ticket is still valid, here is a patch that should work.
Comment by Øyvind Heggstad (Mr.Elendig) - Sunday, 19 December 2010, 17:58 GMT
My personal fealing is that splitting on , would be somewhat saner than on %20. But that's probably just me.
Comment by Lukas Fleischer (lfleischer) - Tuesday, 19 April 2011, 22:26 GMT
  • Field changed: Due in Version (Undecided → 1.9.0)

Loading...