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
Last edited by Eli Schwartz (eschwartz) - Monday, 19 March 2018, 17:16 GMT
Opened by Stefan Husmann (stefanhusmann) - Saturday, 14 October 2017, 19:33 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 19 March 2018, 17:16 GMT
|
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
Closed by Eli Schwartz (eschwartz)
Monday, 19 March 2018, 17:16 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#57230
Monday, 19 March 2018, 17:16 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#57230
Comment by Remy Marquis (Spyhawk) -
Sunday, 10 December 2017, 23:09 GMT
Comment by
Eli Schwartz (eschwartz) - Monday,
19 March 2018, 17:16 GMT
This doesn't seem to be a bug: the RPC queries for packages, not
package bases.
FS#57230
explains why this might be desirable in more detail, so closing in
favor of that.