Extending the RPC to include "provides" info (Was: alad at mailbox.org)

Actionless Loveless actionless.loveless at gmail.com
Thu Mar 8 02:52:34 UTC 2018


Btw do you have docker or some other other kind of container prepopulated
with AUR db so i can test the changes before submitting?

On Thu, Mar 8, 2018 at 3:49 AM, Actionless Loveless <
actionless.loveless at gmail.com> wrote:

> Would you like me to send a patch for that?
>
> RE your PS: i think subject got auto-edited by mail list tool because i've
> put him into CC
>
> On Thu, Mar 8, 2018 at 3:44 AM, Eli Schwartz <eschwartz at archlinux.org>
> wrote:
>
>> On 03/07/2018 09:24 PM, Actionless Loveless wrote:
>> > 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
>>
>> I think I would prefer extending `name` and `name-desc` as we always
>> want to know any package that can be the searched-for name. And it is
>> not like anyone was assuming only one result would be returned... this
>> was never an exact name search to begin with.
>>
>> P.S. The email subject should probably refer to the topic matter, not
>> the email of the person who suggested you post here. :)
>>
>> --
>> Eli Schwartz
>> Bug Wrangler and Trusted User
>>
>>
>


More information about the aur-dev mailing list