Extending the RPC to include "provides" info
Hi Mikael! Are you already sitting on the patch for that feature? On Thu, Mar 8, 2018 at 6:24 AM, Mikael Blomstrand <mbloms@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@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
Hi everyone, On 08.03.2018 13:21, Actionless Loveless wrote:
[some nested quotes that are totally confusing and unnecessary]
Please do NOT start new threads when replying and please reply under the quoted text. Also remove any quoted text that is not required to understand your reply. For more details about a good mailing list posting style read this: https://mailman.archlinux.org/pipermail/arch-general/2014-August/036950.html Thanks, Florian
No, I haven't had time to look at it. I'm a bit busy for the near future. tors 8 mars 2018 kl. 13:21 skrev Actionless Loveless < actionless.loveless@gmail.com>:
Hi Mikael! Are you already sitting on the patch for that feature?
On Thu, Mar 8, 2018 at 6:24 AM, Mikael Blomstrand <mbloms@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@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
Ok, in that case i'll prepare a patch to match Provides field when querying by name and name-desc during this week. On Thu, Mar 8, 2018 at 4:14 PM, Mikael Blomstrand <mbloms@kth.se> wrote:
No, I haven't had time to look at it. I'm a bit busy for the near future.
Sounds good! I think it's something that's going to be appreciated by many! Looking at the "replaces" field might also be a good idea, if that's not too hard to include. Cheers, Mikael tors 8 mars 2018 kl. 17:51 skrev Actionless Loveless < actionless.loveless@gmail.com>:
Ok, in that case i'll prepare a patch to match Provides field when querying by name and name-desc during this week.
On Thu, Mar 8, 2018 at 4:14 PM, Mikael Blomstrand <mbloms@kth.se> wrote:
No, I haven't had time to look at it. I'm a bit busy for the near future.
participants (3)
-
Actionless Loveless
-
Florian Pritz
-
Mikael Blomstrand