[aur-dev] rpc versions?

Lukas Fleischer lfleischer at archlinux.org
Sat Jan 30 11:35:53 UTC 2016


On Sat, 30 Jan 2016 at 12:28:42, Xyne wrote:
> On 2016-01-30 12:08 +0100
> Lukas Fleischer wrote:
> 
> >The current version is documented at [1]. For all changes, you can check
> >the output of `git log web/lib/aurjson.class.php` in the aurweb Git
> >repository.
> >
> >[1] https://projects.archlinux.org/aurweb.git/plain/doc/rpc.txt
> 
> Thanks for the link. It would be very helpful if it were added to the page
> along with an indication of what the current version is. Incidentally, that
> document uses v=5 but that returns an invalid version error. Perhaps a link to
> the current release would be best.
> 

This is the AsciiDoc source code for the documentation on /rpc/. So it
will replace the current document when 4.2.0 will be released (soon).
Version 5 is the most recent version in the master branch. It will be
available on aur.archlinux.org in a couple of days.

> I have also just noticed that the results returned for type=search do not
> include all of the information returned by an "info" query, regardless of the
> version number. Can that be changed or parameterized? Without that information
> additional info queries are necessary.

Actually, only one more info query is required. I even wonder whether a
search query should only return the package names by default? Making the
amount of returned details configurable might also be a good idea...

Regards,
Lukas


More information about the aur-dev mailing list