Red Hat Bugzilla – Bug 1019168
hy_query_filter_provides_in doesn't exist
Last modified: 2013-12-13 22:05:15 EST
Description of problem:
PackageKit clients often do things like this: WhatProvides(["mp3-support", "mpeg-support", "multimedia-nonfree"] or something like that. Basically, return all packages that provide *any* of those things.
Using hy_query_filter_provides allows me to chain together multiple queries, but then I have to join the packagelists and filter for duplicates, which is inelegant at best.
Ideally a hy_query_filter_provides_in() would exist that allows me to pass in a char** and filter on all terms at once. If there's a way of filtering the provides using a HyReldepList just yell, but I don't think hy_query_filter_reldep_in does what I need.
Version-Release number of selected component (if applicable): hawkey-0.4.2-1.git4c51f65.fc20.x86_64
Hi, thanks for the report, I'm giving this low priority for now.
Feature is now available in the upstream.
Pushed to PackageKit, thanks:
Author: Richard Hughes <email@example.com>
Date: Fri Nov 22 11:08:54 2013 +0000
hawkey: Use the new hy_query_filter_provides_in()
:100644 100644 5a7e4a9... dc7d08c... M backends/hawkey/pk-backend-hawkey.c
hawkey-0.4.6-1.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.4.6-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
hawkey-0.4.6-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.