Open olifre opened 4 years ago
Interesting. What is yum/dnf -y copr ...
doing behind the scenes? Is it just creating a repo configuration in /etc/yum.repos.d/
?
I want to make sure this module works on EL8 properly first, now that a vagrant box is available for testing but I will definitely think about including this as an enhancement. I wasn't aware there was a specific plugin for COPR.
What is
yum/dnf -y copr ...
doing behind the scenes? Is it just creating a repo configuration in/etc/yum.repos.d/
?
Effectively, yes. Here's the upstream code: https://github.com/rpm-software-management/yum-utils/blob/master/plugins/copr/copr.py https://github.com/rpm-software-management/dnf-plugins-core/blob/master/plugins/copr.py The code is much more lengthy and can also handly playground repos, list installed repos, checks if the repo exists, fetches the repo file from COPR, shows a warning that this is community maintained etc.
I want to make sure this module works on EL8 properly first
Fully agreed :-). I'm already using it on a few machines running CentOS 8, but we're not using the full functionality.
This module does not have support for COPR yet, i.e. repos from https://copr.fedorainfracloud.org which are handled via yum-plugin-copr or dnf-plugins-core.
This is an RFC to find out if:
To trigger off discussion a bit, I am currently using a custom ressource defined like this:
which allows me to do: