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#55992 - RPC interface behaves inconsistant for split packages

Attached to Project: AUR web interface
Opened by Stefan Husmann (stefanhusmann) - Saturday, 14 October 2017, 19:33 GMT
Task Type Bug Report
Category Backend
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.4.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

running

curl -sg "https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=handbrake-git"

gives

{"version":5,"type":"multiinfo","resultcount":0,"results":[]}

whereas

curl -sg "https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=linux-rt-headers"{

gives

"version":5,"type":"multiinfo","resultcount":1,"results":[{"ID":449437,"Name":"linux-rt-headers","PackageBaseID":51360,"PackageBase":"linux-rt","Version":"4.11.12_rt14-1","Description":"Header files and scripts for building modules for Linux-rt kernel","URL":"https:\/\/www.kernel.org\/","NumVotes":143,"Popularity":0.301812,"OutOfDate":null,"Maintainer":"jhernberg","FirstSubmitted":1312920233,"LastModified":1507282616,"URLPath":"\/cgit\/aur.git\/snapshot\/linux-rt.tar.gz","MakeDepends":["xmlto","docbook-xsl","kmod","inetutils","bc","libelf"],"License":["GPL2"],"Keywords":[]}]}

I think this is due to the difference that linux-rt is included in the pkgname-array and handbrake-git is not.
This task depends upon

Comment by Remy Marquis (Spyhawk) - Sunday, 10 December 2017, 23:09 GMT
This doesn't seem to be a bug: the RPC queries for packages, not package bases.

Loading...