[Rpm-maint] [rpm-software-management/rpm] RPM -V lacks support for place holder packages or wildcards (#451)

Jeff Johnson notifications at github.com
Wed Jun 27 07:37:47 UTC 2018


The tag=pattern syntax is undocumented for a reason: the implementation as a filter through a match iterator is clunky and low performing. Lots of headers are loaded, tags retrieved, pattern applied, and most headers are discarded.

The better implementation is to apply patterns directly to keys in an index, and then retrieve only those headers that match. The current interface retrieves all headers in an rpmdb in order to apply patterns to tags.

Documenting a clunky imperfect proof-of-concept interface in order to increase usage will quite predictably lead to bug reports about excessive I/O and low performance.

-- 
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/issues/451#issuecomment-400573581
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180627/bdb3a89c/attachment-0001.html>


More information about the Rpm-maint mailing list