FS#59520 - RPC type=info does not show descriptions for optional dependencies
Attached to Project:
AUR web interface
Opened by Tinu Weber (ayekat) - Friday, 03 August 2018, 15:34 GMT
Opened by Tinu Weber (ayekat) - Friday, 03 August 2018, 15:34 GMT
|
Details
For example, querying polybar with
curl -g 'https://aur.archlinux.org/rpc?v=5&type=info&arg[]=polybar' results in the following: {"version":5,"type":"multiinfo","resultcount":1,"results":[{"ID":530335,"Name":"polybar","PackageBaseID":117192,"PackageBase":"polybar","Version":"3.2.1-1","Description":"A fast and easy-to-use status bar","URL":"https:\/\/github.com\/jaagr\/polybar","NumVotes":111,"Popularity":8.165605,"OutOfDate":null,"Maintainer":"jaagr","FirstSubmitted":1479532194,"LastModified":1532934462,"URLPath":"\/cgit\/aur.git\/snapshot\/polybar.tar.gz","Depends":["cairo","xcb-util-image","xcb-util-wm","xcb-util-xrm","xcb-util-cursor"],"MakeDepends":["cmake","git","python","python2","pkg-config"],"OptDepends":["alsa-lib","pulseaudio","libmpdclient","libnl","wireless_tools","jsoncpp","i3-wm","ttf-unifont","siji-git","curl"],"Conflicts":["polybar-git"],"License":["MIT"],"Keywords":["bar","bspwm","i3","lemonbar","lemonbuddy","polybar"]}]} While the polybar PKGBUILD [1] does indeed provide descriptions for the optional dependencies, they do not show up in the `MakeDepends` array in the response. The expected behaviour is that we get all the informations on a package, without the descriptions stripped away. [1] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=polybar |
This task depends upon