Extending the RPC to include "provides" info

Actionless Loveless actionless.loveless at gmail.com
Thu Mar 8 12:21:00 UTC 2018


Hi Mikael!
Are you already sitting on the patch for that feature?

On Thu, Mar 8, 2018 at 6:24 AM, Mikael Blomstrand <mbloms at kth.se> wrote:

> I'm pretty new to this mailing list. But I'm been thinking the same thing.
> Talked about it in a previous mail. https://lists.archlinux.
> org/pipermail/aur-general/2018-March/034001.html
>
> I think it's a great idea. When searching by name, i think the rpc should
> at least also search by the "replaces" attribute too. Provides would be a
> separate query but it could also be the same.
>
> Cheers,
> Mikael
>
> tors 8 mars 2018 kl. 03:25 skrev Actionless Loveless <
> actionless.loveless at gmail.com>:
>
>> Currently AUR web interface is able to resolve the dependencies in case if
>> the dependendent package is provided by another package (see
>> python2-catkin-pkg in the dependencies list):
>> https://aur.archlinux.org/packages/ros-indigo-catkin/
>>
>> However AUR RPC is not allowing querying by Provides field but only by
>> `name`,
>> `name-desc` and `maintainer` fields:
>> https://aur.archlinux.org/rpc.php
>>
>> The discussion about that problem (https://github.com/
>> actionless/pikaur/issues/53) resulted in at least 3 possible ways to
>> resolve that issue:
>> - adding name-desc-provides filter
>> - adding provides filter
>> - when searching by name match not only Name field but also Provides field
>>
>> Please let me know if you're OK with one of the following approaches or
>> propose another one. And if you fine with the idea let me know if you can
>> implement such filter or I should send a patch.
>> Also related ticket: https://bugs.archlinux.org/task/49090
>>
>>
>> All best, Yauheni Kirylau
>>
>


More information about the aur-dev mailing list