Bug 1233770

Summary: RFE: implement filter(pkg__not)
Product: [Fedora] Fedora Reporter: Daniel Mach <dmach>
Component: hawkeyAssignee: Michael Mráka <mmraka>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: 24CC: dcallagh, jsilhan, jzeleny, lkocman, mluscon, mmraka, packaging-team-maint, pbrobinson, vmukhame
Target Milestone: ---Keywords: FutureFeature, Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-22 08:46:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 578256, 1156501    

Description Daniel Mach 2015-06-19 13:05:17 UTC
query().filter(pkg__not=[...]) ends with:
QueryException: Invalid filter key or match type.

Looks like this filter combination is missing in hawkey,
could you implement it?

Comment 1 Honza Silhan 2015-07-29 11:00:39 UTC
yes, we can.

Comment 2 Michael Mráka 2016-03-31 11:40:39 UTC
PR https://github.com/fedora-infra/anitya/pull/239

Comment 3 Dan Callaghan 2016-06-02 18:23:29 UTC
(In reply to Michael Mráka from comment #2)
> PR https://github.com/fedora-infra/anitya/pull/239

Wrong link? That PR is for anitya, not hawkey.

Comment 4 Michael Mráka 2016-06-03 10:35:49 UTC
Oops, correct link is
https://github.com/rpm-software-management/libhif/pull/94

Comment 5 Fedora End Of Life 2016-07-19 14:55:20 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Dan Callaghan 2016-07-19 22:35:53 UTC
I guess this will be in some future release of libhif, it would be good to know which version.

Comment 7 Fedora End Of Life 2016-07-20 00:06:06 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 8 Dan Callaghan 2016-07-20 00:07:47 UTC
Hmm bug zapper seems to be a bit aggressive these days... I thought it was supposed to skip any bugs with FutureFeature?

Comment 9 Igor Gnatenko 2016-07-22 08:46:02 UTC
Fixed as part of DNF 2.0 release which will be available at some point soon.