[Rpm-maint] [rpm-software-management/rpm] Implement with/without rich dependencies (#299)
Michael Schroeder
notifications at github.com
Thu Aug 3 12:19:43 UTC 2017
Here's my attempt to implement with/without deps. I (mis)used the dbiIndexSet functions for set management, using tag==0 for rpmdb packages and tag==1 for rpmal packages. I guess some test coverage would also be nice, but I'll be on vacation the next three weeks. Please step in to add tests. ;)
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/299
-- Commit Summary --
* Remove duplicated code in dbiIndexSetAppendSet
* Add dbiIndexSetAppendOne helper
* Add dbiIndexSetPruneSet helper
* Add dbiIndexSetFilter and dbiIndexSetFilterSet methods
* Change hdrNumCmp to use the tagNum as secondary sort key
* Add rpmalLookupTE helper
* Implement with/without rich dependencies
-- File Changes --
M lib/backend/dbiset.c (95)
M lib/backend/dbiset.h (44)
M lib/depends.c (98)
M lib/rpmal.c (11)
M lib/rpmal.h (9)
M lib/rpmdb.c (13)
M lib/rpmds.c (35)
M lib/rpmds.h (12)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/299.patch
https://github.com/rpm-software-management/rpm/pull/299.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/299
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170803/95af3ad9/attachment.html>
More information about the Rpm-maint
mailing list