Bug 908372 - RFE: query.filter(requires__*=)
Summary: RFE: query.filter(requires__*=)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: hawkey
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-06 14:40 UTC by Daniel Mach
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Fixed In Version: hawkey-0.3.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 05:52:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Mach 2013-02-06 14:40:42 UTC
query.filter(provides__eq=...) works as expected
the same should work for 'requires', but doesn't.

It should also work for 'conflicts' and 'obsoletes' (so all yum 'PRCO' stuff is covered).

Comment 1 Ales Kozumplik 2013-02-06 15:19:42 UTC
adding requires should be straightforward, conflicts and obsoletes should be somehow simple enough, though so far this is not supported by the C hawkey interfaces.

Comment 2 Ales Kozumplik 2013-02-07 13:44:12 UTC
Fixed by c5c375f and 5049d76 on the master branch.

Dan, if you want to you can just pull from github and try these out, there's unit tests too, e.g.: https://github.com/akozumpl/hawkey/commit/5049d7666f6f749ce5f689d6085798cbe547d137#L4R183

Comment 3 Fedora Update System 2013-02-11 11:38:31 UTC
hawkey-0.3.7-2.gitdd10ac7.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/hawkey-0.3.7-2.gitdd10ac7.fc18

Comment 4 Fedora Update System 2013-02-12 05:11:14 UTC
Package hawkey-0.3.7-2.gitdd10ac7.fc18, dnf-0.2.21-1.git050524e.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.3.7-2.gitdd10ac7.fc18 dnf-0.2.21-1.git050524e.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2318/dnf-0.2.21-1.git050524e.fc18,hawkey-0.3.7-2.gitdd10ac7.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-02-21 05:52:05 UTC
hawkey-0.3.7-2.gitdd10ac7.fc18, dnf-0.2.21-1.git050524e.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.