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#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
Task Type Bug Report
Category Backend
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.7.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

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

Loading...