pungi/pungi
Lubomír Sedlář ab1b5b48ec hybrid: Optimize getting lookaside packages
The original code ended up downloading all repodata from the lookaside
repo. This could cause a lot of memory to be used.

The new code only downloads the repomd.xml and then primary record,
which is sufficient to obtain all needed information. A lot less memory
is used and the code is also significantly faster.

Here are some alternative ways of getting a list of packages from the
lookaside repo and reasons why they did not work:

 * dnf repoquery - this doesn't include modular packages unless the
   stream is default
 * dnf reposync - requires `--urls` option to only print the names,
   which is not available on RHEL 7

JIRA: RHELCMP-4761
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2021-04-15 11:02:04 +02:00
..
compose_metadata Format code base with black 2020-02-05 17:35:47 +08:00
ostree ostree: set umask to be more permissive for ostree operations 2020-04-17 09:20:24 +02:00
phases hybrid: Optimize getting lookaside packages 2021-04-15 11:02:04 +02:00
scripts Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
wrappers Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
__init__.py Format code base with black 2020-02-05 17:35:47 +08:00
arch_utils.py Format code 2021-03-02 18:31:45 +08:00
arch.py Format code base with black 2020-02-05 17:35:47 +08:00
checks.py Format code 2021-03-02 18:31:45 +08:00
common.py Format code base with black 2020-02-05 17:35:47 +08:00
compose.py Store extended traceback for gather errors 2021-02-17 11:11:26 +01:00
config.py Format code base with black 2020-02-05 17:35:47 +08:00
createiso.py Use xorrisofs for creating ISOs when needed 2020-11-20 09:47:49 +08:00
dnf_wrapper.py Format code base with black 2020-02-05 17:35:47 +08:00
errors.py Move UnsignedPackagesError to a separate file 2021-02-08 10:16:32 +00:00
gather_dnf.py Fix flake8 issues 2020-05-26 11:49:50 +02:00
gather.py Format code 2021-03-02 18:31:45 +08:00
graph.py Format code 2021-03-02 18:31:45 +08:00
ks.py Format code base with black 2020-02-05 17:35:47 +08:00
linker.py Hardlink or copy scratch builds always 2020-08-07 18:00:19 +08:00
media_split.py Format code base with black 2020-02-05 17:35:47 +08:00
metadata.py Include images info in composeinfo.json 2020-10-14 17:57:30 +08:00
module_util.py Move import of modulemd to a separate module 2019-10-03 10:40:31 +02:00
multilib_dnf.py Format code base with black 2020-02-05 17:35:47 +08:00
multilib_yum.py Format code base with black 2020-02-05 17:35:47 +08:00
notifier.py notification: Add compose_path into the messages 2020-06-09 06:40:26 +00:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
profiler.py Format code base with black 2020-02-05 17:35:47 +08:00
runroot.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
util.py Format code 2021-03-02 18:31:45 +08:00