Le 2018-08-08 22:48, Jeff Johnson a écrit :
My issue is the misdirection discussing lazy filelist downloading as
a
"solution" to the "problem" of huge amounts of data that is forced
to
be downloaded and loaded.
The issue has been discussed repeatedly without a solution.
Adding -- and maintaining -- patterns or whitelist exceptions, which
moves file dependencies into primary.xml is actually an approach that
solves the problem, and scales to multiple repos as well, each of
which also will have their own patterns and whitelist.
Actually, you do not need to maintain whitelists manually, just having
createrepo automatically whitelist all the file deps it finds referenced
in the indexed repo would solve most of the problem.
If you want to be fancy, you could also add an option to pass it the url
of another repo is should inherit whitelists from (for updates, epel,
etc)
Manual whitelists will go stale fast
Regards,
--
Nicolas Mailhot