[Rpm-maint] [rpm-software-management/rpm] RFE: Handle disttag (#589)

Jeff Johnson notifications at github.com
Sun Nov 11 05:07:36 UTC 2018


I should point out that there are far bigger issues than the separator if DistTag is incorporated as a package identifier:

1) precedence of comparison: is it EVRD (as is common with %{?dist} usage) or is it DEVR (as some might wish)

2) interoperability when mixtures of packages are installed with/without DistTag.

3) the dbiFindByLabelFoo() reads every package header in Packages (~100Mb), possibly multiple times, trying various matches. The proper way to perform a query like this is to create indices for each field and do a join to minimize the amount of data that must be read. A change to an rpmdb of that magnitude is highly unlikely.

(aside)
There is also the issues of patterns in queries: a join will not solve that problem. RPM5 uses a btree with a prefix key to find candidates to retrieve rather than retrieving every header. But I digress ...

Warning:
My comments here will be deleted within a week: I have negative interest in participating in a DistTag discussion that I have already had, and already implemented. Have fun!

-- 
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/589#issuecomment-437644351
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181110/bf063444/attachment.html>


More information about the Rpm-maint mailing list