[aur-dev] pkgbase queries via RPC interface

Dave Reisner d at falconindy.com
Thu Aug 14 08:45:34 EDT 2014


On Aug 14, 2014 8:41 AM, "Xyne" <xyne at archlinux.ca> wrote:
>
> On 2014-08-13 16:12 -0400
> Dave Reisner wrote:
>
> >On Wed, Aug 13, 2014 at 12:28:10PM -0700, Colin Woodbury wrote:
> >> (A)
> >>
> >> Although, I thought `info` lookups had been converted to return Arrays
as
> >> well.
> >
> >This is only true of RPCv3:
> >
> >https://bugs.archlinux.org/task/40963
>
> Incidentally, shouldn't the optdepends be returned as an object?
> E.g.
>
> {"foolib":"support for foo", "bar":"pub functionality"}

Why? makepkg requires that optdeps are well formed. Splitting them in the
response here seems like an arbitrary decision. Why not also then split
depends, in case they're versioned? What about the pkgver and pkgrel (which
are combined)?


More information about the aur-dev mailing list