pungi/tests
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
..
data Add --schema-override to pungi-config-validate script 2020-02-05 10:03:30 +01:00
fixtures createrepo: Add extra modulemd files to the repo 2020-06-10 09:50:44 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
Dockerfile-test Add Dockerfile for building testing image 2021-03-15 18:13:25 +08:00
Dockerfile-test-py2 Add Dockerfile for building testing image 2021-03-15 18:13:25 +08:00
helpers.py Format code 2021-03-02 18:31:45 +08:00
test_arch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_arguments.py Format tests with black 2020-02-05 17:29:15 +08:00
test_buildinstall.py Format code 2021-03-02 18:31:45 +08:00
test_checks.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_compose.py Store extended traceback for gather errors 2021-02-17 11:11:26 +01:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_config_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_config_validate_script.py Fix formatting issues 2020-02-07 16:16:20 +08:00
test_config.py Format code 2021-03-02 18:31:45 +08:00
test_createiso_phase.py Use xorrisofs for creating ISOs when needed 2020-11-20 09:47:49 +08:00
test_createiso_script.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_createrepo_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_createrepophase.py Format code 2021-03-02 18:31:45 +08:00
test_extra_files_phase.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_extra_isos_phase.py Format code 2021-03-02 18:31:45 +08:00
test_fus_wrapper.py Format code 2021-03-02 18:31:45 +08:00
test_gather_method_deps.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_gather_method_hybrid.py hybrid: Optimize getting lookaside packages 2021-04-15 11:02:04 +02:00
test_gather_method_nodeps.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_phase.py gather: Copy old logs when reusing gather result 2021-04-01 14:42:20 +08:00
test_gather_source_module.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather.py Format code 2021-03-02 18:31:45 +08:00
test_graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_image_container_phase.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_imagebuildphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_imagechecksumphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_initphase.py Stop copying .git directory with module defaults 2021-01-14 10:36:38 +08:00
test_iso_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_koji_wrapper.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_linker.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_liveimagesphase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_livemediaphase.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_lorax_wrapper.py Replace -c parameter with --config 2020-08-13 11:16:43 +02:00
test_media_split.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_metadata.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_notifier.py notification: Add compose_path into the messages 2020-06-09 06:40:26 +00:00
test_orchestrator.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_osbs_phase.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_osbuild_phase.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_ostree_installer_phase.py Allow using Pungi Koji plugin for ostree phases. 2020-05-26 13:23:58 +00:00
test_ostree_phase.py Allow using Pungi Koji plugin for ostree phases. 2020-05-26 13:23:58 +00:00
test_ostree_script.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_ostree_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_patch_iso.py tests: Fix mock usage for Python 2 2020-09-25 12:41:05 +02:00
test_pathmatch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_phase_base.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_pkgset_common.py Allow test calls in any order 2020-07-08 08:26:59 +02:00
test_pkgset_phase.py Move test for unsigned packages with pkgset_koji_scratch_tasks to PkgsetPhase class. 2020-06-11 12:05:47 +00:00
test_pkgset_pkgsets.py pkgset: Fix meaning of retries 2021-02-23 16:01:41 +01:00
test_pkgset_source_koji.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_repoclosure_phase.py Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
test_repoclosure_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_runroot.py runroot: Adjust permissions always 2021-03-04 16:08:06 +08:00
test_scm.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
test_test_phase.py Format code 2021-03-02 18:31:45 +08:00
test_unified_isos.py Use pytest instead of nosetests 2020-07-29 14:57:16 +08:00
test_util.py Format code 2021-03-02 18:31:45 +08:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00