pungi/pungi/phases/gather
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
..
methods Fix typos 2020-06-24 14:16:42 +02:00
sources gather: Fix test for module presence 2020-11-09 09:33:03 +00:00
__init__.py Try reuse old gather_phase even if pkgset_koji_builds changed. 2020-11-10 12:52:02 +01:00
link.py Optimize link_files by creating temporary dict mapping path to pkg_obj. 2020-11-11 12:20:01 +00:00
method.py Format code base with black 2020-02-05 17:35:47 +08:00
source.py Format code base with black 2020-02-05 17:35:47 +08:00