Provide YumEngine.list_packages() - #5107
Conversation
The repoquery command to list all packages in repos is different when using yum-utils vs. dnf
|
I need to get with @cle to see the best way to create a more permanent testing repo for CentOS-7. When I modify Old: New: Works when tested manually with RHEL-6 as well. |
LecrisUT
left a comment
There was a problem hiding this comment.
Isn't there a /tests/prepare/artifact/provider that can be extended to cover this? I think we didn't hit this because the copr one would be incompatible, but if you have an alternative that could be used here, it would be great. Maybe we can use the local file repository? Not a blocker if it becomes too hard to implement.
| '--disablerepo=*', | ||
| *[f'--enablerepo={repo_id}' for repo_id in repository.repo_ids], | ||
| '--queryformat', | ||
| r'%{repoid};%{name}-%{epoch}:%{version}-%{release}.%{arch}\n', |
There was a problem hiding this comment.
Please use _full_nevra_querytag here.
The repoquery command to list all packages in repos is different when using yum-utils vs. dnf
Fixes: #4805
Pull Request Checklist