pungi/tests
Lubomír Sedlář 4cb8671fe4
Allow disabling inheriting ExcludeArch to noarch packages
Copying ExcludeArch/ExclusiveArch from source rpm to noarch is an easy
option to block shipping that particular noarch package from a certain
architecture. However, there is no way to bypass it, and it is rather
confusing and not discoverable.

An alternative way to remove an unwanted package is to use the good old
`filter_packages`, which has enough granularity to remove pretty much
anything from anywhere. The only downside is that it requires a change
in configuration, so it can't be done by a packager directly from a spec
file.

When we decide to break backwards compatibility, this option should be
removed and the entire ExcludeArch/ExclusiveArch inheritance removed
completely.

JIRA: ENGCMP-2606
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit ab508c1511)
2023-11-10 16:51:37 +02:00
..
data Merge branch 'master' into a8_updated 2022-11-07 23:38:38 +02:00
fixtures - Fix unittests 2022-11-08 14:57:52 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
Dockerfile-test Install missing deps in ci image 2021-08-17 12:01:51 +08:00
Dockerfile-test-py2 Install missing deps in ci image 2021-08-17 12:01:51 +08:00
helpers.py Merge branch 'master' into a8_updated 2022-11-07 23:38:38 +02:00
Jenkinsfile Add Jenkinsfile for CI 2022-08-29 17:38:04 +08:00
test_arch.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_arguments.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_buildinstall.py Merge branch 'master' into a8_updated 2022-11-07 23:38:38 +02:00
test_checks.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_compose.py Speed up tests by 30 seconds 2023-03-17 11:58:11 +02:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Filter out environment groups unmatch given arch 2022-02-22 11:33:25 +08:00
test_config_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_config_validate_script.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_config.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_create_extra_repo.py ALBS-987: Generate i686 and dev repositories with pungi on building new distr. version automatically 2023-03-30 12:52:51 +03:00
test_create_packages_json.py ALBS-987: Generate i686 and dev repositories with pungi on building new distr. version automatically 2023-03-30 12:52:51 +03:00
test_createiso_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_createiso_script.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_createrepo_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_createrepophase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_extra_files_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_extra_isos_phase.py Merge branch 'master' into a8_updated 2022-11-07 23:38:38 +02:00
test_fus_wrapper.py Merge branch 'master' into a8_updated 2022-11-07 23:38:38 +02:00
test_gather_method_deps.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather_method_hybrid.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather_method_nodeps.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather_modules.py - kojimock is added to pungi.phases.gather._make_lookaside_repo#prefixes 2022-11-09 20:56:56 +02:00
test_gather_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather_rpms.py AL-5220: Investigate why CL9 can't built on the new nebula 2023-07-24 18:26:51 +03:00
test_gather_source_module.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02: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 - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_imagebuildphase.py Update to work with latest mock 2023-11-10 16:50:34 +02:00
test_imagechecksumphase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_initphase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_iso_wrapper.py Fix black complaints 2023-11-10 16:50:38 +02:00
test_koji_local_source.py ALBS-1040: Investigate why Pungi doesn't put modules packages into the final repos 2023-03-14 18:43:14 +02:00
test_koji_wrapper.py Fix black complaints 2023-11-10 16:50:38 +02:00
test_linker.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_liveimagesphase.py Update to work with latest mock 2023-11-10 16:50:34 +02:00
test_livemediaphase.py Update to work with latest mock 2023-11-10 16:50:34 +02:00
test_lorax_wrapper.py Replace -c parameter with --config 2020-08-13 11:16:43 +02:00
test_media_split.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_metadata.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_module_util.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
test_notifier.py Update to work with latest mock 2023-11-10 16:50:34 +02:00
test_orchestrator.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_osbs_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_osbuild_phase.py osbuild: test passing of rich repos from configuration 2023-03-17 11:58:11 +02:00
test_ostree_installer_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_ostree_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_ostree_script.py Fix black complaints 2023-11-10 16:50:38 +02:00
test_ostree_utils.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_patch_iso.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_pathmatch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_phase_base.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_pkgset_common.py Allow disabling inheriting ExcludeArch to noarch packages 2023-11-10 16:51:37 +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 Allow disabling inheriting ExcludeArch to noarch packages 2023-11-10 16:51:37 +02:00
test_pkgset_source_koji.py - Fix unittests 2022-11-08 14:57:52 +02:00
test_repoclosure_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_repoclosure_wrapper.py repoclosure: Use --forcearch for dnf repoclosure 2021-11-02 08:51:40 +01:00
test_runroot.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_scm.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_test_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_unified_isos.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_util.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00