pungi/tests
Jan Kaluza fc3b5063ca Do not skip symlinks when searching for old compose.
ODCS creates symlinks to real directories containing the composes.
The directory structure is similar to following one:

- `./nightly/Fedora-Rawhide-20200304.n.0` -> `../odcs-3`
- `./nightly/Fedora-Rawhide-20200305.n.0` -> `../odcs-4`
- `./nightly/latest-Fedora-Rawhide` -> `../odcs-5`

The current Pungi code to search for old composes skips symlinks
and therefore old ODCS composes are not found.

This commit removes this check and therefore symlinks are allowed
when searching for old compose.

I think this check existed to prevent using `latest-*` symlink as
source for the compose. But this is not possible, because the
code checks that the old compose directory name has certain pattern
constructed from release_short, release_version, ... The `latest-*`
symlink definitely does not match this pattern.

I also executed test compose and it worked as expected.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-03-06 09:03:10 +00:00
..
data Add --schema-override to pungi-config-validate script 2020-02-05 10:03:30 +01:00
fixtures gather: Resolve dependencies of debug packages 2019-10-03 10:46:21 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +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 Move buildinstall results to final directories if using pungi-buildinstall Koji plugin. 2020-03-03 10:35:25 +01:00
test_checks.py Fix formatting issues 2020-02-07 16:16:20 +08:00
test_compose.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08: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 Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_createiso_phase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +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 Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_extra_files_phase.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_extra_isos_phase.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_fus_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_method_deps.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_gather_method_hybrid.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_method_nodeps.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_phase.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather_source_module.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_gather.py gather: Make additional_packages accept debuginfo packages 2020-02-12 16:38:08 +08:00
test_graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_iso_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_koji_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +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 Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_lorax_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08: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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_orchestrator.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_osbs_phase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_ostree_installer_phase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_ostree_phase.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08: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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +08: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 Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_pkgset_pkgsets.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_pkgset_source_koji.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_repoclosure_wrapper.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_runroot.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_scm.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_test_phase.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_unified_isos.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_util.py Do not skip symlinks when searching for old compose. 2020-03-06 09:03:10 +00:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00