Description of problem:
reposync does not honor the exclude= in the repository configuration of the repo you are trying to sync. (Note: previous versions in RHEL 7- behaved this way). Similarly, the include appears to be ignored too.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create zabbix.repo file
cat <<EOF > zabbix.repo
2. Run reposync command
reposync --downloadcomps \
3. Complain that new version doesn't behave like previous version.
reposync downloads *mysql* & &japanese* rpms exist in downloaded repository
reposync should exclude any rpm containing *mysql* & &japanese*
Thanks for reporting!
The bug is already fixed in upstream by the PR https://github.com/rpm-software-management/dnf-plugins-core/pull/368 (see related bug https://bugzilla.redhat.com/show_bug.cgi?id=1750273).
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.