pungi/pungi
Jan Kaluza 4562fba459 Optimize link_files by creating temporary dict mapping path to pkg_obj.
Previously, the pkg_object has been found by iterating over pkg_sets
for each package. This was quite slow given the number of RPMs in the
compose.

In this commit, the temporary dict is created which stores mapping
between path and pkg_obj and is used instead.

In this commit, the get_package_path is called just once instead of
twice in the loop which might also save some time.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-11-11 12:20:01 +00: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 Optimize link_files by creating temporary dict mapping path to pkg_obj. 2020-11-11 12:20:01 +00:00
scripts Kill all subprocess in signal handler 2020-11-09 08:45:57 +01:00
wrappers Do not use shlex_quote in get_pungi_buildinstall_cmd and get_pungi_ostree_cmd. 2020-11-10 07:45:05 +00:00
__init__.py Format code base with black 2020-02-05 17:35:47 +08:00
arch.py Format code base with black 2020-02-05 17:35:47 +08:00
arch_utils.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
checks.py Add phase for building images with osbuild 2020-11-04 13:04:43 +01:00
common.py Format code base with black 2020-02-05 17:35:47 +08:00
compose.py Allow setting CTS parent_compose_ids using --parent-compose-id option. 2020-08-13 13:22:43 +02:00
config.py Format code base with black 2020-02-05 17:35:47 +08:00
createiso.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
dnf_wrapper.py Format code base with black 2020-02-05 17:35:47 +08:00
gather.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
gather_dnf.py Fix flake8 issues 2020-05-26 11:49:50 +02:00
graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +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 Allow including scratch module builds 2020-07-17 09:08:36 +08:00
profiler.py Format code base with black 2020-02-05 17:35:47 +08:00
runroot.py Retry ostree installer task on losetup error 2020-08-05 10:58:04 +02:00
util.py util: Refactor retry function 2020-09-01 12:41:06 +00:00