FS#54906 - Ability to query by pkgver
Attached to Project:
AUR web interface
Opened by Alad Wenter (Alad) - Saturday, 22 July 2017, 10:04 GMT
Last edited by Lukas Fleischer (lfleischer) - Tuesday, 21 April 2020, 16:04 GMT
Opened by Alad Wenter (Alad) - Saturday, 22 July 2017, 10:04 GMT
Last edited by Lukas Fleischer (lfleischer) - Tuesday, 21 April 2020, 16:04 GMT
|
Details
With 4.4.0, it is not possible to search for packages with a
version requirement, either via the web interface or RPC:
[archie@vbox bin]$ curl -g 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=dpkg%3E1.8.17' {"version":5,"type":"multiinfo","resultcount":0,"results":[]} [archie@vbox bin]$ curl -g 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=dpkg' {"version":5,"type":"multiinfo","resultcount":1,"results":[{"ID":368734,"Name":"dpkg","PackageBaseID":16974,"PackageBase":"dpkg","Version":"1.18.18-2","Description":"The Debian Package Manager. Don't use it instead of Arch's 'pacman'.","URL":"https:\/\/tracker.debian.org\/pkg\/dpkg","NumVotes":427,"Popularity":5.13854,"OutOfDate":1490611868,"Maintainer":"Alad","FirstSubmitted":1236808300,"LastModified":1482928754,"URLPath":"\/cgit\/aur.git\/snapshot\/dpkg.tar.gz","Depends":["xz","zlib","bzip2","perl"],"MakeDepends":["perl-io-string","perl-timedate","git"],"CheckDepends":["perl-io-string","perl-test-pod"],"License":["GPL"],"Keywords":[]}]} This would be useful e.g. to easily check if versioned dependencies in PKGBUILDs can be provided by the AUR. For example: https://aur.archlinux.org/packages/gazebo/ See also: https://github.com/falconindy/auracle/issues/3 https://github.com/AladW/aurutils/issues/10 https://bbs.archlinux.org/viewtopic.php?pid=1688551#p1688551 |
This task depends upon